Documentation ¶
Index ¶
- Variables
- func RegisterPciServer(s *grpc.Server, srv PciServer)
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() string
- func (m *GetRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) Size() (n int)
- func (m *GetRequest) String() string
- func (m *GetRequest) Unmarshal(dAtA []byte) error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetObject() *Object
- func (m *GetResponse) Marshal() (dAtA []byte, err error)
- func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) Size() (n int)
- func (m *GetResponse) String() string
- func (m *GetResponse) Unmarshal(dAtA []byte) error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetAttributes() map[string]string
- func (m *Object) GetId() string
- func (m *Object) GetRevision() uint64
- func (m *Object) Marshal() (dAtA []byte, err error)
- func (m *Object) MarshalTo(dAtA []byte) (int, error)
- func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) Size() (n int)
- func (m *Object) String() string
- func (m *Object) Unmarshal(dAtA []byte) error
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type PciClient
- type PciServer
- type UnimplementedPciServer
- func (*UnimplementedPciServer) GetMetric(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetMetricAll(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetNeighbors(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetNeighborsAll(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetNumConflicts(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetNumConflictsAll(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetPci(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedPciServer) GetPciAll(ctx context.Context, req *GetRequest) (*GetResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterPciServer ¶
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) 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) 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) GetAttributes ¶
func (*Object) GetRevision ¶
func (*Object) MarshalToSizedBuffer ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) XXX_DiscardUnknown ¶
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶
func (*Object) XXX_Unmarshal ¶
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) GetMetric(ctx context.Context, req *GetRequest) (*GetResponse, error)
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) GetPci(ctx context.Context, req *GetRequest) (*GetResponse, error)
func (*UnimplementedPciServer) GetPciAll ¶
func (*UnimplementedPciServer) GetPciAll(ctx context.Context, req *GetRequest) (*GetResponse, error)
Click to show internal directories.
Click to hide internal directories.