Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const ContainerStatusPollInterval + const ContainerStatusRetryTimeout + var AppArmorDistros = []string + var CommonImageWhiteList = sets.NewString(imageutils.GetE2EImage(imageutils.Agnhost), ...) + var KindDeployment = schema.GroupVersionKind + var KindRC = schema.GroupVersionKind + var KindReplicaSet = schema.GroupVersionKind + func CreateAppArmorTestPod(f *framework.Framework, unconfined bool, runOnce bool) *v1.Pod + func CreateCPUHorizontalPodAutoscaler(rc *ResourceConsumer, cpu, minReplicas, maxRepl int32) *autoscalingv1.HorizontalPodAutoscaler + func DeleteHorizontalPodAutoscaler(rc *ResourceConsumer, autoscalerName string) + func GetContainerStartedTime(p *v1.Pod, containerName string) (time.Time, error) + func GetResourceConsumerImage() string + func GetTransitionTimeForReadyCondition(p *v1.Pod) (time.Time, error) + func IsAppArmorSupported() bool + func LoadAppArmorProfiles(f *framework.Framework) + func NewRCByName(c clientset.Interface, ns, name string, replicas int32, gracePeriod *int64, ...) (*v1.ReplicationController, error) + func NewSVCByName(c clientset.Interface, ns, name string) error + func ObserveEventAfterAction(f *framework.Framework, eventPredicate func(*v1.Event) bool, action Action) (bool, error) + func ObserveNodeUpdateAfterAction(f *framework.Framework, nodeName string, nodePredicate func(*v1.Node) bool, ...) (bool, error) + func RestartNodes(c clientset.Interface, nodes []v1.Node) error + func RunLivenessTest(f *framework.Framework, pod *v1.Pod, expectNumRestarts int, ...) + func SkipIfAppArmorNotSupported() + func SubstituteImageName(content string) string + func WaitTimeoutForEvent(c clientset.Interface, namespace, eventSelector, msg string, ...) error + type Action func() error + type ConformanceContainer struct + Container v1.Container + ImagePullSecrets []string + PodClient *framework.PodClient + PodSecurityContext *v1.PodSecurityContext + RestartPolicy v1.RestartPolicy + Volumes []v1.Volume + func (cc *ConformanceContainer) Create() + func (cc *ConformanceContainer) Delete() error + func (cc *ConformanceContainer) GetPhase() (v1.PodPhase, error) + func (cc *ConformanceContainer) GetStatus() (v1.ContainerStatus, error) + func (cc *ConformanceContainer) IsReady() (bool, error) + func (cc *ConformanceContainer) Present() (bool, error) + type ContainerState string + const ContainerStateRunning + const ContainerStateTerminated + const ContainerStateUnknown + const ContainerStateWaiting + func GetContainerState(state v1.ContainerState) ContainerState + type KubeletManagedHostConfig struct + type PrivilegedPodTestConfig struct + type ResourceConsumer struct + func NewDynamicResourceConsumer(name, nsName string, kind schema.GroupVersionKind, ...) *ResourceConsumer + func NewMetricExporter(name, nsName string, podAnnotations, serviceAnnotations map[string]string, ...) *ResourceConsumer + func NewStaticResourceConsumer(name, nsName string, ...) *ResourceConsumer + func (rc *ResourceConsumer) CleanUp() + func (rc *ResourceConsumer) ConsumeCPU(millicores int) + func (rc *ResourceConsumer) ConsumeCustomMetric(amount int) + func (rc *ResourceConsumer) ConsumeMem(megabytes int) + func (rc *ResourceConsumer) EnsureDesiredReplicas(desiredReplicas int, duration time.Duration, hpaName string) + func (rc *ResourceConsumer) EnsureDesiredReplicasInRange(minDesiredReplicas, maxDesiredReplicas int, duration time.Duration, ...) + func (rc *ResourceConsumer) GetHpa(name string) (*autoscalingv1.HorizontalPodAutoscaler, error) + func (rc *ResourceConsumer) GetReplicas() int + func (rc *ResourceConsumer) Pause() + func (rc *ResourceConsumer) Resume() + func (rc *ResourceConsumer) WaitForReplicas(desiredReplicas int, duration time.Duration) + type Suite string + const E2E + const NodeE2E + var CurrentSuite Suite