Implement cel validation derive(Validated)
macro for generated CRDs
#3559
Annotations
2 errors and 8 warnings
Run clechasseur/rs-clippy-check@v3:
kube-core/src/validation.rs#L106
error[E0412]: cannot find type `Error` in this scope
--> kube-core/src/validation.rs:106:69
|
106 | pub fn validate(s: &mut Schema, rules: Vec<Rule>) -> Result<Schema, Error> {
| ^^^^^ not found in this scope
|
help: consider importing one of these items
|
3 + use crate::request::Error;
|
3 + use std::error::Error;
|
3 + use std::fmt::Error;
|
3 + use std::io::Error;
|
and 7 other candidates
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L3
warning: unused import: `std::collections::BTreeMap`
--> kube-derive/src/custom_resource.rs:3:5
|
3 | use std::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L7
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:7:18
|
7 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
8 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L13
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:13:36
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L13
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:13:18
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L3
warning: unused import: `std::collections::BTreeMap`
--> kube-derive/src/custom_resource.rs:3:5
|
3 | use std::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L7
warning: unused imports: `FromAttributes` and `path_to_string`
--> kube-derive/src/custom_resource.rs:7:18
|
7 | util::{self, path_to_string, IdentString},
| ^^^^^^^^^^^^^^
8 | FromAttributes, FromDeriveInput, FromField, FromMeta,
| ^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L13
warning: unused imports: `Attribute`, `ExprCall`, and `Stmt`
--> kube-derive/src/custom_resource.rs:13:36
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^ ^^^^^^^^ ^^^^
|
Run clechasseur/rs-clippy-check@v3:
kube-derive/src/custom_resource.rs#L13
warning: unused import: `spanned::Spanned`
--> kube-derive/src/custom_resource.rs:13:18
|
13 | parse_quote, spanned::Spanned, Attribute, Data, DeriveInput, Expr, ExprCall, Path, Stmt, Type, Visibility,
| ^^^^^^^^^^^^^^^^
|
Loading