Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = secretBindingStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy defines the storage strategy for SecretBindings.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { ListSecretBindings(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (*garden.SecretBindingList, error) WatchSecretBindings(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error) GetSecretBinding(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (*garden.SecretBinding, error) CreateSecretBinding(ctx genericapirequest.Context, binding *garden.SecretBinding, createValidation rest.ValidateObjectFunc) (*garden.SecretBinding, error) UpdateSecretBinding(ctx genericapirequest.Context, binding *garden.SecretBinding, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*garden.SecretBinding, error) DeleteSecretBinding(ctx genericapirequest.Context, name string) error }
Registry is an interface for things that know how to store SecretBindings.
func NewRegistry ¶
func NewRegistry(s rest.StandardStorage) Registry
NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.
Click to show internal directories.
Click to hide internal directories.