Documentation
¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchOpenVulnerabilityExchangeContainer(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, ...) (*registry.REST, error)
- func SelectableFields(obj *softwarecomposition.OpenVulnerabilityExchangeContainer) fields.Set
- type CustomREST
- type OpenVulnerabilityExchangeContainerStrategy
- func (OpenVulnerabilityExchangeContainerStrategy) AllowCreateOnUpdate() bool
- func (OpenVulnerabilityExchangeContainerStrategy) AllowUnconditionalUpdate() bool
- func (OpenVulnerabilityExchangeContainerStrategy) Canonicalize(_ runtime.Object)
- func (OpenVulnerabilityExchangeContainerStrategy) NamespaceScoped() bool
- func (OpenVulnerabilityExchangeContainerStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
- func (OpenVulnerabilityExchangeContainerStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
- func (OpenVulnerabilityExchangeContainerStrategy) Validate(_ context.Context, obj runtime.Object) field.ErrorList
- func (OpenVulnerabilityExchangeContainerStrategy) ValidateUpdate(_ context.Context, obj, _ runtime.Object) field.ErrorList
- func (OpenVulnerabilityExchangeContainerStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string
- func (OpenVulnerabilityExchangeContainerStrategy) 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 MatchOpenVulnerabilityExchangeContainer ¶
func MatchOpenVulnerabilityExchangeContainer(label labels.Selector, field fields.Selector) storage.SelectionPredicate
MatchOpenVulnerabilityExchangeContainer 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.OpenVulnerabilityExchangeContainer) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
type CustomREST ¶ added in v0.0.317
type CustomREST = genericrest.Store
CustomREST is a hand-written rest.Storage implementation for OpenVulnerabilityExchangeContainer, gated behind config.Config.CustomOpenVulnerabilityExchangeRestEnabled (see pkg/apiserver/apiserver.go). It talks directly to the shared StorageImpl via storage.Interface -- it does not reimplement SQLite/file access.
func NewCustomREST ¶ added in v0.0.317
func NewCustomREST(scheme *runtime.Scheme, storageImpl storage.Interface, optsGetter generic.RESTOptionsGetter) (*CustomREST, error)
NewCustomREST returns the custom rest.Storage implementation for openvulnerabilityexchange. Its signature intentionally matches NewREST's so it can be wired in as a drop-in alternative in pkg/apiserver/apiserver.go.
type OpenVulnerabilityExchangeContainerStrategy ¶ added in v0.0.199
type OpenVulnerabilityExchangeContainerStrategy struct {
runtime.ObjectTyper
names.NameGenerator
}
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) OpenVulnerabilityExchangeContainerStrategy
NewStrategy creates and returns a openVulnerabilityExchangeContainerStrategy instance
func (OpenVulnerabilityExchangeContainerStrategy) AllowCreateOnUpdate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) AllowCreateOnUpdate() bool
func (OpenVulnerabilityExchangeContainerStrategy) AllowUnconditionalUpdate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) AllowUnconditionalUpdate() bool
func (OpenVulnerabilityExchangeContainerStrategy) Canonicalize ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) Canonicalize(_ runtime.Object)
func (OpenVulnerabilityExchangeContainerStrategy) NamespaceScoped ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) NamespaceScoped() bool
func (OpenVulnerabilityExchangeContainerStrategy) PrepareForCreate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) PrepareForCreate(_ context.Context, _ runtime.Object)
func (OpenVulnerabilityExchangeContainerStrategy) PrepareForUpdate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)
func (OpenVulnerabilityExchangeContainerStrategy) ValidateUpdate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) WarningsOnCreate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) WarningsOnCreate(_ context.Context, _ runtime.Object) []string
WarningsOnCreate returns warnings for the creation of the given object.
func (OpenVulnerabilityExchangeContainerStrategy) WarningsOnUpdate ¶ added in v0.0.199
func (OpenVulnerabilityExchangeContainerStrategy) WarningsOnUpdate(_ context.Context, _, _ runtime.Object) []string
WarningsOnUpdate returns warnings for the given update.