Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/Microsoft/hcsshim/internal/ncproxyttrpc/networkconfigproxy.proto
Index ¶
- Variables
- func RegisterNetworkConfigProxyService(srv *ttrpc.Server, svc NetworkConfigProxyService)
- type ConfigureNetworkingInternalRequest
- func (*ConfigureNetworkingInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureNetworkingInternalRequest) GetContainerID() string
- func (x *ConfigureNetworkingInternalRequest) GetRequestType() RequestTypeInternal
- func (*ConfigureNetworkingInternalRequest) ProtoMessage()
- func (x *ConfigureNetworkingInternalRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureNetworkingInternalRequest) Reset()
- func (x *ConfigureNetworkingInternalRequest) String() string
- type ConfigureNetworkingInternalResponse
- func (*ConfigureNetworkingInternalResponse) Descriptor() ([]byte, []int)deprecated
- func (*ConfigureNetworkingInternalResponse) ProtoMessage()
- func (x *ConfigureNetworkingInternalResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigureNetworkingInternalResponse) Reset()
- func (x *ConfigureNetworkingInternalResponse) String() string
- type NetworkConfigProxyService
- type RegisterComputeAgentRequest
- func (*RegisterComputeAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterComputeAgentRequest) GetAgentAddress() string
- func (x *RegisterComputeAgentRequest) GetContainerID() string
- func (*RegisterComputeAgentRequest) ProtoMessage()
- func (x *RegisterComputeAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterComputeAgentRequest) Reset()
- func (x *RegisterComputeAgentRequest) String() string
- type RegisterComputeAgentResponse
- func (*RegisterComputeAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (*RegisterComputeAgentResponse) ProtoMessage()
- func (x *RegisterComputeAgentResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterComputeAgentResponse) Reset()
- func (x *RegisterComputeAgentResponse) String() string
- type RequestTypeInternal
- func (RequestTypeInternal) Descriptor() protoreflect.EnumDescriptor
- func (x RequestTypeInternal) Enum() *RequestTypeInternal
- func (RequestTypeInternal) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestTypeInternal) Number() protoreflect.EnumNumber
- func (x RequestTypeInternal) String() string
- func (RequestTypeInternal) Type() protoreflect.EnumType
- type UnregisterComputeAgentRequest
- func (*UnregisterComputeAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnregisterComputeAgentRequest) GetContainerID() string
- func (*UnregisterComputeAgentRequest) ProtoMessage()
- func (x *UnregisterComputeAgentRequest) ProtoReflect() protoreflect.Message
- func (x *UnregisterComputeAgentRequest) Reset()
- func (x *UnregisterComputeAgentRequest) String() string
- type UnregisterComputeAgentResponse
- func (*UnregisterComputeAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (*UnregisterComputeAgentResponse) ProtoMessage()
- func (x *UnregisterComputeAgentResponse) ProtoReflect() protoreflect.Message
- func (x *UnregisterComputeAgentResponse) Reset()
- func (x *UnregisterComputeAgentResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RequestTypeInternal_name = map[int32]string{ 0: "Setup", 1: "Teardown", } RequestTypeInternal_value = map[string]int32{ "Setup": 0, "Teardown": 1, } )
Enum value maps for RequestTypeInternal.
var File_github_com_Microsoft_hcsshim_internal_ncproxyttrpc_networkconfigproxy_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNetworkConfigProxyService ¶
func RegisterNetworkConfigProxyService(srv *ttrpc.Server, svc NetworkConfigProxyService)
Types ¶
type ConfigureNetworkingInternalRequest ¶
type ConfigureNetworkingInternalRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` RequestType RequestTypeInternal `protobuf:"varint,2,opt,name=request_type,json=requestType,proto3,enum=RequestTypeInternal" json:"request_type,omitempty"` // contains filtered or unexported fields }
func (*ConfigureNetworkingInternalRequest) Descriptor
deprecated
func (*ConfigureNetworkingInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureNetworkingInternalRequest.ProtoReflect.Descriptor instead.
func (*ConfigureNetworkingInternalRequest) GetContainerID ¶ added in v0.10.0
func (x *ConfigureNetworkingInternalRequest) GetContainerID() string
func (*ConfigureNetworkingInternalRequest) GetRequestType ¶ added in v0.10.0
func (x *ConfigureNetworkingInternalRequest) GetRequestType() RequestTypeInternal
func (*ConfigureNetworkingInternalRequest) ProtoMessage ¶
func (*ConfigureNetworkingInternalRequest) ProtoMessage()
func (*ConfigureNetworkingInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *ConfigureNetworkingInternalRequest) ProtoReflect() protoreflect.Message
func (*ConfigureNetworkingInternalRequest) Reset ¶
func (x *ConfigureNetworkingInternalRequest) Reset()
func (*ConfigureNetworkingInternalRequest) String ¶
func (x *ConfigureNetworkingInternalRequest) String() string
type ConfigureNetworkingInternalResponse ¶
type ConfigureNetworkingInternalResponse struct {
// contains filtered or unexported fields
}
func (*ConfigureNetworkingInternalResponse) Descriptor
deprecated
func (*ConfigureNetworkingInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureNetworkingInternalResponse.ProtoReflect.Descriptor instead.
func (*ConfigureNetworkingInternalResponse) ProtoMessage ¶
func (*ConfigureNetworkingInternalResponse) ProtoMessage()
func (*ConfigureNetworkingInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *ConfigureNetworkingInternalResponse) ProtoReflect() protoreflect.Message
func (*ConfigureNetworkingInternalResponse) Reset ¶
func (x *ConfigureNetworkingInternalResponse) Reset()
func (*ConfigureNetworkingInternalResponse) String ¶
func (x *ConfigureNetworkingInternalResponse) String() string
type NetworkConfigProxyService ¶
type NetworkConfigProxyService interface { RegisterComputeAgent(context.Context, *RegisterComputeAgentRequest) (*RegisterComputeAgentResponse, error) UnregisterComputeAgent(context.Context, *UnregisterComputeAgentRequest) (*UnregisterComputeAgentResponse, error) ConfigureNetworking(context.Context, *ConfigureNetworkingInternalRequest) (*ConfigureNetworkingInternalResponse, error) }
func NewNetworkConfigProxyClient ¶
func NewNetworkConfigProxyClient(client *ttrpc.Client) NetworkConfigProxyService
type RegisterComputeAgentRequest ¶
type RegisterComputeAgentRequest struct { AgentAddress string `protobuf:"bytes,1,opt,name=agent_address,json=agentAddress,proto3" json:"agent_address,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterComputeAgentRequest) Descriptor
deprecated
func (*RegisterComputeAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterComputeAgentRequest.ProtoReflect.Descriptor instead.
func (*RegisterComputeAgentRequest) GetAgentAddress ¶ added in v0.10.0
func (x *RegisterComputeAgentRequest) GetAgentAddress() string
func (*RegisterComputeAgentRequest) GetContainerID ¶ added in v0.10.0
func (x *RegisterComputeAgentRequest) GetContainerID() string
func (*RegisterComputeAgentRequest) ProtoMessage ¶
func (*RegisterComputeAgentRequest) ProtoMessage()
func (*RegisterComputeAgentRequest) ProtoReflect ¶ added in v0.10.0
func (x *RegisterComputeAgentRequest) ProtoReflect() protoreflect.Message
func (*RegisterComputeAgentRequest) Reset ¶
func (x *RegisterComputeAgentRequest) Reset()
func (*RegisterComputeAgentRequest) String ¶
func (x *RegisterComputeAgentRequest) String() string
type RegisterComputeAgentResponse ¶
type RegisterComputeAgentResponse struct {
// contains filtered or unexported fields
}
func (*RegisterComputeAgentResponse) Descriptor
deprecated
func (*RegisterComputeAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterComputeAgentResponse.ProtoReflect.Descriptor instead.
func (*RegisterComputeAgentResponse) ProtoMessage ¶
func (*RegisterComputeAgentResponse) ProtoMessage()
func (*RegisterComputeAgentResponse) ProtoReflect ¶ added in v0.10.0
func (x *RegisterComputeAgentResponse) ProtoReflect() protoreflect.Message
func (*RegisterComputeAgentResponse) Reset ¶
func (x *RegisterComputeAgentResponse) Reset()
func (*RegisterComputeAgentResponse) String ¶
func (x *RegisterComputeAgentResponse) String() string
type RequestTypeInternal ¶
type RequestTypeInternal int32
const ( RequestTypeInternal_Setup RequestTypeInternal = 0 RequestTypeInternal_Teardown RequestTypeInternal = 1 )
func (RequestTypeInternal) Descriptor ¶ added in v0.10.0
func (RequestTypeInternal) Descriptor() protoreflect.EnumDescriptor
func (RequestTypeInternal) Enum ¶ added in v0.10.0
func (x RequestTypeInternal) Enum() *RequestTypeInternal
func (RequestTypeInternal) EnumDescriptor
deprecated
func (RequestTypeInternal) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestTypeInternal.Descriptor instead.
func (RequestTypeInternal) Number ¶ added in v0.10.0
func (x RequestTypeInternal) Number() protoreflect.EnumNumber
func (RequestTypeInternal) String ¶
func (x RequestTypeInternal) String() string
func (RequestTypeInternal) Type ¶ added in v0.10.0
func (RequestTypeInternal) Type() protoreflect.EnumType
type UnregisterComputeAgentRequest ¶ added in v0.9.0
type UnregisterComputeAgentRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*UnregisterComputeAgentRequest) Descriptor
deprecated
added in
v0.9.0
func (*UnregisterComputeAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterComputeAgentRequest.ProtoReflect.Descriptor instead.
func (*UnregisterComputeAgentRequest) GetContainerID ¶ added in v0.10.0
func (x *UnregisterComputeAgentRequest) GetContainerID() string
func (*UnregisterComputeAgentRequest) ProtoMessage ¶ added in v0.9.0
func (*UnregisterComputeAgentRequest) ProtoMessage()
func (*UnregisterComputeAgentRequest) ProtoReflect ¶ added in v0.10.0
func (x *UnregisterComputeAgentRequest) ProtoReflect() protoreflect.Message
func (*UnregisterComputeAgentRequest) Reset ¶ added in v0.9.0
func (x *UnregisterComputeAgentRequest) Reset()
func (*UnregisterComputeAgentRequest) String ¶ added in v0.9.0
func (x *UnregisterComputeAgentRequest) String() string
type UnregisterComputeAgentResponse ¶ added in v0.9.0
type UnregisterComputeAgentResponse struct {
// contains filtered or unexported fields
}
func (*UnregisterComputeAgentResponse) Descriptor
deprecated
added in
v0.9.0
func (*UnregisterComputeAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterComputeAgentResponse.ProtoReflect.Descriptor instead.
func (*UnregisterComputeAgentResponse) ProtoMessage ¶ added in v0.9.0
func (*UnregisterComputeAgentResponse) ProtoMessage()
func (*UnregisterComputeAgentResponse) ProtoReflect ¶ added in v0.10.0
func (x *UnregisterComputeAgentResponse) ProtoReflect() protoreflect.Message
func (*UnregisterComputeAgentResponse) Reset ¶ added in v0.9.0
func (x *UnregisterComputeAgentResponse) Reset()
func (*UnregisterComputeAgentResponse) String ¶ added in v0.9.0
func (x *UnregisterComputeAgentResponse) String() string