backupentry

package
v1.87.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 16 Imported by: 0

Documentation

Index

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

func BucketNameIndexFunc(obj interface{}) ([]string, error)

BucketNameIndexFunc returns spec.BucketName of given BackupEntry.

func GetAttrs added in v1.2.0

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels and fields of a given object for filtering purposes.

func MatchBackupEntry added in v1.2.0

func MatchBackupEntry(label labels.Selector, field fields.Selector) storage.SelectionPredicate

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

func SeedNameIndexFunc(obj interface{}) ([]string, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL