Documentation ¶
Overview ¶
Package build provides functions for creating Kubernetes resources required for building and uploading a container image
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreBuild ¶
PreBuild is a wrapper around the build function to perform some additional checks before building. First, it makes sure the WorkflowDefinition actually has build instructions. Then, it will run the build function asynchronously for each image in the build instructions. Runs synchronously in testing environment
Types ¶
type Request ¶
type Request struct { common.BasicRequest Namespace string `json:"namespace,omitempty"` RunAfterBuild bool `json:"run,omitempty"` // Fields from WorkflowDefinition WorkflowDefinition struct { Name string `json:"name,omitempty"` Build []*common.BuildStep `json:"build,omitempty"` Repository common.Repository `json:"repository,omitempty"` Error string `json:"error_msg,omitempty"` } `json:"data,omitempty"` }
Request is a struct containing the necessary fields for all Pleo operations coming from the API
Click to show internal directories.
Click to hide internal directories.