k8s

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientSet

func GetClientSet(kubeconfigFile string) *kubernetes.Clientset

Types

type Info added in v0.0.9

type Info struct {
	Pods        k8spod.InfoList
	Nodes       k8snode.InfoList
	Containers  container.InfoList
	Deployments deployment.InfoList
	HPAs        hpa.InfoList
	// contains filtered or unexported fields
}

func NewInfo added in v0.0.9

func NewInfo(ctx context.Context, clientset *kubernetes.Clientset) *Info

func (*Info) Fetch added in v0.0.9

func (r *Info) Fetch(nodeLabelSelector string, podLabelSelector string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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