Documentation ¶
Index ¶
- Constants
- func CacheFolder() string
- func ComputeChecksum(data []byte) string
- func NewProd(version string) build.Build
- func Script(bs *BuildScript) string
- func Steps(arg *container.Build) []build.Build
- type BuildScript
- type Image
- type MavenBuild
- type MavenContainer
- func (c *MavenContainer) Address() *network.Address
- func (c *MavenContainer) Build() error
- func (c *MavenContainer) BuildMavenImage() error
- func (c *MavenContainer) BuildScript() string
- func (c *MavenContainer) Images() []string
- func (c *MavenContainer) IsAsync() bool
- func (c *MavenContainer) MavenImage() string
- func (c *MavenContainer) Name() string
- func (c *MavenContainer) Prod() error
- func (c *MavenContainer) Pull() error
- func (c *MavenContainer) Run() error
Constants ¶
View Source
const ( ProdImage = "registry.access.redhat.com/ubi8/openjdk-%s:latest" CacheLocation = "/root/.m2/" )
View Source
const (
DEFAULT_MAVEN_VERSION = "v17"
)
Variables ¶
This section is empty.
Functions ¶
func CacheFolder ¶
func CacheFolder() string
func Script ¶
func Script(bs *BuildScript) string
Types ¶
type BuildScript ¶
type BuildScript struct { Verbose bool // contains filtered or unexported fields }
func NewBuildScript ¶
func NewBuildScript(verbose bool, host string) *BuildScript
type MavenBuild ¶
type MavenBuild struct {
// contains filtered or unexported fields
}
func (MavenBuild) Images ¶
func (g MavenBuild) Images() []string
func (MavenBuild) IsAsync ¶
func (g MavenBuild) IsAsync() bool
func (MavenBuild) Name ¶
func (g MavenBuild) Name() string
func (MavenBuild) Run ¶
func (g MavenBuild) Run() error
type MavenContainer ¶
type MavenContainer struct { App string File string Folder string Image string ImageTag string Platform types.Platform Version string *container.Container }
func New ¶
func New(version string) *MavenContainer
func (*MavenContainer) Address ¶
func (c *MavenContainer) Address() *network.Address
func (*MavenContainer) Build ¶
func (c *MavenContainer) Build() error
func (*MavenContainer) BuildMavenImage ¶
func (c *MavenContainer) BuildMavenImage() error
func (*MavenContainer) BuildScript ¶
func (c *MavenContainer) BuildScript() string
func (*MavenContainer) Images ¶
func (c *MavenContainer) Images() []string
func (*MavenContainer) IsAsync ¶
func (c *MavenContainer) IsAsync() bool
func (*MavenContainer) MavenImage ¶
func (c *MavenContainer) MavenImage() string
func (*MavenContainer) Name ¶
func (c *MavenContainer) Name() string
func (*MavenContainer) Prod ¶
func (c *MavenContainer) Prod() error
func (*MavenContainer) Pull ¶
func (c *MavenContainer) Pull() error
func (*MavenContainer) Run ¶
func (c *MavenContainer) Run() error
Click to show internal directories.
Click to hide internal directories.