Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProjectTag = "com.docker.compose.project" NetworkTag = "com.docker.compose.network" ServiceTag = "com.docker.compose.service" )
View Source
const ( StackCreate = iota StackDelete )
View Source
const ( ExtensionSecurityGroup = "x-aws-securitygroup" ExtensionVPC = "x-aws-vpc" ExtensionPullCredentials = "x-aws-pull_credentials" ExtensionLB = "x-aws-loadbalancer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
Up(ctx context.Context, options cli.ProjectOptions) error
Down(ctx context.Context, options cli.ProjectOptions) error
Convert(project *types.Project) (*cloudformation.Template, error)
Logs(ctx context.Context, projectName string) error
Ps(background context.Context, project *types.Project) ([]ServiceStatus, error)
CreateSecret(ctx context.Context, secret Secret) (string, error)
InspectSecret(ctx context.Context, id string) (Secret, error)
ListSecrets(ctx context.Context) ([]Secret, error)
DeleteSecret(ctx context.Context, id string, recover bool) error
}
type LogConsumer ¶
type LogConsumer interface {
Log(service, container, message string)
}
type Secret ¶
type Secret struct {
ID string `json:"ID"`
Name string `json:"Name"`
Labels map[string]string `json:"Labels"`
Description string `json:"Description"`
// contains filtered or unexported fields
}
func (Secret) GetCredString ¶
type ServiceStatus ¶
Click to show internal directories.
Click to hide internal directories.