package
0.16.0
Repository: https://github.com/azure/draft-classic.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Complete marks the end of a draft build stage.
FromAuthConfig converts a docker auth token into type DockerConfigEntryWithAuth.
FromAuthConfigToken converts a docker auth token into type DockerConfigEntryWithAuth.
LoadWithEnv takes the directory of the application and the environment the application will be pushed to and returns a Context object with a merge of environment and app information.
New creates a new Builder.
Summarize returns a function closure that wraps writing SummaryStatusCode.

# Constants

DefaultServiceAccountName is the name of the default service account draft will modify with the imagepullsecret.
PullSecretName is the name of the docker pull secret draft will create in the desired destination namespace.
SummaryFailure means that `draft up` has failed.
SummaryLogging means that the status is currently gathering and exporting logs.
SummaryOngoing means that `draft up` is ongoing and we are waiting for further information from the builder.
SummaryStarted means that `draft up` has begun.
SummarySuccess means that `draft up` has succeeded.
SummaryUnknown means that the status of `draft up` is in an unknown state.

# Variables

ErrChartNotExist is returned when no chart/ directory exists during "draft up.".
ErrDockerfileNotExist is returned when no Dockerfile exists during "draft up.".
SummaryStatusCodeName is the relation between summary status code enums and their respective names.

# Structs

AppContext contains state information carried across the various draft stage boundaries.
Builder contains information about the build environment.
Context contains information about the application.
DockerConfigEntryWithAuth is used solely for translating docker's AuthConfig token into a credentialprovider.dockerConfigEntry during JSON deserialization.
Summary is the message returned when executing a draft up.

# Interfaces

ContainerBuilder defines how a container is built and pushed to a container registry using the supplied app context.

# Type aliases

SummaryStatusCode is the enumeration of the possible status codes returned for a draft up.