phases

package
v0.0.0-...-96b04c8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PhaseInterval             = 5 * time.Second
	DefaultPhaseTimeoutMinute = 10
)

Variables

This section is empty.

Functions

func RunPlaybookAndGetResult

func RunPlaybookAndGetResult(b kobe.Interface, playbookName, tag string, writer io.Writer) error

func WaitForDaemonsetRunning

func WaitForDaemonsetRunning(namespace string, daemonsetName string, kubeClient *kubernetes.Clientset) error

func WaitForDeployRunning

func WaitForDeployRunning(namespace string, deploymentName string, kubeClient *kubernetes.Clientset) error

func WaitForStatefulSetsRunning

func WaitForStatefulSetsRunning(namespace string, statefulSetsName string, kubeClient *kubernetes.Clientset) error

Types

type Interface

type Interface interface {
	Name() string
	Run(p kobe.Interface, writer io.Writer) error
}

Directories

Path Synopsis
plugin
npd

Jump to

Keyboard shortcuts

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