Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigNotFound ¶
type ConfigNotFound struct {
// contains filtered or unexported fields
}
func NewConfigNotFound ¶
func NewConfigNotFound(config interface{}, kind, namespace, name string) *ConfigNotFound
func (*ConfigNotFound) Error ¶
func (e *ConfigNotFound) Error() string
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( kyvernoclient *kyvernoclient.Clientset, client *dclient.Client, pInformer kyvernoinformer.ClusterPolicyInformer, grInformer kyvernoinformer.GenerateRequestInformer, eventGen event.Interface, pvGenerator policyviolation.GeneratorInterface, dynamicInformer dynamicinformer.DynamicSharedInformerFactory, ) *Controller
type NotFound ¶
type NotFound struct {
// contains filtered or unexported fields
}
func NewNotFound ¶
type ParseFailed ¶
type ParseFailed struct {
// contains filtered or unexported fields
}
DATA
func NewParseFailed ¶
func NewParseFailed(spec interface{}, err error) *ParseFailed
func (*ParseFailed) Error ¶
func (e *ParseFailed) Error() string
type StatusControl ¶
type StatusControl struct {
// contains filtered or unexported fields
}
StatusControl is default implementaation of GRStatusControlInterface
func (StatusControl) Failed ¶
func (sc StatusControl) Failed(gr kyverno.GenerateRequest, message string, genResources []kyverno.ResourceSpec) error
FailedGR sets gr status.state to failed with message
func (StatusControl) Success ¶
func (sc StatusControl) Success(gr kyverno.GenerateRequest, genResources []kyverno.ResourceSpec) error
SuccessGR sets the gr status.state to completed and clears message
type StatusControlInterface ¶
type StatusControlInterface interface { Failed(gr kyverno.GenerateRequest, message string, genResources []kyverno.ResourceSpec) error Success(gr kyverno.GenerateRequest, genResources []kyverno.ResourceSpec) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.