nodes

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Pcmdkage nodes implements EKS node related commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand implements "eks-utils nodes" command.

Types

type ListResults

type ListResults struct {
	Results []Result `json:"results"`
}

ListResults defines the "eks-utils nodes list" results.

type Result

type Result struct {
	OSImage          string  `json:"os-image"`
	KubeletVersion   float64 `json:"kubelet-version"`
	KubeProxyVersion float64 `json:"kube-proxy-version"`
	OsArchLabels     string  `json:"os-arch-labels"`
	Count            int     `json:"count"`
}

Result defines the "eks-utils nodes list" result.

type Results

type Results []Result

func (Results) Len

func (rs Results) Len() int

func (Results) Less

func (rs Results) Less(i, j int) bool

func (Results) Swap

func (rs Results) Swap(i, j int)

Jump to

Keyboard shortcuts

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