Documentation
¶
Index ¶
- func GenerateBuildResult(directory string, buildSecrets map[string]string) (*core.BuildResult, *a.App, *a.Environment, error)
- type Builder
- func (self *Builder) BuildDockerfile(ctx context.Context, buildSecrets map[string]string) (imageName, repoName string, err error)
- func (self *Builder) BuildWithRailpack(ctx context.Context, buildSecrets map[string]string) (imageName, repoName string, err error)
- func (self *Builder) GenerateBuildMetadata() (repoName string, outputImage string, cacheKey string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBuildResult ¶
func GenerateBuildResult(directory string, buildSecrets map[string]string) (*core.BuildResult, *a.App, *a.Environment, error)
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) BuildDockerfile ¶
func (self *Builder) BuildDockerfile(ctx context.Context, buildSecrets map[string]string) (imageName, repoName string, err error)
Builds a Dockerfile from a git repository
func (*Builder) BuildWithRailpack ¶
func (*Builder) GenerateBuildMetadata ¶
Generates build metadata: - repoName: name of the repository to be used for the image name (like git repo name) - outputImage: the name of the image to be built and pushed - cacheKey: the key to be used for caching the build in the registry
Click to show internal directories.
Click to hide internal directories.