types

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 2 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(log output.Progress) (*Deployment, error)
	Down(log output.Progress) (*Summary, error)
	List() (interface{}, error)
	AskAndSave() error
	SupportedRegions() []string
}

type ProviderOpts added in v1.4.0

type ProviderOpts struct {
	Force bool
}

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