runtime

package
v2.7.13 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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 AppVersion

type AppVersion string

AppVersion type string

type ArchitectImage

type ArchitectImage struct {
	Tag string
}

ArchitectImage tag

func (*ArchitectImage) AuroraVersionComponent

func (m *ArchitectImage) AuroraVersionComponent() string

AuroraVersionComponent return architect version component

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
}

AuroraVersion 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

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

NewAuroraVersion new AuroraVersion

func NewAuroraVersionFromBuilderAndBase

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

NewAuroraVersionFromBuilderAndBase return new version with builder and base version

func (*AuroraVersion) GetAppVersion

func (m *AuroraVersion) GetAppVersion() AppVersion

GetAppVersion The actual version of the artifact. This will differ from GivenVersion iff the artifact

func (*AuroraVersion) GetCompleteSnapshotVersion

func (m *AuroraVersion) GetCompleteSnapshotVersion() string

GetCompleteSnapshotVersion test-snapshot-b1.11.0-oracle8-1.0.2

func (*AuroraVersion) GetCompleteVersion

func (m *AuroraVersion) GetCompleteVersion() string

GetCompleteVersion 2.0.0-b1.11.0-oracle8-1.0.2

func (*AuroraVersion) GetGivenVersion

func (m *AuroraVersion) GetGivenVersion() string

GetGivenVersion returns the version set in the build config

func (*AuroraVersion) GetUniqueSnapshotVersion

func (m *AuroraVersion) GetUniqueSnapshotVersion() string

GetUniqueSnapshotVersion snapshot version with appended hash

func (*AuroraVersion) IsSemanticReleaseVersion

func (m *AuroraVersion) IsSemanticReleaseVersion() bool

IsSemanticReleaseVersion check if version is a semantic version

type BaseImage

type BaseImage struct {
	DockerImage
	ImageInfo *ImageInfo
}

BaseImage struct containing base image metadata

type CompleteVersion

type CompleteVersion string

CompleteVersion type string

type DockerImage

type DockerImage struct {
	Tag        string
	Repository string
	Registry   string
}

DockerImage tag representation

func (*DockerImage) AuroraVersionComponent

func (m *DockerImage) AuroraVersionComponent() string

AuroraVersionComponent return the aurora version component

func (*DockerImage) GetCompleteDockerTagName

func (m *DockerImage) GetCompleteDockerTagName() string

GetCompleteDockerTagName registry/repository:tag

type GivenVersion

type GivenVersion string

GivenVersion type string

type ImageInfo

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

ImageInfo struct containing image metadata

Jump to

Keyboard shortcuts

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