webhooks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateTenantConfigs

func ValidateTenantConfigs(tempo v1alpha1.TempoStack) error

ValidateTenantConfigs validates the tenants mode specification.

Types

type Defaulter

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

Defaulter implements the CustomDefaulter interface.

func NewDefaulter

func NewDefaulter(ctrlConfig configv1alpha1.ProjectConfig) *Defaulter

NewDefaulter creates a new instance of Defaulter, which implements functions for setting defaults on the Tempo CR.

func (*Defaulter) Default

func (d *Defaulter) Default(ctx context.Context, obj runtime.Object) error

Default applies default values to a Kubernetes object.

type TempoMonolithicWebhook

type TempoMonolithicWebhook struct {
}

TempoMonolithicWebhook provides webhooks for TempoMonolithic CR.

func (*TempoMonolithicWebhook) SetupWebhookWithManager

func (w *TempoMonolithicWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks.

type TempoStackWebhook

type TempoStackWebhook struct {
}

TempoStackWebhook provides webhooks for TempoStack CR.

func (*TempoStackWebhook) SetupWebhookWithManager

func (w *TempoStackWebhook) SetupWebhookWithManager(mgr ctrl.Manager, ctrlConfig configv1alpha1.ProjectConfig) error

SetupWebhookWithManager initializes the webhook.

Jump to

Keyboard shortcuts

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