Documentation ¶
Overview ¶
Package common serves as a catch-all package for sharing types between O² Control components.
Index ¶
- type CommandInfo
- func (m *CommandInfo) Copy() *CommandInfo
- func (m *CommandInfo) Equals(other *CommandInfo) (response bool)
- func (m *CommandInfo) GetArguments() []string
- func (m *CommandInfo) GetEnv() []string
- func (m *CommandInfo) GetShell() bool
- func (m *CommandInfo) GetUser() string
- func (m *CommandInfo) GetValue() string
- func (m *CommandInfo) Reset()
- func (m *CommandInfo) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
- func (m *CommandInfo) UpdateFrom(n *CommandInfo)
- type TaskCommandInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandInfo ¶
type CommandInfo struct { Env []string `json:"env,omitempty" yaml:"env,omitempty"` Shell *bool `json:"shell,omitempty" yaml:"shell,omitempty"` Value *string `json:"value,omitempty" yaml:"value,omitempty"` User *string `json:"user,omitempty" yaml:"user,omitempty"` Arguments []string `json:"arguments,omitempty" yaml:"arguments,omitempty"` }
func (*CommandInfo) Copy ¶
func (m *CommandInfo) Copy() *CommandInfo
func (*CommandInfo) Equals ¶
func (m *CommandInfo) Equals(other *CommandInfo) (response bool)
func (*CommandInfo) GetArguments ¶
func (m *CommandInfo) GetArguments() []string
func (*CommandInfo) GetEnv ¶
func (m *CommandInfo) GetEnv() []string
func (*CommandInfo) GetShell ¶
func (m *CommandInfo) GetShell() bool
func (*CommandInfo) GetUser ¶
func (m *CommandInfo) GetUser() string
func (*CommandInfo) GetValue ¶
func (m *CommandInfo) GetValue() string
func (*CommandInfo) Reset ¶
func (m *CommandInfo) Reset()
func (*CommandInfo) UnmarshalYAML ¶
func (m *CommandInfo) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
func (*CommandInfo) UpdateFrom ¶
func (m *CommandInfo) UpdateFrom(n *CommandInfo)
type TaskCommandInfo ¶
type TaskCommandInfo struct { CommandInfo ControlPort uint64 `json:"controlPort"` ControlMode controlmode.ControlMode `json:"controlMode"` // Only applies to hooks and basic tasks Timeout time.Duration `json:"timeout,omitempty"` }
Directories ¶
Path | Synopsis |
---|---|
Package controlmode contains some enums for switching between executor process control modes.
|
Package controlmode contains some enums for switching between executor process control modes. |
Package gera implements a hierarchical key-value store.
|
Package gera implements a hierarchical key-value store. |
Package logger is a convenience wrapper package for using logrus in O² Control.
|
Package logger is a convenience wrapper package for using logrus in O² Control. |
Click to show internal directories.
Click to hide internal directories.