utils

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeSelector added in v0.1.1

func GetNodeSelector(nl *corev1.NodeList, selectors []map[string]string) (*labels.Requirement, error)

func GetNodeSelectors added in v0.1.1

func GetNodeSelectors(request *http.Request, proxyTenants []*tenant.ProxyTenant) (selectors []map[string]string)

func HandleGetSelector added in v0.4.0

func HandleGetSelector(ctx context.Context, obj client.Object, client client.Reader, requirements []labels.Requirement, name string, gv schema.GroupKind) (labels.Selector, error)

func HandleListSelector added in v0.4.0

func HandleListSelector(requirements []labels.Requirement) (selector labels.Selector, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL