Documentation
¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchApplicationProfile(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, ...) (*registry.REST, error)
- func SelectableFields(obj *softwarecomposition.ApplicationProfile) fields.Set
- type ApplicationProfileStrategy
- func (ApplicationProfileStrategy) AllowCreateOnUpdate() bool
- func (ApplicationProfileStrategy) AllowUnconditionalUpdate() bool
- func (ApplicationProfileStrategy) Canonicalize(_ runtime.Object)
- func (ApplicationProfileStrategy) NamespaceScoped() bool
- func (ApplicationProfileStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
- func (ApplicationProfileStrategy) PrepareForUpdate(_ context.Context, obj, old runtime.Object)
- func (ApplicationProfileStrategy) Validate(_ context.Context, obj runtime.Object) field.ErrorList
- func (ApplicationProfileStrategy) ValidateUpdate(_ context.Context, obj, _ runtime.Object) field.ErrorList
- func (ApplicationProfileStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string
- func (ApplicationProfileStrategy) WarningsOnUpdate(_ context.Context, _, _ 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 Flunder
func MatchApplicationProfile ¶
func MatchApplicationProfile(label labels.Selector, field fields.Selector) storage.SelectionPredicate
MatchApplicationProfile is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.
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.ApplicationProfile) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
type ApplicationProfileStrategy ¶ added in v0.0.199
type ApplicationProfileStrategy struct {
runtime.ObjectTyper
names.NameGenerator
}
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) ApplicationProfileStrategy
NewStrategy creates and returns a applicationProfileStrategy instance
func (ApplicationProfileStrategy) AllowCreateOnUpdate ¶ added in v0.0.199
func (ApplicationProfileStrategy) AllowCreateOnUpdate() bool
func (ApplicationProfileStrategy) AllowUnconditionalUpdate ¶ added in v0.0.199
func (ApplicationProfileStrategy) AllowUnconditionalUpdate() bool
func (ApplicationProfileStrategy) Canonicalize ¶ added in v0.0.199
func (ApplicationProfileStrategy) Canonicalize(_ runtime.Object)
func (ApplicationProfileStrategy) NamespaceScoped ¶ added in v0.0.199
func (ApplicationProfileStrategy) NamespaceScoped() bool
func (ApplicationProfileStrategy) PrepareForCreate ¶ added in v0.0.199
func (ApplicationProfileStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
func (ApplicationProfileStrategy) PrepareForUpdate ¶ added in v0.0.199
func (ApplicationProfileStrategy) PrepareForUpdate(_ context.Context, obj, old runtime.Object)
func (ApplicationProfileStrategy) ValidateUpdate ¶ added in v0.0.199
func (ApplicationProfileStrategy) WarningsOnCreate ¶ added in v0.0.199
WarningsOnCreate returns warnings for the creation of the given object.
func (ApplicationProfileStrategy) WarningsOnUpdate ¶ added in v0.0.199
WarningsOnUpdate returns warnings for the given update.
Click to show internal directories.
Click to hide internal directories.