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 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 RegionItem ¶ added in v1.33.0
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 Summary ¶ added in v1.6.0
type Summary struct {
Resources map[string]*ResourceState
}
Click to show internal directories.
Click to hide internal directories.