enums

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sVersion

type K8sVersion int

K8sVersion is a enum of k8s versions

const (
	//V1dot5 k8s version 1.5
	V1dot5 K8sVersion = iota + 1
	// V1dot6 k8s version 1.6
	V1dot6
)

func GetK8sVersionFromString

func GetK8sVersionFromString(name string) (K8sVersion, error)

GetK8sVersionFromString returns k8s version

func (K8sVersion) String

func (version K8sVersion) String() string

type RookPlatformType

type RookPlatformType int

RookPlatformType is enum if rook platforms

const (
	//Kubernetes plafrom is default
	Kubernetes RookPlatformType = iota + 1
	//BareMetal plafrom
	BareMetal
	//StandAlone plafrom is default
	StandAlone
	//None platform
	None
)

func GetRookPlatFormTypeFromString

func GetRookPlatFormTypeFromString(name string) (RookPlatformType, error)

GetRookPlatFormTypeFromString returns rook platform type

func (RookPlatformType) String

func (platform RookPlatformType) String() string

Jump to

Keyboard shortcuts

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