Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyPatch error = fmt.Errorf("empty resource to patch")
Functions ¶
This section is empty.
Types ¶
type MutateExistingController ¶
type MutateExistingController struct {
// contains filtered or unexported fields
}
func NewMutateExistingController ¶
func NewMutateExistingController( client dclient.Interface, statusControl common.StatusControlInterface, rclient registryclient.Client, policyLister kyvernov1listers.ClusterPolicyLister, npolicyLister kyvernov1listers.PolicyLister, nsLister corev1listers.NamespaceLister, dynamicConfig config.Configuration, informerCacheResolvers resolvers.ConfigmapResolver, eventGen event.Interface, log logr.Logger, ) *MutateExistingController
NewMutateExistingController returns an instance of the MutateExistingController
func (*MutateExistingController) ProcessUR ¶
func (c *MutateExistingController) ProcessUR(ur *kyvernov1beta1.UpdateRequest) error
Click to show internal directories.
Click to hide internal directories.