Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preparer

type Preparer struct {
	// contains filtered or unexported fields
}

    Preparer knows ho to prepare a test case in a kubernetes cluster.

    func New

    func New(cli kubernetes.Interface, t *testing.T) *Preparer

      New returns a new preparer.

      func (*Preparer) Namespace

      func (p *Preparer) Namespace() *corev1.Namespace

        Namespace returns the namespace where the environment is set.

        func (*Preparer) SetUp

        func (p *Preparer) SetUp()

          SetUp will set up all the required preparation for the tests in a Kubernetes cluster.

          func (*Preparer) TearDown

          func (p *Preparer) TearDown()

            TearDown will tear down all the required preparation for the tests in a Kubernetes cluster.

            Source Files