project

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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

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

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

func MatchProject

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

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

func NamespaceTriggerFunc

func NamespaceTriggerFunc(obj runtime.Object) string

NamespaceTriggerFunc returns spec.namespace of given Project.

func ToSelectableFields

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