prepare

package
v1.27.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeliveryMetadataPath = "metadata/openshift.json"
)

Variables

This section is empty.

Functions

func NewDockerFile

func NewDockerFile(dockerSpec global.DockerSpec, auroraVersion runtime.AuroraVersion, meta config.DeliverableMetadata,
	baseImage runtime.DockerImage, imageBuildTime string, destinationPath string) util.WriterFunc

func Prepare

func Prepare(dockerSpec config.DockerSpec, auroraVersions *runtime.AuroraVersion, deliverable nexus.Deliverable, baseImage runtime.BaseImage) (string, error)

Types

type DockerfileData

type DockerfileData struct {
	BaseImage  string
	Maintainer string
	SrcPath    string
	FileName   string
	DestPath   string
	CmdScript  string
	Labels     map[string]string
	Env        map[string]string
}

type FileGenerator

type FileGenerator interface {
	Write(writer io.Writer) error
}

type GeneralDescriptor

type GeneralDescriptor struct {
	Type
}

type JavaDescriptor

type JavaDescriptor struct {
	Type
	Data JavaDescriptorData
}

type JavaDescriptorData

type JavaDescriptorData struct {
	Basedir               string   `json:"Basedir"`
	PathsToClassLibraries []string `json:"PathsToClassLibraries"`
	MainClass             string   `json:"MainClass"`
	ApplicationArgs       string   `json:"ApplicationArgs"`
	JavaOptions           string   `json:"JavaOptions"`
}

type Type

type Type struct {
	Type    string `json:"Type"`
	Version string `json:"Version"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL