framework

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebhookOptions

func NewWebhookOptions() (*envtest.WebhookInstallOptions, error)

Types

type Framework

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

func NewFramework

func NewFramework() *Framework

func (*Framework) AddServiceInfo

func (f *Framework) AddServiceInfo(name string, info ServiceInfo)

func (*Framework) CheckService

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

func (*Framework) ClientGen

func (f *Framework) ClientGen() *crd.ClientGenerator

func (*Framework) GetEnv

func (f *Framework) GetEnv() *envtest.Environment

func (*Framework) GetServiceURL

func (f *Framework) GetServiceURL(name string) (string, error)

func (*Framework) Logger

func (f *Framework) Logger() *zap.Logger

func (*Framework) RestConfig

func (f *Framework) RestConfig() *rest.Config

func (*Framework) Start

func (f *Framework) Start(ctx context.Context) error

func (*Framework) Stop

func (f *Framework) Stop() error

func (*Framework) ToggleMetricAddr

func (f *Framework) ToggleMetricAddr() error

type ServiceInfo

type ServiceInfo struct {
	Port int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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