Documentation ¶
Index ¶
- Variables
- func ExtractVariables(policy kyvernov1.PolicyInterface) ([]string, error)
- func Load(fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, ...)
- func LoadWithLoader(loader loader, fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, ...)
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, []v1alpha1.ValidatingAdmissionPolicyBinding, error)
func LoadWithLoader ¶
func LoadWithLoader(loader loader, fs billy.Filesystem, resourcePath string, paths ...string) ([]kyvernov1.PolicyInterface, []v1alpha1.ValidatingAdmissionPolicy, []v1alpha1.ValidatingAdmissionPolicyBinding, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.