framework

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Running           = "Running"
	Pending           = "Pending"
	Completed         = "Completed"
	ContainerCreating = "ContainerCreating"
	PodInitializing   = "PodInitializing"
	Terminating       = "Terminating"
	Initing           = "Initing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	BaseName         string
	KubeOvnNamespace string
	KubeClientSet    kubernetes.Interface
	OvnClientSet     clientset.Interface
	KubeConfig       *rest.Config
}

func NewFramework

func NewFramework(baseName, kubeConfig string) *Framework

func (*Framework) ExecToPodThroughAPI

func (f *Framework) ExecToPodThroughAPI(command, containerName, podName, namespace string, stdin io.Reader) (string, string, error)

func (*Framework) GetName

func (f *Framework) GetName() string

func (*Framework) WaitDeploymentReady

func (f *Framework) WaitDeploymentReady(deployment, namespace string) error

func (*Framework) WaitPodDeleted

func (f *Framework) WaitPodDeleted(pod, namespace string) error

func (*Framework) WaitPodReady

func (f *Framework) WaitPodReady(pod, namespace string) error

func (*Framework) WaitStatefulsetReady

func (f *Framework) WaitStatefulsetReady(statefulset, namespace string) error

func (*Framework) WaitSubnetReady

func (f *Framework) WaitSubnetReady(subnet string) error

Jump to

Keyboard shortcuts

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