Help us shape the future of Go! Take the 2026 Go Developer Survey

batch

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffAnalyzer

type DiffAnalyzer struct {
	// contains filtered or unexported fields
}

func NewDiffAnalyzer

func NewDiffAnalyzer(clientSet *kubernetes.Clientset, conf *rest.Config) (*DiffAnalyzer, error)

func (*DiffAnalyzer) DiffPod

func (d *DiffAnalyzer) DiffPod(podName string) error

func (*DiffAnalyzer) DiffSidecarPod added in v0.11.0

func (d *DiffAnalyzer) DiffSidecarPod(namespace, podName string) error

func (*DiffAnalyzer) DoAction

func (d *DiffAnalyzer) DoAction(jobName, action string) error

func (*DiffAnalyzer) GetDetailOfJob

func (d *DiffAnalyzer) GetDetailOfJob(jobName string) error

func (*DiffAnalyzer) ListDiffPods

func (d *DiffAnalyzer) ListDiffPods(nodeName string) error

func (*DiffAnalyzer) ListJobs

func (d *DiffAnalyzer) ListJobs(sidecarOnly bool) error

func (*DiffAnalyzer) ListSidecarDiffPods added in v0.11.0

func (d *DiffAnalyzer) ListSidecarDiffPods(namespace, nodeName string) error

func (*DiffAnalyzer) LoadUpgradeConfig

func (d *DiffAnalyzer) LoadUpgradeConfig(ctx context.Context, configName string) (*jConfig.BatchConfig, error)

func (*DiffAnalyzer) NewUpgradeJob

func (d *DiffAnalyzer) NewUpgradeJob(opts UpgradeOptions) error

type JobList

type JobList []batchv1.Job

func (JobList) Len

func (l JobList) Len() int

func (JobList) Less

func (l JobList) Less(i, j int) bool

func (JobList) Swap

func (l JobList) Swap(i, j int)

type PodDiffList

type PodDiffList []dashboard.PodDiff

func (PodDiffList) Len

func (p PodDiffList) Len() int

func (PodDiffList) Less

func (p PodDiffList) Less(i, j int) bool

func (PodDiffList) Swap

func (p PodDiffList) Swap(i, j int)

type UpgradeOptions added in v0.11.0

type UpgradeOptions struct {
	PVCName     string
	Namespace   string
	NodeName    string
	Worker      int
	IgnoreError bool
	Quiet       bool
	Sidecar     bool
}

func (UpgradeOptions) Validate added in v0.11.0

func (o UpgradeOptions) Validate() error

Jump to

Keyboard shortcuts

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