utils

package
v1.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMapList added in v1.2.3

func ConfigMapList(opt *options.SearchOptions) *corev1.ConfigMapList

ConfigMapList - return a list of ConfigMap(s)

func DaemonsetList

func DaemonsetList(opt *options.SearchOptions) *appsv1.DaemonSetList

DaemonsetList - return a list of DaemonSet(s)

func DeploymentList

func DeploymentList(opt *options.SearchOptions) *appsv1.DeploymentList

DeploymentList - return a list of Deployment(s)

func GetAge

func GetAge(d time.Duration) string

GetAge - return human readable time expression

func HpaList

HpaList - return a list of HPA(s)

func NodeList

func NodeList(opt *options.SearchOptions) *corev1.NodeList

NodeList - return a list of Node(s)

func PodList

func PodList(opt *options.SearchOptions) *corev1.PodList

PodList - return a list of Pod(s)

func SecretList added in v1.2.3

func SecretList(opt *options.SearchOptions) *corev1.SecretList

SecretList - return a list of Secret(s)

func StatefulSetList added in v1.2.0

func StatefulSetList(opt *options.SearchOptions) *appsv1.StatefulSetList

StatefulSetList - return a list of StatefulSets

func TrimQuoteAndSpace

func TrimQuoteAndSpace(input string) string

TrimQuoteAndSpace - remove Spaces, Tabs, SingleQuotes, DoubleQuites

Types

This section is empty.

Jump to

Keyboard shortcuts

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