Documentation ¶
Index ¶
- Constants
- Variables
- func GetLinks(backend Home, app, stage string) (map[string]interface{}, error)
- func GetSecrets(backend Home, app, stage string) (map[string]string, error)
- func Lock(backend Home, app, stage string) error
- func Passphrase(backend Home, app, stage string) (string, error)
- func PullState(backend Home, app, stage string, out string) error
- func PushState(backend Home, app, stage string, from string) error
- func PutLinks(backend Home, app, stage string, data map[string]interface{}) error
- func PutSecrets(backend Home, app, stage string, data map[string]string) error
- func Unlock(backend Home, app, stage string) error
- type AwsProvider
- type CloudflareProvider
- type DevEvent
- type DevSession
- type DevTransport
- type Home
- type Provider
Constants ¶
View Source
const BOOTSTRAP_VERSION = 1
View Source
const SSM_NAME_BOOTSTRAP = "/sst/bootstrap"
Variables ¶
View Source
var ErrLockExists = fmt.Errorf("Concurrent update detected, run `sst unlock` to delete lock file and retry.")
View Source
var ErrStateNotFound = fmt.Errorf("state not found")
Functions ¶
Types ¶
type AwsProvider ¶
type AwsProvider struct {
// contains filtered or unexported fields
}
func (*AwsProvider) Bootstrap ¶ added in v0.0.257
func (a *AwsProvider) Bootstrap(app string, stage string) (err error)
func (*AwsProvider) Config ¶
func (a *AwsProvider) Config() aws.Config
type CloudflareProvider ¶
type CloudflareProvider struct {
// contains filtered or unexported fields
}
func (CloudflareProvider) Api ¶ added in v0.0.257
func (c CloudflareProvider) Api() *cloudflare.API
func (*CloudflareProvider) Bootstrap ¶ added in v0.0.257
func (c *CloudflareProvider) Bootstrap(app, stage string) error
type DevEvent ¶
type DevEvent struct {
*io.PipeReader
}
type DevSession ¶
type DevTransport ¶
func (*DevTransport) Publish ¶
func (dt *DevTransport) Publish(input interface{}) error
Click to show internal directories.
Click to hide internal directories.