pci

package
v0.7.32 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPci        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPci          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPci = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterPciServer

func RegisterPciServer(s *grpc.Server, srv PciServer)

Types

type GetRequest

type GetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*GetRequest) Descriptor

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetId

func (m *GetRequest) GetId() string

func (*GetRequest) Marshal

func (m *GetRequest) Marshal() (dAtA []byte, err error)

func (*GetRequest) MarshalTo

func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRequest) MarshalToSizedBuffer

func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) Size

func (m *GetRequest) Size() (n int)

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) Unmarshal

func (m *GetRequest) Unmarshal(dAtA []byte) error

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
}

func (*GetResponse) Descriptor

func (*GetResponse) Descriptor() ([]byte, []int)

func (*GetResponse) GetObject

func (m *GetResponse) GetObject() *Object

func (*GetResponse) Marshal

func (m *GetResponse) Marshal() (dAtA []byte, err error)

func (*GetResponse) MarshalTo

func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetResponse) MarshalToSizedBuffer

func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) Size

func (m *GetResponse) Size() (n int)

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) Unmarshal

func (m *GetResponse) Unmarshal(dAtA []byte) error

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type Object

type Object struct {
	Id         string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Revision   uint64            `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Attributes map[string]string `` /* 161-byte string literal not displayed */
}

func (*Object) Descriptor

func (*Object) Descriptor() ([]byte, []int)

func (*Object) GetAttributes

func (m *Object) GetAttributes() map[string]string

func (*Object) GetId

func (m *Object) GetId() string

func (*Object) GetRevision

func (m *Object) GetRevision() uint64

func (*Object) Marshal

func (m *Object) Marshal() (dAtA []byte, err error)

func (*Object) MarshalTo

func (m *Object) MarshalTo(dAtA []byte) (int, error)

func (*Object) MarshalToSizedBuffer

func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) Size

func (m *Object) Size() (n int)

func (*Object) String

func (m *Object) String() string

func (*Object) Unmarshal

func (m *Object) Unmarshal(dAtA []byte) error

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge

func (m *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

func (m *Object) XXX_Unmarshal(b []byte) error

type PciClient

type PciClient interface {
	GetNumConflicts(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetNumConflictsAll(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetNeighbors(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetNeighborsAll(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetMetric(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetMetricAll(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetPci(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	GetPciAll(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
}

PciClient is the client API for Pci service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPciClient

func NewPciClient(cc *grpc.ClientConn) PciClient

type PciServer

type PciServer interface {
	GetNumConflicts(context.Context, *GetRequest) (*GetResponse, error)
	GetNumConflictsAll(context.Context, *GetRequest) (*GetResponse, error)
	GetNeighbors(context.Context, *GetRequest) (*GetResponse, error)
	GetNeighborsAll(context.Context, *GetRequest) (*GetResponse, error)
	GetMetric(context.Context, *GetRequest) (*GetResponse, error)
	GetMetricAll(context.Context, *GetRequest) (*GetResponse, error)
	GetPci(context.Context, *GetRequest) (*GetResponse, error)
	GetPciAll(context.Context, *GetRequest) (*GetResponse, error)
}

PciServer is the server API for Pci service.

type UnimplementedPciServer

type UnimplementedPciServer struct {
}

UnimplementedPciServer can be embedded to have forward compatible implementations.

func (*UnimplementedPciServer) GetMetric

func (*UnimplementedPciServer) GetMetricAll

func (*UnimplementedPciServer) GetMetricAll(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedPciServer) GetNeighbors

func (*UnimplementedPciServer) GetNeighbors(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedPciServer) GetNeighborsAll

func (*UnimplementedPciServer) GetNeighborsAll(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedPciServer) GetNumConflicts

func (*UnimplementedPciServer) GetNumConflicts(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedPciServer) GetNumConflictsAll

func (*UnimplementedPciServer) GetNumConflictsAll(ctx context.Context, req *GetRequest) (*GetResponse, error)

func (*UnimplementedPciServer) GetPci

func (*UnimplementedPciServer) GetPciAll

Jump to

Keyboard shortcuts

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