Documentation ¶
Index ¶
- Variables
- func ExtractVariables(policy kyvernov1.PolicyInterface) ([]string, error)
- func Load(fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, error)
- func LoadWithLoader(loader loader, fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LegacyLoader = yamlutils.GetPolicy KubectlValidateLoader = kubectlValidateLoader )
Functions ¶
func ExtractVariables ¶
func ExtractVariables(policy kyvernov1.PolicyInterface) ([]string, error)
func Load ¶
func Load(fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, error)
func LoadWithLoader ¶
func LoadWithLoader(loader loader, fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.