Documentation
¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchWorkloadConfigurationScan(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, ...) (*registry.REST, error)
- func SelectableFields(obj *softwarecomposition.ContainerProfile) fields.Set
- type SbomSyftStrategy
- func (SbomSyftStrategy) AllowCreateOnUpdate() bool
- func (SbomSyftStrategy) AllowUnconditionalUpdate() bool
- func (SbomSyftStrategy) Canonicalize(_ runtime.Object)
- func (SbomSyftStrategy) NamespaceScoped() bool
- func (SbomSyftStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
- func (SbomSyftStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
- func (SbomSyftStrategy) Validate(_ context.Context, _ runtime.Object) field.ErrorList
- func (SbomSyftStrategy) ValidateUpdate(_ context.Context, _, _ runtime.Object) field.ErrorList
- func (SbomSyftStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string
- func (SbomSyftStrategy) 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 MatchWorkloadConfigurationScan ¶
func MatchWorkloadConfigurationScan(label labels.Selector, field fields.Selector) storage.SelectionPredicate
MatchWorkloadConfigurationScan 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.ContainerProfile) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
type SbomSyftStrategy ¶
type SbomSyftStrategy struct {
runtime.ObjectTyper
names.NameGenerator
}
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) SbomSyftStrategy
NewStrategy creates and returns a sbomSyftStrategy instance
func (SbomSyftStrategy) AllowCreateOnUpdate ¶
func (SbomSyftStrategy) AllowCreateOnUpdate() bool
func (SbomSyftStrategy) AllowUnconditionalUpdate ¶
func (SbomSyftStrategy) AllowUnconditionalUpdate() bool
func (SbomSyftStrategy) Canonicalize ¶
func (SbomSyftStrategy) Canonicalize(_ runtime.Object)
func (SbomSyftStrategy) NamespaceScoped ¶
func (SbomSyftStrategy) NamespaceScoped() bool
func (SbomSyftStrategy) PrepareForCreate ¶
func (SbomSyftStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
func (SbomSyftStrategy) PrepareForUpdate ¶
func (SbomSyftStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
func (SbomSyftStrategy) ValidateUpdate ¶
func (SbomSyftStrategy) WarningsOnCreate ¶
WarningsOnCreate returns warnings for the creation of the given object.
func (SbomSyftStrategy) WarningsOnUpdate ¶
WarningsOnUpdate returns warnings for the given update.
Click to show internal directories.
Click to hide internal directories.