azure

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	RegistryClient containerregistry.RegistriesClient
	BuildsClient   containerregistry.BuildsClient
	AdalToken      adal.Token
	Subscription   azurecli.Subscription
}

Builder contains information about the build environment

func (*Builder) AuthToken

func (b *Builder) AuthToken(ctx context.Context, app *builder.AppContext) (string, error)

AuthToken retrieves the auth token for the given image.

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, app *builder.AppContext, out chan<- *builder.Summary) (err error)

Build builds the docker image.

func (*Builder) Push

func (b *Builder) Push(ctx context.Context, app *builder.AppContext, out chan<- *builder.Summary) (err error)

Push pushes the results of Build to the image repository.

Jump to

Keyboard shortcuts

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