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 NewStrategy(typer runtime.ObjectTyper) sbomSyftStrategy
- func SelectableFields(obj *softwarecomposition.SBOMSyft) fields.Set
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 NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) sbomSyftStrategy
NewStrategy creates and returns a sbomSyftStrategy instance
func SelectableFields ¶
func SelectableFields(obj *softwarecomposition.SBOMSyft) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.