kyverno

package
v0.0.0-...-2161955 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchKyvernoCrds

func FetchKyvernoCrds(client dynamic.Interface) (*unstructured.UnstructuredList, error)

FetchKyvernoCrds - Fetches all Custom Resource Definitions(CRDs) related to Kyverno Policies from the cluster Filters CRDs with the group kyverno.io and returns the list

func FetchKyvernoPolicies

func FetchKyvernoPolicies(client dynamic.Interface, name string) (*unstructured.UnstructuredList, error)

FetchKyvernoPolicies - Fetches all Kyverno Policies for the specified resource name(crdname) across different API versions Iterates over each API version, collects all retrieved Kyverno Policies into a single list, and returns it

Types

This section is empty.

Jump to

Keyboard shortcuts

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