docker

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyBuilder = "docker"
	AuthUrl    = "https://index.docker.io/v1/"
	Domain     = "docker.io"
)

Variables

This section is empty.

Functions

func CreateDockerBuilder

func CreateDockerBuilder(ctx *mibContext.Context) (typesContainers.BuilderImage, error)

Types

type AuthConfig

type AuthConfig struct {
	AuthConfigs map[string]registry.AuthConfig `json:"auths,omitempty"`
	HttpHeaders struct {
		UserAgent string `json:"User-Agent,omitempty"`
	}
}

func GetAuthConfig

func GetAuthConfig(ctx *context.Context) (AuthConfig, error)

func (*AuthConfig) GetAuthConfigs

func (ac *AuthConfig) GetAuthConfigs() error

type BuilderDocker

type BuilderDocker struct {
	AuthConfig *AuthConfig
	// contains filtered or unexported fields
}

func (BuilderDocker) Build

func (b BuilderDocker) Build(image *types.Image, pushImages bool) error

func (BuilderDocker) BuildImages

func (b BuilderDocker) BuildImages(images types.Images, pushImages bool) error

func (BuilderDocker) Push

func (b BuilderDocker) Push(tag string) error

func (BuilderDocker) PushImages

func (b BuilderDocker) PushImages(images types.Images) error

func (BuilderDocker) Type

func (b BuilderDocker) Type() string

Jump to

Keyboard shortcuts

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