project

package
v1.89.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusStrategy = projectStatusStrategy{Strategy}

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

View Source
var Strategy = projectStrategy{api.Scheme, names.SimpleNameGenerator}

Strategy defines the storage strategy for Projects.

Functions

func GetAttrs added in v1.21.0

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

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

func MatchProject added in v1.21.0

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

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

func NamespaceTriggerFunc added in v1.21.0

func NamespaceTriggerFunc(obj runtime.Object) string

NamespaceTriggerFunc returns spec.namespace of given Project.

func ToSelectableFields added in v1.21.0

func ToSelectableFields(project *core.Project) 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