k8s

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 17 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 {
	Containers  container.InfoList
	DSs         ds.InfoList
	Deployments deployment.InfoList
	HPAs        hpa.InfoList
	Nodes       k8snode.InfoList
	Pods        k8spod.InfoList
	Services    k8sservice.InfoList
	STSs        sts.InfoList
	Taints      TaintList
	Tolerations TolerationList
	// 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 fetch.Options) error

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