k8s

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package k8s implements etcd k8s related commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand implements "eks-utils apis" command.

Types

type ListResults added in v1.1.5

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

ListResults defines the "etcd-utils k8s list" results.

type Result added in v1.1.5

type Result struct {
	Prefix     string `json:"prefix"`
	Kind       string `json:"kind"`
	APIVersion string `json:"api-version"`
	Count      int    `json:"count"`
}

Result defines the "etcd-utils k8s list" result.

type Results added in v1.1.5

type Results []Result

func (Results) Len added in v1.1.5

func (rs Results) Len() int

func (Results) Less added in v1.1.5

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

func (Results) Swap added in v1.1.5

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