Documentation ¶
Index ¶
- Variables
- func RegisterStatusServiceServer(s *grpc.Server, srv StatusServiceServer)
- type BtfsScanAggrReq
- func (*BtfsScanAggrReq) Descriptor() ([]byte, []int)
- func (m *BtfsScanAggrReq) GetInfo() *node.BtfsScanTab
- func (m *BtfsScanAggrReq) Marshal() (dAtA []byte, err error)
- func (m *BtfsScanAggrReq) MarshalTo(dAtA []byte) (int, error)
- func (m *BtfsScanAggrReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BtfsScanAggrReq) ProtoMessage()
- func (m *BtfsScanAggrReq) Reset()
- func (m *BtfsScanAggrReq) Size() (n int)
- func (m *BtfsScanAggrReq) String() string
- func (m *BtfsScanAggrReq) Unmarshal(dAtA []byte) error
- func (m *BtfsScanAggrReq) XXX_DiscardUnknown()
- func (m *BtfsScanAggrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BtfsScanAggrReq) XXX_Merge(src proto.Message)
- func (*BtfsScanAggrReq) XXX_MessageName() string
- func (m *BtfsScanAggrReq) XXX_Size() int
- func (m *BtfsScanAggrReq) XXX_Unmarshal(b []byte) error
- type BtfsScanAggrResp
- func (*BtfsScanAggrResp) Descriptor() ([]byte, []int)
- func (m *BtfsScanAggrResp) GetCode() hub.ResponseCode
- func (m *BtfsScanAggrResp) GetMessage() string
- func (m *BtfsScanAggrResp) Marshal() (dAtA []byte, err error)
- func (m *BtfsScanAggrResp) MarshalTo(dAtA []byte) (int, error)
- func (m *BtfsScanAggrResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BtfsScanAggrResp) ProtoMessage()
- func (m *BtfsScanAggrResp) Reset()
- func (m *BtfsScanAggrResp) Size() (n int)
- func (m *BtfsScanAggrResp) String() string
- func (m *BtfsScanAggrResp) Unmarshal(dAtA []byte) error
- func (m *BtfsScanAggrResp) XXX_DiscardUnknown()
- func (m *BtfsScanAggrResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BtfsScanAggrResp) XXX_Merge(src proto.Message)
- func (*BtfsScanAggrResp) XXX_MessageName() string
- func (m *BtfsScanAggrResp) XXX_Size() int
- func (m *BtfsScanAggrResp) XXX_Unmarshal(b []byte) error
- type NodeMetricsAggrReq
- func (*NodeMetricsAggrReq) Descriptor() ([]byte, []int)
- func (m *NodeMetricsAggrReq) GetSource() string
- func (m *NodeMetricsAggrReq) Marshal() (dAtA []byte, err error)
- func (m *NodeMetricsAggrReq) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeMetricsAggrReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeMetricsAggrReq) ProtoMessage()
- func (m *NodeMetricsAggrReq) Reset()
- func (m *NodeMetricsAggrReq) Size() (n int)
- func (m *NodeMetricsAggrReq) String() string
- func (m *NodeMetricsAggrReq) Unmarshal(dAtA []byte) error
- func (m *NodeMetricsAggrReq) XXX_DiscardUnknown()
- func (m *NodeMetricsAggrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeMetricsAggrReq) XXX_Merge(src proto.Message)
- func (*NodeMetricsAggrReq) XXX_MessageName() string
- func (m *NodeMetricsAggrReq) XXX_Size() int
- func (m *NodeMetricsAggrReq) XXX_Unmarshal(b []byte) error
- type SignedMetrics
- func (*SignedMetrics) Descriptor() ([]byte, []int)
- func (m *SignedMetrics) GetPayload() []byte
- func (m *SignedMetrics) GetPublicKey() []byte
- func (m *SignedMetrics) GetSignature() []byte
- func (m *SignedMetrics) Marshal() (dAtA []byte, err error)
- func (m *SignedMetrics) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedMetrics) ProtoMessage()
- func (m *SignedMetrics) Reset()
- func (m *SignedMetrics) Size() (n int)
- func (m *SignedMetrics) String() string
- func (m *SignedMetrics) Unmarshal(dAtA []byte) error
- func (m *SignedMetrics) XXX_DiscardUnknown()
- func (m *SignedMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedMetrics) XXX_Merge(src proto.Message)
- func (*SignedMetrics) XXX_MessageName() string
- func (m *SignedMetrics) XXX_Size() int
- func (m *SignedMetrics) XXX_Unmarshal(b []byte) error
- type StatusServiceClient
- type StatusServiceServer
- type UnimplementedStatusServiceServer
- func (*UnimplementedStatusServiceServer) UpdateBtfsScanAggr(ctx context.Context, req *BtfsScanAggrReq) (*BtfsScanAggrResp, error)
- func (*UnimplementedStatusServiceServer) UpdateMetrics(ctx context.Context, req *SignedMetrics) (*types.Empty, error)
- func (*UnimplementedStatusServiceServer) UpdateMetricsAggregation(ctx context.Context, req *NodeMetricsAggrReq) (*types.Empty, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterStatusServiceServer ¶ added in v0.1.8
func RegisterStatusServiceServer(s *grpc.Server, srv StatusServiceServer)
Types ¶
type BtfsScanAggrReq ¶ added in v0.7.5
type BtfsScanAggrReq struct { Info *node.BtfsScanTab `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty" pg:"info"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*BtfsScanAggrReq) Descriptor ¶ added in v0.7.5
func (*BtfsScanAggrReq) Descriptor() ([]byte, []int)
func (*BtfsScanAggrReq) GetInfo ¶
func (m *BtfsScanAggrReq) GetInfo() *node.BtfsScanTab
func (*BtfsScanAggrReq) Marshal ¶ added in v0.7.5
func (m *BtfsScanAggrReq) Marshal() (dAtA []byte, err error)
func (*BtfsScanAggrReq) MarshalTo ¶ added in v0.7.5
func (m *BtfsScanAggrReq) MarshalTo(dAtA []byte) (int, error)
func (*BtfsScanAggrReq) MarshalToSizedBuffer ¶ added in v0.7.5
func (m *BtfsScanAggrReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BtfsScanAggrReq) ProtoMessage ¶ added in v0.7.5
func (*BtfsScanAggrReq) ProtoMessage()
func (*BtfsScanAggrReq) Reset ¶ added in v0.7.5
func (m *BtfsScanAggrReq) Reset()
func (*BtfsScanAggrReq) Size ¶ added in v0.7.5
func (m *BtfsScanAggrReq) Size() (n int)
func (*BtfsScanAggrReq) String ¶ added in v0.7.5
func (m *BtfsScanAggrReq) String() string
func (*BtfsScanAggrReq) Unmarshal ¶ added in v0.7.5
func (m *BtfsScanAggrReq) Unmarshal(dAtA []byte) error
func (*BtfsScanAggrReq) XXX_DiscardUnknown ¶ added in v0.7.5
func (m *BtfsScanAggrReq) XXX_DiscardUnknown()
func (*BtfsScanAggrReq) XXX_Marshal ¶ added in v0.7.5
func (m *BtfsScanAggrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BtfsScanAggrReq) XXX_Merge ¶ added in v0.7.5
func (m *BtfsScanAggrReq) XXX_Merge(src proto.Message)
func (*BtfsScanAggrReq) XXX_MessageName ¶ added in v0.7.5
func (*BtfsScanAggrReq) XXX_MessageName() string
func (*BtfsScanAggrReq) XXX_Size ¶ added in v0.7.5
func (m *BtfsScanAggrReq) XXX_Size() int
func (*BtfsScanAggrReq) XXX_Unmarshal ¶ added in v0.7.5
func (m *BtfsScanAggrReq) XXX_Unmarshal(b []byte) error
type BtfsScanAggrResp ¶
type BtfsScanAggrResp struct { Code hub.ResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=hub.ResponseCode" json:"code,omitempty" pg:"code"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty" pg:"message"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*BtfsScanAggrResp) Descriptor ¶
func (*BtfsScanAggrResp) Descriptor() ([]byte, []int)
func (*BtfsScanAggrResp) GetCode ¶
func (m *BtfsScanAggrResp) GetCode() hub.ResponseCode
func (*BtfsScanAggrResp) GetMessage ¶
func (m *BtfsScanAggrResp) GetMessage() string
func (*BtfsScanAggrResp) Marshal ¶
func (m *BtfsScanAggrResp) Marshal() (dAtA []byte, err error)
func (*BtfsScanAggrResp) MarshalToSizedBuffer ¶
func (m *BtfsScanAggrResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BtfsScanAggrResp) ProtoMessage ¶
func (*BtfsScanAggrResp) ProtoMessage()
func (*BtfsScanAggrResp) Reset ¶
func (m *BtfsScanAggrResp) Reset()
func (*BtfsScanAggrResp) Size ¶
func (m *BtfsScanAggrResp) Size() (n int)
func (*BtfsScanAggrResp) String ¶
func (m *BtfsScanAggrResp) String() string
func (*BtfsScanAggrResp) Unmarshal ¶
func (m *BtfsScanAggrResp) Unmarshal(dAtA []byte) error
func (*BtfsScanAggrResp) XXX_DiscardUnknown ¶
func (m *BtfsScanAggrResp) XXX_DiscardUnknown()
func (*BtfsScanAggrResp) XXX_Marshal ¶
func (m *BtfsScanAggrResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BtfsScanAggrResp) XXX_Merge ¶
func (m *BtfsScanAggrResp) XXX_Merge(src proto.Message)
func (*BtfsScanAggrResp) XXX_MessageName ¶
func (*BtfsScanAggrResp) XXX_MessageName() string
func (*BtfsScanAggrResp) XXX_Size ¶
func (m *BtfsScanAggrResp) XXX_Size() int
func (*BtfsScanAggrResp) XXX_Unmarshal ¶
func (m *BtfsScanAggrResp) XXX_Unmarshal(b []byte) error
type NodeMetricsAggrReq ¶ added in v0.4.3
type NodeMetricsAggrReq struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty" pg:"source"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*NodeMetricsAggrReq) Descriptor ¶ added in v0.4.3
func (*NodeMetricsAggrReq) Descriptor() ([]byte, []int)
func (*NodeMetricsAggrReq) GetSource ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) GetSource() string
func (*NodeMetricsAggrReq) Marshal ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) Marshal() (dAtA []byte, err error)
func (*NodeMetricsAggrReq) MarshalTo ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) MarshalTo(dAtA []byte) (int, error)
func (*NodeMetricsAggrReq) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeMetricsAggrReq) ProtoMessage ¶ added in v0.4.3
func (*NodeMetricsAggrReq) ProtoMessage()
func (*NodeMetricsAggrReq) Reset ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) Reset()
func (*NodeMetricsAggrReq) Size ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) Size() (n int)
func (*NodeMetricsAggrReq) String ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) String() string
func (*NodeMetricsAggrReq) Unmarshal ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) Unmarshal(dAtA []byte) error
func (*NodeMetricsAggrReq) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) XXX_DiscardUnknown()
func (*NodeMetricsAggrReq) XXX_Marshal ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeMetricsAggrReq) XXX_Merge ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) XXX_Merge(src proto.Message)
func (*NodeMetricsAggrReq) XXX_MessageName ¶ added in v0.4.3
func (*NodeMetricsAggrReq) XXX_MessageName() string
func (*NodeMetricsAggrReq) XXX_Size ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) XXX_Size() int
func (*NodeMetricsAggrReq) XXX_Unmarshal ¶ added in v0.4.3
func (m *NodeMetricsAggrReq) XXX_Unmarshal(b []byte) error
type SignedMetrics ¶
type SignedMetrics struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" pg:"public_key"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty" pg:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedMetrics) Descriptor ¶
func (*SignedMetrics) Descriptor() ([]byte, []int)
func (*SignedMetrics) GetPayload ¶
func (m *SignedMetrics) GetPayload() []byte
func (*SignedMetrics) GetPublicKey ¶
func (m *SignedMetrics) GetPublicKey() []byte
func (*SignedMetrics) GetSignature ¶
func (m *SignedMetrics) GetSignature() []byte
func (*SignedMetrics) Marshal ¶ added in v0.0.13
func (m *SignedMetrics) Marshal() (dAtA []byte, err error)
func (*SignedMetrics) MarshalTo ¶ added in v0.0.13
func (m *SignedMetrics) MarshalTo(dAtA []byte) (int, error)
func (*SignedMetrics) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedMetrics) ProtoMessage ¶
func (*SignedMetrics) ProtoMessage()
func (*SignedMetrics) Reset ¶
func (m *SignedMetrics) Reset()
func (*SignedMetrics) Size ¶ added in v0.0.13
func (m *SignedMetrics) Size() (n int)
func (*SignedMetrics) String ¶
func (m *SignedMetrics) String() string
func (*SignedMetrics) Unmarshal ¶ added in v0.0.13
func (m *SignedMetrics) Unmarshal(dAtA []byte) error
func (*SignedMetrics) XXX_DiscardUnknown ¶
func (m *SignedMetrics) XXX_DiscardUnknown()
func (*SignedMetrics) XXX_Marshal ¶
func (m *SignedMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedMetrics) XXX_Merge ¶
func (m *SignedMetrics) XXX_Merge(src proto.Message)
func (*SignedMetrics) XXX_MessageName ¶ added in v0.0.13
func (*SignedMetrics) XXX_MessageName() string
func (*SignedMetrics) XXX_Size ¶
func (m *SignedMetrics) XXX_Size() int
func (*SignedMetrics) XXX_Unmarshal ¶
func (m *SignedMetrics) XXX_Unmarshal(b []byte) error
type StatusServiceClient ¶ added in v0.1.8
type StatusServiceClient interface { UpdateMetrics(ctx context.Context, in *SignedMetrics, opts ...grpc.CallOption) (*types.Empty, error) UpdateMetricsAggregation(ctx context.Context, in *NodeMetricsAggrReq, opts ...grpc.CallOption) (*types.Empty, error) UpdateBtfsScanAggr(ctx context.Context, in *BtfsScanAggrReq, opts ...grpc.CallOption) (*BtfsScanAggrResp, error) }
StatusServiceClient is the client API for StatusService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStatusServiceClient ¶ added in v0.1.8
func NewStatusServiceClient(cc *grpc.ClientConn) StatusServiceClient
type StatusServiceServer ¶ added in v0.1.8
type StatusServiceServer interface { UpdateMetrics(context.Context, *SignedMetrics) (*types.Empty, error) UpdateMetricsAggregation(context.Context, *NodeMetricsAggrReq) (*types.Empty, error) UpdateBtfsScanAggr(context.Context, *BtfsScanAggrReq) (*BtfsScanAggrResp, error) }
StatusServiceServer is the server API for StatusService service.
type UnimplementedStatusServiceServer ¶ added in v0.1.8
type UnimplementedStatusServiceServer struct { }
UnimplementedStatusServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStatusServiceServer) UpdateBtfsScanAggr ¶ added in v0.7.5
func (*UnimplementedStatusServiceServer) UpdateBtfsScanAggr(ctx context.Context, req *BtfsScanAggrReq) (*BtfsScanAggrResp, error)
func (*UnimplementedStatusServiceServer) UpdateMetrics ¶ added in v0.1.8
func (*UnimplementedStatusServiceServer) UpdateMetrics(ctx context.Context, req *SignedMetrics) (*types.Empty, error)
func (*UnimplementedStatusServiceServer) UpdateMetricsAggregation ¶ added in v0.4.3
func (*UnimplementedStatusServiceServer) UpdateMetricsAggregation(ctx context.Context, req *NodeMetricsAggrReq) (*types.Empty, error)
Click to show internal directories.
Click to hide internal directories.