k8s

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 15 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 FetchOptions added in v0.0.12

type FetchOptions struct {
	RetryInitialInterval time.Duration
	RetryJitterPercent   uint64
	RetryMaxAttempts     uint64
	RetryMaxInterval     time.Duration
}

type Info added in v0.0.9

type Info struct {
	Pods        k8spod.InfoList
	Nodes       k8snode.InfoList
	Containers  container.InfoList
	Deployments deployment.InfoList
	DSs         ds.InfoList
	HPAs        hpa.InfoList
	STSs        sts.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(opts FetchOptions) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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