nodes

package
v1.1.6 Latest Latest
Warning

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

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

Documentation

Overview

Package 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"`
	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