Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNodeNetworkServiceServer(s grpc.ServiceRegistrar, srv NodeNetworkServiceServer)
- type ConfigureContainerNetworkingRequestdeprecated
- func (*ConfigureContainerNetworkingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureContainerNetworkingRequest) GetContainerID() stringdeprecated
- func (x *ConfigureContainerNetworkingRequest) GetNetworkNamespaceID() stringdeprecated
- func (x *ConfigureContainerNetworkingRequest) GetRequestType() RequestTypedeprecated
- func (*ConfigureContainerNetworkingRequest) ProtoMessage()
- func (x *ConfigureContainerNetworkingRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureContainerNetworkingRequest) Reset()
- func (x *ConfigureContainerNetworkingRequest) String() string
- type ConfigureContainerNetworkingResponsedeprecated
- func (*ConfigureContainerNetworkingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureContainerNetworkingResponse) GetInterfaces() []*ContainerNetworkInterfacedeprecated
- func (*ConfigureContainerNetworkingResponse) ProtoMessage()
- func (x *ConfigureContainerNetworkingResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureContainerNetworkingResponse) Reset()
- func (x *ConfigureContainerNetworkingResponse) String() string
- type ConfigureNetworkingRequestdeprecated
- func (*ConfigureNetworkingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureNetworkingRequest) GetContainerID() stringdeprecated
- func (x *ConfigureNetworkingRequest) GetRequestType() RequestTypedeprecated
- func (*ConfigureNetworkingRequest) ProtoMessage()
- func (x *ConfigureNetworkingRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureNetworkingRequest) Reset()
- func (x *ConfigureNetworkingRequest) String() string
- type ConfigureNetworkingResponsedeprecated
- type ContainerIPAddressdeprecated
- func (*ContainerIPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerIPAddress) GetDefaultGateway() stringdeprecated
- func (x *ContainerIPAddress) GetIp() stringdeprecated
- func (x *ContainerIPAddress) GetPrefixLength() stringdeprecated
- func (x *ContainerIPAddress) GetVersion() stringdeprecated
- func (*ContainerIPAddress) ProtoMessage()
- func (x *ContainerIPAddress) ProtoReflect() protoreflect.Message
- func (x *ContainerIPAddress) Reset()
- func (x *ContainerIPAddress) String() string
- type ContainerNetworkInterfacedeprecated
- func (*ContainerNetworkInterface) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerNetworkInterface) GetIpaddresses() []*ContainerIPAddressdeprecated
- func (x *ContainerNetworkInterface) GetMacAddress() stringdeprecated
- func (x *ContainerNetworkInterface) GetName() stringdeprecated
- func (x *ContainerNetworkInterface) GetNetworkNamespaceID() stringdeprecated
- func (*ContainerNetworkInterface) ProtoMessage()
- func (x *ContainerNetworkInterface) ProtoReflect() protoreflect.Message
- func (x *ContainerNetworkInterface) Reset()
- func (x *ContainerNetworkInterface) String() string
- type GetHostLocalIpAddressRequestdeprecated
- func (*GetHostLocalIpAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostLocalIpAddressRequest) GetContainerID() stringdeprecated
- func (*GetHostLocalIpAddressRequest) ProtoMessage()
- func (x *GetHostLocalIpAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetHostLocalIpAddressRequest) Reset()
- func (x *GetHostLocalIpAddressRequest) String() string
- type GetHostLocalIpAddressResponsedeprecated
- func (*GetHostLocalIpAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostLocalIpAddressResponse) GetIpAddr() stringdeprecated
- func (*GetHostLocalIpAddressResponse) ProtoMessage()
- func (x *GetHostLocalIpAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetHostLocalIpAddressResponse) Reset()
- func (x *GetHostLocalIpAddressResponse) String() string
- type NodeNetworkServiceClient
- type NodeNetworkServiceServer
- type PingNodeNetworkServiceRequestdeprecated
- func (*PingNodeNetworkServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PingNodeNetworkServiceRequest) GetPingRequestMessage() stringdeprecated
- func (*PingNodeNetworkServiceRequest) ProtoMessage()
- func (x *PingNodeNetworkServiceRequest) ProtoReflect() protoreflect.Message
- func (x *PingNodeNetworkServiceRequest) Reset()
- func (x *PingNodeNetworkServiceRequest) String() string
- type PingNodeNetworkServiceResponsedeprecated
- func (*PingNodeNetworkServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingNodeNetworkServiceResponse) GetPingResponseMessage() stringdeprecated
- func (*PingNodeNetworkServiceResponse) ProtoMessage()
- func (x *PingNodeNetworkServiceResponse) ProtoReflect() protoreflect.Message
- func (x *PingNodeNetworkServiceResponse) Reset()
- func (x *PingNodeNetworkServiceResponse) String() string
- type RequestTypedeprecated
- func (RequestType) Descriptor() protoreflect.EnumDescriptor
- func (x RequestType) Enum() *RequestType
- func (RequestType) EnumDescriptor() ([]byte, []int)deprecated
- 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 = "/azure.nodenetworkservice.NodeNetworkService/ConfigureNetworking" NodeNetworkService_ConfigureContainerNetworking_FullMethodName = "/azure.nodenetworkservice.NodeNetworkService/ConfigureContainerNetworking" NodeNetworkService_PingNodeNetworkService_FullMethodName = "/azure.nodenetworkservice.NodeNetworkService/PingNodeNetworkService" NodeNetworkService_GetHostLocalIpAddress_FullMethodName = "/azure.nodenetworkservice.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_v0_nodenetsvc_proto protoreflect.FileDescriptor
var NodeNetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "azure.nodenetworkservice.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/v0/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
deprecated
type ConfigureContainerNetworkingRequest struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. RequestType RequestType `` /* 137-byte string literal not displayed */ // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. NetworkNamespaceID string `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureContainerNetworkingRequest) Descriptor
deprecated
func (*ConfigureContainerNetworkingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureContainerNetworkingRequest.ProtoReflect.Descriptor instead.
func (*ConfigureContainerNetworkingRequest) GetContainerID
deprecated
func (x *ConfigureContainerNetworkingRequest) GetContainerID() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureContainerNetworkingRequest) GetNetworkNamespaceID
deprecated
func (x *ConfigureContainerNetworkingRequest) GetNetworkNamespaceID() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureContainerNetworkingRequest) GetRequestType
deprecated
func (x *ConfigureContainerNetworkingRequest) GetRequestType() RequestType
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type ConfigureContainerNetworkingResponse struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. Interfaces []*ContainerNetworkInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureContainerNetworkingResponse) Descriptor
deprecated
func (*ConfigureContainerNetworkingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureContainerNetworkingResponse.ProtoReflect.Descriptor instead.
func (*ConfigureContainerNetworkingResponse) GetInterfaces
deprecated
func (x *ConfigureContainerNetworkingResponse) GetInterfaces() []*ContainerNetworkInterface
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type ConfigureNetworkingRequest struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. RequestType RequestType `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureNetworkingRequest) Descriptor
deprecated
func (*ConfigureNetworkingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureNetworkingRequest.ProtoReflect.Descriptor instead.
func (*ConfigureNetworkingRequest) GetContainerID
deprecated
func (x *ConfigureNetworkingRequest) GetContainerID() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureNetworkingRequest) GetRequestType
deprecated
func (x *ConfigureNetworkingRequest) GetRequestType() RequestType
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type ConfigureNetworkingResponse struct {
// contains filtered or unexported fields
}
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ConfigureNetworkingResponse) Descriptor
deprecated
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
deprecated
type ContainerIPAddress struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. PrefixLength string `protobuf:"bytes,4,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. DefaultGateway string `protobuf:"bytes,5,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerIPAddress) Descriptor
deprecated
func (*ContainerIPAddress) Descriptor() ([]byte, []int)
Deprecated: Use ContainerIPAddress.ProtoReflect.Descriptor instead.
func (*ContainerIPAddress) GetDefaultGateway
deprecated
func (x *ContainerIPAddress) GetDefaultGateway() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerIPAddress) GetIp
deprecated
func (x *ContainerIPAddress) GetIp() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerIPAddress) GetPrefixLength
deprecated
func (x *ContainerIPAddress) GetPrefixLength() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerIPAddress) GetVersion
deprecated
func (x *ContainerIPAddress) GetVersion() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type ContainerNetworkInterface struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. NetworkNamespaceID string `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"` // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. Ipaddresses []*ContainerIPAddress `protobuf:"bytes,4,rep,name=ipaddresses,proto3" json:"ipaddresses,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerNetworkInterface) Descriptor
deprecated
func (*ContainerNetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use ContainerNetworkInterface.ProtoReflect.Descriptor instead.
func (*ContainerNetworkInterface) GetIpaddresses
deprecated
func (x *ContainerNetworkInterface) GetIpaddresses() []*ContainerIPAddress
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerNetworkInterface) GetMacAddress
deprecated
func (x *ContainerNetworkInterface) GetMacAddress() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerNetworkInterface) GetName
deprecated
func (x *ContainerNetworkInterface) GetName() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*ContainerNetworkInterface) GetNetworkNamespaceID
deprecated
func (x *ContainerNetworkInterface) GetNetworkNamespaceID() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type GetHostLocalIpAddressRequest struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*GetHostLocalIpAddressRequest) Descriptor
deprecated
func (*GetHostLocalIpAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostLocalIpAddressRequest.ProtoReflect.Descriptor instead.
func (*GetHostLocalIpAddressRequest) GetContainerID
deprecated
func (x *GetHostLocalIpAddressRequest) GetContainerID() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type GetHostLocalIpAddressResponse struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. IpAddr string `protobuf:"bytes,1,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*GetHostLocalIpAddressResponse) Descriptor
deprecated
func (*GetHostLocalIpAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHostLocalIpAddressResponse.ProtoReflect.Descriptor instead.
func (*GetHostLocalIpAddressResponse) GetIpAddr
deprecated
func (x *GetHostLocalIpAddressResponse) GetIpAddr() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type PingNodeNetworkServiceRequest struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. PingRequestMessage string `protobuf:"bytes,1,opt,name=ping_request_message,json=pingRequestMessage,proto3" json:"ping_request_message,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*PingNodeNetworkServiceRequest) Descriptor
deprecated
func (*PingNodeNetworkServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingNodeNetworkServiceRequest.ProtoReflect.Descriptor instead.
func (*PingNodeNetworkServiceRequest) GetPingRequestMessage
deprecated
func (x *PingNodeNetworkServiceRequest) GetPingRequestMessage() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type PingNodeNetworkServiceResponse struct { // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. PingResponseMessage string `protobuf:"bytes,1,opt,name=ping_response_message,json=pingResponseMessage,proto3" json:"ping_response_message,omitempty"` // contains filtered or unexported fields }
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
func (*PingNodeNetworkServiceResponse) Descriptor
deprecated
func (*PingNodeNetworkServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingNodeNetworkServiceResponse.ProtoReflect.Descriptor instead.
func (*PingNodeNetworkServiceResponse) GetPingResponseMessage
deprecated
func (x *PingNodeNetworkServiceResponse) GetPingResponseMessage() string
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
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
deprecated
type RequestType int32
Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated.
const ( // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. RequestType_Setup RequestType = 0 // Deprecated: The entire proto file github.com/Microsoft/hcsshim/pkg/ncproxy/nodenetsvc/v0/nodenetsvc.proto is marked as deprecated. RequestType_Teardown RequestType = 1 )
func (RequestType) Descriptor ¶
func (RequestType) Descriptor() protoreflect.EnumDescriptor
func (RequestType) Enum ¶
func (x RequestType) Enum() *RequestType
func (RequestType) EnumDescriptor
deprecated
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.