package v1
import "github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v1"
Package v1 contains the proto and compiled go files for the node network service v1 implementation.
A mock service under `mock` is used for unit testing the various services used for ncproxy.
Index ¶
- Constants
- Variables
- func RegisterNodeNetworkServiceServer(s grpc.ServiceRegistrar, srv NodeNetworkServiceServer)
- type ConfigureContainerNetworkingRequest
- func (*ConfigureContainerNetworkingRequest) Descriptor() ([]byte, []int)
- func (x *ConfigureContainerNetworkingRequest) GetContainerID() string
- func (x *ConfigureContainerNetworkingRequest) GetNetworkNamespaceID() string
- func (x *ConfigureContainerNetworkingRequest) GetRequestType() RequestType
- func (*ConfigureContainerNetworkingRequest) ProtoMessage()
- func (x *ConfigureContainerNetworkingRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureContainerNetworkingRequest) Reset()
- func (x *ConfigureContainerNetworkingRequest) String() string
- type ConfigureContainerNetworkingResponse
- func (*ConfigureContainerNetworkingResponse) Descriptor() ([]byte, []int)
- func (x *ConfigureContainerNetworkingResponse) GetInterfaces() []*ContainerNetworkInterface
- func (*ConfigureContainerNetworkingResponse) ProtoMessage()
- func (x *ConfigureContainerNetworkingResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureContainerNetworkingResponse) Reset()
- func (x *ConfigureContainerNetworkingResponse) String() string
- type ConfigureNetworkingRequest
- func (*ConfigureNetworkingRequest) Descriptor() ([]byte, []int)
- func (x *ConfigureNetworkingRequest) GetContainerID() string
- func (x *ConfigureNetworkingRequest) GetRequestType() RequestType
- func (*ConfigureNetworkingRequest) ProtoMessage()
- func (x *ConfigureNetworkingRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureNetworkingRequest) Reset()
- func (x *ConfigureNetworkingRequest) String() string
- type ConfigureNetworkingResponse
- func (*ConfigureNetworkingResponse) Descriptor() ([]byte, []int)
- func (*ConfigureNetworkingResponse) ProtoMessage()
- func (x *ConfigureNetworkingResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureNetworkingResponse) Reset()
- func (x *ConfigureNetworkingResponse) String() string
- type ContainerIPAddress
- func (*ContainerIPAddress) Descriptor() ([]byte, []int)
- func (x *ContainerIPAddress) GetDefaultGateway() string
- func (x *ContainerIPAddress) GetIp() string
- func (x *ContainerIPAddress) GetPrefixLength() string
- func (x *ContainerIPAddress) GetVersion() string
- func (*ContainerIPAddress) ProtoMessage()
- func (x *ContainerIPAddress) ProtoReflect() protoreflect.Message
- func (x *ContainerIPAddress) Reset()
- func (x *ContainerIPAddress) String() string
- type ContainerNetworkInterface
- func (*ContainerNetworkInterface) Descriptor() ([]byte, []int)
- func (x *ContainerNetworkInterface) GetIpaddresses() []*ContainerIPAddress
- func (x *ContainerNetworkInterface) GetMacAddress() string
- func (x *ContainerNetworkInterface) GetName() string
- func (x *ContainerNetworkInterface) GetNetworkNamespaceID() string
- func (*ContainerNetworkInterface) ProtoMessage()
- func (x *ContainerNetworkInterface) ProtoReflect() protoreflect.Message
- func (x *ContainerNetworkInterface) Reset()
- func (x *ContainerNetworkInterface) String() string
- type GetHostLocalIpAddressRequest
- func (*GetHostLocalIpAddressRequest) Descriptor() ([]byte, []int)
- func (x *GetHostLocalIpAddressRequest) GetContainerID() string
- func (*GetHostLocalIpAddressRequest) ProtoMessage()
- func (x *GetHostLocalIpAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetHostLocalIpAddressRequest) Reset()
- func (x *GetHostLocalIpAddressRequest) String() string
- type GetHostLocalIpAddressResponse
- func (*GetHostLocalIpAddressResponse) Descriptor() ([]byte, []int)
- func (x *GetHostLocalIpAddressResponse) GetIpAddr() string
- func (*GetHostLocalIpAddressResponse) ProtoMessage()
- func (x *GetHostLocalIpAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetHostLocalIpAddressResponse) Reset()
- func (x *GetHostLocalIpAddressResponse) String() string
- type NodeNetworkServiceClient
- type NodeNetworkServiceServer
- type PingNodeNetworkServiceRequest
- func (*PingNodeNetworkServiceRequest) Descriptor() ([]byte, []int)
- func (x *PingNodeNetworkServiceRequest) GetPingRequestMessage() string
- func (*PingNodeNetworkServiceRequest) ProtoMessage()
- func (x *PingNodeNetworkServiceRequest) ProtoReflect() protoreflect.Message
- func (x *PingNodeNetworkServiceRequest) Reset()
- func (x *PingNodeNetworkServiceRequest) String() string
- type PingNodeNetworkServiceResponse
- func (*PingNodeNetworkServiceResponse) Descriptor() ([]byte, []int)
- func (x *PingNodeNetworkServiceResponse) GetPingResponseMessage() string
- func (*PingNodeNetworkServiceResponse) ProtoMessage()
- func (x *PingNodeNetworkServiceResponse) ProtoReflect() protoreflect.Message
- func (x *PingNodeNetworkServiceResponse) Reset()
- func (x *PingNodeNetworkServiceResponse) String() string
- type RequestType
- func (RequestType) Descriptor() protoreflect.EnumDescriptor
- func (x RequestType) Enum() *RequestType
- func (RequestType) EnumDescriptor() ([]byte, []int)
- func (x RequestType) Number() protoreflect.EnumNumber
- func (x RequestType) String() string
- func (RequestType) Type() protoreflect.EnumType
- type UnimplementedNodeNetworkServiceServer
- func (UnimplementedNodeNetworkServiceServer) ConfigureContainerNetworking(context.Context, *ConfigureContainerNetworkingRequest) (*ConfigureContainerNetworkingResponse, error)
- func (UnimplementedNodeNetworkServiceServer) ConfigureNetworking(context.Context, *ConfigureNetworkingRequest) (*ConfigureNetworkingResponse, error)
- func (UnimplementedNodeNetworkServiceServer) GetHostLocalIpAddress(context.Context, *GetHostLocalIpAddressRequest) (*GetHostLocalIpAddressResponse, error)
- func (UnimplementedNodeNetworkServiceServer) PingNodeNetworkService(context.Context, *PingNodeNetworkServiceRequest) (*PingNodeNetworkServiceResponse, error)
- type UnsafeNodeNetworkServiceServer
Constants ¶
const ( NodeNetworkService_ConfigureNetworking_FullMethodName = "/nodenetsvc.v1.NodeNetworkService/ConfigureNetworking" NodeNetworkService_ConfigureContainerNetworking_FullMethodName = "/nodenetsvc.v1.NodeNetworkService/ConfigureContainerNetworking" NodeNetworkService_PingNodeNetworkService_FullMethodName = "/nodenetsvc.v1.NodeNetworkService/PingNodeNetworkService" NodeNetworkService_GetHostLocalIpAddress_FullMethodName = "/nodenetsvc.v1.NodeNetworkService/GetHostLocalIpAddress" )
Variables ¶
var ( RequestType_name = map[int32]string{ 0: "Setup", 1: "Teardown", } RequestType_value = map[string]int32{ "Setup": 0, "Teardown": 1, } )
Enum value maps for RequestType.
var File_github_com_Microsoft_hcsshim_pkg_ncproxy_nodenetsvc_v1_nodenetsvc_proto protoreflect.FileDescriptor
var NodeNetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nodenetsvc.v1.NodeNetworkService", HandlerType: (*NodeNetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConfigureNetworking", Handler: _NodeNetworkService_ConfigureNetworking_Handler, }, { MethodName: "ConfigureContainerNetworking", Handler: _NodeNetworkService_ConfigureContainerNetworking_Handler, }, { MethodName: "PingNodeNetworkService", Handler: _NodeNetworkService_PingNodeNetworkService_Handler, }, { MethodName: "GetHostLocalIpAddress", Handler: _NodeNetworkService_GetHostLocalIpAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v1/nodenetsvc.proto", }
NodeNetworkService_ServiceDesc is the grpc.ServiceDesc for NodeNetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNodeNetworkServiceServer ¶
func RegisterNodeNetworkServiceServer(s grpc.ServiceRegistrar, srv NodeNetworkServiceServer)
Types ¶
type ConfigureContainerNetworkingRequest ¶
type ConfigureContainerNetworkingRequest struct { RequestType RequestType `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3,enum=nodenetsvc.v1.RequestType" json:"request_type,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` NetworkNamespaceID string `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"` // contains filtered or unexported fields }
func (*ConfigureContainerNetworkingRequest) Descriptor ¶
func (*ConfigureContainerNetworkingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureContainerNetworkingRequest.ProtoReflect.Descriptor instead.
func (*ConfigureContainerNetworkingRequest) GetContainerID ¶
func (x *ConfigureContainerNetworkingRequest) GetContainerID() string
func (*ConfigureContainerNetworkingRequest) GetNetworkNamespaceID ¶
func (x *ConfigureContainerNetworkingRequest) GetNetworkNamespaceID() string
func (*ConfigureContainerNetworkingRequest) GetRequestType ¶
func (x *ConfigureContainerNetworkingRequest) GetRequestType() RequestType
func (*ConfigureContainerNetworkingRequest) ProtoMessage ¶
func (*ConfigureContainerNetworkingRequest) ProtoMessage()
func (*ConfigureContainerNetworkingRequest) ProtoReflect ¶
func (x *ConfigureContainerNetworkingRequest) ProtoReflect() protoreflect.Message
func (*ConfigureContainerNetworkingRequest) Reset ¶
func (x *ConfigureContainerNetworkingRequest) Reset()
func (*ConfigureContainerNetworkingRequest) String ¶
func (x *ConfigureContainerNetworkingRequest) String() string
type ConfigureContainerNetworkingResponse ¶
type ConfigureContainerNetworkingResponse struct { Interfaces []*ContainerNetworkInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
func (*ConfigureContainerNetworkingResponse) Descriptor ¶
func (*ConfigureContainerNetworkingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureContainerNetworkingResponse.ProtoReflect.Descriptor instead.
func (*ConfigureContainerNetworkingResponse) GetInterfaces ¶
func (x *ConfigureContainerNetworkingResponse) GetInterfaces() []*ContainerNetworkInterface
func (*ConfigureContainerNetworkingResponse) ProtoMessage ¶
func (*ConfigureContainerNetworkingResponse) ProtoMessage()
func (*ConfigureContainerNetworkingResponse) ProtoReflect ¶
func (x *ConfigureContainerNetworkingResponse) ProtoReflect() protoreflect.Message
func (*ConfigureContainerNetworkingResponse) Reset ¶
func (x *ConfigureContainerNetworkingResponse) Reset()
func (*ConfigureContainerNetworkingResponse) String ¶
func (x *ConfigureContainerNetworkingResponse) String() string
type ConfigureNetworkingRequest ¶
type ConfigureNetworkingRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` RequestType RequestType `protobuf:"varint,2,opt,name=request_type,json=requestType,proto3,enum=nodenetsvc.v1.RequestType" json:"request_type,omitempty"` // contains filtered or unexported fields }
func (*ConfigureNetworkingRequest) Descriptor ¶
func (*ConfigureNetworkingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureNetworkingRequest.ProtoReflect.Descriptor instead.
func (*ConfigureNetworkingRequest) GetContainerID ¶
func (x *ConfigureNetworkingRequest) GetContainerID() string
func (*ConfigureNetworkingRequest) GetRequestType ¶
func (x *ConfigureNetworkingRequest) GetRequestType() RequestType
func (*ConfigureNetworkingRequest) ProtoMessage ¶
func (*ConfigureNetworkingRequest) ProtoMessage()
func (*ConfigureNetworkingRequest) ProtoReflect ¶
func (x *ConfigureNetworkingRequest) ProtoReflect() protoreflect.Message
func (*ConfigureNetworkingRequest) Reset ¶
func (x *ConfigureNetworkingRequest) Reset()
func (*ConfigureNetworkingRequest) String ¶
func (x *ConfigureNetworkingRequest) String() string
type ConfigureNetworkingResponse ¶
type ConfigureNetworkingResponse struct {
// contains filtered or unexported fields
}
func (*ConfigureNetworkingResponse) Descriptor ¶
func (*ConfigureNetworkingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureNetworkingResponse.ProtoReflect.Descriptor instead.
func (*ConfigureNetworkingResponse) ProtoMessage ¶
func (*ConfigureNetworkingResponse) ProtoMessage()
func (*ConfigureNetworkingResponse) ProtoReflect ¶
func (x *ConfigureNetworkingResponse) ProtoReflect() protoreflect.Message
func (*ConfigureNetworkingResponse) Reset ¶
func (x *ConfigureNetworkingResponse) Reset()
func (*ConfigureNetworkingResponse) String ¶
func (x *ConfigureNetworkingResponse) String() string
type ContainerIPAddress ¶
type ContainerIPAddress struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` PrefixLength string `protobuf:"bytes,4,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"` DefaultGateway string `protobuf:"bytes,5,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"` // contains filtered or unexported fields }
func (*ContainerIPAddress) Descriptor ¶
func (*ContainerIPAddress) Descriptor() ([]byte, []int)
Deprecated: Use ContainerIPAddress.ProtoReflect.Descriptor instead.
func (*ContainerIPAddress) GetDefaultGateway ¶
func (x *ContainerIPAddress) GetDefaultGateway() string
func (*ContainerIPAddress) GetIp ¶
func (x *ContainerIPAddress) GetIp() string
func (*ContainerIPAddress) GetPrefixLength ¶
func (x *ContainerIPAddress) GetPrefixLength() string
func (*ContainerIPAddress) GetVersion ¶
func (x *ContainerIPAddress) GetVersion() string
func (*ContainerIPAddress) ProtoMessage ¶
func (*ContainerIPAddress) ProtoMessage()
func (*ContainerIPAddress) ProtoReflect ¶
func (x *ContainerIPAddress) ProtoReflect() protoreflect.Message
func (*ContainerIPAddress) Reset ¶
func (x *ContainerIPAddress) Reset()
func (*ContainerIPAddress) String ¶
func (x *ContainerIPAddress) String() string
type ContainerNetworkInterface ¶
type ContainerNetworkInterface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` NetworkNamespaceID string `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"` Ipaddresses []*ContainerIPAddress `protobuf:"bytes,4,rep,name=ipaddresses,proto3" json:"ipaddresses,omitempty"` // contains filtered or unexported fields }
func (*ContainerNetworkInterface) Descriptor ¶
func (*ContainerNetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use ContainerNetworkInterface.ProtoReflect.Descriptor instead.
func (*ContainerNetworkInterface) GetIpaddresses ¶
func (x *ContainerNetworkInterface) GetIpaddresses() []*ContainerIPAddress
func (*ContainerNetworkInterface) GetMacAddress ¶
func (x *ContainerNetworkInterface) GetMacAddress() string
func (*ContainerNetworkInterface) GetName ¶
func (x *ContainerNetworkInterface) GetName() string
func (*ContainerNetworkInterface) GetNetworkNamespaceID ¶
func (x *ContainerNetworkInterface) GetNetworkNamespaceID() string
func (*ContainerNetworkInterface) ProtoMessage ¶
func (*ContainerNetworkInterface) ProtoMessage()
func (*ContainerNetworkInterface) ProtoReflect ¶
func (x *ContainerNetworkInterface) ProtoReflect() protoreflect.Message
func (*ContainerNetworkInterface) Reset ¶
func (x *ContainerNetworkInterface) Reset()
func (*ContainerNetworkInterface) String ¶
func (x *ContainerNetworkInterface) String() string
type GetHostLocalIpAddressRequest ¶
type GetHostLocalIpAddressRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*GetHostLocalIpAddressRequest) Descriptor ¶
func (*GetHostLocalIpAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostLocalIpAddressRequest.ProtoReflect.Descriptor instead.
func (*GetHostLocalIpAddressRequest) GetContainerID ¶
func (x *GetHostLocalIpAddressRequest) GetContainerID() string
func (*GetHostLocalIpAddressRequest) ProtoMessage ¶
func (*GetHostLocalIpAddressRequest) ProtoMessage()
func (*GetHostLocalIpAddressRequest) ProtoReflect ¶
func (x *GetHostLocalIpAddressRequest) ProtoReflect() protoreflect.Message
func (*GetHostLocalIpAddressRequest) Reset ¶
func (x *GetHostLocalIpAddressRequest) Reset()
func (*GetHostLocalIpAddressRequest) String ¶
func (x *GetHostLocalIpAddressRequest) String() string
type GetHostLocalIpAddressResponse ¶
type GetHostLocalIpAddressResponse struct { IpAddr string `protobuf:"bytes,1,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` // contains filtered or unexported fields }
func (*GetHostLocalIpAddressResponse) Descriptor ¶
func (*GetHostLocalIpAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHostLocalIpAddressResponse.ProtoReflect.Descriptor instead.
func (*GetHostLocalIpAddressResponse) GetIpAddr ¶
func (x *GetHostLocalIpAddressResponse) GetIpAddr() string
func (*GetHostLocalIpAddressResponse) ProtoMessage ¶
func (*GetHostLocalIpAddressResponse) ProtoMessage()
func (*GetHostLocalIpAddressResponse) ProtoReflect ¶
func (x *GetHostLocalIpAddressResponse) ProtoReflect() protoreflect.Message
func (*GetHostLocalIpAddressResponse) Reset ¶
func (x *GetHostLocalIpAddressResponse) Reset()
func (*GetHostLocalIpAddressResponse) String ¶
func (x *GetHostLocalIpAddressResponse) String() string
type NodeNetworkServiceClient ¶
type NodeNetworkServiceClient interface { ConfigureNetworking(ctx context.Context, in *ConfigureNetworkingRequest, opts ...grpc.CallOption) (*ConfigureNetworkingResponse, error) ConfigureContainerNetworking(ctx context.Context, in *ConfigureContainerNetworkingRequest, opts ...grpc.CallOption) (*ConfigureContainerNetworkingResponse, error) PingNodeNetworkService(ctx context.Context, in *PingNodeNetworkServiceRequest, opts ...grpc.CallOption) (*PingNodeNetworkServiceResponse, error) GetHostLocalIpAddress(ctx context.Context, in *GetHostLocalIpAddressRequest, opts ...grpc.CallOption) (*GetHostLocalIpAddressResponse, error) }
NodeNetworkServiceClient is the client API for NodeNetworkService 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 NewNodeNetworkServiceClient ¶
func NewNodeNetworkServiceClient(cc grpc.ClientConnInterface) NodeNetworkServiceClient
type NodeNetworkServiceServer ¶
type NodeNetworkServiceServer interface { ConfigureNetworking(context.Context, *ConfigureNetworkingRequest) (*ConfigureNetworkingResponse, error) ConfigureContainerNetworking(context.Context, *ConfigureContainerNetworkingRequest) (*ConfigureContainerNetworkingResponse, error) PingNodeNetworkService(context.Context, *PingNodeNetworkServiceRequest) (*PingNodeNetworkServiceResponse, error) GetHostLocalIpAddress(context.Context, *GetHostLocalIpAddressRequest) (*GetHostLocalIpAddressResponse, error) // contains filtered or unexported methods }
NodeNetworkServiceServer is the server API for NodeNetworkService service. All implementations must embed UnimplementedNodeNetworkServiceServer for forward compatibility.
type PingNodeNetworkServiceRequest ¶
type PingNodeNetworkServiceRequest struct { PingRequestMessage string `protobuf:"bytes,1,opt,name=ping_request_message,json=pingRequestMessage,proto3" json:"ping_request_message,omitempty"` // contains filtered or unexported fields }
func (*PingNodeNetworkServiceRequest) Descriptor ¶
func (*PingNodeNetworkServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingNodeNetworkServiceRequest.ProtoReflect.Descriptor instead.
func (*PingNodeNetworkServiceRequest) GetPingRequestMessage ¶
func (x *PingNodeNetworkServiceRequest) GetPingRequestMessage() string
func (*PingNodeNetworkServiceRequest) ProtoMessage ¶
func (*PingNodeNetworkServiceRequest) ProtoMessage()
func (*PingNodeNetworkServiceRequest) ProtoReflect ¶
func (x *PingNodeNetworkServiceRequest) ProtoReflect() protoreflect.Message
func (*PingNodeNetworkServiceRequest) Reset ¶
func (x *PingNodeNetworkServiceRequest) Reset()
func (*PingNodeNetworkServiceRequest) String ¶
func (x *PingNodeNetworkServiceRequest) String() string
type PingNodeNetworkServiceResponse ¶
type PingNodeNetworkServiceResponse struct { PingResponseMessage string `protobuf:"bytes,1,opt,name=ping_response_message,json=pingResponseMessage,proto3" json:"ping_response_message,omitempty"` // contains filtered or unexported fields }
func (*PingNodeNetworkServiceResponse) Descriptor ¶
func (*PingNodeNetworkServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingNodeNetworkServiceResponse.ProtoReflect.Descriptor instead.
func (*PingNodeNetworkServiceResponse) GetPingResponseMessage ¶
func (x *PingNodeNetworkServiceResponse) GetPingResponseMessage() string
func (*PingNodeNetworkServiceResponse) ProtoMessage ¶
func (*PingNodeNetworkServiceResponse) ProtoMessage()
func (*PingNodeNetworkServiceResponse) ProtoReflect ¶
func (x *PingNodeNetworkServiceResponse) ProtoReflect() protoreflect.Message
func (*PingNodeNetworkServiceResponse) Reset ¶
func (x *PingNodeNetworkServiceResponse) Reset()
func (*PingNodeNetworkServiceResponse) String ¶
func (x *PingNodeNetworkServiceResponse) String() string
type RequestType ¶
type RequestType int32
const ( RequestType_Setup RequestType = 0 RequestType_Teardown RequestType = 1 )
func (RequestType) Descriptor ¶
func (RequestType) Descriptor() protoreflect.EnumDescriptor
func (RequestType) Enum ¶
func (x RequestType) Enum() *RequestType
func (RequestType) EnumDescriptor ¶
func (RequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestType.Descriptor instead.
func (RequestType) Number ¶
func (x RequestType) Number() protoreflect.EnumNumber
func (RequestType) String ¶
func (x RequestType) String() string
func (RequestType) Type ¶
func (RequestType) Type() protoreflect.EnumType
type UnimplementedNodeNetworkServiceServer ¶
type UnimplementedNodeNetworkServiceServer struct{}
UnimplementedNodeNetworkServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNodeNetworkServiceServer) ConfigureContainerNetworking ¶
func (UnimplementedNodeNetworkServiceServer) ConfigureContainerNetworking(context.Context, *ConfigureContainerNetworkingRequest) (*ConfigureContainerNetworkingResponse, error)
func (UnimplementedNodeNetworkServiceServer) ConfigureNetworking ¶
func (UnimplementedNodeNetworkServiceServer) ConfigureNetworking(context.Context, *ConfigureNetworkingRequest) (*ConfigureNetworkingResponse, error)
func (UnimplementedNodeNetworkServiceServer) GetHostLocalIpAddress ¶
func (UnimplementedNodeNetworkServiceServer) GetHostLocalIpAddress(context.Context, *GetHostLocalIpAddressRequest) (*GetHostLocalIpAddressResponse, error)
func (UnimplementedNodeNetworkServiceServer) PingNodeNetworkService ¶
func (UnimplementedNodeNetworkServiceServer) PingNodeNetworkService(context.Context, *PingNodeNetworkServiceRequest) (*PingNodeNetworkServiceResponse, error)
type UnsafeNodeNetworkServiceServer ¶
type UnsafeNodeNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeNetworkServiceServer will result in compilation errors.
Source Files ¶
doc.go nodenetsvc.pb.go nodenetsvc_grpc.pb.go
Directories ¶
Path | Synopsis |
---|---|
pkg/ncproxy/nodenetsvc/v1/mock | Package nodenetsvc_v1_mock is a generated GoMock package. |
- Version
- v0.12.9 (latest)
- Published
- Oct 30, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 13 hours ago –
Tools for package owners.