types

package
v1.33.5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Aws   = "aws"
	Azure = "azure"
	Gcp   = "gcp"
)

Variables

View Source
var Providers = []string{Aws, Azure, Gcp}

Functions

This section is empty.

Types

type ConfigFromCode added in v1.16.0

type ConfigFromCode interface {
	ProjectDir() string
	ProjectName() string
	ToUpRequest() (*deploy.DeployUpRequest, error)
}

type Deployment added in v1.1.0

type Deployment struct {
	Summary      *Summary
	ApiEndpoints map[string]string `json:"apiEndpoints,omitempty"`
}

type Provider

type Provider interface {
	Up() (*Deployment, error)
	Down() (*Summary, error)
	List() (interface{}, error)
	ToFile() error
	AskAndSave() error
	SupportedRegions() []RegionItem
	SetStackConfigProp(key string, value any)
}

type ProviderOpts added in v1.4.0

type ProviderOpts struct {
	Force       bool
	Interactive bool
	SkipChecks  bool
}

type RegionItem added in v1.33.0

type RegionItem struct {
	Value       string
	Description string
}

func (RegionItem) GetItemDescription added in v1.33.0

func (s RegionItem) GetItemDescription() string

func (RegionItem) GetItemValue added in v1.33.0

func (s RegionItem) GetItemValue() string

type ResourceState added in v1.6.0

type ResourceState struct {
	OpType   string
	Errored  bool
	Messages []string
}

type Summary added in v1.6.0

type Summary struct {
	Resources map[string]*ResourceState
}

Jump to

Keyboard shortcuts

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