util

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldSelectors

func GetFieldSelectors(options *internalversion.ListOptions, selectors map[string]string,
	fieldKeysMap map[string]struct{}) error

GetFieldSelectors extracts and populates the field selectors map from the list options.

func GetFilteredObjsByLabels

func GetFilteredObjsByLabels(objs []interface{}, labelSelector map[string]string,
	supportedLabelNameMap map[string]struct{}) []interface{}

GetFilteredObjsByLabels filters the objs based on the labelSelector and returns a list.

func GetLabelSelectors

func GetLabelSelectors(options *internalversion.ListOptions, selectors map[string]string,
	supportedLabelNameMap map[string]struct{}) error

GetLabelSelectors extracts and populates the label selectors map from the list options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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