framework

package
v0.0.0-...-56e15b1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxRetry   = 10
	NoRetry    = 1
	TestDomain = "http.appscode.test"
)

Variables

View Source
var (
	ClientOrgs = []string{"AppsCode", "Eng"}
)

Functions

This section is empty.

Types

type Framework

type Framework struct {
	KubeClient    kubernetes.Interface
	VoyagerClient cs.Interface
	CRDClient     crd_cs.Interface

	Config        *operator.OperatorConfig
	CertStore     *certstore.CertStore
	TestNamespace string
	Cleanup       bool

	Lock sync.Mutex
}

func New

func New(cfg *operator.OperatorConfig, testNamespace string, cleanup bool) *Framework

func (*Framework) DeleteNamespace

func (f *Framework) DeleteNamespace() error

func (*Framework) EnsureNamespace

func (f *Framework) EnsureNamespace() error

func (*Framework) Invoke

func (f *Framework) Invoke() *Invocation

func (*Framework) MinikubeIP

func (f *Framework) MinikubeIP() string

func (*Framework) Namespace

func (f *Framework) Namespace() string

func (*Framework) ServerSANs

func (f *Framework) ServerSANs() cert.AltNames

type Invocation

type Invocation struct {
	Ingress     *ingressInvocation
	Certificate *certificateInvocation
	// contains filtered or unexported fields
}

func (Invocation) App

func (ri Invocation) App() string

func (Invocation) UniqueName

func (ri Invocation) UniqueName() string

Jump to

Keyboard shortcuts

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