project

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 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 TODO: fields are not labels, and the validation rules for them do not apply.

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