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 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 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 TODO: fields are not labels, and the validation rules for them do not apply.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.