controllers

package
v1.0.160 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateManager

func CreateManager(opts KubeManagerOptions) (ctrl.Manager, error)

func SetupWithManager

func SetupWithManager(mgr manager.Manager, dp *distros.Provider) error

Types

type KubeManagerOptions

type KubeManagerOptions struct {
	Logger                   logr.Logger
	MetricsServerBindAddress string
	HealthProbeBindAddress   string
	EnableLeaderElection     bool
}

type SourcesDefaulter

type SourcesDefaulter struct {
	client.Client
}

func (*SourcesDefaulter) Default

func (s *SourcesDefaulter) Default(ctx context.Context, obj runtime.Object) error

type SourcesValidator

type SourcesValidator struct {
	client.Client
}

func (*SourcesValidator) ValidateCreate

func (s *SourcesValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*SourcesValidator) ValidateDelete

func (s *SourcesValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*SourcesValidator) ValidateUpdate

func (s *SourcesValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

Jump to

Keyboard shortcuts

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