docker

package
v0.0.0-...-2f7e0dd Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 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) ParseConfig

func (a *Allocation) ParseConfig(cfg interface{}, rootLabel string) (interface{}, 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 Config

type Config struct{}

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) DefaultConfig

func (p *Provider) DefaultConfig() interface{}

func (*Provider) Init

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

func (*Provider) Name

func (p *Provider) Name() string

Jump to

Keyboard shortcuts

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