docker

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextProvider added in v1.27.1

type ContextProvider struct {
	// contains filtered or unexported fields
}

func NewContextProvider added in v1.27.1

func NewContextProvider() (*ContextProvider, error)

func (*ContextProvider) Close added in v1.27.1

func (p *ContextProvider) Close() error

func (*ContextProvider) GetContext added in v1.27.1

func (p *ContextProvider) GetContext(contextPath string) (string, error)

type Docker

type Docker struct {
	// contains filtered or unexported fields
}

func NewDocker

func NewDocker(cfg *config.DockerConfig, name string, contextProvider *ContextProvider) (*Docker, error)

func (*Docker) Build

func (d *Docker) Build(ctx context.Context, cfg *config.Config, version string) error

func (*Docker) Login

func (d *Docker) Login(ctx context.Context) error

func (*Docker) Publish

func (d *Docker) Publish(ctx context.Context) error

Jump to

Keyboard shortcuts

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