Documentation
¶
Index ¶
- Variables
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckRequest) GetService() string
- func (*HealthCheckRequest) ProtoMessage()
- func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest) Reset()
- func (x *HealthCheckRequest) String() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type HealthCheckResponse_ServingStatus
- func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse_ServingStatus
- func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber
- func (x HealthCheckResponse_ServingStatus) String() string
- func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType
- type LivenessRequest
- func (*LivenessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LivenessRequest) GetHealthCheckRequest() *HealthCheckRequest
- func (*LivenessRequest) ProtoMessage()
- func (x *LivenessRequest) ProtoReflect() protoreflect.Message
- func (x *LivenessRequest) Reset()
- func (x *LivenessRequest) String() string
- type LivenessResponse
- func (*LivenessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LivenessResponse) GetHealthCheckResponse() *HealthCheckResponse
- func (*LivenessResponse) ProtoMessage()
- func (x *LivenessResponse) ProtoReflect() protoreflect.Message
- func (x *LivenessResponse) Reset()
- func (x *LivenessResponse) String() string
- type ReadinessRequest
- func (*ReadinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessRequest) GetHealthCheckRequest() *HealthCheckRequest
- func (*ReadinessRequest) ProtoMessage()
- func (x *ReadinessRequest) ProtoReflect() protoreflect.Message
- func (x *ReadinessRequest) Reset()
- func (x *ReadinessRequest) String() string
- type ReadinessResponse
- func (*ReadinessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessResponse) GetHealthCheckResponse() *HealthCheckResponse
- func (*ReadinessResponse) ProtoMessage()
- func (x *ReadinessResponse) ProtoReflect() protoreflect.Message
- func (x *ReadinessResponse) Reset()
- func (x *ReadinessResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( HealthCheckResponse_ServingStatus_name = map[int32]string{ 0: "SERVING_STATUS_UNSPECIFIED", 1: "SERVING_STATUS_SERVING", 2: "SERVING_STATUS_NOT_SERVING", } HealthCheckResponse_ServingStatus_value = map[string]int32{ "SERVING_STATUS_UNSPECIFIED": 0, "SERVING_STATUS_SERVING": 1, "SERVING_STATUS_NOT_SERVING": 2, } )
Enum value maps for HealthCheckResponse_ServingStatus.
var File_vdp_healthcheck_v1alpha_healthcheck_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HealthCheckRequest ¶
type HealthCheckRequest struct { // Service name to check for its readiness status Service *string `protobuf:"bytes,1,opt,name=service,proto3,oneof" json:"service,omitempty"` // contains filtered or unexported fields }
HealthCheckRequest represents a request to health check a service
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetService ¶
func (x *HealthCheckRequest) GetService() string
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { // Status is the instance of the enum type ServingStatus Status HealthCheckResponse_ServingStatus `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
HealthCheckResponse represents a response for a service heath status
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type HealthCheckResponse_ServingStatus ¶
type HealthCheckResponse_ServingStatus int32
ServingStatus enumerates the status of a queried service
const ( // Serving status: UNSPECIFIED HealthCheckResponse_SERVING_STATUS_UNSPECIFIED HealthCheckResponse_ServingStatus = 0 // Serving status: SERVING HealthCheckResponse_SERVING_STATUS_SERVING HealthCheckResponse_ServingStatus = 1 // Serving status: NOT SERVING HealthCheckResponse_SERVING_STATUS_NOT_SERVING HealthCheckResponse_ServingStatus = 2 )
func (HealthCheckResponse_ServingStatus) Descriptor ¶
func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthCheckResponse_ServingStatus) Enum ¶
func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse_ServingStatus
func (HealthCheckResponse_ServingStatus) EnumDescriptor
deprecated
func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead.
func (HealthCheckResponse_ServingStatus) Number ¶
func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber
func (HealthCheckResponse_ServingStatus) String ¶
func (x HealthCheckResponse_ServingStatus) String() string
func (HealthCheckResponse_ServingStatus) Type ¶
func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType
type LivenessRequest ¶
type LivenessRequest struct { // HealthCheckRequest message HealthCheckRequest *HealthCheckRequest `protobuf:"bytes,1,opt,name=health_check_request,json=healthCheckRequest,proto3,oneof" json:"health_check_request,omitempty"` // contains filtered or unexported fields }
LivenessRequest represents a request to check a service liveness status
func (*LivenessRequest) Descriptor
deprecated
func (*LivenessRequest) Descriptor() ([]byte, []int)
Deprecated: Use LivenessRequest.ProtoReflect.Descriptor instead.
func (*LivenessRequest) GetHealthCheckRequest ¶
func (x *LivenessRequest) GetHealthCheckRequest() *HealthCheckRequest
func (*LivenessRequest) ProtoMessage ¶
func (*LivenessRequest) ProtoMessage()
func (*LivenessRequest) ProtoReflect ¶
func (x *LivenessRequest) ProtoReflect() protoreflect.Message
func (*LivenessRequest) Reset ¶
func (x *LivenessRequest) Reset()
func (*LivenessRequest) String ¶
func (x *LivenessRequest) String() string
type LivenessResponse ¶
type LivenessResponse struct { // HealthCheckResponse message HealthCheckResponse *HealthCheckResponse `protobuf:"bytes,1,opt,name=health_check_response,json=healthCheckResponse,proto3" json:"health_check_response,omitempty"` // contains filtered or unexported fields }
LivenessResponse represents a response for a service liveness status
func (*LivenessResponse) Descriptor
deprecated
func (*LivenessResponse) Descriptor() ([]byte, []int)
Deprecated: Use LivenessResponse.ProtoReflect.Descriptor instead.
func (*LivenessResponse) GetHealthCheckResponse ¶
func (x *LivenessResponse) GetHealthCheckResponse() *HealthCheckResponse
func (*LivenessResponse) ProtoMessage ¶
func (*LivenessResponse) ProtoMessage()
func (*LivenessResponse) ProtoReflect ¶
func (x *LivenessResponse) ProtoReflect() protoreflect.Message
func (*LivenessResponse) Reset ¶
func (x *LivenessResponse) Reset()
func (*LivenessResponse) String ¶
func (x *LivenessResponse) String() string
type ReadinessRequest ¶
type ReadinessRequest struct { // HealthCheckRequest message HealthCheckRequest *HealthCheckRequest `protobuf:"bytes,1,opt,name=health_check_request,json=healthCheckRequest,proto3,oneof" json:"health_check_request,omitempty"` // contains filtered or unexported fields }
ReadinessRequest represents a request to check a service readiness status
func (*ReadinessRequest) Descriptor
deprecated
func (*ReadinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessRequest.ProtoReflect.Descriptor instead.
func (*ReadinessRequest) GetHealthCheckRequest ¶
func (x *ReadinessRequest) GetHealthCheckRequest() *HealthCheckRequest
func (*ReadinessRequest) ProtoMessage ¶
func (*ReadinessRequest) ProtoMessage()
func (*ReadinessRequest) ProtoReflect ¶
func (x *ReadinessRequest) ProtoReflect() protoreflect.Message
func (*ReadinessRequest) Reset ¶
func (x *ReadinessRequest) Reset()
func (*ReadinessRequest) String ¶
func (x *ReadinessRequest) String() string
type ReadinessResponse ¶
type ReadinessResponse struct { // HealthCheckResponse message HealthCheckResponse *HealthCheckResponse `protobuf:"bytes,1,opt,name=health_check_response,json=healthCheckResponse,proto3" json:"health_check_response,omitempty"` // contains filtered or unexported fields }
ReadinessResponse represents a response for a service readiness status
func (*ReadinessResponse) Descriptor
deprecated
func (*ReadinessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessResponse.ProtoReflect.Descriptor instead.
func (*ReadinessResponse) GetHealthCheckResponse ¶
func (x *ReadinessResponse) GetHealthCheckResponse() *HealthCheckResponse
func (*ReadinessResponse) ProtoMessage ¶
func (*ReadinessResponse) ProtoMessage()
func (*ReadinessResponse) ProtoReflect ¶
func (x *ReadinessResponse) ProtoReflect() protoreflect.Message
func (*ReadinessResponse) Reset ¶
func (x *ReadinessResponse) Reset()
func (*ReadinessResponse) String ¶
func (x *ReadinessResponse) String() string