sidecar

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

View Source
const (
	HTB classType = "HTB"
)

classType - Qdisc Class type - HTB

Variables

View Source
var (
	SliceGwHostType_name = map[int32]string{
		0: "SLICE_GW_SERVER",
		1: "SLICE_GW_CLIENT",
	}
	SliceGwHostType_value = map[string]int32{
		"SLICE_GW_SERVER": 0,
		"SLICE_GW_CLIENT": 1,
	}
)

Enum value maps for SliceGwHostType.

View Source
var (
	TcType_name = map[int32]string{
		0: "BANDWIDTH_CONTROL",
	}
	TcType_value = map[string]int32{
		"BANDWIDTH_CONTROL": 0,
	}
)

Enum value maps for TcType.

View Source
var (
	ClassType_name = map[int32]string{
		0: "HTB",
		1: "TBF",
	}
	ClassType_value = map[string]int32{
		"HTB": 0,
		"TBF": 1,
	}
)

Enum value maps for ClassType.

View Source
var (
	TunnelStatusType_name = map[int32]string{
		0: "GW_TUNNEL_STATE_UP",
		1: "GW_TUNNEL_STATE_DOWN",
	}
	TunnelStatusType_value = map[string]int32{
		"GW_TUNNEL_STATE_UP":   0,
		"GW_TUNNEL_STATE_DOWN": 1,
	}
)

Enum value maps for TunnelStatusType.

View Source
var File_pkg_sidecar_sidecarpb_gw_sidecar_proto protoreflect.FileDescriptor
View Source
var GwSidecarService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sidecar.GwSidecarService",
	HandlerType: (*GwSidecarServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatus",
			Handler:    _GwSidecarService_GetStatus_Handler,
		},
		{
			MethodName: "GetSliceGwRemotePodName",
			Handler:    _GwSidecarService_GetSliceGwRemotePodName_Handler,
		},
		{
			MethodName: "UpdateConnectionContext",
			Handler:    _GwSidecarService_UpdateConnectionContext_Handler,
		},
		{
			MethodName: "UpdateSliceQosProfile",
			Handler:    _GwSidecarService_UpdateSliceQosProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/sidecar/sidecarpb/gw_sidecar.proto",
}

GwSidecarService_ServiceDesc is the grpc.ServiceDesc for GwSidecarService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SliceGwRemoteClusterNodePort string = ""

Stores the node port of the remote cluster. We need this to set the dscp config when the mode of the Gw is of type CLIENT, in which case the remote cluster would be the SERVER and the client is connected to it over this node port.

Functions

func RegisterGwSidecarServiceServer

func RegisterGwSidecarServiceServer(s grpc.ServiceRegistrar, srv GwSidecarServiceServer)

func SetStatusMonitor

func SetStatusMonitor(sm *status.Monitor)

Types

type ClassType

type ClassType int32
const (
	ClassType_HTB ClassType = 0
	ClassType_TBF ClassType = 1
)

func (ClassType) Descriptor

func (ClassType) Descriptor() protoreflect.EnumDescriptor

func (ClassType) Enum

func (x ClassType) Enum() *ClassType

func (ClassType) EnumDescriptor deprecated

