controllers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCustomResourceDefinitions

func EnsureCustomResourceDefinitions(client crd_cs.Interface) error

Types

type Config

type Config struct {
	ClientConfig *rest.Config

	ResyncPeriod           time.Duration
	MaxConcurrentReconcile int // NumThreads
	RequeueAfterDuration   time.Duration
	MaxRetryOnFailure      int // MaxNumRequeues
	RetryAfterDuration     time.Duration
	BeforeDeadlineDuration time.Duration

	EnableValidatingWebhook bool
	EnableMutatingWebhook   bool

	AdmissionHooks []hooks.AdmissionHook
}

func NewConfig

func NewConfig(cfg *rest.Config) *Config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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