k8s

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientSet

func GetClientSet(kubeconfigFile string, kubeContext string) (*kubernetes.Clientset, error)

Types

type Info added in v0.0.9

type Info struct {
	Containers     container.InfoList
	DSs            ds.InfoList
	Deployments    deployment.InfoList
	EndpointSlices endpointslices.InfoList
	Events         event.InfoList
	HPAs           hpa.InfoList
	Images         k8snode.ImageList
	Nodes          k8snode.InfoList
	Pods           k8spod.InfoList
	PVCs           pvc.InfoList
	PVs            pv.InfoList
	Services       k8sservice.InfoList
	STSs           sts.InfoList
	Taints         TaintList
	Tolerations    TolerationList
	PVCVolumes     PVCVolumeList
	// 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 (i *Info) Fetch(opts fetch.Options) error

type PVCVolume added in v0.1.10

type PVCVolume struct {
	ClaimName string `db:"claim_name"`
	Name      string `db:"name"`
	Namespace string `db:"namespace"`
	Pod       string `db:"pod_name"`
	ReadOnly  bool   `db:"read_only"`
}

type PVCVolumeList added in v0.1.10

type PVCVolumeList []*PVCVolume

type Taint added in v0.0.15

type Taint struct {
	Effect string `db:"effect"`
	Key    string `db:"key"`
	Node   string `db:"node_name"`
	Value  string `db:"value"`
}

type TaintList added in v0.0.15

type TaintList []*Taint

type Toleration added in v0.0.19

type Toleration struct {
	Effect            string `db:"effect"`
	Key               string `db:"key"`
	Pod               string `db:"pod_name"`
	Value             string `db:"value"`
	TolerationSeconds *int64 `db:"toleration_seconds"`
	Operator          string `db:"operator"`
}

type TolerationList added in v0.0.19

type TolerationList []*Toleration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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