docker

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	APIClient client.APIClient
	Logger    *logrus.Logger
}

Client is the client used for building with Docker using the ocibuilder

func (Client) GenerateAuthRegistryString

func (cli Client) GenerateAuthRegistryString(auth types.AuthConfig) string

GenerateAuthRegistryString generates the auth registry string for pushing and pulling images targeting the Docker daemon

func (Client) ImageBuild

func (cli Client) ImageBuild(options v1alpha1.OCIBuildOptions) (v1alpha1.OCIBuildResponse, error)

ImageBuild conducts an image build with Docker using the ocibuilder

func (Client) ImageHistory

func (cli Client) ImageHistory(imageId string) ([]image.HistoryResponseItem, error)

ImageHistory conducts an image history call of a built image with Docker using the ocibuilder

func (Client) ImageInspect

func (cli Client) ImageInspect(imageId string) (types.ImageInspect, error)

ImageInspect conducts an inspect of a built image with Docker using the ocibuilder

func (Client) ImagePull

func (cli Client) ImagePull(options v1alpha1.OCIPullOptions) (v1alpha1.OCIPullResponse, error)

ImagePull conducts an image pull with Docker using the ocibuilder

func (Client) ImagePush

func (cli Client) ImagePush(options v1alpha1.OCIPushOptions) (v1alpha1.OCIPushResponse, error)

ImagePush conducts an image push with Docker using the ocibuilder

func (Client) ImageRemove

func (cli Client) ImageRemove(options v1alpha1.OCIRemoveOptions) (v1alpha1.OCIRemoveResponse, error)

ImageRemove conducts an image remove with Docker using the ocibuilder

func (Client) RegistryLogin

func (cli Client) RegistryLogin(options v1alpha1.OCILoginOptions) (v1alpha1.OCILoginResponse, error)

RegistryLogin conducts a registry login with Docker using the ocibuilder

Jump to

Keyboard shortcuts

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