Back to

package backupbucket

Latest Go to latest
Published: May 27, 2020 | Licenses: Apache-2.0, BSD-2-Clause, MIT, MPL-2.0 | Module:



var StatusStrategy = backupBucketStatusStrategy{Strategy}

StatusStrategy defines the storage strategy for the status subresource of BackupBuckets.

var Strategy = backupBucketStrategy{api.Scheme, names.SimpleNameGenerator}

Strategy defines the storage strategy for BackupBuckets.

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 MatchBackupBucket

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

MatchBackupBucket returns a generic matcher for a given label and field selector.

func SeedNameTriggerFunc

func SeedNameTriggerFunc(obj runtime.Object) string

SeedNameTriggerFunc returns spec.seedName of given BackupBucket.

func ToSelectableFields

func ToSelectableFields(backupBucket *core.BackupBucket) 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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier