Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetId() string
- func (x *Message) GetKind() MessageKind
- func (x *Message) GetReplies() []*ReplyMessage
- func (x *Message) GetText() string
- func (x *Message) GetTimestamp() *timestamppb.Timestamp
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageKind
- func (MessageKind) Descriptor() protoreflect.EnumDescriptor
- func (x MessageKind) Enum() *MessageKind
- func (MessageKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageKind) Number() protoreflect.EnumNumber
- func (x MessageKind) String() string
- func (MessageKind) Type() protoreflect.EnumType
- type MessageMultiError
- type MessageServiceListRequest
- func (*MessageServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (*MessageServiceListRequest) ProtoMessage()
- func (x *MessageServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *MessageServiceListRequest) Reset()
- func (x *MessageServiceListRequest) String() string
- func (m *MessageServiceListRequest) Validate() error
- func (m *MessageServiceListRequest) ValidateAll() error
- type MessageServiceListRequestMultiError
- type MessageServiceListRequestValidationError
- func (e MessageServiceListRequestValidationError) Cause() error
- func (e MessageServiceListRequestValidationError) Error() string
- func (e MessageServiceListRequestValidationError) ErrorName() string
- func (e MessageServiceListRequestValidationError) Field() string
- func (e MessageServiceListRequestValidationError) Key() bool
- func (e MessageServiceListRequestValidationError) Reason() string
- type MessageServiceListResponse
- func (*MessageServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageServiceListResponse) GetItems() []*Message
- func (x *MessageServiceListResponse) GetPinnedItems() []*Message
- func (*MessageServiceListResponse) ProtoMessage()
- func (x *MessageServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *MessageServiceListResponse) Reset()
- func (x *MessageServiceListResponse) String() string
- func (m *MessageServiceListResponse) Validate() error
- func (m *MessageServiceListResponse) ValidateAll() error
- type MessageServiceListResponseMultiError
- type MessageServiceListResponseValidationError
- func (e MessageServiceListResponseValidationError) Cause() error
- func (e MessageServiceListResponseValidationError) Error() string
- func (e MessageServiceListResponseValidationError) ErrorName() string
- func (e MessageServiceListResponseValidationError) Field() string
- func (e MessageServiceListResponseValidationError) Key() bool
- func (e MessageServiceListResponseValidationError) Reason() string
- type MessageValidationError
- type ReplyMessage
- func (*ReplyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyMessage) GetId() string
- func (x *ReplyMessage) GetKind() MessageKind
- func (x *ReplyMessage) GetText() string
- func (x *ReplyMessage) GetTimestamp() *timestamppb.Timestamp
- func (*ReplyMessage) ProtoMessage()
- func (x *ReplyMessage) ProtoReflect() protoreflect.Message
- func (x *ReplyMessage) Reset()
- func (x *ReplyMessage) String() string
- func (m *ReplyMessage) Validate() error
- func (m *ReplyMessage) ValidateAll() error
- type ReplyMessageMultiError
- type ReplyMessageValidationError
- func (e ReplyMessageValidationError) Cause() error
- func (e ReplyMessageValidationError) Error() string
- func (e ReplyMessageValidationError) ErrorName() string
- func (e ReplyMessageValidationError) Field() string
- func (e ReplyMessageValidationError) Key() bool
- func (e ReplyMessageValidationError) Reason() string
- type StatusServiceGetRequest
- func (*StatusServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (*StatusServiceGetRequest) ProtoMessage()
- func (x *StatusServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *StatusServiceGetRequest) Reset()
- func (x *StatusServiceGetRequest) String() string
- func (m *StatusServiceGetRequest) Validate() error
- func (m *StatusServiceGetRequest) ValidateAll() error
- type StatusServiceGetRequestMultiError
- type StatusServiceGetRequestValidationError
- func (e StatusServiceGetRequestValidationError) Cause() error
- func (e StatusServiceGetRequestValidationError) Error() string
- func (e StatusServiceGetRequestValidationError) ErrorName() string
- func (e StatusServiceGetRequestValidationError) Field() string
- func (e StatusServiceGetRequestValidationError) Key() bool
- func (e StatusServiceGetRequestValidationError) Reason() string
- type StatusServiceGetResponse
- func (*StatusServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusServiceGetResponse) GetApiVersion() string
- func (x *StatusServiceGetResponse) GetConnectionBroken() bool
- func (x *StatusServiceGetResponse) GetHealth() *v1.Health
- func (x *StatusServiceGetResponse) GetOverallStatus() v1.ServiceStatus
- func (*StatusServiceGetResponse) ProtoMessage()
- func (x *StatusServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *StatusServiceGetResponse) Reset()
- func (x *StatusServiceGetResponse) String() string
- func (m *StatusServiceGetResponse) Validate() error
- func (m *StatusServiceGetResponse) ValidateAll() error
- type StatusServiceGetResponseMultiError
- type StatusServiceGetResponseValidationError
- func (e StatusServiceGetResponseValidationError) Cause() error
- func (e StatusServiceGetResponseValidationError) Error() string
- func (e StatusServiceGetResponseValidationError) ErrorName() string
- func (e StatusServiceGetResponseValidationError) Field() string
- func (e StatusServiceGetResponseValidationError) Key() bool
- func (e StatusServiceGetResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( MessageKind_name = map[int32]string{ 0: "MESSAGE_KIND_UNSPECIFIED", 1: "MESSAGE_KIND_INFO", 2: "MESSAGE_KIND_INCIDENT", 3: "MESSAGE_KIND_CHANGE", 4: "MESSAGE_KIND_RESOLVED", 5: "MESSAGE_KIND_UPDATE", } MessageKind_value = map[string]int32{ "MESSAGE_KIND_UNSPECIFIED": 0, "MESSAGE_KIND_INFO": 1, "MESSAGE_KIND_INCIDENT": 2, "MESSAGE_KIND_CHANGE": 3, "MESSAGE_KIND_RESOLVED": 4, "MESSAGE_KIND_UPDATE": 5, } )
Enum value maps for MessageKind.
var File_status_v1_message_proto protoreflect.FileDescriptor
var File_status_v1_status_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Id of the message Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Text of the message Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // Kind of the message, this is to distinguish between the importance of a message Kind MessageKind `protobuf:"varint,3,opt,name=kind,proto3,enum=status.v1.MessageKind" json:"kind,omitempty"` // Timestamp when this message was created Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Replies are messages which are followups to the initial message Replies []*ReplyMessage `protobuf:"bytes,5,rep,name=replies,proto3" json:"replies,omitempty"` // contains filtered or unexported fields }
Message is a test message to be displayed in the status
func (*Message) Descriptor
deprecated
func (*Message) GetKind ¶
func (x *Message) GetKind() MessageKind
func (*Message) GetReplies ¶
func (x *Message) GetReplies() []*ReplyMessage
func (*Message) GetTimestamp ¶
func (x *Message) GetTimestamp() *timestamppb.Timestamp
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message) ValidateAll ¶
ValidateAll checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMultiError, or nil if none found.
type MessageKind ¶
type MessageKind int32
MessageKind defines what type of message it is
const ( // MESSAGE_KIND_UNSPECIFIED is not specified MessageKind_MESSAGE_KIND_UNSPECIFIED MessageKind = 0 // MESSAGE_KIND_INFO is a informational message MessageKind_MESSAGE_KIND_INFO MessageKind = 1 // MESSAGE_KIND_INCIDENT is a incident message MessageKind_MESSAGE_KIND_INCIDENT MessageKind = 2 // MESSAGE_KIND_CHANGE is a change message MessageKind_MESSAGE_KIND_CHANGE MessageKind = 3 // MESSAGE_KIND_RESOLVED is a resolved message MessageKind_MESSAGE_KIND_RESOLVED MessageKind = 4 // MESSAGE_KIND_UPDATE is a update message MessageKind_MESSAGE_KIND_UPDATE MessageKind = 5 )
func (MessageKind) Descriptor ¶
func (MessageKind) Descriptor() protoreflect.EnumDescriptor
func (MessageKind) Enum ¶
func (x MessageKind) Enum() *MessageKind
func (MessageKind) EnumDescriptor
deprecated
func (MessageKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageKind.Descriptor instead.
func (MessageKind) Number ¶
func (x MessageKind) Number() protoreflect.EnumNumber
func (MessageKind) String ¶
func (x MessageKind) String() string
func (MessageKind) Type ¶
func (MessageKind) Type() protoreflect.EnumType
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageServiceListRequest ¶
type MessageServiceListRequest struct {
// contains filtered or unexported fields
}
MessageServiceListRequest is the request payload to get the messages
func (*MessageServiceListRequest) Descriptor
deprecated
func (*MessageServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageServiceListRequest.ProtoReflect.Descriptor instead.
func (*MessageServiceListRequest) ProtoMessage ¶
func (*MessageServiceListRequest) ProtoMessage()
func (*MessageServiceListRequest) ProtoReflect ¶
func (x *MessageServiceListRequest) ProtoReflect() protoreflect.Message
func (*MessageServiceListRequest) Reset ¶
func (x *MessageServiceListRequest) Reset()
func (*MessageServiceListRequest) String ¶
func (x *MessageServiceListRequest) String() string
func (*MessageServiceListRequest) Validate ¶
func (m *MessageServiceListRequest) Validate() error
Validate checks the field values on MessageServiceListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageServiceListRequest) ValidateAll ¶
func (m *MessageServiceListRequest) ValidateAll() error
ValidateAll checks the field values on MessageServiceListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageServiceListRequestMultiError, or nil if none found.
type MessageServiceListRequestMultiError ¶
type MessageServiceListRequestMultiError []error
MessageServiceListRequestMultiError is an error wrapping multiple validation errors returned by MessageServiceListRequest.ValidateAll() if the designated constraints aren't met.
func (MessageServiceListRequestMultiError) AllErrors ¶
func (m MessageServiceListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageServiceListRequestMultiError) Error ¶
func (m MessageServiceListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageServiceListRequestValidationError ¶
type MessageServiceListRequestValidationError struct {
// contains filtered or unexported fields
}
MessageServiceListRequestValidationError is the validation error returned by MessageServiceListRequest.Validate if the designated constraints aren't met.
func (MessageServiceListRequestValidationError) Cause ¶
func (e MessageServiceListRequestValidationError) Cause() error
Cause function returns cause value.
func (MessageServiceListRequestValidationError) Error ¶
func (e MessageServiceListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MessageServiceListRequestValidationError) ErrorName ¶
func (e MessageServiceListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MessageServiceListRequestValidationError) Field ¶
func (e MessageServiceListRequestValidationError) Field() string
Field function returns field value.
func (MessageServiceListRequestValidationError) Key ¶
func (e MessageServiceListRequestValidationError) Key() bool
Key function returns key value.
func (MessageServiceListRequestValidationError) Reason ¶
func (e MessageServiceListRequestValidationError) Reason() string
Reason function returns reason value.
type MessageServiceListResponse ¶
type MessageServiceListResponse struct { // Items is a slice of all messages Items []*Message `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // PinnedItems are messages which are of special interest PinnedItems []*Message `protobuf:"bytes,2,rep,name=pinned_items,json=pinnedItems,proto3" json:"pinned_items,omitempty"` // contains filtered or unexported fields }
MessageServiceListResponse is the response payload with the messages
func (*MessageServiceListResponse) Descriptor
deprecated
func (*MessageServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageServiceListResponse.ProtoReflect.Descriptor instead.
func (*MessageServiceListResponse) GetItems ¶
func (x *MessageServiceListResponse) GetItems() []*Message
func (*MessageServiceListResponse) GetPinnedItems ¶
func (x *MessageServiceListResponse) GetPinnedItems() []*Message
func (*MessageServiceListResponse) ProtoMessage ¶
func (*MessageServiceListResponse) ProtoMessage()
func (*MessageServiceListResponse) ProtoReflect ¶
func (x *MessageServiceListResponse) ProtoReflect() protoreflect.Message
func (*MessageServiceListResponse) Reset ¶
func (x *MessageServiceListResponse) Reset()
func (*MessageServiceListResponse) String ¶
func (x *MessageServiceListResponse) String() string
func (*MessageServiceListResponse) Validate ¶
func (m *MessageServiceListResponse) Validate() error
Validate checks the field values on MessageServiceListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageServiceListResponse) ValidateAll ¶
func (m *MessageServiceListResponse) ValidateAll() error
ValidateAll checks the field values on MessageServiceListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageServiceListResponseMultiError, or nil if none found.
type MessageServiceListResponseMultiError ¶
type MessageServiceListResponseMultiError []error
MessageServiceListResponseMultiError is an error wrapping multiple validation errors returned by MessageServiceListResponse.ValidateAll() if the designated constraints aren't met.
func (MessageServiceListResponseMultiError) AllErrors ¶
func (m MessageServiceListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageServiceListResponseMultiError) Error ¶
func (m MessageServiceListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageServiceListResponseValidationError ¶
type MessageServiceListResponseValidationError struct {
// contains filtered or unexported fields
}
MessageServiceListResponseValidationError is the validation error returned by MessageServiceListResponse.Validate if the designated constraints aren't met.
func (MessageServiceListResponseValidationError) Cause ¶
func (e MessageServiceListResponseValidationError) Cause() error
Cause function returns cause value.
func (MessageServiceListResponseValidationError) Error ¶
func (e MessageServiceListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MessageServiceListResponseValidationError) ErrorName ¶
func (e MessageServiceListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MessageServiceListResponseValidationError) Field ¶
func (e MessageServiceListResponseValidationError) Field() string
Field function returns field value.
func (MessageServiceListResponseValidationError) Key ¶
func (e MessageServiceListResponseValidationError) Key() bool
Key function returns key value.
func (MessageServiceListResponseValidationError) Reason ¶
func (e MessageServiceListResponseValidationError) Reason() string
Reason function returns reason value.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type ReplyMessage ¶
type ReplyMessage struct { // Id of the message Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Text of the message Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // Kind of the message, this is to distinguish between the importance of a message Kind MessageKind `protobuf:"varint,3,opt,name=kind,proto3,enum=status.v1.MessageKind" json:"kind,omitempty"` // Timestamp when this message was created Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
ReplyMessage is a message as a followup of a initial message
func (*ReplyMessage) Descriptor
deprecated
func (*ReplyMessage) Descriptor() ([]byte, []int)
Deprecated: Use ReplyMessage.ProtoReflect.Descriptor instead.
func (*ReplyMessage) GetId ¶
func (x *ReplyMessage) GetId() string
func (*ReplyMessage) GetKind ¶
func (x *ReplyMessage) GetKind() MessageKind
func (*ReplyMessage) GetText ¶
func (x *ReplyMessage) GetText() string
func (*ReplyMessage) GetTimestamp ¶
func (x *ReplyMessage) GetTimestamp() *timestamppb.Timestamp
func (*ReplyMessage) ProtoMessage ¶
func (*ReplyMessage) ProtoMessage()
func (*ReplyMessage) ProtoReflect ¶
func (x *ReplyMessage) ProtoReflect() protoreflect.Message
func (*ReplyMessage) Reset ¶
func (x *ReplyMessage) Reset()
func (*ReplyMessage) String ¶
func (x *ReplyMessage) String() string
func (*ReplyMessage) Validate ¶
func (m *ReplyMessage) Validate() error
Validate checks the field values on ReplyMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReplyMessage) ValidateAll ¶
func (m *ReplyMessage) ValidateAll() error
ValidateAll checks the field values on ReplyMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReplyMessageMultiError, or nil if none found.
type ReplyMessageMultiError ¶
type ReplyMessageMultiError []error
ReplyMessageMultiError is an error wrapping multiple validation errors returned by ReplyMessage.ValidateAll() if the designated constraints aren't met.
func (ReplyMessageMultiError) AllErrors ¶
func (m ReplyMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReplyMessageMultiError) Error ¶
func (m ReplyMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReplyMessageValidationError ¶
type ReplyMessageValidationError struct {
// contains filtered or unexported fields
}
ReplyMessageValidationError is the validation error returned by ReplyMessage.Validate if the designated constraints aren't met.
func (ReplyMessageValidationError) Cause ¶
func (e ReplyMessageValidationError) Cause() error
Cause function returns cause value.
func (ReplyMessageValidationError) Error ¶
func (e ReplyMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ReplyMessageValidationError) ErrorName ¶
func (e ReplyMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ReplyMessageValidationError) Field ¶
func (e ReplyMessageValidationError) Field() string
Field function returns field value.
func (ReplyMessageValidationError) Key ¶
func (e ReplyMessageValidationError) Key() bool
Key function returns key value.
func (ReplyMessageValidationError) Reason ¶
func (e ReplyMessageValidationError) Reason() string
Reason function returns reason value.
type StatusServiceGetRequest ¶
type StatusServiceGetRequest struct {
// contains filtered or unexported fields
}
StatusServiceGetRequest is the request payload to get the status
func (*StatusServiceGetRequest) Descriptor
deprecated
func (*StatusServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusServiceGetRequest.ProtoReflect.Descriptor instead.
func (*StatusServiceGetRequest) ProtoMessage ¶
func (*StatusServiceGetRequest) ProtoMessage()
func (*StatusServiceGetRequest) ProtoReflect ¶
func (x *StatusServiceGetRequest) ProtoReflect() protoreflect.Message
func (*StatusServiceGetRequest) Reset ¶
func (x *StatusServiceGetRequest) Reset()
func (*StatusServiceGetRequest) String ¶
func (x *StatusServiceGetRequest) String() string
func (*StatusServiceGetRequest) Validate ¶
func (m *StatusServiceGetRequest) Validate() error
Validate checks the field values on StatusServiceGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatusServiceGetRequest) ValidateAll ¶
func (m *StatusServiceGetRequest) ValidateAll() error
ValidateAll checks the field values on StatusServiceGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusServiceGetRequestMultiError, or nil if none found.
type StatusServiceGetRequestMultiError ¶
type StatusServiceGetRequestMultiError []error
StatusServiceGetRequestMultiError is an error wrapping multiple validation errors returned by StatusServiceGetRequest.ValidateAll() if the designated constraints aren't met.
func (StatusServiceGetRequestMultiError) AllErrors ¶
func (m StatusServiceGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusServiceGetRequestMultiError) Error ¶
func (m StatusServiceGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusServiceGetRequestValidationError ¶
type StatusServiceGetRequestValidationError struct {
// contains filtered or unexported fields
}
StatusServiceGetRequestValidationError is the validation error returned by StatusServiceGetRequest.Validate if the designated constraints aren't met.
func (StatusServiceGetRequestValidationError) Cause ¶
func (e StatusServiceGetRequestValidationError) Cause() error
Cause function returns cause value.
func (StatusServiceGetRequestValidationError) Error ¶
func (e StatusServiceGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatusServiceGetRequestValidationError) ErrorName ¶
func (e StatusServiceGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatusServiceGetRequestValidationError) Field ¶
func (e StatusServiceGetRequestValidationError) Field() string
Field function returns field value.
func (StatusServiceGetRequestValidationError) Key ¶
func (e StatusServiceGetRequestValidationError) Key() bool
Key function returns key value.
func (StatusServiceGetRequestValidationError) Reason ¶
func (e StatusServiceGetRequestValidationError) Reason() string
Reason function returns reason value.
type StatusServiceGetResponse ¶
type StatusServiceGetResponse struct { // Health of the individual services Health *v1.Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"` // OverallStatus is the status of the system OverallStatus v1.ServiceStatus `` /* 127-byte string literal not displayed */ // ConnectionBroken shows if the connection to the system is broken ConnectionBroken bool `protobuf:"varint,3,opt,name=connection_broken,json=connectionBroken,proto3" json:"connection_broken,omitempty"` // ApiVersion of the system ApiVersion string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
StatusServiceGetResponse is the response payload which describes the system status
func (*StatusServiceGetResponse) Descriptor
deprecated
func (*StatusServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusServiceGetResponse.ProtoReflect.Descriptor instead.
func (*StatusServiceGetResponse) GetApiVersion ¶
func (x *StatusServiceGetResponse) GetApiVersion() string
func (*StatusServiceGetResponse) GetConnectionBroken ¶
func (x *StatusServiceGetResponse) GetConnectionBroken() bool
func (*StatusServiceGetResponse) GetHealth ¶
func (x *StatusServiceGetResponse) GetHealth() *v1.Health
func (*StatusServiceGetResponse) GetOverallStatus ¶
func (x *StatusServiceGetResponse) GetOverallStatus() v1.ServiceStatus
func (*StatusServiceGetResponse) ProtoMessage ¶
func (*StatusServiceGetResponse) ProtoMessage()
func (*StatusServiceGetResponse) ProtoReflect ¶
func (x *StatusServiceGetResponse) ProtoReflect() protoreflect.Message
func (*StatusServiceGetResponse) Reset ¶
func (x *StatusServiceGetResponse) Reset()
func (*StatusServiceGetResponse) String ¶
func (x *StatusServiceGetResponse) String() string
func (*StatusServiceGetResponse) Validate ¶
func (m *StatusServiceGetResponse) Validate() error
Validate checks the field values on StatusServiceGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatusServiceGetResponse) ValidateAll ¶
func (m *StatusServiceGetResponse) ValidateAll() error
ValidateAll checks the field values on StatusServiceGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusServiceGetResponseMultiError, or nil if none found.
type StatusServiceGetResponseMultiError ¶
type StatusServiceGetResponseMultiError []error
StatusServiceGetResponseMultiError is an error wrapping multiple validation errors returned by StatusServiceGetResponse.ValidateAll() if the designated constraints aren't met.
func (StatusServiceGetResponseMultiError) AllErrors ¶
func (m StatusServiceGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusServiceGetResponseMultiError) Error ¶
func (m StatusServiceGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusServiceGetResponseValidationError ¶
type StatusServiceGetResponseValidationError struct {
// contains filtered or unexported fields
}
StatusServiceGetResponseValidationError is the validation error returned by StatusServiceGetResponse.Validate if the designated constraints aren't met.
func (StatusServiceGetResponseValidationError) Cause ¶
func (e StatusServiceGetResponseValidationError) Cause() error
Cause function returns cause value.
func (StatusServiceGetResponseValidationError) Error ¶
func (e StatusServiceGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatusServiceGetResponseValidationError) ErrorName ¶
func (e StatusServiceGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatusServiceGetResponseValidationError) Field ¶
func (e StatusServiceGetResponseValidationError) Field() string
Field function returns field value.
func (StatusServiceGetResponseValidationError) Key ¶
func (e StatusServiceGetResponseValidationError) Key() bool
Key function returns key value.
func (StatusServiceGetResponseValidationError) Reason ¶
func (e StatusServiceGetResponseValidationError) Reason() string
Reason function returns reason value.