healthcheckv1

package
v1.36.11-2025043004490... Latest Latest
Warning

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

Go to latest
Published: unknown License: BSD-3-Clause Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_healthcheck_v1_healthcheck_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetHealthCheckRequest

type GetHealthCheckRequest struct {

	// Check only the http service
	HttpOnly bool `protobuf:"varint,1,opt,name=http_only,json=httpOnly,proto3" json:"http_only,omitempty"`
	// contains filtered or unexported fields
}

Get health status of services.

func (*GetHealthCheckRequest) GetHttpOnly

func (x *GetHealthCheckRequest) GetHttpOnly() bool

func (*GetHealthCheckRequest) ProtoMessage

func (*GetHealthCheckRequest) ProtoMessage()

func (*GetHealthCheckRequest) ProtoReflect

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

func (*GetHealthCheckRequest) Reset

func (x *GetHealthCheckRequest) Reset()

func (*GetHealthCheckRequest) SetHttpOnly

func (x *GetHealthCheckRequest) SetHttpOnly(v bool)

func (*GetHealthCheckRequest) String

func (x *GetHealthCheckRequest) String() string

type GetHealthCheckRequest_builder

type GetHealthCheckRequest_builder struct {

	// Check only the http service
	HttpOnly bool
	// contains filtered or unexported fields
}

func (GetHealthCheckRequest_builder) Build

type GetHealthCheckResponse

type GetHealthCheckResponse struct {

	// The status of the relevant sub services.
	Reports []*HealthCheckReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// An exception if an error occurred during processing request.
	Exception *v1.Exception `protobuf:"bytes,2,opt,name=exception,proto3" json:"exception,omitempty"`
	// contains filtered or unexported fields
}

Health status of services.

func (*GetHealthCheckResponse) ClearException

func (x *GetHealthCheckResponse) ClearException()

func (*GetHealthCheckResponse) GetException

func (x *GetHealthCheckResponse) GetException() *v1.Exception

func (*GetHealthCheckResponse) GetReports

func (x *GetHealthCheckResponse) GetReports() []*HealthCheckReport

func (*GetHealthCheckResponse) HasException

func (x *GetHealthCheckResponse) HasException() bool

func (*GetHealthCheckResponse) ProtoMessage

func (*GetHealthCheckResponse) ProtoMessage()

func (*GetHealthCheckResponse) ProtoReflect

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

func (*GetHealthCheckResponse) Reset

func (x *GetHealthCheckResponse) Reset()

func (*GetHealthCheckResponse) SetException

func (x *GetHealthCheckResponse) SetException(v *v1.Exception)

func (*GetHealthCheckResponse) SetReports

func (x *GetHealthCheckResponse) SetReports(v []*HealthCheckReport)

func (*GetHealthCheckResponse) String

func (x *GetHealthCheckResponse) String() string

type GetHealthCheckResponse_builder

type GetHealthCheckResponse_builder struct {

	// The status of the relevant sub services.
	Reports []*HealthCheckReport
	// An exception if an error occurred during processing request.
	Exception *v1.Exception
	// contains filtered or unexported fields
}

func (GetHealthCheckResponse_builder) Build

type HealthCheckReport

type HealthCheckReport struct {

	// Timestamp of when the report was generated (RFC3339).
	Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Status of the service.
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Name of the service.
	ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Version of the service.
	ServiceVersion string `protobuf:"bytes,4,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"`
	// contains filtered or unexported fields
}

Health check status of an individual service.

func (*HealthCheckReport) GetServiceName

func (x *HealthCheckReport) GetServiceName() string

func (*HealthCheckReport) GetServiceVersion

func (x *HealthCheckReport) GetServiceVersion() string

func (*HealthCheckReport) GetStatus

func (x *HealthCheckReport) GetStatus() string

func (*HealthCheckReport) GetTimestamp

func (x *HealthCheckReport) GetTimestamp() string

func (*HealthCheckReport) ProtoMessage

func (*HealthCheckReport) ProtoMessage()

func (*HealthCheckReport) ProtoReflect

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

func (*HealthCheckReport) Reset

func (x *HealthCheckReport) Reset()

func (*HealthCheckReport) SetServiceName

func (x *HealthCheckReport) SetServiceName(v string)

func (*HealthCheckReport) SetServiceVersion

func (x *HealthCheckReport) SetServiceVersion(v string)

func (*HealthCheckReport) SetStatus

func (x *HealthCheckReport) SetStatus(v string)

func (*HealthCheckReport) SetTimestamp

func (x *HealthCheckReport) SetTimestamp(v string)

func (*HealthCheckReport) String

func (x *HealthCheckReport) String() string

type HealthCheckReport_builder

type HealthCheckReport_builder struct {

	// Timestamp of when the report was generated (RFC3339).
	Timestamp string
	// Status of the service.
	Status string
	// Name of the service.
	ServiceName string
	// Version of the service.
	ServiceVersion string
	// contains filtered or unexported fields
}

func (HealthCheckReport_builder) Build

Source Files

  • healthcheck.pb.go

Jump to

Keyboard shortcuts

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