Documentation ¶
Index ¶
Constants ¶
View Source
const SectionKey = "tasks"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackOffConfig ¶
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."` BackOffConfig BackOffConfig `json:"backoff" pflag:",Config for Exponential BackOff implementation"` MaxErrorMessageLength int `json:"maxLogMessageLength" pflag:",Deprecated!!! Max length of error message."` }
type PluginsConfigMeta ¶
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:",Plugins enabled currently"` // Maps task types to their plugin handler (by ID). DefaultForTaskTypes map[string]string `json:"default-for-task-types" pflag:"-,"` }
func (TaskPluginConfig) GetEnabledPlugins ¶
func (p TaskPluginConfig) GetEnabledPlugins() (PluginsConfigMeta, error)
Click to show internal directories.
Click to hide internal directories.