dockerbuilder

package
v0.0.0-...-0637115 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
}

func (Docker) NewClient

func (l Docker) NewClient(socket string) (DockerClienter, error)

type DockerBuilder

type DockerBuilder struct {
	Socket string
	Dockerer
	// contains filtered or unexported fields
}

func (*DockerBuilder) Description

func (x *DockerBuilder) Description() string

func (*DockerBuilder) Process

func (x *DockerBuilder) Process(e transistor.Event) error

func (*DockerBuilder) SampleConfig

func (x *DockerBuilder) SampleConfig() string

func (*DockerBuilder) Start

func (x *DockerBuilder) Start(e chan transistor.Event) error

func (*DockerBuilder) Stop

func (x *DockerBuilder) Stop()

func (*DockerBuilder) Subscribe

func (x *DockerBuilder) Subscribe() []string

type DockerClient

type DockerClient struct {
	Client *docker.Client
}

func (DockerClient) BuildImage

func (l DockerClient) BuildImage(buildOptions docker.BuildImageOptions) error

func (DockerClient) InspectImage

func (l DockerClient) InspectImage(name string) (DockerImager, error)

func (DockerClient) PushImage

func (l DockerClient) PushImage(pushImageOptions docker.PushImageOptions, authConfig docker.AuthConfiguration) error

func (DockerClient) TagImage

func (l DockerClient) TagImage(name string, tagImageOptions docker.TagImageOptions) error

type DockerClienter

type DockerClienter interface {
	BuildImage(docker.BuildImageOptions) error
	PushImage(docker.PushImageOptions, docker.AuthConfiguration) error
	TagImage(string, docker.TagImageOptions) error
	InspectImage(string) (DockerImager, error)
}

type DockerImage

type DockerImage struct {
	Image *docker.Image
}

func (DockerImage) ID

func (i DockerImage) ID() string

type DockerImager

type DockerImager interface {
	ID() string
}

type Dockerer

type Dockerer interface {
	NewClient(Socket string) (DockerClienter, error)
}

Jump to

Keyboard shortcuts

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