orchestrator

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	// contains filtered or unexported fields
}

func NewOrchestrator

func NewOrchestrator(config config.HappyConfigIface, taskRunner backend.TaskRunner) *Orchestrator

func (*Orchestrator) Logs

func (s *Orchestrator) Logs(stackName string, service string, since string) error

func (*Orchestrator) RunTasks

func (s *Orchestrator) RunTasks(stack *stack_mgr.Stack, taskType string, wait bool, showLogs bool) error

Taking tasks defined in the config, look up their ID (e.g ARN) in the given Stack object, and run these tasks with TaskRunner

func (*Orchestrator) Shell

func (s *Orchestrator) Shell(stackName string, service string) error

Jump to

Keyboard shortcuts

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