Documentation ¶
Index ¶
- Constants
- func ClientOK(endpoint string, test func() bool) error
- func IsSystemContainer(serviceConfig *project.ServiceConfig) bool
- func NewClient(endpoint string) (*dockerClient.Client, error)
- func NewClientFactory(opts docker.ClientOpts) (docker.ClientFactory, error)
- func NewDefaultClient() (*dockerClient.Client, error)
- func NewSystemClient() (*dockerClient.Client, error)
- type ClientFactory
- type ConfigEnvironment
- type Service
- type ServiceFactory
Constants ¶
View Source
const ( MAX_WAIT = 30000 INTERVAL = 100 )
Variables ¶
This section is empty.
Functions ¶
func IsSystemContainer ¶ added in v0.4.0
func IsSystemContainer(serviceConfig *project.ServiceConfig) bool
func NewClientFactory ¶ added in v0.4.0
func NewClientFactory(opts docker.ClientOpts) (docker.ClientFactory, error)
func NewDefaultClient ¶
func NewDefaultClient() (*dockerClient.Client, error)
func NewSystemClient ¶
func NewSystemClient() (*dockerClient.Client, error)
Types ¶
type ClientFactory ¶ added in v0.4.0
type ClientFactory struct {
// contains filtered or unexported fields
}
func (*ClientFactory) Create ¶ added in v0.4.0
func (c *ClientFactory) Create(service project.Service) dockerclient.Client
type ConfigEnvironment ¶ added in v0.4.0
type ConfigEnvironment struct {
// contains filtered or unexported fields
}
func NewConfigEnvironment ¶ added in v0.4.0
func NewConfigEnvironment(cfg *config.CloudConfig) *ConfigEnvironment
func (*ConfigEnvironment) Lookup ¶ added in v0.4.0
func (c *ConfigEnvironment) Lookup(key, serviceName string, serviceConfig *project.ServiceConfig) []string
type Service ¶ added in v0.4.0
func NewService ¶ added in v0.4.0
func NewService(factory *ServiceFactory, name string, serviceConfig *project.ServiceConfig, context *docker.Context) *Service
func (*Service) DependentServices ¶ added in v0.4.0
func (s *Service) DependentServices() []project.ServiceRelationship
Click to show internal directories.
Click to hide internal directories.