types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTargetConfigManifest added in v0.4.0

func GetTargetConfigManifest() *models.TargetConfigManifest

Types

type TargetMetadata added in v0.4.0

type TargetMetadata struct {
	MachineId string
	VolumeId  string
	IsRunning bool
	Created   string
}

type TargetOptions

type TargetOptions struct {
	Region    string `json:"Region"`
	Size      string `json:"Size"`
	DiskSize  int    `json:"Disk Size"`
	OrgSlug   string `json:"Org Slug"`
	AuthToken string `json:"Auth Token,omitempty"`
}

func ParseTargetOptions

func ParseTargetOptions(optionsJson string) (*TargetOptions, error)

ParseTargetOptions parses the target options from the JSON string.

Jump to

Keyboard shortcuts

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