data

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SupportedMinorVersionCount = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Name  string
	Spec  config.Cluster
	Nodes []*Node
}

type Node

type Node struct {
	Name   string
	Spec   config.Node
	Status NodeStatus
}

func (Node) IsMaster

func (n Node) IsMaster() bool

type NodeStatus

type NodeStatus struct {
	Running     bool
	IPAddresses string
	Image       string
	Kernel      string
}

type SubVersionType added in v0.2.0

type SubVersionType string

func (SubVersionType) ToInt added in v0.2.0

func (s SubVersionType) ToInt() int

type Version added in v0.2.0

type Version struct {
	Major      SubVersionType
	Minor      SubVersionType
	Patch      SubVersionType
	PRERELEASE SubVersionType
	METADATA   SubVersionType

	ExtraMeta map[string]interface{}
	// contains filtered or unexported fields
}

func ParseVersion added in v0.2.0

func ParseVersion(version string) *Version

func (*Version) Compare added in v0.2.0

func (v *Version) Compare(version *Version) int

func (*Version) MajorMinorString added in v0.2.0

func (v *Version) MajorMinorString() string

func (*Version) MajorString added in v0.2.0

func (v *Version) MajorString() string

func (*Version) String added in v0.2.0

func (v *Version) String() string

Jump to

Keyboard shortcuts

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