types

package
v1.0.0-beta.12 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 2 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextBindingType = map[BindingType]string{
	Schedule:          "schedule",
	OnStartup:         "onStartup",
	OnKubernetesEvent: "kubernetes",
}

Functions

This section is empty.

Types

type BindingType

type BindingType string
const (
	Schedule          BindingType = "schedule"
	OnStartup         BindingType = "onStartup"
	OnKubernetesEvent BindingType = "kubernetes"
)

type CommonBindingConfig

type CommonBindingConfig struct {
	BindingName  string
	AllowFailure bool
}

Types for effective binding configs

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
}

Jump to

Keyboard shortcuts

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