buildah

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: 10 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 {
	Logger *logrus.Logger
}

Client is the client used for building with Buildah 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 Buildah

func (Client) ImageBuild

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

ImageBuild conducts an image build with Buildah using the ocibuilder

func (Client) ImageHistory

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

ImageHistory is TBC for buildah client

func (Client) ImageInspect

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

@TBC ImageInspect conducts an inspect of a build image with Buildah using the ocibuilder

The type currently returned by running buildah inspect varies greatly to docker image inspect issues have been created to manage this and have a more representative mapping between buildah and docker

func (Client) ImagePull

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

ImagePull conducts an image pull with Buildah using the ocibuilder

func (Client) ImagePush

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

ImagePush conducts an image push with Buildah using the ocibuilder

func (Client) ImageRemove

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

ImageRemove conducts an image remove with Buildah using the ocibuilder

func (Client) RegistryLogin

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

RegistryLogin conducts a registry login with Buildah using the ocibuilder

Jump to

Keyboard shortcuts

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