package
3.9.0+incompatible
Repository: https://github.com/sanchezl/api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Constants

BitbucketWebHookBuildTriggerType represents a trigger that launches builds on Bitbucket webhook invocations.
BuildPhaseCancelled indicates that a running/pending build was stopped from executing.
BuildPhaseComplete indicates that a build has been successful.
BuildPhaseError indicates that an error prevented the build from executing.
BuildPhaseFailed indicates that a build has executed and failed.
BuildPhaseNew is automatically assigned to a newly created build.
BuildPhasePending indicates that a pod name has been assigned and a build is about to start running.
BuildPhaseRunning indicates that a pod has been created and a build is running.
BuildRunPolicyParallel schedules new builds immediately after they are created.
BuildRunPolicySerial schedules new builds to execute in a sequence as they are created.
BuildRunPolicySerialLatestOnly schedules only the latest build to execute, cancelling all the previously queued build.
BuildSourceBinary indicates the build will accept a Binary file as input.
BuildSourceDockerfile uses a Dockerfile as the start of a build.
BuildSourceGit instructs a build to use a Git source control repository as the build input.
BuildSourceImage indicates the build will accept an image as input.
BuildSourceNone indicates the build has no predefined input (only valid for Source and Custom Strategies).
ConfigChangeBuildTriggerType will trigger a build on an initial build config creation WARNING: In the future the behavior will change to trigger a build on any config change.
CustomBuildStrategyType performs builds using custom builder Docker image.
DockerBuildStrategyType performs builds using a Dockerfile.
GenericWebHookBuildTriggerType represents a trigger that launches builds on generic webhook invocations.
No description provided by the author
GitHubWebHookBuildTriggerType represents a trigger that launches builds on GitHub webhook invocations.
No description provided by the author
GitLabWebHookBuildTriggerType represents a trigger that launches builds on GitLab webhook invocations.
No description provided by the author
ImageChangeBuildTriggerType represents a trigger that launches builds on availability of a new version of an image.
No description provided by the author
ImageOptimizationNone will generate a canonical Docker image as produced by the `docker build` command.
ImageOptimizationSkipLayers is an experimental policy and will avoid creating unique layers for each dockerfile line, resulting in smaller images and saving time during creation.
ImageOptimizationSkipLayersAndWarn is the same as SkipLayers, but will only warn to the build output instead of failing when unsupported syntax is detected.
JenkinsPipelineBuildStrategyType indicates the build will run via Jenkine Pipeline.
No description provided by the author
SourceBuildStrategyType performs builds build using Source To Images with a Git repository and a builder image.
StageBuild performs the steps necessary to build the image.
StageFetchInputs fetches any inputs such as source code.
StagePostCommit executes any post commit steps.
StagePullImages pulls any images that are needed such as base images or input images.
StagePushImage pushes the image to the node.
StatusReasonBuildPodDeleted is an error condition when the build pod is deleted before build completion.
StatusReasonBuildPodExists indicates that the build tried to create a build pod but one was already present.
StatusReasonCancelBuildFailed is an error condition when cancelling a build fails.
StatusReasonCancelledBuild indicates that the build was cancelled by the user.
StatusReasonCannotCreateBuildPod is an error condition when a build pod cannot be created.
StatusReasonCannotCreateBuildPodSpec is an error condition when the build strategy cannot create a build pod spec.
StatusCannotRetrieveServiceAccount is the reason associated with a failure to look up the service account associated with the BuildConfig.
StatusReasonDockerBuildFailed indicates that the docker build strategy has failed.
StatusReasonError is a generic reason for a build error condition.
StatusReasonExceededRetryTimeout is an error condition when the build has not completed and retrying the build times out.
StatusReasonFailedContainer indicates that the pod for the build has at least one container with a non-zero exit status.
StatusReasonFetchSourceFailed indicates that fetching the source of the build has failed.
StatusReasonGenericBuildFailed is the reason associated with a broad range of build failures.
StatusReasonInvalidContextDirectory indicates that the supplied contextDir does not exist.
StatusReasonInvalidImageReference is an error condition when the build references an invalid image.
StatusReasonInvalidOutputReference is an error condition when the build output is an invalid reference.
StatusReasonMissingPushSecret indicates that the build is missing required secret for pushing the output image.
StatusReasonNoBuildContainerStatus indicates that the build failed because the the build pod has no container statuses.
StatusReasonPostCommitHookFailed indicates the post-commit hook failed.
StatusReasonPullBuilderImageFailed indicates that we failed to pull the builder image.
StatusReasonPushImageToRegistryFailed indicates that an image failed to be pushed to the registry.
StatusReasonUnresolvableEnvironmentVariable indicates that an error occurred processing the supplied options for environment variables in the build strategy environment.
StepDockerBuild performs the docker build.
StepExecPostCommitHook executes the buildconfigs post commit hook.
StepFetchGitSource fetches source code for the build.
StepPullBaseImage pulls a base image for the build.
StepPullInputImage pulls an input image for the build.
StepPushDockerImage pushes a docker image to the registry.
StepPushImage pushes an image to the registry.

