runtime

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 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

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

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

func NewAuroraVersionFromBuilderAndBase

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

func (*AuroraVersion) GetAppVersion

func (m *AuroraVersion) GetAppVersion() AppVersion

func (*AuroraVersion) GetCompleteSnapshotVersion

func (m *AuroraVersion) GetCompleteSnapshotVersion() string

func (*AuroraVersion) GetCompleteVersion

func (m *AuroraVersion) GetCompleteVersion() string

func (*AuroraVersion) GetGivenVersion

func (m *AuroraVersion) GetGivenVersion() string

func (*AuroraVersion) GetUniqueSnapshotVersion

func (m *AuroraVersion) GetUniqueSnapshotVersion() string

func (*AuroraVersion) IsSemanticReleaseVersion

func (m *AuroraVersion) IsSemanticReleaseVersion() bool

TODO: Snapshot / Semantic? Whats the difference?

type BaseImage

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

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