Documentation ¶
Overview ¶
Package cb_larva is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCloudAdaptiveNetworkServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCloudAdaptiveNetworkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterCloudAdaptiveNetworkServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCloudAdaptiveNetworkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterCloudAdaptiveNetworkServiceServer(s grpc.ServiceRegistrar, srv CloudAdaptiveNetworkServiceServer)
- func RegisterSystemManagementServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSystemManagementServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterSystemManagementServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSystemManagementServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterSystemManagementServiceServer(s grpc.ServiceRegistrar, srv SystemManagementServiceServer)
- type AvailableIPv4PrivateAddressSpaces
- func (*AvailableIPv4PrivateAddressSpaces) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace10S() []string
- func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace172S() []string
- func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace192S() []string
- func (x *AvailableIPv4PrivateAddressSpaces) GetRecommendedIpv4PrivateAddressSpace() string
- func (*AvailableIPv4PrivateAddressSpaces) ProtoMessage()
- func (x *AvailableIPv4PrivateAddressSpaces) ProtoReflect() protoreflect.Message
- func (x *AvailableIPv4PrivateAddressSpaces) Reset()
- func (x *AvailableIPv4PrivateAddressSpaces) String() string
- type CLADNetRequest
- type CLADNetSpecification
- func (*CLADNetSpecification) Descriptor() ([]byte, []int)deprecated
- func (x *CLADNetSpecification) GetCladnetId() string
- func (x *CLADNetSpecification) GetDescription() string
- func (x *CLADNetSpecification) GetIpv4AddressSpace() string
- func (x *CLADNetSpecification) GetName() string
- func (x *CLADNetSpecification) GetRuleType() string
- func (*CLADNetSpecification) ProtoMessage()
- func (x *CLADNetSpecification) ProtoReflect() protoreflect.Message
- func (x *CLADNetSpecification) Reset()
- func (x *CLADNetSpecification) String() string
- type CLADNetSpecifications
- func (*CLADNetSpecifications) Descriptor() ([]byte, []int)deprecated
- func (x *CLADNetSpecifications) GetCladnetSpecifications() []*CLADNetSpecification
- func (*CLADNetSpecifications) ProtoMessage()
- func (x *CLADNetSpecifications) ProtoReflect() protoreflect.Message
- func (x *CLADNetSpecifications) Reset()
- func (x *CLADNetSpecifications) String() string
- type CloudAdaptiveNetworkServiceClient
- type CloudAdaptiveNetworkServiceServer
- type CloudInformation
- func (*CloudInformation) Descriptor() ([]byte, []int)deprecated
- func (x *CloudInformation) GetAvailabilityZoneId() string
- func (x *CloudInformation) GetProviderName() string
- func (x *CloudInformation) GetRegionId() string
- func (x *CloudInformation) GetSubnetId() string
- func (x *CloudInformation) GetVirtualNetworkId() string
- func (*CloudInformation) ProtoMessage()
- func (x *CloudInformation) ProtoReflect() protoreflect.Message
- func (x *CloudInformation) Reset()
- func (x *CloudInformation) String() string
- type CommandType
- func (CommandType) Descriptor() protoreflect.EnumDescriptor
- func (x CommandType) Enum() *CommandType
- func (CommandType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandType) Number() protoreflect.EnumNumber
- func (x CommandType) String() string
- func (CommandType) Type() protoreflect.EnumType
- type ControlRequest
- func (*ControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControlRequest) GetCladnetId() string
- func (x *ControlRequest) GetCommandType() CommandType
- func (*ControlRequest) ProtoMessage()
- func (x *ControlRequest) ProtoReflect() protoreflect.Message
- func (x *ControlRequest) Reset()
- func (x *ControlRequest) String() string
- type ControlResponse
- func (*ControlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControlResponse) GetIsSucceeded() bool
- func (x *ControlResponse) GetMessage() string
- func (*ControlResponse) ProtoMessage()
- func (x *ControlResponse) ProtoReflect() protoreflect.Message
- func (x *ControlResponse) Reset()
- func (x *ControlResponse) String() string
- type DeletionResult
- func (*DeletionResult) Descriptor() ([]byte, []int)deprecated
- func (x *DeletionResult) GetCladnetSpecification() *CLADNetSpecification
- func (x *DeletionResult) GetIsSucceeded() bool
- func (x *DeletionResult) GetMessage() string
- func (*DeletionResult) ProtoMessage()
- func (x *DeletionResult) ProtoReflect() protoreflect.Message
- func (x *DeletionResult) Reset()
- func (x *DeletionResult) String() string
- type IPv4CIDRs
- type NetworkingRule
- func (*NetworkingRule) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkingRule) GetCladnetId() string
- func (x *NetworkingRule) GetHostId() []string
- func (x *NetworkingRule) GetHostName() []string
- func (x *NetworkingRule) GetPeerIp() []string
- func (x *NetworkingRule) GetPeerScope() []string
- func (x *NetworkingRule) GetSelectedIp() []string
- func (x *NetworkingRule) GetState() []string
- func (*NetworkingRule) ProtoMessage()
- func (x *NetworkingRule) ProtoReflect() protoreflect.Message
- func (x *NetworkingRule) Reset()
- func (x *NetworkingRule) String() string
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)deprecated
- func (x *Peer) GetCladnetId() string
- func (x *Peer) GetDetails() *CloudInformation
- func (x *Peer) GetHostId() string
- func (x *Peer) GetHostName() string
- func (x *Peer) GetHostPrivateIp() string
- func (x *Peer) GetHostPrivateIpv4Cidr() string
- func (x *Peer) GetHostPublicIp() string
- func (x *Peer) GetIp() string
- func (x *Peer) GetIpv4Cidr() string
- func (x *Peer) GetState() string
- func (*Peer) ProtoMessage()
- func (x *Peer) ProtoReflect() protoreflect.Message
- func (x *Peer) Reset()
- func (x *Peer) String() string
- type PeerRequest
- func (*PeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PeerRequest) GetCladnetId() string
- func (x *PeerRequest) GetHostId() string
- func (*PeerRequest) ProtoMessage()
- func (x *PeerRequest) ProtoReflect() protoreflect.Message
- func (x *PeerRequest) Reset()
- func (x *PeerRequest) String() string
- type Peers
- type SystemManagementServiceClient
- type SystemManagementServiceServer
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetCladnetId() string
- func (x *TestRequest) GetTestSpec() string
- func (x *TestRequest) GetTestType() TestType
- func (*TestRequest) ProtoMessage()
- func (x *TestRequest) ProtoReflect() protoreflect.Message
- func (x *TestRequest) Reset()
- func (x *TestRequest) String() string
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetIsSucceeded() bool
- func (x *TestResponse) GetMessage() string
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- type TestType
- type UnimplementedCloudAdaptiveNetworkServiceServer
- func (UnimplementedCloudAdaptiveNetworkServiceServer) CreateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) DeleteCLADNet(context.Context, *CLADNetRequest) (*DeletionResult, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNet(context.Context, *CLADNetRequest) (*CLADNetSpecification, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNetList(context.Context, *emptypb.Empty) (*CLADNetSpecifications, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeer(context.Context, *PeerRequest) (*Peer, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerList(context.Context, *PeerRequest) (*Peers, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerNetworkingRule(context.Context, *PeerRequest) (*NetworkingRule, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) RecommendAvailableIPv4PrivateAddressSpaces(context.Context, *IPv4CIDRs) (*AvailableIPv4PrivateAddressSpaces, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error)
- func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateDetailsOfPeer(context.Context, *UpdateDetailsRequest) (*Peer, error)
- type UnimplementedSystemManagementServiceServer
- func (UnimplementedSystemManagementServiceServer) ControlCloudAdaptiveNetwork(context.Context, *ControlRequest) (*ControlResponse, error)
- func (UnimplementedSystemManagementServiceServer) Health(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedSystemManagementServiceServer) TestCloudAdaptiveNetwork(context.Context, *TestRequest) (*TestResponse, error)
- type UnsafeCloudAdaptiveNetworkServiceServer
- type UnsafeSystemManagementServiceServer
- type UpdateDetailsRequest
- func (*UpdateDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDetailsRequest) GetCladnetId() string
- func (x *UpdateDetailsRequest) GetCloudInformation() *CloudInformation
- func (x *UpdateDetailsRequest) GetHostId() string
- func (*UpdateDetailsRequest) ProtoMessage()
- func (x *UpdateDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDetailsRequest) Reset()
- func (x *UpdateDetailsRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CommandType_name = map[int32]string{ 0: "UP", 1: "DOWN", 3: "ENABLE_ENCRYPTION", 4: "DISABLE_ENCRYPTION", } CommandType_value = map[string]int32{ "UP": 0, "DOWN": 1, "ENABLE_ENCRYPTION": 3, "DISABLE_ENCRYPTION": 4, } )
Enum value maps for CommandType.
var ( TestType_name = map[int32]string{ 0: "CONNECTIVITY", } TestType_value = map[string]int32{ "CONNECTIVITY": 0, } )
Enum value maps for TestType.
var CloudAdaptiveNetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cbnet.v1.CloudAdaptiveNetworkService", HandlerType: (*CloudAdaptiveNetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getCLADNet", Handler: _CloudAdaptiveNetworkService_GetCLADNet_Handler, }, { MethodName: "getCLADNetList", Handler: _CloudAdaptiveNetworkService_GetCLADNetList_Handler, }, { MethodName: "createCLADNet", Handler: _CloudAdaptiveNetworkService_CreateCLADNet_Handler, }, { MethodName: "deleteCLADNet", Handler: _CloudAdaptiveNetworkService_DeleteCLADNet_Handler, }, { MethodName: "updateCLADNet", Handler: _CloudAdaptiveNetworkService_UpdateCLADNet_Handler, }, { MethodName: "recommendAvailableIPv4PrivateAddressSpaces", Handler: _CloudAdaptiveNetworkService_RecommendAvailableIPv4PrivateAddressSpaces_Handler, }, { MethodName: "getPeer", Handler: _CloudAdaptiveNetworkService_GetPeer_Handler, }, { MethodName: "getPeerList", Handler: _CloudAdaptiveNetworkService_GetPeerList_Handler, }, { MethodName: "updateDetailsOfPeer", Handler: _CloudAdaptiveNetworkService_UpdateDetailsOfPeer_Handler, }, { MethodName: "getPeerNetworkingRule", Handler: _CloudAdaptiveNetworkService_GetPeerNetworkingRule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloud_barista_network.proto", }
CloudAdaptiveNetworkService_ServiceDesc is the grpc.ServiceDesc for CloudAdaptiveNetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cloud_barista_network_proto protoreflect.FileDescriptor
var SystemManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cbnet.v1.SystemManagementService", HandlerType: (*SystemManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "health", Handler: _SystemManagementService_Health_Handler, }, { MethodName: "controlCloudAdaptiveNetwork", Handler: _SystemManagementService_ControlCloudAdaptiveNetwork_Handler, }, { MethodName: "testCloudAdaptiveNetwork", Handler: _SystemManagementService_TestCloudAdaptiveNetwork_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloud_barista_network.proto", }
SystemManagementService_ServiceDesc is the grpc.ServiceDesc for SystemManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCloudAdaptiveNetworkServiceHandler ¶ added in v0.0.11
func RegisterCloudAdaptiveNetworkServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCloudAdaptiveNetworkServiceHandler registers the http handlers for service CloudAdaptiveNetworkService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCloudAdaptiveNetworkServiceHandlerClient ¶ added in v0.0.11
func RegisterCloudAdaptiveNetworkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CloudAdaptiveNetworkServiceClient) error
RegisterCloudAdaptiveNetworkServiceHandlerClient registers the http handlers for service CloudAdaptiveNetworkService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CloudAdaptiveNetworkServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CloudAdaptiveNetworkServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CloudAdaptiveNetworkServiceClient" to call the correct interceptors.
func RegisterCloudAdaptiveNetworkServiceHandlerFromEndpoint ¶ added in v0.0.11
func RegisterCloudAdaptiveNetworkServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCloudAdaptiveNetworkServiceHandlerFromEndpoint is same as RegisterCloudAdaptiveNetworkServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCloudAdaptiveNetworkServiceHandlerServer ¶ added in v0.0.11
func RegisterCloudAdaptiveNetworkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CloudAdaptiveNetworkServiceServer) error
RegisterCloudAdaptiveNetworkServiceHandlerServer registers the http handlers for service CloudAdaptiveNetworkService to "mux". UnaryRPC :call CloudAdaptiveNetworkServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCloudAdaptiveNetworkServiceHandlerFromEndpoint instead.
func RegisterCloudAdaptiveNetworkServiceServer ¶ added in v0.0.11
func RegisterCloudAdaptiveNetworkServiceServer(s grpc.ServiceRegistrar, srv CloudAdaptiveNetworkServiceServer)
func RegisterSystemManagementServiceHandler ¶ added in v0.0.11
func RegisterSystemManagementServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSystemManagementServiceHandler registers the http handlers for service SystemManagementService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSystemManagementServiceHandlerClient ¶ added in v0.0.11
func RegisterSystemManagementServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SystemManagementServiceClient) error
RegisterSystemManagementServiceHandlerClient registers the http handlers for service SystemManagementService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SystemManagementServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SystemManagementServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SystemManagementServiceClient" to call the correct interceptors.
func RegisterSystemManagementServiceHandlerFromEndpoint ¶ added in v0.0.11
func RegisterSystemManagementServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSystemManagementServiceHandlerFromEndpoint is same as RegisterSystemManagementServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSystemManagementServiceHandlerServer ¶ added in v0.0.11
func RegisterSystemManagementServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SystemManagementServiceServer) error
RegisterSystemManagementServiceHandlerServer registers the http handlers for service SystemManagementService to "mux". UnaryRPC :call SystemManagementServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSystemManagementServiceHandlerFromEndpoint instead.
func RegisterSystemManagementServiceServer ¶ added in v0.0.11
func RegisterSystemManagementServiceServer(s grpc.ServiceRegistrar, srv SystemManagementServiceServer)
Types ¶
type AvailableIPv4PrivateAddressSpaces ¶ added in v0.0.11
type AvailableIPv4PrivateAddressSpaces struct { RecommendedIpv4PrivateAddressSpace string `` // A recommended IPv4 address space /* 169-byte string literal not displayed */ AddressSpace10S []string `protobuf:"bytes,2,rep,name=address_space10s,json=addressSpace10s,proto3" json:"address_space10s,omitempty"` // All available Ipv4 address space in 10.0.0.0/8 AddressSpace172S []string `protobuf:"bytes,3,rep,name=address_space172s,json=addressSpace172s,proto3" json:"address_space172s,omitempty"` // All available Ipv4 address space in 172.16.0.0/12 AddressSpace192S []string `protobuf:"bytes,4,rep,name=address_space192s,json=addressSpace192s,proto3" json:"address_space192s,omitempty"` // All available Ipv4 address space in 192.168.0.0/16 // contains filtered or unexported fields }
* It represents available IPv4 private address spaces (also known as CIDR block, CIDR range, IP address range).
func (*AvailableIPv4PrivateAddressSpaces) Descriptor
deprecated
added in
v0.0.11
func (*AvailableIPv4PrivateAddressSpaces) Descriptor() ([]byte, []int)
Deprecated: Use AvailableIPv4PrivateAddressSpaces.ProtoReflect.Descriptor instead.
func (*AvailableIPv4PrivateAddressSpaces) GetAddressSpace10S ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace10S() []string
func (*AvailableIPv4PrivateAddressSpaces) GetAddressSpace172S ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace172S() []string
func (*AvailableIPv4PrivateAddressSpaces) GetAddressSpace192S ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) GetAddressSpace192S() []string
func (*AvailableIPv4PrivateAddressSpaces) GetRecommendedIpv4PrivateAddressSpace ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) GetRecommendedIpv4PrivateAddressSpace() string
func (*AvailableIPv4PrivateAddressSpaces) ProtoMessage ¶ added in v0.0.11
func (*AvailableIPv4PrivateAddressSpaces) ProtoMessage()
func (*AvailableIPv4PrivateAddressSpaces) ProtoReflect ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) ProtoReflect() protoreflect.Message
func (*AvailableIPv4PrivateAddressSpaces) Reset ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) Reset()
func (*AvailableIPv4PrivateAddressSpaces) String ¶ added in v0.0.11
func (x *AvailableIPv4PrivateAddressSpaces) String() string
type CLADNetRequest ¶ added in v0.0.14
type CLADNetRequest struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` // contains filtered or unexported fields }
* It represents a request of Cloud Adaptive Network.
func (*CLADNetRequest) Descriptor
deprecated
added in
v0.0.14
func (*CLADNetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CLADNetRequest.ProtoReflect.Descriptor instead.
func (*CLADNetRequest) GetCladnetId ¶ added in v0.0.14
func (x *CLADNetRequest) GetCladnetId() string
func (*CLADNetRequest) ProtoMessage ¶ added in v0.0.14
func (*CLADNetRequest) ProtoMessage()
func (*CLADNetRequest) ProtoReflect ¶ added in v0.0.14
func (x *CLADNetRequest) ProtoReflect() protoreflect.Message
func (*CLADNetRequest) Reset ¶ added in v0.0.14
func (x *CLADNetRequest) Reset()
func (*CLADNetRequest) String ¶ added in v0.0.14
func (x *CLADNetRequest) String() string
type CLADNetSpecification ¶
type CLADNetSpecification struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` // ID of Cloud Adaptive Network Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of Cloud Adaptive Network Ipv4AddressSpace string `protobuf:"bytes,3,opt,name=ipv4_address_space,json=ipv4AddressSpace,proto3" json:"ipv4_address_space,omitempty"` // IPv4 address space (e.g., 192.168.0.0/24) of Cloud Adaptive Network Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Description of Cloud Adaptive Network RuleType string `protobuf:"bytes,5,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"` // Rule type of Cloud Adaptive Network (e.g, basic, cost-prioritized) // contains filtered or unexported fields }
* It represents a specification of Cloud Adaptive Network.
func (*CLADNetSpecification) Descriptor
deprecated
func (*CLADNetSpecification) Descriptor() ([]byte, []int)
Deprecated: Use CLADNetSpecification.ProtoReflect.Descriptor instead.
func (*CLADNetSpecification) GetCladnetId ¶ added in v0.0.14
func (x *CLADNetSpecification) GetCladnetId() string
func (*CLADNetSpecification) GetDescription ¶
func (x *CLADNetSpecification) GetDescription() string
func (*CLADNetSpecification) GetIpv4AddressSpace ¶
func (x *CLADNetSpecification) GetIpv4AddressSpace() string
func (*CLADNetSpecification) GetName ¶
func (x *CLADNetSpecification) GetName() string
func (*CLADNetSpecification) GetRuleType ¶ added in v0.0.14
func (x *CLADNetSpecification) GetRuleType() string
func (*CLADNetSpecification) ProtoMessage ¶
func (*CLADNetSpecification) ProtoMessage()
func (*CLADNetSpecification) ProtoReflect ¶
func (x *CLADNetSpecification) ProtoReflect() protoreflect.Message
func (*CLADNetSpecification) Reset ¶
func (x *CLADNetSpecification) Reset()
func (*CLADNetSpecification) String ¶
func (x *CLADNetSpecification) String() string
type CLADNetSpecifications ¶ added in v0.0.11
type CLADNetSpecifications struct { CladnetSpecifications []*CLADNetSpecification `protobuf:"bytes,1,rep,name=cladnet_specifications,json=cladnetSpecifications,proto3" json:"cladnet_specifications,omitempty"` // A list of Cloud Adaptive Network specification // contains filtered or unexported fields }
* It represents a list of Cloud Adaptive Network specifications.
func (*CLADNetSpecifications) Descriptor
deprecated
added in
v0.0.11
func (*CLADNetSpecifications) Descriptor() ([]byte, []int)
Deprecated: Use CLADNetSpecifications.ProtoReflect.Descriptor instead.
func (*CLADNetSpecifications) GetCladnetSpecifications ¶ added in v0.0.11
func (x *CLADNetSpecifications) GetCladnetSpecifications() []*CLADNetSpecification
func (*CLADNetSpecifications) ProtoMessage ¶ added in v0.0.11
func (*CLADNetSpecifications) ProtoMessage()
func (*CLADNetSpecifications) ProtoReflect ¶ added in v0.0.11
func (x *CLADNetSpecifications) ProtoReflect() protoreflect.Message
func (*CLADNetSpecifications) Reset ¶ added in v0.0.11
func (x *CLADNetSpecifications) Reset()
func (*CLADNetSpecifications) String ¶ added in v0.0.11
func (x *CLADNetSpecifications) String() string
type CloudAdaptiveNetworkServiceClient ¶ added in v0.0.11
type CloudAdaptiveNetworkServiceClient interface { // Get a Cloud Adaptive Network specification GetCLADNet(ctx context.Context, in *CLADNetRequest, opts ...grpc.CallOption) (*CLADNetSpecification, error) // Get a list of Cloud Adaptive Network specifications GetCLADNetList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CLADNetSpecifications, error) // Create a new Cloud Adaptive Network CreateCLADNet(ctx context.Context, in *CLADNetSpecification, opts ...grpc.CallOption) (*CLADNetSpecification, error) // [To be provided] Delete a Cloud Adaptive Network DeleteCLADNet(ctx context.Context, in *CLADNetRequest, opts ...grpc.CallOption) (*DeletionResult, error) // Update a Cloud Adaptive Network UpdateCLADNet(ctx context.Context, in *CLADNetSpecification, opts ...grpc.CallOption) (*CLADNetSpecification, error) // Recommend available IPv4 private address spaces for Cloud Adaptive Network RecommendAvailableIPv4PrivateAddressSpaces(ctx context.Context, in *IPv4CIDRs, opts ...grpc.CallOption) (*AvailableIPv4PrivateAddressSpaces, error) // Get a peer in a Cloud Adaptive Network GetPeer(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*Peer, error) // Get a list of peers in a Cloud Adaptive Network GetPeerList(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*Peers, error) // Update a peer's details UpdateDetailsOfPeer(ctx context.Context, in *UpdateDetailsRequest, opts ...grpc.CallOption) (*Peer, error) // Get a networking rule of a peer GetPeerNetworkingRule(ctx context.Context, in *PeerRequest, opts ...grpc.CallOption) (*NetworkingRule, error) }
CloudAdaptiveNetworkServiceClient is the client API for CloudAdaptiveNetworkService 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 NewCloudAdaptiveNetworkServiceClient ¶ added in v0.0.11
func NewCloudAdaptiveNetworkServiceClient(cc grpc.ClientConnInterface) CloudAdaptiveNetworkServiceClient
type CloudAdaptiveNetworkServiceServer ¶ added in v0.0.11
type CloudAdaptiveNetworkServiceServer interface { // Get a Cloud Adaptive Network specification GetCLADNet(context.Context, *CLADNetRequest) (*CLADNetSpecification, error) // Get a list of Cloud Adaptive Network specifications GetCLADNetList(context.Context, *emptypb.Empty) (*CLADNetSpecifications, error) // Create a new Cloud Adaptive Network CreateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error) // [To be provided] Delete a Cloud Adaptive Network DeleteCLADNet(context.Context, *CLADNetRequest) (*DeletionResult, error) // Update a Cloud Adaptive Network UpdateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error) // Recommend available IPv4 private address spaces for Cloud Adaptive Network RecommendAvailableIPv4PrivateAddressSpaces(context.Context, *IPv4CIDRs) (*AvailableIPv4PrivateAddressSpaces, error) // Get a peer in a Cloud Adaptive Network GetPeer(context.Context, *PeerRequest) (*Peer, error) // Get a list of peers in a Cloud Adaptive Network GetPeerList(context.Context, *PeerRequest) (*Peers, error) // Update a peer's details UpdateDetailsOfPeer(context.Context, *UpdateDetailsRequest) (*Peer, error) // Get a networking rule of a peer GetPeerNetworkingRule(context.Context, *PeerRequest) (*NetworkingRule, error) // contains filtered or unexported methods }
CloudAdaptiveNetworkServiceServer is the server API for CloudAdaptiveNetworkService service. All implementations must embed UnimplementedCloudAdaptiveNetworkServiceServer for forward compatibility
type CloudInformation ¶ added in v0.0.14
type CloudInformation struct { ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` AvailabilityZoneId string `protobuf:"bytes,3,opt,name=availability_zone_id,json=availabilityZoneId,proto3" json:"availability_zone_id,omitempty"` VirtualNetworkId string `protobuf:"bytes,4,opt,name=virtual_network_id,json=virtualNetworkId,proto3" json:"virtual_network_id,omitempty"` SubnetId string `protobuf:"bytes,5,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // contains filtered or unexported fields }
* It represents cloud information for a peer as details.
func (*CloudInformation) Descriptor
deprecated
added in
v0.0.14
func (*CloudInformation) Descriptor() ([]byte, []int)
Deprecated: Use CloudInformation.ProtoReflect.Descriptor instead.
func (*CloudInformation) GetAvailabilityZoneId ¶ added in v0.0.14
func (x *CloudInformation) GetAvailabilityZoneId() string
func (*CloudInformation) GetProviderName ¶ added in v0.0.14
func (x *CloudInformation) GetProviderName() string
func (*CloudInformation) GetRegionId ¶ added in v0.0.14
func (x *CloudInformation) GetRegionId() string
func (*CloudInformation) GetSubnetId ¶ added in v0.0.14
func (x *CloudInformation) GetSubnetId() string
func (*CloudInformation) GetVirtualNetworkId ¶ added in v0.0.14
func (x *CloudInformation) GetVirtualNetworkId() string
func (*CloudInformation) ProtoMessage ¶ added in v0.0.14
func (*CloudInformation) ProtoMessage()
func (*CloudInformation) ProtoReflect ¶ added in v0.0.14
func (x *CloudInformation) ProtoReflect() protoreflect.Message
func (*CloudInformation) Reset ¶ added in v0.0.14
func (x *CloudInformation) Reset()
func (*CloudInformation) String ¶ added in v0.0.14
func (x *CloudInformation) String() string
type CommandType ¶ added in v0.0.12
type CommandType int32
* It represents an enumerator for commands to the control cb-network system.
const ( CommandType_UP CommandType = 0 CommandType_DOWN CommandType = 1 CommandType_ENABLE_ENCRYPTION CommandType = 3 CommandType_DISABLE_ENCRYPTION CommandType = 4 )
func (CommandType) Descriptor ¶ added in v0.0.12
func (CommandType) Descriptor() protoreflect.EnumDescriptor
func (CommandType) Enum ¶ added in v0.0.12
func (x CommandType) Enum() *CommandType
func (CommandType) EnumDescriptor
deprecated
added in
v0.0.12
func (CommandType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandType.Descriptor instead.
func (CommandType) Number ¶ added in v0.0.12
func (x CommandType) Number() protoreflect.EnumNumber
func (CommandType) String ¶ added in v0.0.12
func (x CommandType) String() string
func (CommandType) Type ¶ added in v0.0.12
func (CommandType) Type() protoreflect.EnumType
type ControlRequest ¶ added in v0.0.12
type ControlRequest struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` CommandType CommandType `protobuf:"varint,2,opt,name=command_type,json=commandType,proto3,enum=cbnet.v1.CommandType" json:"command_type,omitempty"` // contains filtered or unexported fields }
* It represents a command to control the cb-network system.
func (*ControlRequest) Descriptor
deprecated
added in
v0.0.12
func (*ControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControlRequest.ProtoReflect.Descriptor instead.
func (*ControlRequest) GetCladnetId ¶ added in v0.0.12
func (x *ControlRequest) GetCladnetId() string
func (*ControlRequest) GetCommandType ¶ added in v0.0.12
func (x *ControlRequest) GetCommandType() CommandType
func (*ControlRequest) ProtoMessage ¶ added in v0.0.12
func (*ControlRequest) ProtoMessage()
func (*ControlRequest) ProtoReflect ¶ added in v0.0.12
func (x *ControlRequest) ProtoReflect() protoreflect.Message
func (*ControlRequest) Reset ¶ added in v0.0.12
func (x *ControlRequest) Reset()
func (*ControlRequest) String ¶ added in v0.0.12
func (x *ControlRequest) String() string
type ControlResponse ¶ added in v0.0.12
type ControlResponse struct { IsSucceeded bool `protobuf:"varint,1,opt,name=is_succeeded,json=isSucceeded,proto3" json:"is_succeeded,omitempty"` // Success or failure Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Message // contains filtered or unexported fields }
* It represents a result of the command to control the cb-network system.
func (*ControlResponse) Descriptor
deprecated
added in
v0.0.12
func (*ControlResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControlResponse.ProtoReflect.Descriptor instead.
func (*ControlResponse) GetIsSucceeded ¶ added in v0.0.12
func (x *ControlResponse) GetIsSucceeded() bool
func (*ControlResponse) GetMessage ¶ added in v0.0.12
func (x *ControlResponse) GetMessage() string
func (*ControlResponse) ProtoMessage ¶ added in v0.0.12
func (*ControlResponse) ProtoMessage()
func (*ControlResponse) ProtoReflect ¶ added in v0.0.12
func (x *ControlResponse) ProtoReflect() protoreflect.Message
func (*ControlResponse) Reset ¶ added in v0.0.12
func (x *ControlResponse) Reset()
func (*ControlResponse) String ¶ added in v0.0.12
func (x *ControlResponse) String() string
type DeletionResult ¶ added in v0.0.11
type DeletionResult struct { IsSucceeded bool `protobuf:"varint,1,opt,name=is_succeeded,json=isSucceeded,proto3" json:"is_succeeded,omitempty"` // Success or failure Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Message CladnetSpecification *CLADNetSpecification `protobuf:"bytes,3,opt,name=cladnet_specification,json=cladnetSpecification,proto3" json:"cladnet_specification,omitempty"` // A specification of the target Cloud Adaptive Network // contains filtered or unexported fields }
* It represents a result of attempt to delete a Cloud Adaptive Network.
func (*DeletionResult) Descriptor
deprecated
added in
v0.0.11
func (*DeletionResult) Descriptor() ([]byte, []int)
Deprecated: Use DeletionResult.ProtoReflect.Descriptor instead.
func (*DeletionResult) GetCladnetSpecification ¶ added in v0.0.11
func (x *DeletionResult) GetCladnetSpecification() *CLADNetSpecification
func (*DeletionResult) GetIsSucceeded ¶ added in v0.0.11
func (x *DeletionResult) GetIsSucceeded() bool
func (*DeletionResult) GetMessage ¶ added in v0.0.11
func (x *DeletionResult) GetMessage() string
func (*DeletionResult) ProtoMessage ¶ added in v0.0.11
func (*DeletionResult) ProtoMessage()
func (*DeletionResult) ProtoReflect ¶ added in v0.0.11
func (x *DeletionResult) ProtoReflect() protoreflect.Message
func (*DeletionResult) Reset ¶ added in v0.0.11
func (x *DeletionResult) Reset()
func (*DeletionResult) String ¶ added in v0.0.11
func (x *DeletionResult) String() string
type IPv4CIDRs ¶ added in v0.0.14
type IPv4CIDRs struct { Ipv4Cidrs []string `protobuf:"bytes,1,rep,name=ipv4_cidrs,json=ipv4Cidrs,proto3" json:"ipv4_cidrs,omitempty"` // contains filtered or unexported fields }
* It represents a list of IP networks (e.g., 10.10.5.2/16).
func (*IPv4CIDRs) Descriptor
deprecated
added in
v0.0.14
func (*IPv4CIDRs) GetIpv4Cidrs ¶ added in v0.0.14
func (*IPv4CIDRs) ProtoMessage ¶ added in v0.0.14
func (*IPv4CIDRs) ProtoMessage()
func (*IPv4CIDRs) ProtoReflect ¶ added in v0.0.14
func (x *IPv4CIDRs) ProtoReflect() protoreflect.Message
type NetworkingRule ¶ added in v0.0.14
type NetworkingRule struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` HostId []string `protobuf:"bytes,2,rep,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` HostName []string `protobuf:"bytes,3,rep,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` PeerIp []string `protobuf:"bytes,4,rep,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` SelectedIp []string `protobuf:"bytes,5,rep,name=selected_ip,json=selectedIp,proto3" json:"selected_ip,omitempty"` PeerScope []string `protobuf:"bytes,6,rep,name=peer_scope,json=peerScope,proto3" json:"peer_scope,omitempty"` State []string `protobuf:"bytes,7,rep,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
* It represents a networking rule.
func (*NetworkingRule) Descriptor
deprecated
added in
v0.0.14
func (*NetworkingRule) Descriptor() ([]byte, []int)
Deprecated: Use NetworkingRule.ProtoReflect.Descriptor instead.
func (*NetworkingRule) GetCladnetId ¶ added in v0.0.14
func (x *NetworkingRule) GetCladnetId() string
func (*NetworkingRule) GetHostId ¶ added in v0.0.14
func (x *NetworkingRule) GetHostId() []string
func (*NetworkingRule) GetHostName ¶ added in v0.0.14
func (x *NetworkingRule) GetHostName() []string
func (*NetworkingRule) GetPeerIp ¶ added in v0.0.14
func (x *NetworkingRule) GetPeerIp() []string
func (*NetworkingRule) GetPeerScope ¶ added in v0.0.14
func (x *NetworkingRule) GetPeerScope() []string
func (*NetworkingRule) GetSelectedIp ¶ added in v0.0.14
func (x *NetworkingRule) GetSelectedIp() []string
func (*NetworkingRule) GetState ¶ added in v0.0.14
func (x *NetworkingRule) GetState() []string
func (*NetworkingRule) ProtoMessage ¶ added in v0.0.14
func (*NetworkingRule) ProtoMessage()
func (*NetworkingRule) ProtoReflect ¶ added in v0.0.14
func (x *NetworkingRule) ProtoReflect() protoreflect.Message
func (*NetworkingRule) Reset ¶ added in v0.0.14
func (x *NetworkingRule) Reset()
func (*NetworkingRule) String ¶ added in v0.0.14
func (x *NetworkingRule) String() string
type Peer ¶ added in v0.0.14
type Peer struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` HostName string `protobuf:"bytes,3,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` HostPrivateIpv4Cidr string `protobuf:"bytes,4,opt,name=host_private_ipv4_cidr,json=hostPrivateIpv4Cidr,proto3" json:"host_private_ipv4_cidr,omitempty"` HostPrivateIp string `protobuf:"bytes,5,opt,name=host_private_ip,json=hostPrivateIp,proto3" json:"host_private_ip,omitempty"` HostPublicIp string `protobuf:"bytes,6,opt,name=host_public_ip,json=hostPublicIp,proto3" json:"host_public_ip,omitempty"` Ipv4Cidr string `protobuf:"bytes,7,opt,name=ipv4_cidr,json=ipv4Cidr,proto3" json:"ipv4_cidr,omitempty"` Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"` Details *CloudInformation `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
* It represents a peer in a Cloud Adaptive Network.
func (*Peer) Descriptor
deprecated
added in
v0.0.14
func (*Peer) GetCladnetId ¶ added in v0.0.14
func (*Peer) GetDetails ¶ added in v0.0.14
func (x *Peer) GetDetails() *CloudInformation
func (*Peer) GetHostName ¶ added in v0.0.14
func (*Peer) GetHostPrivateIp ¶ added in v0.0.14
func (*Peer) GetHostPrivateIpv4Cidr ¶ added in v0.0.14
func (*Peer) GetHostPublicIp ¶ added in v0.0.14
func (*Peer) GetIpv4Cidr ¶ added in v0.0.14
func (*Peer) ProtoMessage ¶ added in v0.0.14
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶ added in v0.0.14
func (x *Peer) ProtoReflect() protoreflect.Message
type PeerRequest ¶ added in v0.0.14
type PeerRequest struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` // contains filtered or unexported fields }
* It represents a request of peer.
func (*PeerRequest) Descriptor
deprecated
added in
v0.0.14
func (*PeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use PeerRequest.ProtoReflect.Descriptor instead.
func (*PeerRequest) GetCladnetId ¶ added in v0.0.14
func (x *PeerRequest) GetCladnetId() string
func (*PeerRequest) GetHostId ¶ added in v0.0.14
func (x *PeerRequest) GetHostId() string
func (*PeerRequest) ProtoMessage ¶ added in v0.0.14
func (*PeerRequest) ProtoMessage()
func (*PeerRequest) ProtoReflect ¶ added in v0.0.14
func (x *PeerRequest) ProtoReflect() protoreflect.Message
func (*PeerRequest) Reset ¶ added in v0.0.14
func (x *PeerRequest) Reset()
func (*PeerRequest) String ¶ added in v0.0.14
func (x *PeerRequest) String() string
type Peers ¶ added in v0.0.14
type Peers struct { Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // A list of peers // contains filtered or unexported fields }
* It represents a list of peers.
func (*Peers) Descriptor
deprecated
added in
v0.0.14
func (*Peers) ProtoMessage ¶ added in v0.0.14
func (*Peers) ProtoMessage()
func (*Peers) ProtoReflect ¶ added in v0.0.14
func (x *Peers) ProtoReflect() protoreflect.Message
type SystemManagementServiceClient ¶ added in v0.0.11
type SystemManagementServiceClient interface { // Checks service health Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) // Controls a Cloud Adaptive Network from the remote ControlCloudAdaptiveNetwork(ctx context.Context, in *ControlRequest, opts ...grpc.CallOption) (*ControlResponse, error) // Tests a Cloud Adaptvie Network TestCloudAdaptiveNetwork(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) }
SystemManagementServiceClient is the client API for SystemManagementService 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 NewSystemManagementServiceClient ¶ added in v0.0.11
func NewSystemManagementServiceClient(cc grpc.ClientConnInterface) SystemManagementServiceClient
type SystemManagementServiceServer ¶ added in v0.0.11
type SystemManagementServiceServer interface { // Checks service health Health(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) // Controls a Cloud Adaptive Network from the remote ControlCloudAdaptiveNetwork(context.Context, *ControlRequest) (*ControlResponse, error) // Tests a Cloud Adaptvie Network TestCloudAdaptiveNetwork(context.Context, *TestRequest) (*TestResponse, error) // contains filtered or unexported methods }
SystemManagementServiceServer is the server API for SystemManagementService service. All implementations must embed UnimplementedSystemManagementServiceServer for forward compatibility
type TestRequest ¶ added in v0.0.12
type TestRequest struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` TestType TestType `protobuf:"varint,2,opt,name=test_type,json=testType,proto3,enum=cbnet.v1.TestType" json:"test_type,omitempty"` TestSpec string `protobuf:"bytes,3,opt,name=test_spec,json=testSpec,proto3" json:"test_spec,omitempty"` // contains filtered or unexported fields }
* It represents a result of the command to control the cb-network system.
func (*TestRequest) Descriptor
deprecated
added in
v0.0.12
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetCladnetId ¶ added in v0.0.12
func (x *TestRequest) GetCladnetId() string
func (*TestRequest) GetTestSpec ¶ added in v0.0.12
func (x *TestRequest) GetTestSpec() string
func (*TestRequest) GetTestType ¶ added in v0.0.12
func (x *TestRequest) GetTestType() TestType
func (*TestRequest) ProtoMessage ¶ added in v0.0.12
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶ added in v0.0.12
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶ added in v0.0.12
func (x *TestRequest) Reset()
func (*TestRequest) String ¶ added in v0.0.12
func (x *TestRequest) String() string
type TestResponse ¶ added in v0.0.12
type TestResponse struct { IsSucceeded bool `protobuf:"varint,1,opt,name=is_succeeded,json=isSucceeded,proto3" json:"is_succeeded,omitempty"` // Success or failure Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Message // contains filtered or unexported fields }
* It represents a result of the command to control the cb-network system.
func (*TestResponse) Descriptor
deprecated
added in
v0.0.12
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetIsSucceeded ¶ added in v0.0.12
func (x *TestResponse) GetIsSucceeded() bool
func (*TestResponse) GetMessage ¶ added in v0.0.12
func (x *TestResponse) GetMessage() string
func (*TestResponse) ProtoMessage ¶ added in v0.0.12
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶ added in v0.0.12
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶ added in v0.0.12
func (x *TestResponse) Reset()
func (*TestResponse) String ¶ added in v0.0.12
func (x *TestResponse) String() string
type TestType ¶ added in v0.0.12
type TestType int32
const (
TestType_CONNECTIVITY TestType = 0
)
func (TestType) Descriptor ¶ added in v0.0.12
func (TestType) Descriptor() protoreflect.EnumDescriptor
func (TestType) EnumDescriptor
deprecated
added in
v0.0.12
func (TestType) Number ¶ added in v0.0.12
func (x TestType) Number() protoreflect.EnumNumber
func (TestType) Type ¶ added in v0.0.12
func (TestType) Type() protoreflect.EnumType
type UnimplementedCloudAdaptiveNetworkServiceServer ¶ added in v0.0.11
type UnimplementedCloudAdaptiveNetworkServiceServer struct { }
UnimplementedCloudAdaptiveNetworkServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCloudAdaptiveNetworkServiceServer) CreateCLADNet ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) CreateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) DeleteCLADNet ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) DeleteCLADNet(context.Context, *CLADNetRequest) (*DeletionResult, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNet ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNet(context.Context, *CLADNetRequest) (*CLADNetSpecification, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNetList ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetCLADNetList(context.Context, *emptypb.Empty) (*CLADNetSpecifications, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeer ¶ added in v0.0.14
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeer(context.Context, *PeerRequest) (*Peer, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerList ¶ added in v0.0.14
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerList(context.Context, *PeerRequest) (*Peers, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerNetworkingRule ¶ added in v0.0.14
func (UnimplementedCloudAdaptiveNetworkServiceServer) GetPeerNetworkingRule(context.Context, *PeerRequest) (*NetworkingRule, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) RecommendAvailableIPv4PrivateAddressSpaces ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) RecommendAvailableIPv4PrivateAddressSpaces(context.Context, *IPv4CIDRs) (*AvailableIPv4PrivateAddressSpaces, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateCLADNet ¶ added in v0.0.11
func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateCLADNet(context.Context, *CLADNetSpecification) (*CLADNetSpecification, error)
func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateDetailsOfPeer ¶ added in v0.0.14
func (UnimplementedCloudAdaptiveNetworkServiceServer) UpdateDetailsOfPeer(context.Context, *UpdateDetailsRequest) (*Peer, error)
type UnimplementedSystemManagementServiceServer ¶ added in v0.0.11
type UnimplementedSystemManagementServiceServer struct { }
UnimplementedSystemManagementServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemManagementServiceServer) ControlCloudAdaptiveNetwork ¶ added in v0.0.12
func (UnimplementedSystemManagementServiceServer) ControlCloudAdaptiveNetwork(context.Context, *ControlRequest) (*ControlResponse, error)
func (UnimplementedSystemManagementServiceServer) Health ¶ added in v0.0.11
func (UnimplementedSystemManagementServiceServer) Health(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedSystemManagementServiceServer) TestCloudAdaptiveNetwork ¶ added in v0.0.12
func (UnimplementedSystemManagementServiceServer) TestCloudAdaptiveNetwork(context.Context, *TestRequest) (*TestResponse, error)
type UnsafeCloudAdaptiveNetworkServiceServer ¶ added in v0.0.11
type UnsafeCloudAdaptiveNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCloudAdaptiveNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudAdaptiveNetworkServiceServer will result in compilation errors.
type UnsafeSystemManagementServiceServer ¶ added in v0.0.11
type UnsafeSystemManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemManagementServiceServer will result in compilation errors.
type UpdateDetailsRequest ¶ added in v0.0.14
type UpdateDetailsRequest struct { CladnetId string `protobuf:"bytes,1,opt,name=cladnet_id,json=cladnetId,proto3" json:"cladnet_id,omitempty"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` CloudInformation *CloudInformation `protobuf:"bytes,3,opt,name=cloud_information,json=cloudInformation,proto3" json:"cloud_information,omitempty"` // contains filtered or unexported fields }
* It represents a request of peer.
func (*UpdateDetailsRequest) Descriptor
deprecated
added in
v0.0.14
func (*UpdateDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDetailsRequest.ProtoReflect.Descriptor instead.
func (*UpdateDetailsRequest) GetCladnetId ¶ added in v0.0.14
func (x *UpdateDetailsRequest) GetCladnetId() string
func (*UpdateDetailsRequest) GetCloudInformation ¶ added in v0.0.14
func (x *UpdateDetailsRequest) GetCloudInformation() *CloudInformation
func (*UpdateDetailsRequest) GetHostId ¶ added in v0.0.14
func (x *UpdateDetailsRequest) GetHostId() string
func (*UpdateDetailsRequest) ProtoMessage ¶ added in v0.0.14
func (*UpdateDetailsRequest) ProtoMessage()
func (*UpdateDetailsRequest) ProtoReflect ¶ added in v0.0.14
func (x *UpdateDetailsRequest) ProtoReflect() protoreflect.Message
func (*UpdateDetailsRequest) Reset ¶ added in v0.0.14
func (x *UpdateDetailsRequest) Reset()
func (*UpdateDetailsRequest) String ¶ added in v0.0.14
func (x *UpdateDetailsRequest) String() string