modshared

package
v14.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_module_modshared_modshared_proto protoreflect.FileDescriptor

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) Descriptor() ([]byte, []int)

Deprecated: Use AgentMeta.ProtoReflect.Descriptor instead.

func (*AgentMeta) GetCommitId

func (x *AgentMeta) GetCommitId() string

func (*AgentMeta) GetPodName

func (x *AgentMeta) GetPodName() string

func (*AgentMeta) GetPodNamespace

func (x *AgentMeta) GetPodNamespace() string

func (*AgentMeta) GetVersion

func (x *AgentMeta) GetVersion() string

func (*AgentMeta) ProtoMessage

func (*AgentMeta) ProtoMessage()

func (*AgentMeta) ProtoReflect

func (x *AgentMeta) ProtoReflect() protoreflect.Message

func (*AgentMeta) Reset

func (x *AgentMeta) Reset()

func (*AgentMeta) String

func (x *AgentMeta) String() string

Jump to

Keyboard shortcuts

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