Documentation
¶
Index ¶
Constants ¶
View Source
const PortsExtensionKey = "x-ports"
Variables ¶
This section is empty.
Functions ¶
func ServiceSpecFromCompose ¶
func ServiceSpecFromCompose(name string, service types.ServiceConfig) (api.ServiceSpec, error)
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.