webhooks

package
v0.0.0-...-814654e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RDBDatabaseValidator

type RDBDatabaseValidator struct {
	ScalewayWebhook *webhooks.ScalewayWebhook
	*admission.Decoder
	Log logr.Logger
}

RDBDatabaseValidator is the struct used to validate a RDBDatabase

func (*RDBDatabaseValidator) Handle

Handle handles the main logic of the RDBDatabase webhook

func (*RDBDatabaseValidator) InjectDecoder

func (v *RDBDatabaseValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

func (*RDBDatabaseValidator) SetupWebhookWithManager

func (v *RDBDatabaseValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the RDBDatabase webhook

type RDBInstanceValidator

type RDBInstanceValidator struct {
	ScalewayWebhook *webhooks.ScalewayWebhook
	*admission.Decoder
	Log logr.Logger
}

RDBInstanceValidator is the struct used to validate a RDBInstance

func (*RDBInstanceValidator) Handle

Handle handles the main logic of the RDBInstance webhook

func (*RDBInstanceValidator) InjectDecoder

func (v *RDBInstanceValidator) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

func (*RDBInstanceValidator) SetupWebhookWithManager

func (v *RDBInstanceValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the RDBInstance webhook

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL