platform

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 16

Documentation

Index

Constants

View Source
const (
	Unknown    = Platform("Unknown")
	Kubernetes = Platform("Kubernetes")
	OpenShift  = Platform("OpenShift")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform string

func ParsePlatform added in v0.7.0

func ParsePlatform(plat string) (Platform, bool)

func (Platform) String

func (p Platform) String() string

type Version added in v0.7.0

type Version string
const MissingVersion Version = ""

func ParseVersion added in v0.7.0

func ParseVersion(v string) (Version, error)

func (Version) AtLeast added in v0.7.0

func (v Version) AtLeast(other Version) (bool, error)

func (Version) AtLeastString added in v0.7.0

func (v Version) AtLeastString(other string) (bool, error)

func (Version) String added in v0.7.0

func (v Version) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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