Documentation ¶
Index ¶
- type CustomResourceDefinitionStorageStrategy
- func (CustomResourceDefinitionStorageStrategy) AllowCreateOnUpdate() bool
- func (CustomResourceDefinitionStorageStrategy) AllowUnconditionalUpdate() bool
- func (CustomResourceDefinitionStorageStrategy) Canonicalize(obj runtime.Object)
- func (a CustomResourceDefinitionStorageStrategy) GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
- func (a CustomResourceDefinitionStorageStrategy) MatchCustomResourceDefinitionStorage(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func (a CustomResourceDefinitionStorageStrategy) NamespaceScoped() bool
- func (CustomResourceDefinitionStorageStrategy) PrepareForCreate(ctx genericapirequest.Context, obj runtime.Object)
- func (CustomResourceDefinitionStorageStrategy) PrepareForUpdate(ctx genericapirequest.Context, obj, old runtime.Object)
- func (a CustomResourceDefinitionStorageStrategy) Validate(ctx genericapirequest.Context, obj runtime.Object) field.ErrorList
- func (a CustomResourceDefinitionStorageStrategy) ValidateUpdate(ctx genericapirequest.Context, obj, old runtime.Object) field.ErrorList
- type REST
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomResourceDefinitionStorageStrategy ¶
type CustomResourceDefinitionStorageStrategy struct { runtime.ObjectTyper names.NameGenerator // contains filtered or unexported fields }
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper, namespaceScoped bool, kind schema.GroupVersionKind) CustomResourceDefinitionStorageStrategy
func (CustomResourceDefinitionStorageStrategy) AllowCreateOnUpdate ¶
func (CustomResourceDefinitionStorageStrategy) AllowCreateOnUpdate() bool
func (CustomResourceDefinitionStorageStrategy) AllowUnconditionalUpdate ¶
func (CustomResourceDefinitionStorageStrategy) AllowUnconditionalUpdate() bool
func (CustomResourceDefinitionStorageStrategy) Canonicalize ¶
func (CustomResourceDefinitionStorageStrategy) Canonicalize(obj runtime.Object)
func (CustomResourceDefinitionStorageStrategy) MatchCustomResourceDefinitionStorage ¶
func (a CustomResourceDefinitionStorageStrategy) MatchCustomResourceDefinitionStorage(label labels.Selector, field fields.Selector) storage.SelectionPredicate
func (CustomResourceDefinitionStorageStrategy) NamespaceScoped ¶
func (a CustomResourceDefinitionStorageStrategy) NamespaceScoped() bool
func (CustomResourceDefinitionStorageStrategy) PrepareForCreate ¶
func (CustomResourceDefinitionStorageStrategy) PrepareForCreate(ctx genericapirequest.Context, obj runtime.Object)
func (CustomResourceDefinitionStorageStrategy) PrepareForUpdate ¶
func (CustomResourceDefinitionStorageStrategy) PrepareForUpdate(ctx genericapirequest.Context, obj, old runtime.Object)
func (CustomResourceDefinitionStorageStrategy) Validate ¶
func (a CustomResourceDefinitionStorageStrategy) Validate(ctx genericapirequest.Context, obj runtime.Object) field.ErrorList
func (CustomResourceDefinitionStorageStrategy) ValidateUpdate ¶
func (a CustomResourceDefinitionStorageStrategy) ValidateUpdate(ctx genericapirequest.Context, obj, old runtime.Object) field.ErrorList
type REST ¶
type REST struct {
*genericregistry.Store
}
rest implements a RESTStorage for API services against etcd
func NewREST ¶
func NewREST(resource schema.GroupResource, listKind schema.GroupVersionKind, copier runtime.ObjectCopier, strategy CustomResourceDefinitionStorageStrategy, optsGetter generic.RESTOptionsGetter) *REST
NewREST returns a RESTStorage object that will work against API services.
Click to show internal directories.
Click to hide internal directories.