Documentation ¶
Index ¶
- Variables
- func BucketNameIndexFunc(obj interface{}) ([]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 interface{}) ([]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 ¶ added in v1.60.0
BucketNameIndexFunc returns spec.BucketName of given BackupEntry.
func GetAttrs ¶ added in v1.2.0
GetAttrs returns labels and fields of a given object for filtering purposes.
func MatchBackupEntry ¶ added in v1.2.0
MatchBackupEntry returns a generic matcher for a given label and field selector.
func NewStrategy ¶ added in v1.61.0
func NewStrategy() backupEntryStrategy
NewStrategy returns a new storage strategy for BackupEntries.
func SeedNameIndexFunc ¶ added in v1.60.0
SeedNameIndexFunc returns spec.seedName of given BackupEntry.
func ToSelectableFields ¶ added in v1.2.0
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.