Documentation
¶
Index ¶
- Variables
- type API
- type AgentMeta
- func (*AgentMeta) Descriptor() ([]byte, []int)deprecated
- func (x *AgentMeta) GetCommitId() string
- func (x *AgentMeta) GetPodName() string
- func (x *AgentMeta) GetPodNamespace() string
- func (x *AgentMeta) GetVersion() string
- func (*AgentMeta) ProtoMessage()
- func (x *AgentMeta) ProtoReflect() protoreflect.Message
- func (x *AgentMeta) Reset()
- func (x *AgentMeta) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
errortracking.Tracker
// HandleProcessingError can be used to handle errors occurring while processing a request.
// If err is a (or wraps a) errz.UserError, it might be handled specially.
HandleProcessingError(ctx context.Context, log *zap.Logger, msg string, err error)
// HandleSendError can be used to handle error produced by gRPC Send() or SendMsg() method.
// It returns an error, compatible with gRPC status package.
HandleSendError(log *zap.Logger, msg string, err error) error
}
API provides the API for the module to use.
type AgentMeta ¶
type AgentMeta struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
PodNamespace string `protobuf:"bytes,3,opt,name=pod_namespace,json=podNamespace,proto3" json:"pod_namespace,omitempty"`
PodName string `protobuf:"bytes,4,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
// contains filtered or unexported fields
}
func (*AgentMeta) Descriptor
deprecated
func (*AgentMeta) GetCommitId ¶
func (*AgentMeta) GetPodName ¶
func (*AgentMeta) GetPodNamespace ¶
func (*AgentMeta) GetVersion ¶
func (*AgentMeta) ProtoMessage ¶
func (*AgentMeta) ProtoMessage()
func (*AgentMeta) ProtoReflect ¶
func (x *AgentMeta) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.