Documentation ¶
Overview ¶
Package api is a generated GoMock package.
Index ¶
- Variables
- func RegisterIntentControllerServer(s grpc.ServiceRegistrar, srv IntentControllerServer)
- type Intent
- type IntentControllerClient
- type IntentControllerServer
- type IntentController_GetIntentPathClient
- type IntentController_GetIntentPathServer
- type IntentType
- type MockIntentControllerClient
- type MockIntentControllerClientMockRecorder
- type MockIntentControllerServer
- type MockIntentControllerServerMockRecorder
- type MockIntentController_GetIntentPathClient
- func (m *MockIntentController_GetIntentPathClient) CloseSend() error
- func (m *MockIntentController_GetIntentPathClient) Context() context.Context
- func (m *MockIntentController_GetIntentPathClient) EXPECT() *MockIntentController_GetIntentPathClientMockRecorder
- func (m *MockIntentController_GetIntentPathClient) Header() (metadata.MD, error)
- func (m *MockIntentController_GetIntentPathClient) Recv() (*PathResult, error)
- func (m_2 *MockIntentController_GetIntentPathClient) RecvMsg(m any) error
- func (m *MockIntentController_GetIntentPathClient) Send(arg0 *PathRequest) error
- func (m_2 *MockIntentController_GetIntentPathClient) SendMsg(m any) error
- func (m *MockIntentController_GetIntentPathClient) Trailer() metadata.MD
- type MockIntentController_GetIntentPathClientMockRecorder
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) Context() *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) Header() *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) Recv() *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathClientMockRecorder) Trailer() *gomock.Call
- type MockIntentController_GetIntentPathServer
- func (m *MockIntentController_GetIntentPathServer) Context() context.Context
- func (m *MockIntentController_GetIntentPathServer) EXPECT() *MockIntentController_GetIntentPathServerMockRecorder
- func (m *MockIntentController_GetIntentPathServer) Recv() (*PathRequest, error)
- func (m_2 *MockIntentController_GetIntentPathServer) RecvMsg(m any) error
- func (m *MockIntentController_GetIntentPathServer) Send(arg0 *PathResult) error
- func (m *MockIntentController_GetIntentPathServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockIntentController_GetIntentPathServer) SendMsg(m any) error
- func (m *MockIntentController_GetIntentPathServer) SetHeader(arg0 metadata.MD) error
- func (m *MockIntentController_GetIntentPathServer) SetTrailer(arg0 metadata.MD)
- type MockIntentController_GetIntentPathServerMockRecorder
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) Context() *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) Recv() *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockIntentController_GetIntentPathServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockUnsafeIntentControllerServer
- type MockUnsafeIntentControllerServerMockRecorder
- type PathRequest
- func (*PathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PathRequest) GetIntents() []*Intent
- func (x *PathRequest) GetIpv6DestinationAddress() string
- func (x *PathRequest) GetIpv6SourceAddress() string
- func (*PathRequest) ProtoMessage()
- func (x *PathRequest) ProtoReflect() protoreflect.Message
- func (x *PathRequest) Reset()
- func (x *PathRequest) String() string
- type PathResult
- func (*PathResult) Descriptor() ([]byte, []int)deprecated
- func (x *PathResult) GetIntents() []*Intent
- func (x *PathResult) GetIpv6DestinationAddress() string
- func (x *PathResult) GetIpv6SidAddresses() []string
- func (x *PathResult) GetIpv6SourceAddress() string
- func (*PathResult) ProtoMessage()
- func (x *PathResult) ProtoReflect() protoreflect.Message
- func (x *PathResult) Reset()
- func (x *PathResult) String() string
- type UnimplementedIntentControllerServer
- type UnsafeIntentControllerServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetNumberValue() int32
- func (x *Value) GetStringValue() string
- func (x *Value) GetType() ValueType
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type ValueType
Constants ¶
This section is empty.
Variables ¶
var ( IntentType_name = map[int32]string{ 0: "INTENT_TYPE_UNSPECIFIED", 1: "INTENT_TYPE_HIGH_BANDWIDTH", 2: "INTENT_TYPE_LOW_BANDWIDTH", 3: "INTENT_TYPE_LOW_LATENCY", 4: "INTENT_TYPE_LOW_PACKET_LOSS", 5: "INTENT_TYPE_LOW_JITTER", 6: "INTENT_TYPE_FLEX_ALGO", 7: "INTENT_TYPE_SFC", 8: "INTENT_TYPE_LOW_UTILIZATION", } IntentType_value = map[string]int32{ "INTENT_TYPE_UNSPECIFIED": 0, "INTENT_TYPE_HIGH_BANDWIDTH": 1, "INTENT_TYPE_LOW_BANDWIDTH": 2, "INTENT_TYPE_LOW_LATENCY": 3, "INTENT_TYPE_LOW_PACKET_LOSS": 4, "INTENT_TYPE_LOW_JITTER": 5, "INTENT_TYPE_FLEX_ALGO": 6, "INTENT_TYPE_SFC": 7, "INTENT_TYPE_LOW_UTILIZATION": 8, } )
Enum value maps for IntentType.
var ( ValueType_name = map[int32]string{ 0: "VALUE_TYPE_UNSPECIFIED", 1: "VALUE_TYPE_MIN_VALUE", 2: "VALUE_TYPE_MAX_VALUE", 3: "VALUE_TYPE_SFC", 4: "VALUE_TYPE_FLEX_ALGO_NR", } ValueType_value = map[string]int32{ "VALUE_TYPE_UNSPECIFIED": 0, "VALUE_TYPE_MIN_VALUE": 1, "VALUE_TYPE_MAX_VALUE": 2, "VALUE_TYPE_SFC": 3, "VALUE_TYPE_FLEX_ALGO_NR": 4, } )
Enum value maps for ValueType.
var File_proto_intent_proto protoreflect.FileDescriptor
var IntentController_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.IntentController", HandlerType: (*IntentControllerServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetIntentPath", Handler: _IntentController_GetIntentPath_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/intent.proto", }
IntentController_ServiceDesc is the grpc.ServiceDesc for IntentController service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIntentControllerServer ¶
func RegisterIntentControllerServer(s grpc.ServiceRegistrar, srv IntentControllerServer)
Types ¶
type Intent ¶
type Intent struct { Type IntentType `protobuf:"varint,1,opt,name=type,proto3,enum=api.IntentType" json:"type,omitempty"` Values []*Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Intent) Descriptor
deprecated
func (*Intent) GetType ¶
func (x *Intent) GetType() IntentType
func (*Intent) ProtoMessage ¶
func (*Intent) ProtoMessage()
func (*Intent) ProtoReflect ¶
func (x *Intent) ProtoReflect() protoreflect.Message
type IntentControllerClient ¶
type IntentControllerClient interface {
GetIntentPath(ctx context.Context, opts ...grpc.CallOption) (IntentController_GetIntentPathClient, error)
}
IntentControllerClient is the client API for IntentController 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.
func NewIntentControllerClient ¶
func NewIntentControllerClient(cc grpc.ClientConnInterface) IntentControllerClient
type IntentControllerServer ¶
type IntentControllerServer interface { GetIntentPath(IntentController_GetIntentPathServer) error // contains filtered or unexported methods }
IntentControllerServer is the server API for IntentController service. All implementations must embed UnimplementedIntentControllerServer for forward compatibility
type IntentController_GetIntentPathClient ¶
type IntentController_GetIntentPathClient interface { Send(*PathRequest) error Recv() (*PathResult, error) grpc.ClientStream }
type IntentController_GetIntentPathServer ¶
type IntentController_GetIntentPathServer interface { Send(*PathResult) error Recv() (*PathRequest, error) grpc.ServerStream }
type IntentType ¶
type IntentType int32
const ( IntentType_INTENT_TYPE_UNSPECIFIED IntentType = 0 IntentType_INTENT_TYPE_HIGH_BANDWIDTH IntentType = 1 IntentType_INTENT_TYPE_LOW_BANDWIDTH IntentType = 2 IntentType_INTENT_TYPE_LOW_LATENCY IntentType = 3 IntentType_INTENT_TYPE_LOW_PACKET_LOSS IntentType = 4 IntentType_INTENT_TYPE_LOW_JITTER IntentType = 5 IntentType_INTENT_TYPE_FLEX_ALGO IntentType = 6 IntentType_INTENT_TYPE_SFC IntentType = 7 IntentType_INTENT_TYPE_LOW_UTILIZATION IntentType = 8 )
func (IntentType) Descriptor ¶
func (IntentType) Descriptor() protoreflect.EnumDescriptor
func (IntentType) Enum ¶
func (x IntentType) Enum() *IntentType
func (IntentType) EnumDescriptor
deprecated
func (IntentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntentType.Descriptor instead.
func (IntentType) Number ¶
func (x IntentType) Number() protoreflect.EnumNumber
func (IntentType) String ¶
func (x IntentType) String() string
func (IntentType) Type ¶
func (IntentType) Type() protoreflect.EnumType
type MockIntentControllerClient ¶
type MockIntentControllerClient struct {
// contains filtered or unexported fields
}
MockIntentControllerClient is a mock of IntentControllerClient interface.
func NewMockIntentControllerClient ¶
func NewMockIntentControllerClient(ctrl *gomock.Controller) *MockIntentControllerClient
NewMockIntentControllerClient creates a new mock instance.
func (*MockIntentControllerClient) EXPECT ¶
func (m *MockIntentControllerClient) EXPECT() *MockIntentControllerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIntentControllerClient) GetIntentPath ¶
func (m *MockIntentControllerClient) GetIntentPath(ctx context.Context, opts ...grpc.CallOption) (IntentController_GetIntentPathClient, error)
GetIntentPath mocks base method.
type MockIntentControllerClientMockRecorder ¶
type MockIntentControllerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIntentControllerClientMockRecorder is the mock recorder for MockIntentControllerClient.
func (*MockIntentControllerClientMockRecorder) GetIntentPath ¶
func (mr *MockIntentControllerClientMockRecorder) GetIntentPath(ctx any, opts ...any) *gomock.Call
GetIntentPath indicates an expected call of GetIntentPath.
type MockIntentControllerServer ¶
type MockIntentControllerServer struct {
// contains filtered or unexported fields
}
MockIntentControllerServer is a mock of IntentControllerServer interface.
func NewMockIntentControllerServer ¶
func NewMockIntentControllerServer(ctrl *gomock.Controller) *MockIntentControllerServer
NewMockIntentControllerServer creates a new mock instance.
func (*MockIntentControllerServer) EXPECT ¶
func (m *MockIntentControllerServer) EXPECT() *MockIntentControllerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIntentControllerServer) GetIntentPath ¶
func (m *MockIntentControllerServer) GetIntentPath(arg0 IntentController_GetIntentPathServer) error
GetIntentPath mocks base method.
type MockIntentControllerServerMockRecorder ¶
type MockIntentControllerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockIntentControllerServerMockRecorder is the mock recorder for MockIntentControllerServer.
func (*MockIntentControllerServerMockRecorder) GetIntentPath ¶
func (mr *MockIntentControllerServerMockRecorder) GetIntentPath(arg0 any) *gomock.Call
GetIntentPath indicates an expected call of GetIntentPath.
type MockIntentController_GetIntentPathClient ¶
type MockIntentController_GetIntentPathClient struct {
// contains filtered or unexported fields
}
MockIntentController_GetIntentPathClient is a mock of IntentController_GetIntentPathClient interface.
func NewMockIntentController_GetIntentPathClient ¶
func NewMockIntentController_GetIntentPathClient(ctrl *gomock.Controller) *MockIntentController_GetIntentPathClient
NewMockIntentController_GetIntentPathClient creates a new mock instance.
func (*MockIntentController_GetIntentPathClient) CloseSend ¶
func (m *MockIntentController_GetIntentPathClient) CloseSend() error
CloseSend mocks base method.
func (*MockIntentController_GetIntentPathClient) Context ¶
func (m *MockIntentController_GetIntentPathClient) Context() context.Context
Context mocks base method.
func (*MockIntentController_GetIntentPathClient) EXPECT ¶
func (m *MockIntentController_GetIntentPathClient) EXPECT() *MockIntentController_GetIntentPathClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIntentController_GetIntentPathClient) Header ¶
func (m *MockIntentController_GetIntentPathClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockIntentController_GetIntentPathClient) Recv ¶
func (m *MockIntentController_GetIntentPathClient) Recv() (*PathResult, error)
Recv mocks base method.
func (*MockIntentController_GetIntentPathClient) RecvMsg ¶
func (m_2 *MockIntentController_GetIntentPathClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockIntentController_GetIntentPathClient) Send ¶
func (m *MockIntentController_GetIntentPathClient) Send(arg0 *PathRequest) error
Send mocks base method.
func (*MockIntentController_GetIntentPathClient) SendMsg ¶
func (m_2 *MockIntentController_GetIntentPathClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockIntentController_GetIntentPathClient) Trailer ¶
func (m *MockIntentController_GetIntentPathClient) Trailer() metadata.MD
Trailer mocks base method.
type MockIntentController_GetIntentPathClientMockRecorder ¶
type MockIntentController_GetIntentPathClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIntentController_GetIntentPathClientMockRecorder is the mock recorder for MockIntentController_GetIntentPathClient.
func (*MockIntentController_GetIntentPathClientMockRecorder) CloseSend ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockIntentController_GetIntentPathClientMockRecorder) Context ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockIntentController_GetIntentPathClientMockRecorder) Header ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockIntentController_GetIntentPathClientMockRecorder) Recv ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockIntentController_GetIntentPathClientMockRecorder) RecvMsg ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockIntentController_GetIntentPathClientMockRecorder) Send ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockIntentController_GetIntentPathClientMockRecorder) SendMsg ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockIntentController_GetIntentPathClientMockRecorder) Trailer ¶
func (mr *MockIntentController_GetIntentPathClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockIntentController_GetIntentPathServer ¶
type MockIntentController_GetIntentPathServer struct {
// contains filtered or unexported fields
}
MockIntentController_GetIntentPathServer is a mock of IntentController_GetIntentPathServer interface.
func NewMockIntentController_GetIntentPathServer ¶
func NewMockIntentController_GetIntentPathServer(ctrl *gomock.Controller) *MockIntentController_GetIntentPathServer
NewMockIntentController_GetIntentPathServer creates a new mock instance.
func (*MockIntentController_GetIntentPathServer) Context ¶
func (m *MockIntentController_GetIntentPathServer) Context() context.Context
Context mocks base method.
func (*MockIntentController_GetIntentPathServer) EXPECT ¶
func (m *MockIntentController_GetIntentPathServer) EXPECT() *MockIntentController_GetIntentPathServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIntentController_GetIntentPathServer) Recv ¶
func (m *MockIntentController_GetIntentPathServer) Recv() (*PathRequest, error)
Recv mocks base method.
func (*MockIntentController_GetIntentPathServer) RecvMsg ¶
func (m_2 *MockIntentController_GetIntentPathServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockIntentController_GetIntentPathServer) Send ¶
func (m *MockIntentController_GetIntentPathServer) Send(arg0 *PathResult) error
Send mocks base method.
func (*MockIntentController_GetIntentPathServer) SendHeader ¶
func (m *MockIntentController_GetIntentPathServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockIntentController_GetIntentPathServer) SendMsg ¶
func (m_2 *MockIntentController_GetIntentPathServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockIntentController_GetIntentPathServer) SetHeader ¶
func (m *MockIntentController_GetIntentPathServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockIntentController_GetIntentPathServer) SetTrailer ¶
func (m *MockIntentController_GetIntentPathServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockIntentController_GetIntentPathServerMockRecorder ¶
type MockIntentController_GetIntentPathServerMockRecorder struct {
// contains filtered or unexported fields
}
MockIntentController_GetIntentPathServerMockRecorder is the mock recorder for MockIntentController_GetIntentPathServer.
func (*MockIntentController_GetIntentPathServerMockRecorder) Context ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockIntentController_GetIntentPathServerMockRecorder) Recv ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockIntentController_GetIntentPathServerMockRecorder) RecvMsg ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockIntentController_GetIntentPathServerMockRecorder) Send ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockIntentController_GetIntentPathServerMockRecorder) SendHeader ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockIntentController_GetIntentPathServerMockRecorder) SendMsg ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockIntentController_GetIntentPathServerMockRecorder) SetHeader ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockIntentController_GetIntentPathServerMockRecorder) SetTrailer ¶
func (mr *MockIntentController_GetIntentPathServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockUnsafeIntentControllerServer ¶
type MockUnsafeIntentControllerServer struct {
// contains filtered or unexported fields
}
MockUnsafeIntentControllerServer is a mock of UnsafeIntentControllerServer interface.
func NewMockUnsafeIntentControllerServer ¶
func NewMockUnsafeIntentControllerServer(ctrl *gomock.Controller) *MockUnsafeIntentControllerServer
NewMockUnsafeIntentControllerServer creates a new mock instance.
func (*MockUnsafeIntentControllerServer) EXPECT ¶
func (m *MockUnsafeIntentControllerServer) EXPECT() *MockUnsafeIntentControllerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeIntentControllerServerMockRecorder ¶
type MockUnsafeIntentControllerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeIntentControllerServerMockRecorder is the mock recorder for MockUnsafeIntentControllerServer.
type PathRequest ¶
type PathRequest struct { Ipv6SourceAddress string `protobuf:"bytes,1,opt,name=ipv6_source_address,json=ipv6SourceAddress,proto3" json:"ipv6_source_address,omitempty"` Ipv6DestinationAddress string `` /* 129-byte string literal not displayed */ Intents []*Intent `protobuf:"bytes,3,rep,name=intents,proto3" json:"intents,omitempty"` // contains filtered or unexported fields }
func (*PathRequest) Descriptor
deprecated
func (*PathRequest) Descriptor() ([]byte, []int)
Deprecated: Use PathRequest.ProtoReflect.Descriptor instead.
func (*PathRequest) GetIntents ¶
func (x *PathRequest) GetIntents() []*Intent
func (*PathRequest) GetIpv6DestinationAddress ¶
func (x *PathRequest) GetIpv6DestinationAddress() string
func (*PathRequest) GetIpv6SourceAddress ¶
func (x *PathRequest) GetIpv6SourceAddress() string
func (*PathRequest) ProtoMessage ¶
func (*PathRequest) ProtoMessage()
func (*PathRequest) ProtoReflect ¶
func (x *PathRequest) ProtoReflect() protoreflect.Message
func (*PathRequest) Reset ¶
func (x *PathRequest) Reset()
func (*PathRequest) String ¶
func (x *PathRequest) String() string
type PathResult ¶
type PathResult struct { Ipv6SourceAddress string `protobuf:"bytes,1,opt,name=ipv6_source_address,json=ipv6SourceAddress,proto3" json:"ipv6_source_address,omitempty"` Ipv6DestinationAddress string `` /* 129-byte string literal not displayed */ Intents []*Intent `protobuf:"bytes,3,rep,name=intents,proto3" json:"intents,omitempty"` Ipv6SidAddresses []string `protobuf:"bytes,4,rep,name=ipv6_sid_addresses,json=ipv6SidAddresses,proto3" json:"ipv6_sid_addresses,omitempty"` // contains filtered or unexported fields }
func (*PathResult) Descriptor
deprecated
func (*PathResult) Descriptor() ([]byte, []int)
Deprecated: Use PathResult.ProtoReflect.Descriptor instead.
func (*PathResult) GetIntents ¶
func (x *PathResult) GetIntents() []*Intent
func (*PathResult) GetIpv6DestinationAddress ¶
func (x *PathResult) GetIpv6DestinationAddress() string
func (*PathResult) GetIpv6SidAddresses ¶
func (x *PathResult) GetIpv6SidAddresses() []string
func (*PathResult) GetIpv6SourceAddress ¶
func (x *PathResult) GetIpv6SourceAddress() string
func (*PathResult) ProtoMessage ¶
func (*PathResult) ProtoMessage()
func (*PathResult) ProtoReflect ¶
func (x *PathResult) ProtoReflect() protoreflect.Message
func (*PathResult) Reset ¶
func (x *PathResult) Reset()
func (*PathResult) String ¶
func (x *PathResult) String() string
type UnimplementedIntentControllerServer ¶
type UnimplementedIntentControllerServer struct { }
UnimplementedIntentControllerServer must be embedded to have forward compatible implementations.
func (UnimplementedIntentControllerServer) GetIntentPath ¶
func (UnimplementedIntentControllerServer) GetIntentPath(IntentController_GetIntentPathServer) error
type UnsafeIntentControllerServer ¶
type UnsafeIntentControllerServer interface {
// contains filtered or unexported methods
}
UnsafeIntentControllerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntentControllerServer will result in compilation errors.
type Value ¶
type Value struct { Type ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=api.ValueType" json:"type,omitempty"` NumberValue *int32 `protobuf:"varint,2,opt,name=number_value,json=numberValue,proto3,oneof" json:"number_value,omitempty"` StringValue *string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) GetNumberValue ¶
func (*Value) GetStringValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type ValueType ¶
type ValueType int32
func (ValueType) Descriptor ¶
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶
func (ValueType) Type() protoreflect.EnumType