hardware

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHardware        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHardware          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHardware = fmt.Errorf("proto: unexpected end of group")
)

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) MarshalTo

func (m *ListPCIRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *ListPCIResponse) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL