Documentation ¶
Index ¶
- Constants
- func GetAutoUpdateVersion(versions map[string]profile.Version) (*string, error)
- func GetForceUpdateVersion(version string, versions map[string]profile.Version) (*string, error)
- func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func NewShootMutator(mgr manager.Manager) extensionswebhook.Mutator
- type Shoot
Constants ¶
View Source
const ( MutatorName = "mutator" MutatorPath = "/webhooks/mutate" )
Variables ¶
This section is empty.
Functions ¶
func GetAutoUpdateVersion ¶
func GetForceUpdateVersion ¶
func New ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
New creates a new webhook that validates Shoot resources.
func NewShootMutator ¶
func NewShootMutator(mgr manager.Manager) extensionswebhook.Mutator
NewShootMutator returns a new instance of a shoot mutator.
Types ¶
type Shoot ¶
type Shoot struct {
// contains filtered or unexported fields
}
shoot mutates shoots
func (*Shoot) ExtractFalcoConfig ¶
func (s *Shoot) ExtractFalcoConfig(shoot *gardencorev1beta1.Shoot) (*service.FalcoServiceConfig, error)
func (*Shoot) UpdateFalcoConfig ¶
func (s *Shoot) UpdateFalcoConfig(shoot *gardencorev1beta1.Shoot, config *service.FalcoServiceConfig) error
Click to show internal directories.
Click to hide internal directories.