Documentation ¶
Index ¶
- func Create(scenario string, apps ...string) (string, *errs.OctlError)
- func GitClone(repo, user string) (string, *errs.OctlError)
- func GitPush(repo, user string) (string, *errs.OctlError)
- func ScenarioApply(ctx context.Context, scenFolder string, target string, message string) ([]string, *errs.OctlError)
- func ScenarioCommit(ctx context.Context, configuration *ScenarioConfigModel, message string) ([]string, *errs.OctlError)
- func ScenarioCreate(ctx context.Context, name, description string) ([]string, *errs.OctlError)
- func ScenarioDelete(ctx context.Context, name string) ([]string, *errs.OctlError)
- func ScenarioFix(name string) (string, *errs.OctlError)
- func ScenarioInfo(name string) ([]byte, *errs.OctlError)
- func ScenarioPrepare(ctx context.Context, configuration *ScenarioConfigModel, message string) ([]string, *errs.OctlError)
- func ScenarioPurge(ctx context.Context, configuration *ScenarioConfigModel) ([]string, *errs.OctlError)
- func ScenarioReset(name string, version string, message string) (string, *errs.OctlError)
- func ScenarioRun(ctx context.Context, configuration *ScenarioConfigModel, target string) ([]string, *errs.OctlError)
- func ScenarioUpdate(ctx context.Context, name, message string) ([]string, *errs.OctlError)
- func ScenarioVersion(name string, offset, limit int) ([]byte, *errs.OctlError)
- func ScenariosInfo() ([][]byte, *errs.OctlError)
- type ApplicationConfigModel
- type NodeInfoText
- type NodesInfoText
- type ScenarioConfigModel
- type ScriptConfigModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScenarioApply ¶
func ScenarioCommit ¶
func ScenarioCreate ¶
func ScenarioDelete ¶
func ScenarioPrepare ¶
func ScenarioPurge ¶
func ScenarioReset ¶
func ScenarioRun ¶
func ScenarioUpdate ¶
func ScenarioVersion ¶
func ScenariosInfo ¶
Types ¶
type ApplicationConfigModel ¶
type NodeInfoText ¶
type NodesInfoText ¶
type NodesInfoText struct { NodeInfoList []*NodeInfoText `json:"nodes"` Total int `json:"total"` Active int `json:"active"` Offline int `json:"offline"` }
type ScenarioConfigModel ¶
type ScenarioConfigModel struct { Name string `yaml:"name"` Description string `yaml:"description"` Applications []ApplicationConfigModel `yaml:"applications"` }
type ScriptConfigModel ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.