Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = cloudProfileStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy defines the storage strategy for CloudProfiles.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { ListCloudProfiles(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (*garden.CloudProfileList, error) WatchCloudProfiles(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (watch.Interface, error) GetCloudProfile(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (*garden.CloudProfile, error) CreateCloudProfile(ctx genericapirequest.Context, cloudProfile *garden.CloudProfile, createValidation rest.ValidateObjectFunc) (*garden.CloudProfile, error) UpdateCloudProfile(ctx genericapirequest.Context, cloudProfile *garden.CloudProfile, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*garden.CloudProfile, error) DeleteCloudProfile(ctx genericapirequest.Context, name string) error }
Registry is an interface for things that know how to store CloudProfiles.
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.