runtime

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: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppVersion

type AppVersion string

type ArchitectImage

type ArchitectImage struct {
	Tag string
}

We only care of the version of architect image.. Refactor to a version variable?

func (*ArchitectImage) AuroraVersionComponent

func (m *ArchitectImage) AuroraVersionComponent() string

type AuroraVersion

type AuroraVersion struct {

	// is a snapshot artifact (the SNAPSHOT-part will be replaced with the timestamp generated by Nexus)
	Snapshot bool // If the artifact is a snapshot artifact. NPM has different semantics, so we are explicit
	// contains filtered or unexported fields
}

EKSEMPEL: Gitt følgende URL http://uil0map-paas-app01.skead.no:9090/v2/aurora/console/tags/list COMPlETE = 2.0.0-b1.11.0-oracle8-1.0.2 LATEST = latest MAJOR = 2 MINOR = 2.0 PATCH = 2.0.0 OutputImage.Repository aurora/console

func NewAuroraVersion added in v1.3.0

func NewAuroraVersion(appVersion string, snapshot bool, givenVersion string, completeVersion CompleteVersion) *AuroraVersion

func NewAuroraVersionFromBuilderAndBase added in v1.3.0

func NewAuroraVersionFromBuilderAndBase(
	appVersion string, snapshot bool,
	givenVersion string, buildImage *ArchitectImage, baseImage DockerImage) *AuroraVersion

func (*AuroraVersion) GetAppVersion

func (m *AuroraVersion) GetAppVersion() AppVersion

func (*AuroraVersion) GetCompleteVersion

func (m *AuroraVersion) GetCompleteVersion() string

func (*AuroraVersion) GetGivenVersion

func (m *AuroraVersion) GetGivenVersion() string

func (*AuroraVersion) IsSemanticReleaseVersion added in v1.15.0

func (m *AuroraVersion) IsSemanticReleaseVersion() bool

TODO: Snapshot / Semantic? Whats the difference?

type BaseImage added in v1.11.0

type BaseImage struct {
	DockerImage
	ImageInfo *ImageInfo
}

type CompleteVersion

type CompleteVersion string

type DockerImage

type DockerImage struct {
	Tag        string
	Repository string
	Registry   string
}

The Docker naming scheme sucks.. https://docs.docker.com/glossary/?term=repository

func (*DockerImage) AuroraVersionComponent

func (m *DockerImage) AuroraVersionComponent() string

func (*DockerImage) GetCompleteDockerTagName

func (m *DockerImage) GetCompleteDockerTagName() string

type GivenVersion

type GivenVersion string

type ImageInfo added in v1.11.0

type ImageInfo struct {
	CompleteBaseImageVersion string
	Labels                   map[string]string
	Enviroment               map[string]string
	Digest                   string
}

Jump to

Keyboard shortcuts

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