Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Poll how often to poll for conditions Poll = 2 * time.Second // DefaultTimeout time to wait for operations to complete DefaultTimeout = 90 * time.Second )
Variables ¶
View Source
var ( // KubectlPath defines the full path of the kubectl binary KubectlPath = "/usr/local/bin/kubectl" // RunID is a unique ID for this e2e test run RunID = uuid.NewUUID() )
Functions ¶
func CreateAWSSecretsManagerSecret ¶
CreateAWSSecretsManagerSecret creates a sm secret with the given value
func CreateNamespace ¶
CreateNamespace creates a new namespace in the cluster
Types ¶
type Framework ¶
type Framework struct { // Name of the e2e test suite BaseName string Namespace string // A Kubernetes and Service Catalog client KubeClient client.Client KubeConfig *restclient.Config HelmValues string }
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
func NewDefaultFramework ¶
NewDefaultFramework makes a new framework and sets up a BeforeEach/AfterEach for you (you can write additional before/after each functions).
func (*Framework) AfterEach ¶
func (f *Framework) AfterEach()
AfterEach deletes the namespace, after reading its events.
func (*Framework) BeforeEach ¶
func (f *Framework) BeforeEach()
BeforeEach gets a client and makes a namespace.
func (*Framework) NewLocalstack ¶
NewLocalstack deploys a fresh localstack instance into the specified namespace
Click to show internal directories.
Click to hide internal directories.