Documentation ¶
Index ¶
- Constants
- func GetPodHtbQosPara(podName, podNamespace string) (string, string, error)
- func GetPodNetemQosPara(podName, podNamespace string) (netemQos, error)
- type Framework
- func (f *Framework) ExecToPodThroughAPI(command, containerName, podName, namespace string, stdin io.Reader) (string, string, error)
- func (f *Framework) GetName() string
- func (f *Framework) WaitDeploymentReady(deployment, namespace string) error
- func (f *Framework) WaitPodDeleted(pod, namespace string) error
- func (f *Framework) WaitPodReady(pod, namespace string) (*corev1.Pod, error)
- func (f *Framework) WaitProviderNetworkReady(providerNetwork string) error
- func (f *Framework) WaitStatefulsetReady(statefulset, namespace string) error
- func (f *Framework) WaitSubnetReady(subnet string) error
Constants ¶
View Source
const ( Running = "Running" Pending = "Pending" Completed = "Completed" ContainerCreating = "ContainerCreating" PodInitializing = "PodInitializing" Terminating = "Terminating" Initing = "Initing" )
Variables ¶
This section is empty.
Functions ¶
func GetPodHtbQosPara ¶ added in v1.10.0
func GetPodNetemQosPara ¶ added in v1.10.0
Types ¶
type Framework ¶
type Framework struct { BaseName string KubeOvnNamespace string KubeClientSet kubernetes.Interface OvnClientSet clientset.Interface KubeConfig *rest.Config }
func NewFramework ¶
func (*Framework) ExecToPodThroughAPI ¶
func (*Framework) WaitDeploymentReady ¶
func (*Framework) WaitPodDeleted ¶
func (*Framework) WaitPodReady ¶
func (*Framework) WaitProviderNetworkReady ¶ added in v1.7.1
func (*Framework) WaitStatefulsetReady ¶
func (*Framework) WaitSubnetReady ¶
Click to show internal directories.
Click to hide internal directories.