# Variables

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

# Structs

BinaryBuildRequestOptions are the options required to fully speficy a binary build request.
BinaryBuildSource describes a binary file to be used for the Docker and Source build strategies, where the file will be extracted and used as the build source.
BitbucketWebHookCause has information about a Bitbucket webhook that triggered a build.
Build encapsulates the inputs needed to produce a new deployable image, as well as the status of the execution and a reference to the Pod which executed the build.
Build configurations define a build process for new Docker images.
BuildConfigList is a collection of BuildConfigs.
BuildConfigSpec describes when and how builds are created.
BuildConfigStatus contains current state of the build config object.
BuildList is a collection of Builds.
BuildLog is the (unused) resource associated with the build log redirector.
BuildLogOptions is the REST options for a build log.
BuildOutput is input to a build strategy and describes the Docker image that the strategy should produce.
A BuildPostCommitSpec holds a build post commit hook specification.
BuildRequest is the resource used to pass parameters to build generator.
BuildSource is the SCM used for the build.
BuildSpec has the information to represent a build and also additional information about a build.
BuildStatus contains the status of a build.
BuildStatusOutput contains the status of the built image.
BuildStatusOutputTo describes the status of the built image with regards to image registry to which it was supposed to be pushed.
BuildStrategy contains the details of how to perform a build.
BuildTriggerCause holds information about a triggered build.
BuildTriggerPolicy describes a policy for a single trigger that results in a new Build.
CommonSpec encapsulates all the inputs necessary to represent a build.
CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
CustomBuildStrategy defines input parameters specific to Custom build.
DockerBuildStrategy defines input parameters specific to Docker build.
DockerStrategyOptions contains extra strategy options for Docker builds.
GenericWebHookCause holds information about a generic WebHook that triggered a build.
GenericWebHookEvent is the payload expected for a generic webhook post.
GitBuildSource defines the parameters of a Git SCM.
GitHubWebHookCause has information about a GitHub webhook that triggered a build.
GitInfo is the aggregated git information for a generic webhook post.
GitLabWebHookCause has information about a GitLab webhook that triggered a build.
GitSourceRevision is the commit information from a git source for a build.
ImageChangeCause contains information about the image that triggered a build.
ImageChangeTrigger allows builds to be triggered when an ImageStream changes.
ImageLabel represents a label applied to the resulting image.
ImageSource is used to describe build source that will be extracted from an image.
ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.
JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build.
ProxyConfig defines what proxies to use for an operation.
SecretBuildSource describes a secret and its destination directory that will be used only at the build time.
SecretLocalReference contains information that points to the local secret being used.
SecretSpec specifies a secret to be included in a build pod and its corresponding mount point.
SourceBuildStrategy defines input parameters specific to an Source build.
SourceControlUser defines the identity of a user of source control.
SourceRevision is the revision or commit information from the source for the build.
SourceStrategyOptions contains extra strategy options for Source builds.
StageInfo contains details about a build stage.
StepInfo contains details about a build step.
WebHookTrigger is a trigger that gets invoked using a webhook type of post.

# Type aliases

BuildPhase represents the status of a build at a point in time.
BuildRunPolicy defines the behaviour of how the new builds are executed from the existing build configuration.
BuildSourceType is the type of SCM used.
BuildStrategyType describes a particular way of performing a build.
BuildTriggerType refers to a specific BuildTriggerPolicy implementation.
ImageOptimizationPolicy describes what optimizations the builder can perform when building images.
OptionalNodeSelector is a map that may also be left nil to distinguish between set and unset.
StageName is the unique identifier for each build stage.
StatusReason is a brief CamelCase string that describes a temporary or permanent build error condition, meant for machine parsing and tidy display in the CLI.
StepName is a unique identifier for each build step.