Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error wraps errors returned from Server struct methods. Error = errs.Class("Endpoint error") )
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { internalpb.DRPCHealthInspectorUnimplementedServer // contains filtered or unexported fields }
Endpoint for checking object and segment health.
architecture: Endpoint
func NewEndpoint ¶
NewEndpoint will initialize an Endpoint struct.
func (*Endpoint) ObjectHealth ¶
func (endpoint *Endpoint) ObjectHealth(ctx context.Context, in *internalpb.ObjectHealthRequest) (resp *internalpb.ObjectHealthResponse, err error)
ObjectHealth will check the health of an object.
func (*Endpoint) SegmentHealth ¶
func (endpoint *Endpoint) SegmentHealth(ctx context.Context, in *internalpb.SegmentHealthRequest) (_ *internalpb.SegmentHealthResponse, err error)
SegmentHealth will check the health of a segment.
Click to show internal directories.
Click to hide internal directories.