Documentation ¶
Index ¶
Constants ¶
View Source
const SectionKey = "tasks"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackOffConfig ¶ added in v0.1.21
type BarrierConfig ¶
type Config ¶
type Config struct { TaskPlugins TaskPluginConfig `json:"task-plugins" pflag:",Task plugin configuration"` MaxPluginPhaseVersions int32 `json:"max-plugin-phase-versions" pflag:",Maximum number of plugin phase versions allowed for one phase."` BarrierConfig BarrierConfig `json:"barrier" pflag:",Config for Barrier implementation"` BackOffConfig BackOffConfig `json:"backoff" pflag:",Config for Exponential BackOff implementation"` MaxErrorMessageLength int `json:"maxLogMessageLength" pflag:",Max length of error message."` }
type PluginsConfigMeta ¶ added in v0.4.8
type PluginsConfigMeta struct { EnabledPlugins sets.String AllDefaultForTaskTypes map[PluginID][]TaskType }
Contains the set of enabled plugins for this flytepropeller deployment along with default plugin handlers for specific task types.
type TaskPluginConfig ¶
type TaskPluginConfig struct { EnabledPlugins []string `json:"enabled-plugins" pflag:",deprecated"` // Maps task types to their plugin handler (by ID). DefaultForTaskTypes map[string]string `json:"default-for-task-types" pflag:"-,"` }
func (TaskPluginConfig) GetEnabledPlugins ¶ added in v0.4.8
func (p TaskPluginConfig) GetEnabledPlugins() (PluginsConfigMeta, error)
Click to show internal directories.
Click to hide internal directories.