unnamedwatches

package
v0.0.0-...-e380d23 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WatchSecretWebhookName                    = "doris-operator-webhook-secret-watch"
	WatchValidatingWebhookConfigurationName   = "doris-operator-validate-webhook-watch"
	WatchMutatingWebhookConfigurationName     = "doris-operator-mutate-webhook-watch"
	DefaultMutatingWebhookConfigurationName   = "doris-operator-mutate-webhook"
	DefaultValidatingWebhookConfigurationName = "doris-operator-validate-webhook"
)
View Source
var (
	OperatorPodSelector       = "control-plane=doris-operator"
	OperatorPodTimeAnnotation = "doris-operator/update-time"
)

Functions

This section is empty.

Types

type WResource

type WResource struct {
	// contains filtered or unexported fields
}

define the need resource for unnamedwatches

func (*WResource) Init

func (wr *WResource) Init(mgr ctrl.Manager, options *pc.Options)

func (*WResource) Reconcile

func (wr *WResource) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

webhook need watch resources for running.

func (*WResource) ReconcileResource

func (wr *WResource) ReconcileResource(ctx context.Context) error

reconciles the resources about certificates.

type WatchMutationWebhookConfiguration

type WatchMutationWebhookConfiguration struct {
	Name                             string
	MutationWebhookConfigurationName string
	SecretNamespaceName              types.NamespacedName
	Type                             client.Object
	// contains filtered or unexported fields
}

func (*WatchMutationWebhookConfiguration) Create

func (*WatchMutationWebhookConfiguration) Delete

func (*WatchMutationWebhookConfiguration) Generic

func (*WatchMutationWebhookConfiguration) GetName

return the watch resource name.

func (*WatchMutationWebhookConfiguration) GetType

func (*WatchMutationWebhookConfiguration) Reconcile

func (*WatchMutationWebhookConfiguration) Update

type WatchSecret

type WatchSecret struct {

	//the watch controller name.
	Name                               string
	NamespaceName                      types.NamespacedName
	Type                               client.Object
	WebhookService                     string
	MutatingWebhookConfigurationName   string
	ValidatingWebhookConfigurationName string
	// contains filtered or unexported fields
}

define secret should be watched by operator.

func (*WatchSecret) Create

func (w *WatchSecret) Create(event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)

func (*WatchSecret) Delete

func (w *WatchSecret) Delete(event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)

func (*WatchSecret) Generic

func (w *WatchSecret) Generic(event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)

func (*WatchSecret) GetName

func (w *WatchSecret) GetName() string

return the watch resource name.

func (*WatchSecret) GetType

func (w *WatchSecret) GetType() client.Object

func (*WatchSecret) Reconcile

func (w *WatchSecret) Reconcile(ctx context.Context) error

func (*WatchSecret) Update

func (w *WatchSecret) Update(event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)

type WatchValidatingWebhookConfiguration

type WatchValidatingWebhookConfiguration struct {

	//the watch controller name.
	Name                               string
	ValidatingWebhookConfigurationName string
	SecretNamespaceName                types.NamespacedName
	Type                               client.Object
	// contains filtered or unexported fields
}

func (*WatchValidatingWebhookConfiguration) Create

func (*WatchValidatingWebhookConfiguration) Delete

func (*WatchValidatingWebhookConfiguration) Generic

func (*WatchValidatingWebhookConfiguration) GetName

return the watch resource name.

func (*WatchValidatingWebhookConfiguration) GetType

func (*WatchValidatingWebhookConfiguration) Reconcile

func (*WatchValidatingWebhookConfiguration) Update

Jump to

Keyboard shortcuts

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