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