types

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

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

type OnKubernetesEventConfig

type OnKubernetesEventConfig struct {
	CommonBindingConfig
	Monitor                      *kube_events_manager.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        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