helpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverClusterGRVsByLabel

func DiscoverClusterGRVsByLabel(dc *discovery.DiscoveryClient, di dynamic.Interface, requiredLabelQuery string) ([]u.Unstructured, error)

func DiscoverClusterGRVsByNamespacedName

func DiscoverClusterGRVsByNamespacedName(dc *discovery.DiscoveryClient, di dynamic.Interface, namespace string, name string) ([]u.Unstructured, error)

func GVRFromUnstructured

func GVRFromUnstructured(o u.Unstructured) schema.GroupVersionResource

func GetResourcesByJq

func GetResourcesByJq(dynamic dynamic.Interface, ctx context.Context, group string, version string, resource string, labelQuery string, namepace string, name string) ([]u.Unstructured, error)

func GetUnstructuredResourceList

func GetUnstructuredResourceList(dynamic dynamic.Interface, ctx context.Context, group string, version string, resource string) ([]u.Unstructured, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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