framework

package
v0.0.0-...-8a8da8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	KubeClient   kubernetes.Interface
	KubeciClient cs.Interface
	KAClient     ka.Interface

	CertStore          *certstore.CertStore
	WebhookEnabled     bool
	SelfHostedOperator bool
	ClientConfig       *rest.Config
	// contains filtered or unexported fields
}

func New

func New(kubeClient kubernetes.Interface, extClient cs.Interface, kaClient ka.Interface, webhookEnabled bool, selfHostedOperator bool, clientConfig *rest.Config) *Framework

func (*Framework) CreateNamespace

func (f *Framework) CreateNamespace(ns *core.Namespace) error

func (*Framework) CreateTestNamespace

func (f *Framework) CreateTestNamespace() error

func (*Framework) DeleteNamespace

func (f *Framework) DeleteNamespace(name string) error

func (*Framework) EventuallyAPIServerReady

func (f *Framework) EventuallyAPIServerReady() GomegaAsyncAssertion

func (*Framework) Invoke

func (f *Framework) Invoke() *Invocation

func (*Framework) Namespace

func (f *Framework) Namespace() string

func (*Framework) NewNamespace

func (f *Framework) NewNamespace(name string) *core.Namespace

func (*Framework) NewTestKubeciOptions

func (f *Framework) NewTestKubeciOptions(kubeConfigPath string, controllerOptions *srvr.ExtraOptions) *srvr.KubeciOptions

func (*Framework) StartAPIServerAndOperator

func (f *Framework) StartAPIServerAndOperator(kubeConfigPath string, extraOptions *srvr.ExtraOptions)

type Invocation

type Invocation struct {
	*Framework
	// contains filtered or unexported fields
}

func (*Invocation) App

func (f *Invocation) App() string

func (*Invocation) AppLabel

func (f *Invocation) AppLabel() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL