kubectl

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(c *types.ClusterConfig, yamlDoc string) error

Types

type Conditions

type Conditions struct {
	Message string `json:"message"`
	Reason  string `json:"reason"`
	Status  string `json:"status"`
	Type    string `json:"type"`
}

type Metadata

type Metadata struct {
	Name string `json:"name"`
}

type Node

type Node struct {
	Metadata Metadata   `json:"metadata"`
	Status   NodeStatus `json:"status"`
}

type NodeStatus

type NodeStatus struct {
	Conditions []Conditions `json:"conditions"`
}

type Nodes

type Nodes struct {
	Items []Node `json:"items"`
}

func GetNodes

func GetNodes(c *types.ClusterConfig) (Nodes, error)

Jump to

Keyboard shortcuts

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