Versions in this module Expand all Collapse all v0 v0.8.0 Oct 25, 2019 Changes in this version + func CreateProject(f *Framework, name string, labels map[string]string) (*v1.Namespace, error) + func CreateTestingNamespace(f *Framework, name string, labels map[string]string) (*v1.Namespace, error) + func CreateTestingProjectAndChangeUser(f *Framework, name string, labels map[string]string) (*v1.Namespace, error) + func DeleteNamespace(f *Framework, ns *v1.Namespace) error + func DumpEventsInNamespace(c kubernetes.Interface, namespace string) + func Failf(format string, args ...interface{}) + func Logf(format string, args ...interface{}) + func Skipf(format string, args ...interface{}) + type CreateTestingNSFn func(f *Framework, name string, labels map[string]string) (*v1.Namespace, error) + type DeleteTestingNSFn func(f *Framework, ns *v1.Namespace) error + type DeleteTestingNSPolicyType string + var DeleteTestingNSPolicyAlways DeleteTestingNSPolicyType = "Always" + var DeleteTestingNSPolicyNever DeleteTestingNSPolicyType = "Never" + var DeleteTestingNSPolicyOnSuccess DeleteTestingNSPolicyType = "OnSuccess" + type Framework struct + func NewFramework(project string) *Framework + func (f *Framework) AddNamespace(namespace *v1.Namespace) + func (f *Framework) AdminClientConfig() *rest.Config + func (f *Framework) AfterEach() + func (f *Framework) BeforeEach() + func (f *Framework) ChangeUser(username string, namespace string) + func (f *Framework) ClientConfig() *rest.Config + func (f *Framework) CreateNamespace(name string, labels map[string]string) (*v1.Namespace, error) + func (f *Framework) DeleteNamespace(ns *v1.Namespace) error + func (f *Framework) KubeAdminClientSet() *kubernetes.Clientset + func (f *Framework) KubeClientSet() *kubernetes.Clientset + func (f *Framework) Namespace() string + func (f *Framework) OAuthClientset() oauthclientset.Interface + func (f *Framework) ProjectClientset() projectclientset.Interface + func (f *Framework) RouteClientset() routeclientset.Interface + func (f *Framework) UserClientset() userclientset.Interface + func (f *Framework) Username() string + type TestContextType struct + CreateTestingNS CreateTestingNSFn + DeleteTestingNS DeleteTestingNSFn + DeleteTestingNSPolicy DeleteTestingNSPolicyType + KubeConfigPath string + var TestContext TestContextType