docker

package
v0.0.0-...-d19e6b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 9 Imported by: 0

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)

func (*Provider) Init

func (p *Provider) Init(opt *provider.InitOptions) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL