framework

package
v1.6.3 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: 17 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 added in v1.1.0

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 added in v1.1.0

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

func (*Framework) WaitPodReady

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

func (*Framework) WaitStatefulsetReady added in v1.1.0

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