infrastructure

package
v0.1.347 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const RetryCount = 5

Variables

This section is empty.

Functions

func GetEnvironments added in v0.1.331

func GetEnvironments(state state.State) ([]*environments.Environment, error)

func GetProjects added in v0.1.321

func GetProjects(myclient *client.Client) ([]*projects.Project, error)

GetProjects gets all projects, excluding the "Octoterra Space Management" project and any that are disabled.

func PublishRunbook

func PublishRunbook(state state.State, runbookName string, projectName string) error

func PublishRunbookRetry added in v0.1.263

func PublishRunbookRetry(state state.State, runbookName string, projectName string, retryCount int, lastError error) error

func RunRunbook

func RunRunbook(state state.State, runbookName string, projectName string, environmentName string) (string, error)

func RunRunbookRetry added in v0.1.263

func RunRunbookRetry(state state.State, runbookName string, projectName string, environmentName string, retryCount int, lastError error) (string, error)

func WaitForTask

func WaitForTask(state state.State, taskId string, statusCallback func(message string)) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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