- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ValidateClusterTrustBundleUpdate (0.35 sec)
-
pkg/registry/certificates/clustertrustbundle/strategy.go
func (s strategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList { newBundle := new.(*certificates.ClusterTrustBundle) oldBundle := old.(*certificates.ClusterTrustBundle) return certvalidation.ValidateClusterTrustBundleUpdate(newBundle, oldBundle) } func (strategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string { return nil } func (strategy) AllowUnconditionalUpdate() bool { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 16 03:10:18 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation.go
allErrors = append(allErrors, pemErrors...) } return allErrors } // ValidateClusterTrustBundleUpdate runs all update validation checks on an // update. func ValidateClusterTrustBundleUpdate(newBundle, oldBundle *certificates.ClusterTrustBundle) field.ErrorList { // If the caller isn't changing the TrustBundle field, don't parse it.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation_test.go
} // When there are no changes to the object, // ValidateClusterTrustBundleUpdate should not report errors about // the TrustBundle field. tc.bundle.ObjectMeta.ResourceVersion = "1" newBundle := tc.bundle.DeepCopy() newBundle.ObjectMeta.ResourceVersion = "2" gotErrors = ValidateClusterTrustBundleUpdate(newBundle, tc.bundle) var filteredWantErrors field.ErrorList
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 61K bytes - Viewed (0)