Documentation ¶
Index ¶
- Variables
- func BucketNameIndexFunc(obj any) ([]string, error)
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchBackupEntry(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStrategy() backupEntryStrategy
- func SeedNameIndexFunc(obj any) ([]string, error)
- func ToSelectableFields(backupEntry *core.BackupEntry) fields.Set
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusStrategy = backupEntryStatusStrategy{Strategy}
StatusStrategy defines the storage strategy for the status subresource of BackupEntries.
View Source
var Strategy = backupEntryStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy defines the storage strategy for BackupEntries.
Functions ¶
func BucketNameIndexFunc ¶
BucketNameIndexFunc returns spec.BucketName of given BackupEntry.
func MatchBackupEntry ¶
MatchBackupEntry returns a generic matcher for a given label and field selector.
func NewStrategy ¶
func NewStrategy() backupEntryStrategy
NewStrategy returns a new storage strategy for BackupEntries.
func SeedNameIndexFunc ¶
SeedNameIndexFunc returns spec.seedName of given BackupEntry.
func ToSelectableFields ¶
func ToSelectableFields(backupEntry *core.BackupEntry) fields.Set
ToSelectableFields returns a field set that represents the object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.