Documentation
¶
Index ¶
- func Deploy(ctx context.Context, config *Config, name, image string, ...) ([]*ec22.Instance, error)
- func GetInstances(ctx context.Context, appname string) ([]*ec2.Instance, error)
- func GetInstances2(ctx context.Context, appname string) ([]*ec22.Instance, error)
- func Instances(ctx context.Context, config *Config, name string) error
- func Kill(ctx context.Context, name, instanceId string) error
- func Pull(ctx context.Context, image, username, password string) error
- func Shell(ctx context.Context, config *Config, name string, sshCmd string) error
- type Config
- type DeployOptions
- type DockerConfig
- type LoggingConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstances2 ¶
Types ¶
type Config ¶
type Config struct { Aws *aws.AwsConfig Docker *DockerConfig Logging *LoggingConfig }
type DeployOptions ¶
type DockerConfig ¶
func (*DockerConfig) Validate ¶
func (c *DockerConfig) Validate() error
type LoggingConfig ¶
type LoggingConfig struct {
SyslogURL string
}
func (*LoggingConfig) Validate ¶
func (c *LoggingConfig) Validate() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.