Documentation ¶
Index ¶
- func NewWebhookOptions() (*envtest.WebhookInstallOptions, error)
- type Framework
- func (f *Framework) AddServiceInfo(name string, info ServiceInfo)
- func (f *Framework) CheckService(name string) error
- func (f *Framework) ClientGen() *crd.ClientGenerator
- func (f *Framework) GetEnv() *envtest.Environment
- func (f *Framework) GetServiceURL(name string) (string, error)
- func (f *Framework) Logger() *zap.Logger
- func (f *Framework) RestConfig() *rest.Config
- func (f *Framework) Start(ctx context.Context) error
- func (f *Framework) Stop() error
- func (f *Framework) ToggleMetricAddr() error
- type ServiceInfo
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 (*Framework) ClientGen ¶
func (f *Framework) ClientGen() *crd.ClientGenerator
func (*Framework) GetEnv ¶
func (f *Framework) GetEnv() *envtest.Environment
func (*Framework) RestConfig ¶
func (*Framework) ToggleMetricAddr ¶
type ServiceInfo ¶
type ServiceInfo struct {
Port int
}
Click to show internal directories.
Click to hide internal directories.