Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImages ¶
func BuildImages(m *DeploymentManifest)
func PlatformClient ¶
func PushImages ¶
func PushImages(m *DeploymentManifest)
func ResponseFormat ¶
Types ¶
type DeploymentManifest ¶
type DeploymentManifest struct { Force bool `json:"force"` Services map[string]*Service `json:"services"` }
func CreateManifestFromCompose ¶
func CreateManifestFromCompose(filename string, services []string) (*DeploymentManifest, error)
func NewDeploymentManifest ¶
func NewDeploymentManifest() *DeploymentManifest
type PortDefinition ¶
type Service ¶
type Service struct { Image string `json:"image"` Environment map[string]string `json:"environment,omitempty"` Ports []*PortDefinition `json:"ports,omitempty"` Entrypoint string `json:"entrypoint,omitempty"` Command string `json:"command,omitempty"` // contains filtered or unexported fields }
func NewService ¶
func NewService() *Service
Click to show internal directories.
Click to hide internal directories.