Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunOptions ¶ added in v1.6.0
type Runner ¶ added in v1.6.0
type Runner struct { DockerAPI *client.Client RunOptions RunOptions }
func NewServiceRunner ¶ added in v1.6.0
func NewServiceRunner(opts RunOptions) (*Runner, error)
func (*Runner) StartService ¶ added in v1.6.0
type Service ¶ added in v1.6.0
type Service struct { Config ServiceConfig Cleanup func() }
type ServiceAdapter ¶ added in v1.6.0
ServiceAdapter verifies connectivity to the service, then returns either the connection string (typically a URL) and nil, or empty string and an error.
type ServiceConfig ¶ added in v1.6.0
type ServiceHostPort ¶ added in v1.6.0
type ServiceHostPort struct {
// contains filtered or unexported fields
}
func NewServiceHostPort ¶ added in v1.6.0
func NewServiceHostPort(host string, port int) *ServiceHostPort
func NewServiceHostPortParse ¶ added in v1.6.0
func NewServiceHostPortParse(s string) (*ServiceHostPort, error)
func (ServiceHostPort) Address ¶ added in v1.6.0
func (s ServiceHostPort) Address() string
func (ServiceHostPort) URL ¶ added in v1.6.0
func (s ServiceHostPort) URL() *url.URL
type ServiceURL ¶ added in v1.6.0
type ServiceURL struct {
// contains filtered or unexported fields
}
func NewServiceURL ¶ added in v1.6.0
func NewServiceURL(u url.URL) *ServiceURL
func NewServiceURLParse ¶ added in v1.6.0
func NewServiceURLParse(s string) (*ServiceURL, error)
func (ServiceURL) Address ¶ added in v1.6.0
func (s ServiceURL) Address() string
func (ServiceURL) URL ¶ added in v1.6.0
func (s ServiceURL) URL() *url.URL
Click to show internal directories.
Click to hide internal directories.