core

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodDir = "nod/"
)

Variables

This section is empty.

Functions

func GetNodDir

func GetNodDir() string

func GetPublicIp

func GetPublicIp() (net.IP, error)

func InitNodDir

func InitNodDir()

func PrintBanner

func PrintBanner()

func PrintHeader

func PrintHeader(header string)

func StartSpinner

func StartSpinner(message string)

func StopSpinner

func StopSpinner(message string)

func StopSpinnerError

func StopSpinnerError(message string)

Types

type Terraform

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

func (*Terraform) ApplyDeployment

func (tf *Terraform) ApplyDeployment(workspace string, region string, allowedIp net.IP)

func (*Terraform) CreateWorkspace

func (tf *Terraform) CreateWorkspace() string

func (*Terraform) DeleteWorkspace

func (tf *Terraform) DeleteWorkspace(workspace string)

func (*Terraform) DestroyDeployment

func (tf *Terraform) DestroyDeployment(workspace string)

func (*Terraform) GetDeploymentDetails

func (tf *Terraform) GetDeploymentDetails() *TerraformOutput

func (*Terraform) GetWorkspaces

func (tf *Terraform) GetWorkspaces() []string

func (*Terraform) New

func (*Terraform) New() *Terraform

type TerraformOutput

type TerraformOutput struct {
	DeploymentId string
	InstanceId   string
	InstanceIp   string
	SshKeyFile   string
}

Jump to

Keyboard shortcuts

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