types

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindingType

type BindingType string
const (
	Schedule             BindingType = "schedule"
	OnStartup            BindingType = "onStartup"
	OnKubernetesEvent    BindingType = "kubernetes"
	KubernetesConversion BindingType = "kubernetesCustomResourceConversion"
	KubernetesValidating BindingType = "kubernetesValidating"
	KubernetesMutating   BindingType = "kubernetesMutating"
)

type CommonBindingConfig

type CommonBindingConfig struct {
	BindingName  string
	AllowFailure bool
}

Types for effective binding configs

type ConversionConfig

type ConversionConfig struct {
	CommonBindingConfig
	IncludeSnapshotsFrom []string
	Group                string
	Webhook              *conversion.WebhookConfig
}

type MutatingConfig added in v1.2.0

type MutatingConfig struct {
	CommonBindingConfig
	IncludeSnapshotsFrom []string
	Group                string
	Webhook              *admission.MutatingWebhookConfig
}

type OnKubernetesEventConfig

type OnKubernetesEventConfig struct {
	CommonBindingConfig
	Monitor                      *kubeeventsmanager.MonitorConfig
	IncludeSnapshotsFrom         []string
	Queue                        string
	Group                        string
	ExecuteHookOnSynchronization bool
	WaitForSynchronization       bool
	KeepFullObjectsInMemory      bool
}

type OnStartupConfig

type OnStartupConfig struct {
	CommonBindingConfig
	Order float64
}

type ScheduleConfig

type ScheduleConfig struct {
	CommonBindingConfig
	ScheduleEntry        smtypes.ScheduleEntry
	IncludeSnapshotsFrom []string
	Queue                string
	Group                string
}

type Settings

type Settings struct {
	ExecutionMinInterval time.Duration
	ExecutionBurst       int
}

type ValidatingConfig

type ValidatingConfig struct {
	CommonBindingConfig
	IncludeSnapshotsFrom []string
	Group                string
	Webhook              *admission.ValidatingWebhookConfig
}

Jump to

Keyboard shortcuts

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