Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchCluster(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)
- func SelectableFields(obj *v1.Cluster) fields.Set
- type ClusterStrategy
- func (ClusterStrategy) AllowCreateOnUpdate() bool
- func (ClusterStrategy) AllowUnconditionalUpdate() bool
- func (ClusterStrategy) Canonicalize(obj runtime.Object)
- func (ClusterStrategy) NamespaceScoped() bool
- func (ClusterStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (ClusterStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (ClusterStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (ClusterStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (s ClusterStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (s ClusterStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchCluster ¶
func NewStorage ¶
func NewStorage(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (rest.StandardStorage, error)
Types ¶
type ClusterStrategy ¶
type ClusterStrategy struct { runtime.ObjectTyper names.NameGenerator }
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) ClusterStrategy
func (ClusterStrategy) AllowCreateOnUpdate ¶
func (ClusterStrategy) AllowCreateOnUpdate() bool
func (ClusterStrategy) AllowUnconditionalUpdate ¶
func (ClusterStrategy) AllowUnconditionalUpdate() bool
func (ClusterStrategy) Canonicalize ¶
func (ClusterStrategy) Canonicalize(obj runtime.Object)
func (ClusterStrategy) NamespaceScoped ¶
func (ClusterStrategy) NamespaceScoped() bool
func (ClusterStrategy) PrepareForCreate ¶
func (ClusterStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (ClusterStrategy) PrepareForUpdate ¶
func (ClusterStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (ClusterStrategy) ValidateUpdate ¶
func (ClusterStrategy) WarningsOnCreate ¶
func (ClusterStrategy) WarningsOnUpdate ¶
Click to show internal directories.
Click to hide internal directories.