Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LegacyLoader = legacyLoader KubectlValidateLoader = kubectlValidateLoader )
Functions ¶
func ExtractVariables ¶
func ExtractVariables(policy kyvernov1.PolicyInterface) ([]string, error)
Types ¶
type LoaderError ¶ added in v1.12.2
type LoaderResults ¶ added in v1.12.2
type LoaderResults struct { Policies []kyvernov1.PolicyInterface VAPs []v1alpha1.ValidatingAdmissionPolicy VAPBindings []v1alpha1.ValidatingAdmissionPolicyBinding NonFatalErrors []LoaderError }
func Load ¶
func Load(fs billy.Filesystem, resourcePath string, paths ...string) (*LoaderResults, error)
func LoadWithLoader ¶
func LoadWithLoader(loader loader, fs billy.Filesystem, resourcePath string, paths ...string) (*LoaderResults, error)
Click to show internal directories.
Click to hide internal directories.