type customResourceStrategy …
type selectableField …
func NewStrategy(typer runtime.ObjectTyper, namespaceScoped bool, kind schema.GroupVersionKind, schemaValidator, statusSchemaValidator validation.SchemaValidator, structuralSchema *structuralschema.Structural, status *apiextensions.CustomResourceSubresourceStatus, scale *apiextensions.CustomResourceSubresourceScale, selectableFields []v1.SelectableField) customResourceStrategy { … }
func prepareSelectableFields(selectableFields []v1.SelectableField) []selectableField { … }
func (a customResourceStrategy) NamespaceScoped() bool { … }
func (a customResourceStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { … }
func (a customResourceStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) { … }
func (a customResourceStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { … }
func copyNonMetadata(original map[string]interface{ … }
func (a customResourceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { … }
func (a customResourceStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { … }
func generateWarningsFromObj(obj, old runtime.Object) []string { … }
func (customResourceStrategy) Canonicalize(obj runtime.Object) { … }
func (customResourceStrategy) AllowCreateOnUpdate() bool { … }
func (customResourceStrategy) AllowUnconditionalUpdate() bool { … }
func (a customResourceStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList { … }
func (a customResourceStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string { … }
func (a customResourceStrategy) GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { … }
func (a customResourceStrategy) selectableFields(obj runtime.Object, objectMeta metav1.Object) (fields.Set, error) { … }
func objectMetaFieldsSet(objectMeta metav1.Object, namespaceScoped bool) fields.Set { … }
func (a customResourceStrategy) MatchCustomResourceDefinitionStorage(label labels.Selector, field fields.Selector) apiserverstorage.SelectionPredicate { … }
func hasBlockingErr(errs field.ErrorList) (bool, *field.Error) { … }