Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusStrategy = seedStatusStrategy{Strategy}
StatusStrategy defines the storage strategy for the status subresource of Seeds.
View Source
var Strategy = seedStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy defines the storage strategy for Seeds.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { ListSeeds(ctx context.Context, options *metainternalversion.ListOptions) (*garden.SeedList, error) WatchSeeds(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error) GetSeed(ctx context.Context, name string, options *metav1.GetOptions) (*garden.Seed, error) CreateSeed(ctx context.Context, seed *garden.Seed, createValidation rest.ValidateObjectFunc) (*garden.Seed, error) UpdateSeed(ctx context.Context, seed *garden.Seed, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*garden.Seed, error) DeleteSeed(ctx context.Context, name string) error }
Registry is an interface for things that know how to store Seeds.
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.