Documentation ¶
Index ¶
- Variables
- func RegisterHardwareServiceServer(s *grpc.Server, srv HardwareServiceServer)
- type HardwareServiceClient
- type HardwareServiceServer
- type ListPCIRequest
- func (*ListPCIRequest) Descriptor() ([]byte, []int)
- func (m *ListPCIRequest) Marshal() (dAtA []byte, err error)
- func (m *ListPCIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListPCIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListPCIRequest) ProtoMessage()
- func (m *ListPCIRequest) Reset()
- func (m *ListPCIRequest) Size() (n int)
- func (m *ListPCIRequest) String() string
- func (m *ListPCIRequest) Unmarshal(dAtA []byte) error
- func (m *ListPCIRequest) XXX_DiscardUnknown()
- func (m *ListPCIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPCIRequest) XXX_Merge(src proto.Message)
- func (m *ListPCIRequest) XXX_Size() int
- func (m *ListPCIRequest) XXX_Unmarshal(b []byte) error
- type ListPCIResponse
- func (*ListPCIResponse) Descriptor() ([]byte, []int)
- func (m *ListPCIResponse) GetDevices() []*types.PCIDevice
- func (m *ListPCIResponse) Marshal() (dAtA []byte, err error)
- func (m *ListPCIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListPCIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListPCIResponse) ProtoMessage()
- func (m *ListPCIResponse) Reset()
- func (m *ListPCIResponse) Size() (n int)
- func (m *ListPCIResponse) String() string
- func (m *ListPCIResponse) Unmarshal(dAtA []byte) error
- func (m *ListPCIResponse) XXX_DiscardUnknown()
- func (m *ListPCIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPCIResponse) XXX_Merge(src proto.Message)
- func (m *ListPCIResponse) XXX_Size() int
- func (m *ListPCIResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedHardwareServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterHardwareServiceServer ¶
func RegisterHardwareServiceServer(s *grpc.Server, srv HardwareServiceServer)
Types ¶
type HardwareServiceClient ¶
type HardwareServiceClient interface {
ListPCI(ctx context.Context, in *ListPCIRequest, opts ...grpc.CallOption) (*ListPCIResponse, error)
}
HardwareServiceClient is the client API for HardwareService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHardwareServiceClient ¶
func NewHardwareServiceClient(cc *grpc.ClientConn) HardwareServiceClient
type HardwareServiceServer ¶
type HardwareServiceServer interface {
ListPCI(context.Context, *ListPCIRequest) (*ListPCIResponse, error)
}
HardwareServiceServer is the server API for HardwareService service.
type ListPCIRequest ¶
type ListPCIRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPCIRequest) Descriptor ¶
func (*ListPCIRequest) Descriptor() ([]byte, []int)
func (*ListPCIRequest) Marshal ¶
func (m *ListPCIRequest) Marshal() (dAtA []byte, err error)
func (*ListPCIRequest) MarshalToSizedBuffer ¶
func (m *ListPCIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListPCIRequest) ProtoMessage ¶
func (*ListPCIRequest) ProtoMessage()
func (*ListPCIRequest) Reset ¶
func (m *ListPCIRequest) Reset()
func (*ListPCIRequest) Size ¶
func (m *ListPCIRequest) Size() (n int)
func (*ListPCIRequest) String ¶
func (m *ListPCIRequest) String() string
func (*ListPCIRequest) Unmarshal ¶
func (m *ListPCIRequest) Unmarshal(dAtA []byte) error
func (*ListPCIRequest) XXX_DiscardUnknown ¶
func (m *ListPCIRequest) XXX_DiscardUnknown()
func (*ListPCIRequest) XXX_Marshal ¶
func (m *ListPCIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPCIRequest) XXX_Merge ¶
func (m *ListPCIRequest) XXX_Merge(src proto.Message)
func (*ListPCIRequest) XXX_Size ¶
func (m *ListPCIRequest) XXX_Size() int
func (*ListPCIRequest) XXX_Unmarshal ¶
func (m *ListPCIRequest) XXX_Unmarshal(b []byte) error
type ListPCIResponse ¶
type ListPCIResponse struct { Devices []*types.PCIDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPCIResponse) Descriptor ¶
func (*ListPCIResponse) Descriptor() ([]byte, []int)
func (*ListPCIResponse) GetDevices ¶
func (m *ListPCIResponse) GetDevices() []*types.PCIDevice
func (*ListPCIResponse) Marshal ¶
func (m *ListPCIResponse) Marshal() (dAtA []byte, err error)
func (*ListPCIResponse) MarshalToSizedBuffer ¶
func (m *ListPCIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListPCIResponse) ProtoMessage ¶
func (*ListPCIResponse) ProtoMessage()
func (*ListPCIResponse) Reset ¶
func (m *ListPCIResponse) Reset()
func (*ListPCIResponse) Size ¶
func (m *ListPCIResponse) Size() (n int)
func (*ListPCIResponse) String ¶
func (m *ListPCIResponse) String() string
func (*ListPCIResponse) Unmarshal ¶
func (m *ListPCIResponse) Unmarshal(dAtA []byte) error
func (*ListPCIResponse) XXX_DiscardUnknown ¶
func (m *ListPCIResponse) XXX_DiscardUnknown()
func (*ListPCIResponse) XXX_Marshal ¶
func (m *ListPCIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPCIResponse) XXX_Merge ¶
func (m *ListPCIResponse) XXX_Merge(src proto.Message)
func (*ListPCIResponse) XXX_Size ¶
func (m *ListPCIResponse) XXX_Size() int
func (*ListPCIResponse) XXX_Unmarshal ¶
func (m *ListPCIResponse) XXX_Unmarshal(b []byte) error
type UnimplementedHardwareServiceServer ¶
type UnimplementedHardwareServiceServer struct { }
UnimplementedHardwareServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHardwareServiceServer) ListPCI ¶
func (*UnimplementedHardwareServiceServer) ListPCI(ctx context.Context, req *ListPCIRequest) (*ListPCIResponse, error)
Click to show internal directories.
Click to hide internal directories.