workspace

package
v0.0.0-...-614ca16 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoutingLocalhost     = "localhost"
	RoutingCluster       = "cluster"
	RoutingNA            = "n/a"
	StatusDeployed       = "DEPLOYED"
	StatusNotFound       = "NOTFOUND"
	StatusDeleted        = "DELETED"
	StatusFailed         = "FAILED"
	StatusPendingUpgrade = "PENDING-UPGRADE"
	StatusPendingInstall = "PENDING-INSTALL"
	StatusUnchanged      = "UNCHANGED"
)

Variables

Functions

This section is empty.

Types

type AppState

type AppState struct {
	Branch      string `yaml:"branch,omitempty" json:"branch,omitempty"`
	Status      string `yaml:"deployment,omitempty" json:"deployment,omitempty"`
	Routing     string `yaml:"routing,omitempty" json:"routing,omitempty"`
	Version     string `yaml:"version,omitempty" json:"version,omitempty"`
	Diff        string `yaml:"-" json:"-"`
	Error       error  `yaml:"-" json:"-"`
	Force       bool   `yaml:"-" json:"-"`
	Unavailable bool   `yaml:"-" json:"-"`
}

func (AppState) String

func (a AppState) String() string

type AppStateMap

type AppStateMap map[string]AppState

type AppStatesByEnvironment

type AppStatesByEnvironment map[string]AppStateMap

type Context

type Context struct {
	CurrentEnvironment string                `yaml:"currentEnvironment" json:"currentEnvironment"`
	CurrentPlatform    string                `yaml:"currentPlatform" json:"currentPlatform"`
	CurrentRelease     string                `yaml:"currentRelease" json:"currentRelease"`
	CurrentCluster     string                `yaml:"currentCluster" json:"currentCluster"`
	CurrentKubeconfig  string                `yaml:"currentKubeconfig" json:"currentKubeconfig"`
	CurrentStack       string                `yaml:"currentStack" json:"currentStack"`
	KnownStacks        map[string]KnownStack `yaml:"knownStacks"`
}

type Contexter

type Contexter interface {
	WorkspaceContext() Context
}

type KnownStack

type KnownStack struct {
	Environment  string
	Cluster      string
	Name         string
	TemplateName string
}

type Routing

type Routing string

Jump to

Keyboard shortcuts

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