func (ClassType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClassType.Descriptor instead.

func (ClassType) Number

func (x ClassType) Number() protoreflect.EnumNumber

func (ClassType) String

func (x ClassType) String() string

func (ClassType) Type

type GwPodStatus

type GwPodStatus struct {

	// Node IP.
	NodeIP string `protobuf:"bytes,1,opt,name=nodeIP,proto3" json:"nodeIP,omitempty"`
	// Gateway Pod IP.
	GatewayPodIP string `protobuf:"bytes,2,opt,name=gatewayPodIP,proto3" json:"gatewayPodIP,omitempty"`
	// Gateway Pod Name.
	GatewayPodName string `protobuf:"bytes,3,opt,name=gatewayPodName,proto3" json:"gatewayPodName,omitempty"`
	// The Tunnel Interface Status.
	TunnelStatus *TunnelInterfaceStatus `protobuf:"bytes,4,opt,name=tunnelStatus,proto3" json:"tunnelStatus,omitempty"`
	// NSM Interface Status
	NsmIntfStatus *NsmInterfaceStatus `protobuf:"bytes,5,opt,name=nsmIntfStatus,proto3" json:"nsmIntfStatus,omitempty"`
	// contains filtered or unexported fields
}

GwPodStatus represents overall status of Pod.

func (*GwPodStatus) Descriptor deprecated

func (*GwPodStatus) Descriptor() ([]byte, []int)

Deprecated: Use GwPodStatus.ProtoReflect.Descriptor instead.

func (*GwPodStatus) GetGatewayPodIP

func (x *GwPodStatus) GetGatewayPodIP() string

func (*GwPodStatus) GetGatewayPodName added in v0.2.0

func (x *GwPodStatus) GetGatewayPodName() string

func (*GwPodStatus) GetNodeIP

func (x *GwPodStatus) GetNodeIP() string

func (*GwPodStatus) GetNsmIntfStatus

func (x *GwPodStatus) GetNsmIntfStatus() *NsmInterfaceStatus

func (*GwPodStatus) GetTunnelStatus

func (x *GwPodStatus) GetTunnelStatus() *TunnelInterfaceStatus

func (*GwPodStatus) ProtoMessage

func (*GwPodStatus) ProtoMessage()

func (*GwPodStatus) ProtoReflect

func (x *GwPodStatus) ProtoReflect() protoreflect.Message

func (*GwPodStatus) Reset

func (x *GwPodStatus) Reset()

func (*GwPodStatus) String

func (x *GwPodStatus) String() string

type GwSidecar

type GwSidecar struct {
	UnimplementedGwSidecarServiceServer
}

func (*GwSidecar) GetSliceGwRemotePodName added in v0.2.0

func (s *GwSidecar) GetSliceGwRemotePodName(ctx context.Context, remoteGwVpnIP *RemoteGwVpnIP) (*GwPodStatus, error)

GetSliceGwRemotePodName get the remote GwPodName

func (*GwSidecar) GetStatus

func (s *GwSidecar) GetStatus(ctx context.Context, in *empty.Empty) (*GwPodStatus, error)

GetStatus get the status of sidecar.

func (*GwSidecar) UpdateConnectionContext

func (s *GwSidecar) UpdateConnectionContext(ctx context.Context, conContext *SliceGwConnectionContext) (*SidecarResponse, error)

func (*GwSidecar) UpdateSliceQosProfile

func (s *GwSidecar) UpdateSliceQosProfile(ctx context.Context, qosProfile *SliceQosProfile) (*SidecarResponse, error)

type GwSidecarServiceClient

type GwSidecarServiceClient interface {
	// The Interface to get the Pod status.
	GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GwPodStatus, error)
	// The Interface to get the Remote Gw Pod Name.
	GetSliceGwRemotePodName(ctx context.Context, in *RemoteGwVpnIP, opts ...grpc.CallOption) (*GwPodStatus, error)
	// The Interface to update the connection context. It also adds the route.
	UpdateConnectionContext(ctx context.Context, in *SliceGwConnectionContext, opts ...grpc.CallOption) (*SidecarResponse, error)
	// Update Slice QoS Profile
	UpdateSliceQosProfile(ctx context.Context, in *SliceQosProfile, opts ...grpc.CallOption) (*SidecarResponse, error)
}

GwSidecarServiceClient is the client API for GwSidecarService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GwSidecarServiceServer

type GwSidecarServiceServer interface {
	// The Interface to get the Pod status.
	GetStatus(context.Context, *empty.Empty) (*GwPodStatus, error)
	// The Interface to get the Remote Gw Pod Name.
	GetSliceGwRemotePodName(context.Context, *RemoteGwVpnIP) (*GwPodStatus, error)
	// The Interface to update the connection context. It also adds the route.
	UpdateConnectionContext(context.Context, *SliceGwConnectionContext) (*SidecarResponse, error)
	// Update Slice QoS Profile
	UpdateSliceQosProfile(context.Context, *SliceQosProfile) (*SidecarResponse, error)
	// contains filtered or unexported methods
}

GwSidecarServiceServer is the server API for GwSidecarService service. All implementations must embed UnimplementedGwSidecarServiceServer for forward compatibility

type NsmInterfaceStatus

type NsmInterfaceStatus struct {

	// NSM Interface Name
	NsmInterfaceName string `protobuf:"bytes,1,opt,name=nsmInterfaceName,proto3" json:"nsmInterfaceName,omitempty"`
	// NSM IP
	NsmIP string `protobuf:"bytes,2,opt,name=nsmIP,proto3" json:"nsmIP,omitempty"`
	// contains filtered or unexported fields
}

NsmInterfaceStatus represents the status of NSM Interface to Slice Router.

func (*NsmInterfaceStatus) Descriptor deprecated

func (*NsmInterfaceStatus) Descriptor() ([]byte, []int)

