Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- Variables
- func CasesDescribe(text string, body func()) bool
- type Framework
- func (f *Framework) AfterEach()
- func (f *Framework) BeforeEach()
- func (f *Framework) ClientID() string
- func (f *Framework) CreateKubeNamespace(baseName string) (*corev1.Namespace, error)
- func (f *Framework) DeleteKubeNamespace(namespace string) error
- func (f *Framework) DeployProxyWith(extraVolumes []corev1.Volume, extraArgs ...string)
- func (f *Framework) Helper() *helper.Helper
- func (f *Framework) IssuerKeyBundle() *util.KeyBundle
- func (f *Framework) IssuerURL() *url.URL
- func (f *Framework) NewProxyClient() kubernetes.Interface
- func (f *Framework) NewProxyRestConfig() *rest.Config
- func (f *Framework) ProxyKeyBundle() *util.KeyBundle
- func (f *Framework) ProxyURL() *url.URL
- func (f *Framework) WaitForKubeNamespaceNotExist(namespace string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &config.Config{}
Functions ¶
func CasesDescribe ¶
Types ¶
type Framework ¶
type Framework struct { BaseName string KubeClientSet kubernetes.Interface ProxyClient kubernetes.Interface Namespace *corev1.Namespace // contains filtered or unexported fields }
func NewDefaultFramework ¶
func (*Framework) AfterEach ¶
func (f *Framework) AfterEach()
AfterEach deletes the namespace, after reading its events.
func (*Framework) BeforeEach ¶
func (f *Framework) BeforeEach()
func (*Framework) CreateKubeNamespace ¶
CreateKubeNamespace creates a new Kubernetes Namespace for a test.
func (*Framework) DeleteKubeNamespace ¶
DeleteKubeNamespace will delete a namespace resource
func (*Framework) DeployProxyWith ¶
func (*Framework) IssuerKeyBundle ¶
func (*Framework) NewProxyClient ¶
func (f *Framework) NewProxyClient() kubernetes.Interface
func (*Framework) NewProxyRestConfig ¶
func (*Framework) ProxyKeyBundle ¶
func (*Framework) WaitForKubeNamespaceNotExist ¶
WaitForKubeNamespaceNotExist will wait for the namespace with the given name to not exist for up to 2 minutes.
Click to show internal directories.
Click to hide internal directories.