instance

package
v0.10.38 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:          "instance [operation] [flags]",
	Short:        "Manage Instance Deployments for your service",
	Long:         `This command helps you manage the deployment of your service instances.`,
	Run:          run,
	SilenceUsage: true,
}
View Source
var InstanceID string

Functions

This section is empty.

Types

type DeploymentType added in v0.10.21

type DeploymentType string
const (
	TerraformDeploymentType DeploymentType = "terraform"
)

type FileInfo added in v0.10.21

type FileInfo struct {
	FilesContents   map[string]string `json:"filesContents,omitempty"`
	Name            string            `json:"name,omitempty"`
	InstanceID      string            `json:"instanceID,omitempty"`
	ResourceVersion string            `json:"resourceVersion,omitempty"`
}

type InstanceStatusType added in v0.9.129

type InstanceStatusType string
const (
	InstanceStatusRunning   InstanceStatusType = "RUNNING"
	InstanceStatusStopped   InstanceStatusType = "STOPPED"
	InstanceStatusFailed    InstanceStatusType = "FAILED"
	InstanceStatusCancelled InstanceStatusType = "CANCELLED"
	InstanceStatusUnknown   InstanceStatusType = "UNKNOWN"
)
var InstanceStatus InstanceStatusType

type TerraformResponse added in v0.10.21

type TerraformResponse struct {
	SyncState string   `json:"syncState,omitempty"`
	Files     FileInfo `json:"files,omitempty"`
	SyncError string   `json:"syncError,omitempty"`
}

Define structs to match the JSON structure

Jump to

Keyboard shortcuts

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