Deprecated: Use NsmInterfaceStatus.ProtoReflect.Descriptor instead.

func (*NsmInterfaceStatus) GetNsmIP

func (x *NsmInterfaceStatus) GetNsmIP() string

func (*NsmInterfaceStatus) GetNsmInterfaceName

func (x *NsmInterfaceStatus) GetNsmInterfaceName() string

func (*NsmInterfaceStatus) ProtoMessage

func (*NsmInterfaceStatus) ProtoMessage()

func (*NsmInterfaceStatus) ProtoReflect

func (x *NsmInterfaceStatus) ProtoReflect() protoreflect.Message

func (*NsmInterfaceStatus) Reset

func (x *NsmInterfaceStatus) Reset()

func (*NsmInterfaceStatus) String

func (x *NsmInterfaceStatus) String() string

type RemoteGwVpnIP added in v0.2.0

type RemoteGwVpnIP struct {

	// Remote Slice Gateway VPN IP.
	RemoteGwVpnIP string `protobuf:"bytes,1,opt,name=remoteGwVpnIP,proto3" json:"remoteGwVpnIP,omitempty"`
	// contains filtered or unexported fields
}

RemoteGwVpnIP represents remote SliceGwPod VPN IP

func (*RemoteGwVpnIP) Descriptor deprecated added in v0.2.0

func (*RemoteGwVpnIP) Descriptor() ([]byte, []int)

Deprecated: Use RemoteGwVpnIP.ProtoReflect.Descriptor instead.

func (*RemoteGwVpnIP) GetRemoteGwVpnIP added in v0.2.0

func (x *RemoteGwVpnIP) GetRemoteGwVpnIP() string

func (*RemoteGwVpnIP) ProtoMessage added in v0.2.0

func (*RemoteGwVpnIP) ProtoMessage()

func (*RemoteGwVpnIP) ProtoReflect added in v0.2.0

func (x *RemoteGwVpnIP) ProtoReflect() protoreflect.Message

func (*RemoteGwVpnIP) Reset added in v0.2.0

func (x *RemoteGwVpnIP) Reset()

func (*RemoteGwVpnIP) String added in v0.2.0

func (x *RemoteGwVpnIP) String() string

type SidecarResponse

type SidecarResponse struct {
	StatusMsg string `protobuf:"bytes,1,opt,name=statusMsg,proto3" json:"statusMsg,omitempty"`
	// contains filtered or unexported fields
}

SidecarResponse represents the Sidecar response format.

func (*SidecarResponse) Descriptor deprecated

func (*SidecarResponse) Descriptor() ([]byte, []int)

Deprecated: Use SidecarResponse.ProtoReflect.Descriptor instead.

func (*SidecarResponse) GetStatusMsg

func (x *SidecarResponse) GetStatusMsg() string

func (*SidecarResponse) ProtoMessage

func (*SidecarResponse) ProtoMessage()

func (*SidecarResponse) ProtoReflect

func (x *SidecarResponse) ProtoReflect() protoreflect.Message

func (*SidecarResponse) Reset

func (x *SidecarResponse) Reset()

func (*SidecarResponse) String

func (x *SidecarResponse) String() string

type SliceGwConnectionContext

