Documentation
¶
Index ¶
- type DiffAnalyzer
- func (d *DiffAnalyzer) DiffPod(podName string) error
- func (d *DiffAnalyzer) DoAction(jobName, action string) error
- func (d *DiffAnalyzer) GetDetailOfJob(jobName string) error
- func (d *DiffAnalyzer) ListDiffPods() error
- func (d *DiffAnalyzer) ListJobs() error
- func (d *DiffAnalyzer) LoadUpgradeConfig(ctx context.Context, configName string) (*jConfig.BatchConfig, error)
- func (d *DiffAnalyzer) NewUpgradeJob(pvcName, nodeName string, worker int, ignoreErr bool, quiet bool) error
- type JobList
- type PodDiffList
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) 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() error
func (*DiffAnalyzer) ListJobs ¶
func (d *DiffAnalyzer) ListJobs() error
func (*DiffAnalyzer) LoadUpgradeConfig ¶
func (d *DiffAnalyzer) LoadUpgradeConfig(ctx context.Context, configName string) (*jConfig.BatchConfig, error)
func (*DiffAnalyzer) NewUpgradeJob ¶
type PodDiffList ¶
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)
Click to show internal directories.
Click to hide internal directories.