Versions in this module Expand all Collapse all v1 v1.0.1 Dec 21, 2016 v1.0.0 Dec 15, 2016 Changes in this version + const ClaimProvisionTimeout + const PodStartTimeout + const Poll + var ErrPodCompleted = fmt.Errorf("pod ran to completion") + var ImagePullerLabels = map[string]string + var RunId = uuid.NewUUID() + func AllNodesReady(c clientset.Interface, timeout time.Duration) error + func CreateTestingNS(baseName string, c clientset.Interface, labels map[string]string) (*v1.Namespace, error) + func DumpAllNamespaceInfo(c clientset.Interface, namespace string) + func DumpEventsInNamespace(eventsLister EventsLister, namespace string) + func DumpNodeDebugInfo(c clientset.Interface, nodeNames []string, ...) + func ExpectNoError(err error, explain ...interface{}) + func Failf(format string, args ...interface{}) + func GetKubeletPods(c clientset.Interface, node string) (*v1.PodList, error) + func GetNodeCondition(status *v1.NodeStatus, conditionType v1.NodeConditionType) (int, *v1.NodeCondition) + func GetPodCondition(status *v1.PodStatus, conditionType v1.PodConditionType) (int, *v1.PodCondition) + func GetPodReadyCondition(status v1.PodStatus) *v1.PodCondition + func IsNodeConditionSetAsExpected(node *v1.Node, conditionType v1.NodeConditionType, wantTrue bool) bool + func IsNodeConditionSetAsExpectedSilent(node *v1.Node, conditionType v1.NodeConditionType, wantTrue bool) bool + func IsPodReady(pod *v1.Pod) bool + func IsPodReadyConditionTrue(status v1.PodStatus) bool + func KubeDescribe(text string, body func()) bool + func LoadConfig() (*restclient.Config, error) + func Logf(format string, args ...interface{}) + func NodeProxyRequest(c clientset.Interface, node, endpoint string) (restclient.Result, error) + func PodRunning(event watch.Event) (bool, error) + func RegisterClusterFlags() + func RegisterCommonFlags() + func RegisterNodeFlags() + func RemoveCleanupAction(p CleanupActionHandle) + func RunCleanupActions() + func ServerVersionGTE(v semver.Version, c discovery.ServerVersionInterface) (bool, error) + func SingleObject(meta v1.ObjectMeta) v1.ListOptions + func ViperizeFlags() + func WaitForDeploymentPodsRunning(c clientset.Interface, ns, name string) error + func WaitForPersistentVolumeClaimPhase(phase v1.PersistentVolumeClaimPhase, c clientset.Interface, ns string, ...) error + func WaitForPersistentVolumeDeleted(c clientset.Interface, pvName string, Poll, timeout time.Duration) error + func WaitForPodRunningInNamespace(c clientset.Interface, pod *v1.Pod) error + func WaitForPodSuccessInNamespace(c clientset.Interface, podName string, namespace string) error + func WaitForPodSuccessInNamespaceSlow(c clientset.Interface, podName string, namespace string) error + func WaitForPodToDisappear(c clientset.Interface, ns, podName string, label labels.Selector, ...) error + func WaitForPodsWithLabelRunning(c clientset.Interface, ns string, label labels.Selector) error + type CleanupActionHandle *int + func AddCleanupAction(fn func()) CleanupActionHandle + type CloudConfig struct + Cluster string + ClusterTag string + MasterName string + Network string + NodeInstanceGroup string + NumNodes int + ProjectID string + Provider cloudprovider.Interface + Zone string + type CreateTestingNSFn func(baseName string, c clientset.Interface, labels map[string]string) (*v1.Namespace, error) + type EventsLister func(opts v1.ListOptions, ns string) (*v1.EventList, error) + type Framework struct + BaseName string + ClientPool dynamic.ClientPool + ClientSet clientset.Interface + Namespace *v1.Namespace + NamespaceDeletionTimeout time.Duration + func NewDefaultFramework(baseName string) *Framework + func NewFramework(baseName string, options FrameworkOptions, client clientset.Interface) *Framework + func (f *Framework) AfterEach() + func (f *Framework) BeforeEach() + func (f *Framework) CreateNamespace(baseName string, labels map[string]string) (*v1.Namespace, error) + type FrameworkOptions struct + ClientBurst int + ClientQPS float32 + GroupVersion *unversioned.GroupVersion + type NodeTestContextType struct + KubeletConfig componentconfig.KubeletConfiguration + NodeConformance bool + NodeE2E bool + NodeName string + PrepullImages bool + type TestContextType struct + AllowedNotReadyNodes int + Cadvisor struct{ ... } + CertDir string + CleanStart bool + CloudConfig CloudConfig + ContainerRuntime string + CreateTestingNS CreateTestingNSFn + DeleteNamespace bool + DeleteNamespaceOnFailure bool + DumpLogsOnFailure bool + FeatureGates string + GarbageCollectorEnabled bool + GatherKubeSystemResourceUsageData string + GatherLogsSizes bool + GatherMetricsAfterTest bool + Host string + KubeAPIContentType string + KubeConfig string + KubeContext string + KubeVolumeDir string + KubectlPath string + LoggingSoak struct{ ... } + MasterOSDistro string + MinStartupPods int + NodeOSDistro string + OutputDir string + OutputPrintType string + Prefix string + PrometheusPushGateway string + Provider string + RepoRoot string + ReportDir string + ReportPrefix string + SystemPodsStartupTimeout time.Duration + UpgradeImage string + UpgradeTarget string + VerifyServiceAccount bool + Viper string + var TestContext TestContextType + type TestDataSummary interface + PrintHumanReadable func() string + PrintJSON func() string