Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunOptions ¶
type Runner ¶
type Runner struct { DockerAPI *client.Client RunOptions RunOptions }
func NewServiceRunner ¶
func NewServiceRunner(opts RunOptions) (*Runner, error)
func (*Runner) StartService ¶
type Service ¶
type Service struct { Config ServiceConfig Cleanup func() }
type ServiceAdapter ¶
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 ¶
type ServiceHostPort ¶
type ServiceHostPort struct {
// contains filtered or unexported fields
}
func NewServiceHostPort ¶
func NewServiceHostPort(host string, port int) *ServiceHostPort
func NewServiceHostPortParse ¶
func NewServiceHostPortParse(s string) (*ServiceHostPort, error)
func (ServiceHostPort) Address ¶
func (s ServiceHostPort) Address() string
func (ServiceHostPort) URL ¶
func (s ServiceHostPort) URL() *url.URL
type ServiceURL ¶
type ServiceURL struct {
// contains filtered or unexported fields
}
func NewServiceURL ¶
func NewServiceURL(u url.URL) *ServiceURL
func NewServiceURLParse ¶
func NewServiceURLParse(s string) (*ServiceURL, error)
func (ServiceURL) Address ¶
func (s ServiceURL) Address() string
func (ServiceURL) URL ¶
func (s ServiceURL) URL() *url.URL
Click to show internal directories.
Click to hide internal directories.