Documentation ¶
Index ¶
- type AppVersion
- type ArchitectImage
- type AuroraVersion
- func (m *AuroraVersion) GetAppVersion() AppVersion
- func (m *AuroraVersion) GetCompleteSnapshotVersion() string
- func (m *AuroraVersion) GetCompleteVersion() string
- func (m *AuroraVersion) GetGivenVersion() string
- func (m *AuroraVersion) GetUniqueSnapshotVersion() string
- func (m *AuroraVersion) IsSemanticReleaseVersion() bool
- type BaseImage
- type CompleteVersion
- type DockerImage
- type GivenVersion
- type ImageInfo
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 ¶
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
Click to show internal directories.
Click to hide internal directories.