docker

package
v0.0.0-...-9d91e49 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	Client         *client.Client
	AuthCredential *string
}

func (*DockerClient) Build

func (c *DockerClient) Build(tag, dockerfile string) error

func (*DockerClient) Close

func (c *DockerClient) Close() error

func (*DockerClient) LoginWithEnv

func (c *DockerClient) LoginWithEnv(cfg registry.AuthConfig) error

func (*DockerClient) Push

func (c *DockerClient) Push(tag string) error

func (*DockerClient) RunDefaultRegistry

func (c *DockerClient) RunDefaultRegistry() error

func (*DockerClient) Set

func (c *DockerClient) Set(i interface{})

type Image

type Image struct {
	Pusher  string
	Name    string
	Version string
}

func NewDockerImage

func NewDockerImage(img, pusher string) *Image

Jump to

Keyboard shortcuts

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