sidecargw

package
v1.3.1-release Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientEmulator

type ClientEmulator struct {
	mock.Mock
}

func NewClientEmulator

func NewClientEmulator() (*ClientEmulator, error)

func (*ClientEmulator) GetClientConnectionInfo

func (ClientEmulator *ClientEmulator) GetClientConnectionInfo(ctx context.Context, addr string) ([]kubeslicev1beta1.AppPod, error)

func (*ClientEmulator) GetRouteInKernel

func (ClientEmulator *ClientEmulator) GetRouteInKernel(ctx context.Context, serverAddr string, sliceRouterConnCtx *router.GetRouteConfig) (*sidecar.VerifyRouteAddResponse, error)

func (*ClientEmulator) SendConnectionContext

func (ClientEmulator *ClientEmulator) SendConnectionContext(ctx context.Context, serverAddr string, sliceRouterConnCtx *router.SliceRouterConnCtx) error

func (*ClientEmulator) UpdateEcmpRoutes

func (ClientEmulator *ClientEmulator) UpdateEcmpRoutes(ctx context.Context, serverAddr string, ecmpInfo *router.UpdateEcmpInfo) error

Jump to

Keyboard shortcuts

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