Documentation
¶
Index ¶
Constants ¶
View Source
const FakeProjectName = "f-a-k-e"
FakeProjectName is a placeholder name for the project to be able to strip it from the resource names used as prefix.
View Source
const PortsExtensionKey = "x-ports"
Variables ¶
This section is empty.
Functions ¶
func ServiceSpecFromCompose ¶
Types ¶
type Deployment ¶
type Deployment struct {
Client Client
Project *types.Project
SpecResolver *deploy.ServiceSpecResolver
// contains filtered or unexported fields
}
func NewDeployment ¶
func (*Deployment) Plan ¶
func (d *Deployment) Plan(ctx context.Context) (deploy.SequenceOperation, error)
func (*Deployment) ServiceSpec ¶
func (d *Deployment) ServiceSpec(name string) (api.ServiceSpec, error)
ServiceSpec returns the service specification for the given compose service that is ready for deployment.
type PortsSource ¶
type PortsSource []string
Click to show internal directories.
Click to hide internal directories.