Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/Microsoft/hcsshim/internal/computeagent/computeagent.proto
Package computeagent contains the proto and compiled go files for the compute agent service.
A mock service under `mock` is used for unit testing the various services used for ncproxy.
Index ¶
- Variables
- func RegisterComputeAgentService(srv *ttrpc.Server, svc ComputeAgentService)
- type AddNICInternalRequest
- func (*AddNICInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNICInternalRequest) GetContainerID() string
- func (x *AddNICInternalRequest) GetEndpoint() *anypb.Any
- func (x *AddNICInternalRequest) GetNicID() string
- func (*AddNICInternalRequest) ProtoMessage()
- func (x *AddNICInternalRequest) ProtoReflect() protoreflect.Message
- func (x *AddNICInternalRequest) Reset()
- func (x *AddNICInternalRequest) String() string
- type AddNICInternalResponse
- type AssignPCIInternalRequest
- func (*AssignPCIInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPCIInternalRequest) GetContainerID() string
- func (x *AssignPCIInternalRequest) GetDeviceID() string
- func (x *AssignPCIInternalRequest) GetNicID() string
- func (x *AssignPCIInternalRequest) GetVirtualFunctionIndex() uint32
- func (*AssignPCIInternalRequest) ProtoMessage()
- func (x *AssignPCIInternalRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPCIInternalRequest) Reset()
- func (x *AssignPCIInternalRequest) String() string
- type AssignPCIInternalResponse
- func (*AssignPCIInternalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPCIInternalResponse) GetID() string
- func (*AssignPCIInternalResponse) ProtoMessage()
- func (x *AssignPCIInternalResponse) ProtoReflect() protoreflect.Message
- func (x *AssignPCIInternalResponse) Reset()
- func (x *AssignPCIInternalResponse) String() string
- type ComputeAgentService
- type DeleteNICInternalRequest
- func (*DeleteNICInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNICInternalRequest) GetContainerID() string
- func (x *DeleteNICInternalRequest) GetEndpoint() *anypb.Any
- func (x *DeleteNICInternalRequest) GetNicID() string
- func (*DeleteNICInternalRequest) ProtoMessage()
- func (x *DeleteNICInternalRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNICInternalRequest) Reset()
- func (x *DeleteNICInternalRequest) String() string
- type DeleteNICInternalResponse
- type IovSettings
- func (*IovSettings) Descriptor() ([]byte, []int)deprecated
- func (x *IovSettings) GetInterruptModeration() uint32
- func (x *IovSettings) GetIovOffloadWeight() uint32
- func (x *IovSettings) GetQueuePairsRequested() uint32
- func (*IovSettings) ProtoMessage()
- func (x *IovSettings) ProtoReflect() protoreflect.Message
- func (x *IovSettings) Reset()
- func (x *IovSettings) String() string
- type ModifyNICInternalRequest
- func (*ModifyNICInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyNICInternalRequest) GetEndpoint() *anypb.Any
- func (x *ModifyNICInternalRequest) GetIovPolicySettings() *IovSettings
- func (x *ModifyNICInternalRequest) GetNicID() string
- func (*ModifyNICInternalRequest) ProtoMessage()
- func (x *ModifyNICInternalRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyNICInternalRequest) Reset()
- func (x *ModifyNICInternalRequest) String() string
- type ModifyNICInternalResponse
- type RemovePCIInternalRequest
- func (*RemovePCIInternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePCIInternalRequest) GetContainerID() string
- func (x *RemovePCIInternalRequest) GetDeviceID() string
- func (x *RemovePCIInternalRequest) GetVirtualFunctionIndex() uint32
- func (*RemovePCIInternalRequest) ProtoMessage()
- func (x *RemovePCIInternalRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePCIInternalRequest) Reset()
- func (x *RemovePCIInternalRequest) String() string
- type RemovePCIInternalResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_Microsoft_hcsshim_internal_computeagent_computeagent_proto protoreflect.FileDescriptor
Functions ¶
func RegisterComputeAgentService ¶
func RegisterComputeAgentService(srv *ttrpc.Server, svc ComputeAgentService)
Types ¶
type AddNICInternalRequest ¶
type AddNICInternalRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` NicID string `protobuf:"bytes,2,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` Endpoint *anypb.Any `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*AddNICInternalRequest) Descriptor
deprecated
func (*AddNICInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNICInternalRequest.ProtoReflect.Descriptor instead.
func (*AddNICInternalRequest) GetContainerID ¶ added in v0.10.0
func (x *AddNICInternalRequest) GetContainerID() string
func (*AddNICInternalRequest) GetEndpoint ¶ added in v0.10.0
func (x *AddNICInternalRequest) GetEndpoint() *anypb.Any
func (*AddNICInternalRequest) GetNicID ¶ added in v0.10.0
func (x *AddNICInternalRequest) GetNicID() string
func (*AddNICInternalRequest) ProtoMessage ¶
func (*AddNICInternalRequest) ProtoMessage()
func (*AddNICInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *AddNICInternalRequest) ProtoReflect() protoreflect.Message
func (*AddNICInternalRequest) Reset ¶
func (x *AddNICInternalRequest) Reset()
func (*AddNICInternalRequest) String ¶
func (x *AddNICInternalRequest) String() string
type AddNICInternalResponse ¶
type AddNICInternalResponse struct {
// contains filtered or unexported fields
}
func (*AddNICInternalResponse) Descriptor
deprecated
func (*AddNICInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNICInternalResponse.ProtoReflect.Descriptor instead.
func (*AddNICInternalResponse) ProtoMessage ¶
func (*AddNICInternalResponse) ProtoMessage()
func (*AddNICInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *AddNICInternalResponse) ProtoReflect() protoreflect.Message
func (*AddNICInternalResponse) Reset ¶
func (x *AddNICInternalResponse) Reset()
func (*AddNICInternalResponse) String ¶
func (x *AddNICInternalResponse) String() string
type AssignPCIInternalRequest ¶ added in v0.10.0
type AssignPCIInternalRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` VirtualFunctionIndex uint32 `protobuf:"varint,3,opt,name=virtual_function_index,json=virtualFunctionIndex,proto3" json:"virtual_function_index,omitempty"` NicID string `protobuf:"bytes,4,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` // contains filtered or unexported fields }
func (*AssignPCIInternalRequest) Descriptor
deprecated
added in
v0.10.0
func (*AssignPCIInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignPCIInternalRequest.ProtoReflect.Descriptor instead.
func (*AssignPCIInternalRequest) GetContainerID ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) GetContainerID() string
func (*AssignPCIInternalRequest) GetDeviceID ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) GetDeviceID() string
func (*AssignPCIInternalRequest) GetNicID ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) GetNicID() string
func (*AssignPCIInternalRequest) GetVirtualFunctionIndex ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) GetVirtualFunctionIndex() uint32
func (*AssignPCIInternalRequest) ProtoMessage ¶ added in v0.10.0
func (*AssignPCIInternalRequest) ProtoMessage()
func (*AssignPCIInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) ProtoReflect() protoreflect.Message
func (*AssignPCIInternalRequest) Reset ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) Reset()
func (*AssignPCIInternalRequest) String ¶ added in v0.10.0
func (x *AssignPCIInternalRequest) String() string
type AssignPCIInternalResponse ¶ added in v0.10.0
type AssignPCIInternalResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AssignPCIInternalResponse) Descriptor
deprecated
added in
v0.10.0
func (*AssignPCIInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignPCIInternalResponse.ProtoReflect.Descriptor instead.
func (*AssignPCIInternalResponse) GetID ¶ added in v0.10.0
func (x *AssignPCIInternalResponse) GetID() string
func (*AssignPCIInternalResponse) ProtoMessage ¶ added in v0.10.0
func (*AssignPCIInternalResponse) ProtoMessage()
func (*AssignPCIInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *AssignPCIInternalResponse) ProtoReflect() protoreflect.Message
func (*AssignPCIInternalResponse) Reset ¶ added in v0.10.0
func (x *AssignPCIInternalResponse) Reset()
func (*AssignPCIInternalResponse) String ¶ added in v0.10.0
func (x *AssignPCIInternalResponse) String() string
type ComputeAgentService ¶
type ComputeAgentService interface { AddNIC(context.Context, *AddNICInternalRequest) (*AddNICInternalResponse, error) ModifyNIC(context.Context, *ModifyNICInternalRequest) (*ModifyNICInternalResponse, error) DeleteNIC(context.Context, *DeleteNICInternalRequest) (*DeleteNICInternalResponse, error) AssignPCI(context.Context, *AssignPCIInternalRequest) (*AssignPCIInternalResponse, error) RemovePCI(context.Context, *RemovePCIInternalRequest) (*RemovePCIInternalResponse, error) }
func NewComputeAgentClient ¶
func NewComputeAgentClient(client *ttrpc.Client) ComputeAgentService
type DeleteNICInternalRequest ¶
type DeleteNICInternalRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` NicID string `protobuf:"bytes,2,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` Endpoint *anypb.Any `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*DeleteNICInternalRequest) Descriptor
deprecated
func (*DeleteNICInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNICInternalRequest.ProtoReflect.Descriptor instead.
func (*DeleteNICInternalRequest) GetContainerID ¶ added in v0.10.0
func (x *DeleteNICInternalRequest) GetContainerID() string
func (*DeleteNICInternalRequest) GetEndpoint ¶ added in v0.10.0
func (x *DeleteNICInternalRequest) GetEndpoint() *anypb.Any
func (*DeleteNICInternalRequest) GetNicID ¶ added in v0.10.0
func (x *DeleteNICInternalRequest) GetNicID() string
func (*DeleteNICInternalRequest) ProtoMessage ¶
func (*DeleteNICInternalRequest) ProtoMessage()
func (*DeleteNICInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteNICInternalRequest) ProtoReflect() protoreflect.Message
func (*DeleteNICInternalRequest) Reset ¶
func (x *DeleteNICInternalRequest) Reset()
func (*DeleteNICInternalRequest) String ¶
func (x *DeleteNICInternalRequest) String() string
type DeleteNICInternalResponse ¶
type DeleteNICInternalResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNICInternalResponse) Descriptor
deprecated
func (*DeleteNICInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNICInternalResponse.ProtoReflect.Descriptor instead.
func (*DeleteNICInternalResponse) ProtoMessage ¶
func (*DeleteNICInternalResponse) ProtoMessage()
func (*DeleteNICInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *DeleteNICInternalResponse) ProtoReflect() protoreflect.Message
func (*DeleteNICInternalResponse) Reset ¶
func (x *DeleteNICInternalResponse) Reset()
func (*DeleteNICInternalResponse) String ¶
func (x *DeleteNICInternalResponse) String() string
type IovSettings ¶
type IovSettings struct { IovOffloadWeight uint32 `protobuf:"varint,1,opt,name=IovOffloadWeight,proto3" json:"IovOffloadWeight,omitempty"` QueuePairsRequested uint32 `protobuf:"varint,2,opt,name=QueuePairsRequested,proto3" json:"QueuePairsRequested,omitempty"` InterruptModeration uint32 `protobuf:"varint,3,opt,name=InterruptModeration,proto3" json:"InterruptModeration,omitempty"` // contains filtered or unexported fields }
func (*IovSettings) Descriptor
deprecated
func (*IovSettings) Descriptor() ([]byte, []int)
Deprecated: Use IovSettings.ProtoReflect.Descriptor instead.
func (*IovSettings) GetInterruptModeration ¶ added in v0.10.0
func (x *IovSettings) GetInterruptModeration() uint32
func (*IovSettings) GetIovOffloadWeight ¶ added in v0.10.0
func (x *IovSettings) GetIovOffloadWeight() uint32
func (*IovSettings) GetQueuePairsRequested ¶ added in v0.10.0
func (x *IovSettings) GetQueuePairsRequested() uint32
func (*IovSettings) ProtoMessage ¶
func (*IovSettings) ProtoMessage()
func (*IovSettings) ProtoReflect ¶ added in v0.10.0
func (x *IovSettings) ProtoReflect() protoreflect.Message
func (*IovSettings) Reset ¶
func (x *IovSettings) Reset()
func (*IovSettings) String ¶
func (x *IovSettings) String() string
type ModifyNICInternalRequest ¶
type ModifyNICInternalRequest struct { NicID string `protobuf:"bytes,1,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` Endpoint *anypb.Any `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` IovPolicySettings *IovSettings `protobuf:"bytes,3,opt,name=iov_policy_settings,json=iovPolicySettings,proto3" json:"iov_policy_settings,omitempty"` // contains filtered or unexported fields }
func (*ModifyNICInternalRequest) Descriptor
deprecated
func (*ModifyNICInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyNICInternalRequest.ProtoReflect.Descriptor instead.
func (*ModifyNICInternalRequest) GetEndpoint ¶ added in v0.10.0
func (x *ModifyNICInternalRequest) GetEndpoint() *anypb.Any
func (*ModifyNICInternalRequest) GetIovPolicySettings ¶ added in v0.10.0
func (x *ModifyNICInternalRequest) GetIovPolicySettings() *IovSettings
func (*ModifyNICInternalRequest) GetNicID ¶ added in v0.10.0
func (x *ModifyNICInternalRequest) GetNicID() string
func (*ModifyNICInternalRequest) ProtoMessage ¶
func (*ModifyNICInternalRequest) ProtoMessage()
func (*ModifyNICInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *ModifyNICInternalRequest) ProtoReflect() protoreflect.Message
func (*ModifyNICInternalRequest) Reset ¶
func (x *ModifyNICInternalRequest) Reset()
func (*ModifyNICInternalRequest) String ¶
func (x *ModifyNICInternalRequest) String() string
type ModifyNICInternalResponse ¶
type ModifyNICInternalResponse struct {
// contains filtered or unexported fields
}
func (*ModifyNICInternalResponse) Descriptor
deprecated
func (*ModifyNICInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyNICInternalResponse.ProtoReflect.Descriptor instead.
func (*ModifyNICInternalResponse) ProtoMessage ¶
func (*ModifyNICInternalResponse) ProtoMessage()
func (*ModifyNICInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *ModifyNICInternalResponse) ProtoReflect() protoreflect.Message
func (*ModifyNICInternalResponse) Reset ¶
func (x *ModifyNICInternalResponse) Reset()
func (*ModifyNICInternalResponse) String ¶
func (x *ModifyNICInternalResponse) String() string
type RemovePCIInternalRequest ¶ added in v0.10.0
type RemovePCIInternalRequest struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` VirtualFunctionIndex uint32 `protobuf:"varint,3,opt,name=virtual_function_index,json=virtualFunctionIndex,proto3" json:"virtual_function_index,omitempty"` // contains filtered or unexported fields }
func (*RemovePCIInternalRequest) Descriptor
deprecated
added in
v0.10.0
func (*RemovePCIInternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePCIInternalRequest.ProtoReflect.Descriptor instead.
func (*RemovePCIInternalRequest) GetContainerID ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) GetContainerID() string
func (*RemovePCIInternalRequest) GetDeviceID ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) GetDeviceID() string
func (*RemovePCIInternalRequest) GetVirtualFunctionIndex ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) GetVirtualFunctionIndex() uint32
func (*RemovePCIInternalRequest) ProtoMessage ¶ added in v0.10.0
func (*RemovePCIInternalRequest) ProtoMessage()
func (*RemovePCIInternalRequest) ProtoReflect ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) ProtoReflect() protoreflect.Message
func (*RemovePCIInternalRequest) Reset ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) Reset()
func (*RemovePCIInternalRequest) String ¶ added in v0.10.0
func (x *RemovePCIInternalRequest) String() string
type RemovePCIInternalResponse ¶ added in v0.10.0
type RemovePCIInternalResponse struct {
// contains filtered or unexported fields
}
func (*RemovePCIInternalResponse) Descriptor
deprecated
added in
v0.10.0
func (*RemovePCIInternalResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePCIInternalResponse.ProtoReflect.Descriptor instead.
func (*RemovePCIInternalResponse) ProtoMessage ¶ added in v0.10.0
func (*RemovePCIInternalResponse) ProtoMessage()
func (*RemovePCIInternalResponse) ProtoReflect ¶ added in v0.10.0
func (x *RemovePCIInternalResponse) ProtoReflect() protoreflect.Message
func (*RemovePCIInternalResponse) Reset ¶ added in v0.10.0
func (x *RemovePCIInternalResponse) Reset()
func (*RemovePCIInternalResponse) String ¶ added in v0.10.0
func (x *RemovePCIInternalResponse) String() string