Documentation ¶
Index ¶
- Constants
- func Exists(path string) (bool, error)
- func ExtractAndRenameDeliverable(dockerBuildFolder string, deliverablePath string) error
- func ExtractBinaryFromFile(file string) (string, error)
- func ExtractBinaryFromStdIn() (string, error)
- func GetVersionMetadata(versionString string) string
- func GetVersionWithoutMetadata(versionString string) string
- func IsFullSemanticVersion(versionString string) bool
- func IsSemanticVersion(versionString string) bool
- func IsSemanticVersionWithMeta(versionString string) bool
- type FileWriter
- type WriterFunc
Constants ¶
View Source
const ( // The base directory where all code is copied in the Docker image DockerBasedir = "/u01" // Where in the build folder the application is put DockerfileApplicationFolder = "app" ApplicationFolder = "application" // The directory where the application is prepared ApplicationBuildFolder = DockerfileApplicationFolder + "/" + ApplicationFolder DeliveryMetadataPath = "metadata/openshift.json" )
Variables ¶
This section is empty.
Functions ¶
func ExtractAndRenameDeliverable ¶ added in v1.25.3
func ExtractBinaryFromFile ¶ added in v1.25.9
func ExtractBinaryFromStdIn ¶
func GetVersionMetadata ¶ added in v1.18.0
func GetVersionWithoutMetadata ¶ added in v1.18.0
func IsFullSemanticVersion ¶ added in v1.16.0
func IsSemanticVersion ¶ added in v1.16.0
func IsSemanticVersionWithMeta ¶ added in v1.18.0
Types ¶
type FileWriter ¶
type FileWriter func(WriterFunc, ...string) error
func NewFileWriter ¶
func NewFileWriter(targetFolder string) FileWriter
type WriterFunc ¶
func NewByteWriter ¶ added in v1.4.0
func NewByteWriter(data []byte) WriterFunc
func NewTemplateWriter ¶
func NewTemplateWriter(input interface{}, templatename string, templateString string) WriterFunc
Click to show internal directories.
Click to hide internal directories.