version

package
v0.0.0-...-37f2402 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 33

Documentation

Index

Constants

View Source
const (
	DevClusterGenevaLoggingAccount       = "AROClusterLogs"
	DevClusterGenevaLoggingConfigVersion = "2.4"
	DevClusterGenevaLoggingNamespace     = "AROClusterLogs"
	DevClusterGenevaMetricsAccount       = "AzureRedHatOpenShiftCluster"
	DevGenevaLoggingEnvironment          = "Test"
	DevRPGenevaLoggingAccount            = "ARORPLogs"
	DevRPGenevaLoggingConfigVersion      = "4.3"
	DevRPGenevaLoggingNamespace          = "ARORPLogs"
	DevRPGenevaMetricsAccount            = "AzureRedHatOpenShiftRP"

	DevGatewayGenevaLoggingConfigVersion = "4.3"
)
View Source
const InstallArchitectureVersion = api.ArchitectureVersionV2

Variables

View Source
var DefaultInstallStream = Stream{
	Version:  NewVersion(4, 13, 23),
	PullSpec: "quay.io/openshift-release-dev/ocp-release@sha256:ca556d3494d08765c90481f15dd965995371168ea7ee7a551000bed4481931c8",
}

Install stream data for production and INT has moved to RP-Config. This default is left here ONLY for use by local development mode, until we can come up with a better solution.

View Source
var GitCommit = "unknown"

Functions

func FluentbitImage

func FluentbitImage(acrDomain string) string

FluentbitImage contains the location of the Fluentbit container image

func GateKeeperImage

func GateKeeperImage(acrDomain string) string

GateKeeperImage contains the location of the GateKeeper container image

func MUOImage

func MUOImage(acrDomain string) string

MUOImage contains the location of the Managed Upgrade Operator container image

func MdmImage

func MdmImage(acrDomain string) string

MdmImage contains the location of the MDM container image https://eng.ms/docs/products/geneva/collect/references/linuxcontainers

func MdsdImage

func MdsdImage(acrDomain string) string

MdsdImage contains the location of the MDSD container image https://eng.ms/docs/products/geneva/collect/references/linuxcontainers

Types

type Stream

type Stream struct {
	Version  *Version `json:"version"`
	PullSpec string   `json:"-"`
}

type Version

type Version struct {
	V      [3]uint32
	Suffix string
}

func GetClusterVersion

func GetClusterVersion(cv *configv1.ClusterVersion) (*Version, error)

GetClusterVersion fetches the version of the openshift cluster. Note that it assumes the most recently applied version is cv.Status.History[0] assuming the State == Completed. If for some reason there is no cluster version history, it will return the most recently updated version in history

func NewVersion

func NewVersion(vs ...uint32) *Version

func ParseVersion

func ParseVersion(vsn string) (*Version, error)

func (*Version) Eq

func (v *Version) Eq(w *Version) bool

func (*Version) Lt

func (v *Version) Lt(w *Version) bool

func (*Version) MarshalJSON

func (v *Version) MarshalJSON() ([]byte, error)

func (*Version) MinorVersion

func (v *Version) MinorVersion() string

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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