Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type FailurePolicy ¶
type FailurePolicy string
const ( FailurePolicyIgnore FailurePolicy = "ignore" FailurePolicyFail FailurePolicy = "fail" )
func (FailurePolicy) Eq ¶
func (f FailurePolicy) Eq(other FailurePolicy) bool
type Webhook ¶
type Webhook struct { Kind models.Kind `yaml:"kind"` FailurePolicy FailurePolicy `yaml:"failurePolicy"` Timeout time.Duration `yaml:"timeout"` Rules []Rule `yaml:"rules"` ClientConfig ClientConfig `yaml:"clientConfig"` }
Click to show internal directories.
Click to hide internal directories.