configMgr

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONFIG_NAME_INVALID = iota
	CONFIG_NO_STORAGE   = iota
)

Variables

This section is empty.

Functions

func JobConfigMgr

func JobConfigMgr() (ret *configManager)

func StartJobConfigManager

func StartJobConfigManager(config *maestroConfig.YAMLMaestroConfig)

Types

type CompositeProcessConfigPayload

type CompositeProcessConfigPayload struct {
	Moduleconfigs map[string]maestroSpecs.JobDefinition `json:"moduleconfigs,omitempty"`
	ProcessConfig string                                `json:"process_config,omitempty"`
	// this is the path on the local file system to maestro local APIs
	// It is used for getting configs
	// Later this will be differentiated from a 'root' socket path
	// which will allow additional APIs.
	MaestroUserSocketPath string `json:"maestro_user_socket_path,omitempty"`
	// For privleged APIs, which will starting and stopping processes, etc.
	// UNIMPLEMENTED
	MaestroRootSocketPath string `json:"maestro_root_socket_path,omitempty"`
}

func NewCompositeProcessConfigPayload

func NewCompositeProcessConfigPayload() (ret *CompositeProcessConfigPayload)

type ConfigObjectError

type ConfigObjectError struct {
	Name string
	Job  string
	Code int
	Aux  string
}

func (*ConfigObjectError) Error

func (this *ConfigObjectError) Error() string

Jump to

Keyboard shortcuts

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