docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host string `json:"host,omitempty" yaml:"host,omitempty"`
}

Config struct represents Docker container runtime configuration.

func (*Config) GetAddress

func (c *Config) GetAddress() string

GetAddress returns configured container runtime address.

func (*Config) New

func (c *Config) New() (runtime.Runtime, error)

New validates Docker runtime configuration and returns configured runtime client.

func (*Config) SetAddress

func (c *Config) SetAddress(s string)

SetAddress sets runtime config address where it should connect.

Jump to

Keyboard shortcuts

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