Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocation ¶
type Allocation struct {
// contains filtered or unexported fields
}
Allocation represents Docker provider item.
func NewAllocation ¶
func NewAllocation(client *client.Client, item *item) *Allocation
func (*Allocation) Config ¶
func (a *Allocation) Config() (*allocation.Config, error)
func (*Allocation) Start ¶
func (a *Allocation) Start() error
func (*Allocation) State ¶
func (a *Allocation) State() provider.AllocationState
func (*Allocation) Stop ¶
func (a *Allocation) Stop() error
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider based on Docker API.
func (*Provider) AllocationGet ¶
func (p *Provider) AllocationGet(srv proxy.RegisteredServer) (provider.Allocation, error)
func (*Provider) AllocationList ¶
func (p *Provider) AllocationList() ([]provider.Allocation, error)
Click to show internal directories.
Click to hide internal directories.