sidecargw

package
v0.18.8-slicehealthfix Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 4 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) GetSliceGwRemotePodName

func (ClientEmulator *ClientEmulator) GetSliceGwRemotePodName(ctx context.Context, gwRemoteVpnIP string, serverAddr string) (string, error)

func (*ClientEmulator) GetStatus

func (ClientEmulator *ClientEmulator) GetStatus(
	ctx context.Context, serverAddr string) (*gwsidecar.GwStatus, error)

func (*ClientEmulator) SendConnectionContext

func (ClientEmulator *ClientEmulator) SendConnectionContext(ctx context.Context, serverAddr string, gwConnCtx *gwsidecar.GwConnectionContext) error

func (*ClientEmulator) UpdateSliceQosProfile

func (ClientEmulator *ClientEmulator) UpdateSliceQosProfile(ctx context.Context, serverAddr string, slice *kubeslicev1beta1.Slice) error

Jump to

Keyboard shortcuts

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