backupentry

package
v1.100.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 18 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

func BucketNameIndexFunc(obj any) ([]string, error)

BucketNameIndexFunc returns spec.BucketName of given BackupEntry.

func GetAttrs

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

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

func MatchBackupEntry

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

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

func SeedNameIndexFunc(obj any) ([]string, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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