type SliceGwConnectionContext struct {

	// Slice-Id
	SliceId string `protobuf:"bytes,1,opt,name=sliceId,proto3" json:"sliceId,omitempty"`
	// Local slice gateway ID
	LocalSliceGwId string `protobuf:"bytes,2,opt,name=localSliceGwId,proto3" json:"localSliceGwId,omitempty"`
	// Local slice gateway VPN IP
	LocalSliceGwVpnIP string `protobuf:"bytes,3,opt,name=localSliceGwVpnIP,proto3" json:"localSliceGwVpnIP,omitempty"`
	// Local slice gateway-host-type  -  client/server
	LocalSliceGwHostType SliceGwHostType `protobuf:"varint,4,opt,name=localSliceGwHostType,proto3,enum=sidecar.SliceGwHostType" json:"localSliceGwHostType,omitempty"`
	// Local slice gateway NSM Subnet
	LocalSliceGwNsmSubnet string `protobuf:"bytes,5,opt,name=localSliceGwNsmSubnet,proto3" json:"localSliceGwNsmSubnet,omitempty"`
	// Local slice gateway Node IP
	LocalSliceGwNodeIP string `protobuf:"bytes,6,opt,name=localSliceGwNodeIP,proto3" json:"localSliceGwNodeIP,omitempty"`
	// Local slice gateway Node Port
	LocalSliceGwNodePort string `protobuf:"bytes,7,opt,name=localSliceGwNodePort,proto3" json:"localSliceGwNodePort,omitempty"`
	// Remote slice gateway ID
	RemoteSliceGwId string `protobuf:"bytes,8,opt,name=remoteSliceGwId,proto3" json:"remoteSliceGwId,omitempty"`
	// Remote slice gateway VPN IP
	RemoteSliceGwVpnIP string `protobuf:"bytes,9,opt,name=remoteSliceGwVpnIP,proto3" json:"remoteSliceGwVpnIP,omitempty"`
	// Remote-slice gateway-host-type client or server
	RemoteSliceGwHostType SliceGwHostType `` /* 126-byte string literal not displayed */
	// Remote slice gateway NSM subnet
	RemoteSliceGwNsmSubnet string `protobuf:"bytes,11,opt,name=remoteSliceGwNsmSubnet,proto3" json:"remoteSliceGwNsmSubnet,omitempty"`
	// Remote slice gateway Node IP
	RemoteSliceGwNodeIP string `protobuf:"bytes,12,opt,name=remoteSliceGwNodeIP,proto3" json:"remoteSliceGwNodeIP,omitempty"`
	// Remote slice gateway Node Port
	RemoteSliceGwNodePort string `protobuf:"bytes,13,opt,name=remoteSliceGwNodePort,proto3" json:"remoteSliceGwNodePort,omitempty"`
	// contains filtered or unexported fields
}

SliceGwConnectionContext - Slice Gateway Connection Context.

func (*SliceGwConnectionContext) Descriptor deprecated

func (*SliceGwConnectionContext) Descriptor() ([]byte, []int)

Deprecated: Use SliceGwConnectionContext.ProtoReflect.Descriptor instead.

func (*SliceGwConnectionContext) GetLocalSliceGwHostType

func (x *SliceGwConnectionContext) GetLocalSliceGwHostType() SliceGwHostType

func (*SliceGwConnectionContext) GetLocalSliceGwId

func (x *SliceGwConnectionContext) GetLocalSliceGwId() string

func (*SliceGwConnectionContext) GetLocalSliceGwNodeIP

func (x *SliceGwConnectionContext) GetLocalSliceGwNodeIP() string

func (*SliceGwConnectionContext) GetLocalSliceGwNodePort

func (x *SliceGwConnectionContext) GetLocalSliceGwNodePort() string

func (*SliceGwConnectionContext) GetLocalSliceGwNsmSubnet

func (x *SliceGwConnectionContext) GetLocalSliceGwNsmSubnet() string

func (*SliceGwConnectionContext) GetLocalSliceGwVpnIP

func (x *SliceGwConnectionContext) GetLocalSliceGwVpnIP() string

func (*SliceGwConnectionContext) GetRemoteSliceGwHostType

func (x *SliceGwConnectionContext) GetRemoteSliceGwHostType() SliceGwHostType

func (*SliceGwConnectionContext) GetRemoteSliceGwId

func (x *SliceGwConnectionContext) GetRemoteSliceGwId() string

func (*SliceGwConnectionContext) GetRemoteSliceGwNodeIP

func (x *SliceGwConnectionContext) GetRemoteSliceGwNodeIP() string

func (*SliceGwConnectionContext) GetRemoteSliceGwNodePort

func (x *SliceGwConnectionContext) GetRemoteSliceGwNodePort() string

func (*SliceGwConnectionContext) GetRemoteSliceGwNsmSubnet

func (x *SliceGwConnectionContext) GetRemoteSliceGwNsmSubnet() string

func (*SliceGwConnectionContext) GetRemoteSliceGwVpnIP

func (x *SliceGwConnectionContext) GetRemoteSliceGwVpnIP() string

func (*SliceGwConnectionContext) GetSliceId

func (x *SliceGwConnectionContext) GetSliceId() string

func (*SliceGwConnectionContext) ProtoMessage

func (*SliceGwConnectionContext) ProtoMessage()

func (*SliceGwConnectionContext) ProtoReflect

func (x *SliceGwConnectionContext) ProtoReflect() protoreflect.Message

func (*SliceGwConnectionContext) Reset

func (x *SliceGwConnectionContext) Reset()

func (*SliceGwConnectionContext) String

func (x *SliceGwConnectionContext) String() string

type SliceGwHostType

type SliceGwHostType int32

slice gateway-host-type

