Documentation ¶
Index ¶
- type ClientEmulator
- func (ClientEmulator *ClientEmulator) GetClientConnectionInfo(ctx context.Context, addr string) ([]kubeslicev1beta1.AppPod, error)
- func (ClientEmulator *ClientEmulator) GetRouteInKernel(ctx context.Context, serverAddr string, ...) (*sidecar.VerifyRouteAddResponse, error)
- func (ClientEmulator *ClientEmulator) SendConnectionContext(ctx context.Context, serverAddr string, ...) error
- func (ClientEmulator *ClientEmulator) UpdateEcmpRoutes(ctx context.Context, serverAddr string, ecmpInfo *router.UpdateEcmpInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientEmulator ¶
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
Click to show internal directories.
Click to hide internal directories.