Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusStrategy = backupInfrastructureStatusStrategy{Strategy}
StatusStrategy defines the storage strategy for the status subresource of BackupInfrastructures.
View Source
var Strategy = backupInfrastructureStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy defines the storage strategy for BackupInfrastructures.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { ListBackupInfrastructures(ctx context.Context, options *metainternalversion.ListOptions) (*garden.BackupInfrastructureList, error) WatchBackupInfrastructures(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error) GetBackupInfrastructure(ctx context.Context, backupInfrastructureID string, options *metav1.GetOptions) (*garden.BackupInfrastructure, error) CreateBackupInfrastructure(ctx context.Context, backupInfrastructure *garden.BackupInfrastructure, createValidation rest.ValidateObjectFunc) (*garden.BackupInfrastructure, error) UpdateBackupInfrastructure(ctx context.Context, backupInfrastructure *garden.BackupInfrastructure, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) (*garden.BackupInfrastructure, error) DeleteBackupInfrastructure(ctx context.Context, backupInfrastructureID string) error }
Registry is an interface for things that know how to store BackupInfrastructures.
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.