Documentation
¶
Index ¶
- Constants
- func BootstrapSliceRouterPod() error
- type SliceRouterSidecar
- func (s *SliceRouterSidecar) GetRouteInKernel(ctx context.Context, v *sidecar.VerifyRouteAddRequest) (*sidecar.VerifyRouteAddResponse, error)
- func (s *SliceRouterSidecar) GetSliceRouterClientConnectionInfo(ctx context.Context, in *emptypb.Empty) (*sidecar.ClientConnectionInfo, error)
- func (s *SliceRouterSidecar) UpdateSliceGwConnectionContext(ctx context.Context, conContext *sidecar.SliceGwConContext) (*sidecar.SidecarResponse, error)
Constants ¶
View Source
const ( SliceRouterDataplaneVpp string = "vpp" SliceRouterDataplaneKernel string = "kernel" )
Variables ¶
This section is empty.
Functions ¶
func BootstrapSliceRouterPod ¶
func BootstrapSliceRouterPod() error
Types ¶
type SliceRouterSidecar ¶
type SliceRouterSidecar struct {
sidecar.UnimplementedSliceRouterSidecarServiceServer
}
SliceRouterSidecar represents the GRPC Server for Slice Router Sidecar.
func (*SliceRouterSidecar) GetRouteInKernel ¶ added in v0.4.0
func (s *SliceRouterSidecar) GetRouteInKernel(ctx context.Context, v *sidecar.VerifyRouteAddRequest) (*sidecar.VerifyRouteAddResponse, error)
func (*SliceRouterSidecar) GetSliceRouterClientConnectionInfo ¶
func (s *SliceRouterSidecar) GetSliceRouterClientConnectionInfo(ctx context.Context, in *emptypb.Empty) (*sidecar.ClientConnectionInfo, error)
GetClientConnectionInfo requests the slice router sidecar to send connection information of clients that are connected to the slice router. Slice router is the connectivity entry point to the slice. Any pod that wants to be part of the slice connects to the slice router to send and recieve traffic over the slice.
func (*SliceRouterSidecar) UpdateSliceGwConnectionContext ¶
func (s *SliceRouterSidecar) UpdateSliceGwConnectionContext(ctx context.Context, conContext *sidecar.SliceGwConContext) (*sidecar.SidecarResponse, error)
Slice router gets the slice GW connection information from the slice controller. This is needed to install remote cluster subnet routes into the slice router so that inter-cluster traffic can be forwarded to the right slice GW.
Click to show internal directories.
Click to hide internal directories.