config

package
v2.7.20 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliverableMetadata

type DeliverableMetadata struct {
	Docker    *MetadataDocker    `json:"docker"`
	Doozer    *MetadataDoozer    `json:"doozer"`
	Java      *MetadataJava      `json:"java"`
	Openshift *MetadataOpenShift `json:"openshift"`
}

DeliverableMetadata build and runtime configuration

func NewDeliverableMetadata

func NewDeliverableMetadata(reader io.Reader) (*DeliverableMetadata, error)

NewDeliverableMetadata read openshift.json and transform to DeliverableMetadata

type MetadataDocker

type MetadataDocker struct {
	Maintainer string            `json:"maintainer"`
	Labels     map[string]string `json:"labels"`
}

MetadataDocker maintainer and labels. These values are appended to the resulting image.

type MetadataDoozer

type MetadataDoozer struct {
	SrcPath      string `json:"srcPath"`
	FileName     string `json:"fileName"`
	DestPath     string `json:"destPath"`
	DestFilename string `json:"destFilename"` // Optional. Will use FileName as default
	CmdScript    string `json:"cmdScript"`    // Optional if base image CMD is applicable
	Entrypoint   string `json:"entrypoint"`   // Optional if base image Entrypoint is applicable
}

MetadataDoozer build specific information for dozer builds.

type MetadataJava

type MetadataJava struct {
	MainClass       string `json:"mainClass"`
	JvmOpts         string `json:"jvmOpts"`
	ApplicationArgs string `json:"applicationArgs"`
}

MetadataJava java runtime information

type MetadataOpenShift

type MetadataOpenShift struct {
	ReadinessURL              string `json:"readinessUrl"`
	ReadinessOnManagementPort string `json:"readinessOnManagementPort"`
}

MetadataOpenShift readiness check parameters

Jump to

Keyboard shortcuts

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