framework

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	E2EPolicyLabelKey   = "label.everoute.io/policy-usage"
	E2EPolicyLabelValue = "e2e"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

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

func NewFromKube

func NewFromKube(kubeConfig string) (*Framework, error)

func (*Framework) CleanObjects

func (f *Framework) CleanObjects(ctx context.Context, objects ...metav1.Object) error

func (*Framework) EndpointManager

func (f *Framework) EndpointManager() *endpoint.Manager

func (*Framework) GlobalPolicyProvider

func (f *Framework) GlobalPolicyProvider() model.GlobalPolicyProvider

func (*Framework) Interval

func (f *Framework) Interval() time.Duration

func (*Framework) KubeClient

func (f *Framework) KubeClient() client.Client

func (*Framework) Namespace

func (f *Framework) Namespace() string

func (*Framework) NodeManager

func (f *Framework) NodeManager() *node.Manager

func (*Framework) ResetResource

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

func (*Framework) SetupObjects

func (f *Framework) SetupObjects(ctx context.Context, objects ...metav1.Object) error

func (*Framework) Timeout

func (f *Framework) Timeout() time.Duration

func (*Framework) UpdateObjects

func (f *Framework) UpdateObjects(ctx context.Context, objects ...metav1.Object) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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