Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchKnownServer(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, ...) (*registry.REST, error)
- func SelectableFields(obj *softwarecomposition.KnownServer) fields.Set
- type KnownServerStrategy
- func (KnownServerStrategy) AllowCreateOnUpdate() bool
- func (KnownServerStrategy) AllowUnconditionalUpdate() bool
- func (KnownServerStrategy) Canonicalize(obj runtime.Object)
- func (KnownServerStrategy) NamespaceScoped() bool
- func (KnownServerStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
- func (KnownServerStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
- func (KnownServerStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList
- func (KnownServerStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList
- func (KnownServerStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string
- func (KnownServerStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a KnownServer
func MatchKnownServer ¶
func NewREST ¶
func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, optsGetter generic.RESTOptionsGetter) (*registry.REST, error)
NewREST returns a RESTStorage object that will work against API services.
func SelectableFields ¶
func SelectableFields(obj *softwarecomposition.KnownServer) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
type KnownServerStrategy ¶
type KnownServerStrategy struct { runtime.ObjectTyper names.NameGenerator }
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) KnownServerStrategy
NewStrategy creates and returns a KnownServerStrategy instance
func (KnownServerStrategy) AllowCreateOnUpdate ¶
func (KnownServerStrategy) AllowCreateOnUpdate() bool
func (KnownServerStrategy) AllowUnconditionalUpdate ¶
func (KnownServerStrategy) AllowUnconditionalUpdate() bool
func (KnownServerStrategy) Canonicalize ¶
func (KnownServerStrategy) Canonicalize(obj runtime.Object)
func (KnownServerStrategy) NamespaceScoped ¶
func (KnownServerStrategy) NamespaceScoped() bool
func (KnownServerStrategy) PrepareForCreate ¶
func (KnownServerStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object)
func (KnownServerStrategy) PrepareForUpdate ¶
func (KnownServerStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object)
func (KnownServerStrategy) ValidateUpdate ¶
func (KnownServerStrategy) WarningsOnCreate ¶
WarningsOnCreate returns warnings for the creation of the given object.
func (KnownServerStrategy) WarningsOnUpdate ¶
WarningsOnUpdate returns warnings for the given update.
Click to show internal directories.
Click to hide internal directories.