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
Click to show internal directories.
Click to hide internal directories.