gardener: github.com/gardener/gardener/pkg/registry/core/backupbucket Index | Files | Directories

package backupbucket

import "github.com/gardener/gardener/pkg/registry/core/backupbucket"

Index

Package Files

strategy.go

Variables

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 Uses

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

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

func MatchBackupBucket Uses

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

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

func SeedNameTriggerFunc Uses

func SeedNameTriggerFunc(obj runtime.Object) string

SeedNameTriggerFunc returns spec.seedName of given BackupBucket.

func ToSelectableFields Uses

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.

Directories

PathSynopsis
storage

Package backupbucket imports 15 packages (graph) and is imported by 1 packages. Updated 2020-04-01. Refresh now. Tools for package owners.