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"`
	Java      *MetadataJava      `json:"java"`
	Openshift *MetadataOpenShift `json:"openshift"`
}

DeliverableMetadata build and runtime configuration. The information is written to the radish descriptor file [radish.json] in the resulting image.

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"`
	BaseImage   string            `json:"baseImage"`
	BaseVersion string            `json:"baseVersion"`
}

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

type MetadataJava

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

MetadataJava java runtime configuration

type MetadataOpenShift

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

MetadataOpenShift readiness parameters

Jump to

Keyboard shortcuts

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