const (
	SliceGwHostType_SLICE_GW_SERVER SliceGwHostType = 0
	SliceGwHostType_SLICE_GW_CLIENT SliceGwHostType = 1
)

func (SliceGwHostType) Descriptor

func (SliceGwHostType) Enum

func (x SliceGwHostType) Enum() *SliceGwHostType

func (SliceGwHostType) EnumDescriptor deprecated

func (SliceGwHostType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SliceGwHostType.Descriptor instead.

func (SliceGwHostType) Number

func (SliceGwHostType) String

func (x SliceGwHostType) String() string

func (SliceGwHostType) Type

type SliceQosProfile

type SliceQosProfile struct {

	// Name of the slice
	SliceName string `protobuf:"bytes,1,opt,name=sliceName,proto3" json:"sliceName,omitempty"`
	// Slice Identifier
	SliceId string `protobuf:"bytes,2,opt,name=sliceId,proto3" json:"sliceId,omitempty"`
	// Name of the QoS profile attached to the slice
	QosProfileName string `protobuf:"bytes,3,opt,name=qosProfileName,proto3" json:"qosProfileName,omitempty"`
	// TC type -  Bandwidth control
	TcType TcType `protobuf:"varint,4,opt,name=tcType,proto3,enum=sidecar.TcType" json:"tcType,omitempty"`
	// ClassType - HTB   ( HTB)
	ClassType ClassType `protobuf:"varint,5,opt,name=ClassType,proto3,enum=sidecar.ClassType" json:"ClassType,omitempty"`
	// Bandwidth Ceiling in Mbps  - 5 Mbps (100k - 100 Mbps)
	BwCeiling uint32 `protobuf:"varint,6,opt,name=bwCeiling,proto3" json:"bwCeiling,omitempty"`
	// Bandwidth Guaranteed -  1 Mbps ( 100k- 100 Mbps)
	BwGuaranteed uint32 `protobuf:"varint,7,opt,name=bwGuaranteed,proto3" json:"bwGuaranteed,omitempty"`
	// Priority - 2 (Number 0-3)
	Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"`
	// Dscp class to mark inter cluster traffic
	DscpClass string `protobuf:"bytes,9,opt,name=dscpClass,proto3" json:"dscpClass,omitempty"`
	// contains filtered or unexported fields
}

Slice QoS Profile

func (*SliceQosProfile) Descriptor deprecated

func (*SliceQosProfile) Descriptor() ([]byte, []int)

Deprecated: Use SliceQosProfile.ProtoReflect.Descriptor instead.

func (*SliceQosProfile) GetBwCeiling

func (x *SliceQosProfile) GetBwCeiling() uint32

func (*SliceQosProfile) GetBwGuaranteed

func (x *SliceQosProfile) GetBwGuaranteed() uint32

func (*SliceQosProfile) GetClassType

func (x *SliceQosProfile) GetClassType() ClassType

func (*SliceQosProfile) GetDscpClass

func (x *SliceQosProfile) GetDscpClass() string

func (*SliceQosProfile) GetPriority

func (x *SliceQosProfile) GetPriority() uint32

func (*SliceQosProfile) GetQosProfileName

func (x *SliceQosProfile) GetQosProfileName() string

func (*SliceQosProfile) GetSliceId

func (x *SliceQosProfile) GetSliceId() string

func (*SliceQosProfile) GetSliceName

func (x *SliceQosProfile) GetSliceName() string

func (*SliceQosProfile) GetTcType

func (x *SliceQosProfile) GetTcType() TcType

func (*SliceQosProfile) ProtoMessage

func (*SliceQosProfile) ProtoMessage()

func (*SliceQosProfile) ProtoReflect

func (x *SliceQosProfile) ProtoReflect() protoreflect.Message

func (*SliceQosProfile) Reset

func (x *SliceQosProfile) Reset()

func (*SliceQosProfile) String

func (x *SliceQosProfile) String() string

type TcInfo

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

tcInfo - the TC information

type TcType

type TcType int32

TcType represents Traffic Control Type.

const (
	TcType_BANDWIDTH_CONTROL TcType = 0
)

func (TcType) Descriptor

func (TcType) Descriptor() protoreflect.EnumDescriptor

func (TcType) Enum

func (x TcType) Enum() *TcType

func (TcType) EnumDescriptor deprecated

func (TcType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TcType.Descriptor instead.

func (TcType) Number

func (x TcType) Number() protoreflect.EnumNumber

func (TcType) String

func (x TcType) String() string

func (TcType) Type

func (TcType) Type() protoreflect.EnumType

type TunnelInterfaceStatus

type TunnelInterfaceStatus struct {

	// Net Interface
	NetInterface string `protobuf:"bytes,1,opt,name=netInterface,proto3" json:"netInterface,omitempty"`
	// Local IP
	LocalIP string `protobuf:"bytes,2,opt,name=localIP,proto3" json:"localIP,omitempty"`
	// Peer IP
	PeerIP string `protobuf:"bytes,3,opt,name=peerIP,proto3" json:"peerIP,omitempty"`
	// Latency
	Latency uint64 `protobuf:"varint,4,opt,name=latency,proto3" json:"latency,omitempty"`
	// Transmit Rate
	TxRate uint64 `protobuf:"varint,5,opt,name=txRate,proto3" json:"txRate,omitempty"`
	// Receive Rate
	RxRate uint64 `protobuf:"varint,6,opt,name=rxRate,proto3" json:"rxRate,omitempty"`
	//Packet loss
	PacketLoss uint64 `protobuf:"varint,7,opt,name=packetLoss,proto3" json:"packetLoss,omitempty"`
	//Status
	Status TunnelStatusType `protobuf:"varint,8,opt,name=status,proto3,enum=sidecar.TunnelStatusType" json:"status,omitempty"`
	// contains filtered or unexported fields
}

TunnelInterfaceStatus represents Tunnel Interface Status.

func (*TunnelInterfaceStatus) Descriptor deprecated

func (*TunnelInterfaceStatus) Descriptor() ([]byte, []int)

Deprecated: Use TunnelInterfaceStatus.ProtoReflect.Descriptor instead.

func (*TunnelInterfaceStatus) GetLatency

func (x *TunnelInterfaceStatus) GetLatency() uint64

func (*TunnelInterfaceStatus) GetLocalIP

func (x *TunnelInterfaceStatus) GetLocalIP() string

func (*TunnelInterfaceStatus) GetNetInterface

func (x *TunnelInterfaceStatus) GetNetInterface() string

func (*TunnelInterfaceStatus) GetPacketLoss added in v0.2.0

func (x *TunnelInterfaceStatus) GetPacketLoss() uint64

func (*TunnelInterfaceStatus) GetPeerIP

func (x *TunnelInterfaceStatus) GetPeerIP() string

func (*TunnelInterfaceStatus) GetRxRate

func (x *TunnelInterfaceStatus) GetRxRate() uint64

func (*TunnelInterfaceStatus) GetStatus added in v0.2.0

func (x *TunnelInterfaceStatus) GetStatus() TunnelStatusType

func (*TunnelInterfaceStatus) GetTxRate

func (x *TunnelInterfaceStatus) GetTxRate() uint64

func (*TunnelInterfaceStatus) ProtoMessage

func (*TunnelInterfaceStatus) ProtoMessage()

func (*TunnelInterfaceStatus) ProtoReflect

func (x *TunnelInterfaceStatus) ProtoReflect() protoreflect.Message

func (*TunnelInterfaceStatus) Reset

func (x *TunnelInterfaceStatus) Reset()

func (*TunnelInterfaceStatus) String

func (x *TunnelInterfaceStatus) String() string

type TunnelStatusType added in v0.2.0

type TunnelStatusType int32
const (
	TunnelStatusType_GW_TUNNEL_STATE_UP   TunnelStatusType = 0
	TunnelStatusType_GW_TUNNEL_STATE_DOWN TunnelStatusType = 1
)

func (TunnelStatusType) Descriptor added in v0.2.0

func (TunnelStatusType) Enum added in v0.2.0

func (TunnelStatusType) EnumDescriptor deprecated added in v0.2.0

func (TunnelStatusType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TunnelStatusType.Descriptor instead.

func (TunnelStatusType) Number added in v0.2.0

func (TunnelStatusType) String added in v0.2.0

func (x TunnelStatusType) String() string

func (TunnelStatusType) Type added in v0.2.0

type UnimplementedGwSidecarServiceServer

type UnimplementedGwSidecarServiceServer struct {
}

UnimplementedGwSidecarServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGwSidecarServiceServer) GetSliceGwRemotePodName added in v0.2.0

func (UnimplementedGwSidecarServiceServer) GetStatus

func (UnimplementedGwSidecarServiceServer) UpdateConnectionContext

func (UnimplementedGwSidecarServiceServer) UpdateSliceQosProfile

type UnsafeGwSidecarServiceServer

type UnsafeGwSidecarServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGwSidecarServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GwSidecarServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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