Documentation
¶
Index ¶
- Variables
- type DaemonMessage
- func (*DaemonMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonMessage) GetHeartbeat() *Heartbeat
- func (m *DaemonMessage) GetMessage() isDaemonMessage_Message
- func (x *DaemonMessage) GetShutdownAlert() *ShutdownAlert
- func (*DaemonMessage) ProtoMessage()
- func (x *DaemonMessage) ProtoReflect() protoreflect.Message
- func (x *DaemonMessage) Reset()
- func (x *DaemonMessage) String() string
- func (m *DaemonMessage) Validate() error
- func (m *DaemonMessage) ValidateAll() error
- type DaemonMessageMultiError
- type DaemonMessageValidationError
- func (e DaemonMessageValidationError) Cause() error
- func (e DaemonMessageValidationError) Error() string
- func (e DaemonMessageValidationError) ErrorName() string
- func (e DaemonMessageValidationError) Field() string
- func (e DaemonMessageValidationError) Key() bool
- func (e DaemonMessageValidationError) Reason() string
- type DaemonMessage_Heartbeat
- type DaemonMessage_ShutdownAlert
- type Heartbeat
- type HeartbeatMultiError
- type HeartbeatValidationError
- type ServerMessage
- func (*ServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMessage) GetHeartbeat() *Heartbeat
- func (m *ServerMessage) GetMessage() isServerMessage_Message
- func (*ServerMessage) ProtoMessage()
- func (x *ServerMessage) ProtoReflect() protoreflect.Message
- func (x *ServerMessage) Reset()
- func (x *ServerMessage) String() string
- func (m *ServerMessage) Validate() error
- func (m *ServerMessage) ValidateAll() error
- type ServerMessageMultiError
- type ServerMessageValidationError
- func (e ServerMessageValidationError) Cause() error
- func (e ServerMessageValidationError) Error() string
- func (e ServerMessageValidationError) ErrorName() string
- func (e ServerMessageValidationError) Field() string
- func (e ServerMessageValidationError) Key() bool
- func (e ServerMessageValidationError) Reason() string
- type ServerMessage_Heartbeat
- type ShutdownAlert
- func (*ShutdownAlert) Descriptor() ([]byte, []int)deprecated
- func (*ShutdownAlert) ProtoMessage()
- func (x *ShutdownAlert) ProtoReflect() protoreflect.Message
- func (x *ShutdownAlert) Reset()
- func (x *ShutdownAlert) String() string
- func (m *ShutdownAlert) Validate() error
- func (m *ShutdownAlert) ValidateAll() error
- type ShutdownAlertMultiError
- type ShutdownAlertValidationError
- func (e ShutdownAlertValidationError) Cause() error
- func (e ShutdownAlertValidationError) Error() string
- func (e ShutdownAlertValidationError) ErrorName() string
- func (e ShutdownAlertValidationError) Field() string
- func (e ShutdownAlertValidationError) Key() bool
- func (e ShutdownAlertValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_platform_daemon_v1_stream_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DaemonMessage ¶
type DaemonMessage struct {
// Types that are assignable to Message:
//
// *DaemonMessage_Heartbeat
// *DaemonMessage_ShutdownAlert
Message isDaemonMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*DaemonMessage) Descriptor
deprecated
func (*DaemonMessage) Descriptor() ([]byte, []int)
Deprecated: Use DaemonMessage.ProtoReflect.Descriptor instead.
func (*DaemonMessage) GetHeartbeat ¶
func (x *DaemonMessage) GetHeartbeat() *Heartbeat
func (*DaemonMessage) GetMessage ¶
func (m *DaemonMessage) GetMessage() isDaemonMessage_Message
func (*DaemonMessage) GetShutdownAlert ¶
func (x *DaemonMessage) GetShutdownAlert() *ShutdownAlert
func (*DaemonMessage) ProtoMessage ¶
func (*DaemonMessage) ProtoMessage()
func (*DaemonMessage) ProtoReflect ¶
func (x *DaemonMessage) ProtoReflect() protoreflect.Message
func (*DaemonMessage) Reset ¶
func (x *DaemonMessage) Reset()
func (*DaemonMessage) String ¶
func (x *DaemonMessage) String() string
func (*DaemonMessage) Validate ¶
func (m *DaemonMessage) Validate() error
Validate checks the field values on DaemonMessage 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 (*DaemonMessage) ValidateAll ¶
func (m *DaemonMessage) ValidateAll() error
ValidateAll checks the field values on DaemonMessage 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 DaemonMessageMultiError, or nil if none found.
type DaemonMessageMultiError ¶
type DaemonMessageMultiError []error
DaemonMessageMultiError is an error wrapping multiple validation errors returned by DaemonMessage.ValidateAll() if the designated constraints aren't met.
func (DaemonMessageMultiError) AllErrors ¶
func (m DaemonMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DaemonMessageMultiError) Error ¶
func (m DaemonMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DaemonMessageValidationError ¶
type DaemonMessageValidationError struct {
// contains filtered or unexported fields
}
DaemonMessageValidationError is the validation error returned by DaemonMessage.Validate if the designated constraints aren't met.
func (DaemonMessageValidationError) Cause ¶
func (e DaemonMessageValidationError) Cause() error
Cause function returns cause value.
func (DaemonMessageValidationError) Error ¶
func (e DaemonMessageValidationError) Error() string
Error satisfies the builtin error interface
func (DaemonMessageValidationError) ErrorName ¶
func (e DaemonMessageValidationError) ErrorName() string
ErrorName returns error name.
func (DaemonMessageValidationError) Field ¶
func (e DaemonMessageValidationError) Field() string
Field function returns field value.
func (DaemonMessageValidationError) Key ¶
func (e DaemonMessageValidationError) Key() bool
Key function returns key value.
func (DaemonMessageValidationError) Reason ¶
func (e DaemonMessageValidationError) Reason() string
Reason function returns reason value.
type DaemonMessage_Heartbeat ¶
type DaemonMessage_Heartbeat struct {
Heartbeat *Heartbeat `` /* 131-byte string literal not displayed */
}
type DaemonMessage_ShutdownAlert ¶
type DaemonMessage_ShutdownAlert struct {
ShutdownAlert *ShutdownAlert `` /* 180-byte string literal not displayed */
}
type Heartbeat ¶
type Heartbeat struct {
// contains filtered or unexported fields
}
func (*Heartbeat) Descriptor
deprecated
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) ProtoReflect ¶
func (x *Heartbeat) ProtoReflect() protoreflect.Message
func (*Heartbeat) Validate ¶
Validate checks the field values on Heartbeat 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 (*Heartbeat) ValidateAll ¶
ValidateAll checks the field values on Heartbeat 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 HeartbeatMultiError, or nil if none found.
type HeartbeatMultiError ¶
type HeartbeatMultiError []error
HeartbeatMultiError is an error wrapping multiple validation errors returned by Heartbeat.ValidateAll() if the designated constraints aren't met.
func (HeartbeatMultiError) AllErrors ¶
func (m HeartbeatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeartbeatMultiError) Error ¶
func (m HeartbeatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeartbeatValidationError ¶
type HeartbeatValidationError struct {
// contains filtered or unexported fields
}
HeartbeatValidationError is the validation error returned by Heartbeat.Validate if the designated constraints aren't met.
func (HeartbeatValidationError) Cause ¶
func (e HeartbeatValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatValidationError) Error ¶
func (e HeartbeatValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatValidationError) ErrorName ¶
func (e HeartbeatValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatValidationError) Field ¶
func (e HeartbeatValidationError) Field() string
Field function returns field value.
func (HeartbeatValidationError) Key ¶
func (e HeartbeatValidationError) Key() bool
Key function returns key value.
func (HeartbeatValidationError) Reason ¶
func (e HeartbeatValidationError) Reason() string
Reason function returns reason value.
type ServerMessage ¶
type ServerMessage struct {
// Types that are assignable to Message:
//
// *ServerMessage_Heartbeat
Message isServerMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*ServerMessage) Descriptor
deprecated
func (*ServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.
func (*ServerMessage) GetHeartbeat ¶
func (x *ServerMessage) GetHeartbeat() *Heartbeat
func (*ServerMessage) GetMessage ¶
func (m *ServerMessage) GetMessage() isServerMessage_Message
func (*ServerMessage) ProtoMessage ¶
func (*ServerMessage) ProtoMessage()
func (*ServerMessage) ProtoReflect ¶
func (x *ServerMessage) ProtoReflect() protoreflect.Message
func (*ServerMessage) Reset ¶
func (x *ServerMessage) Reset()
func (*ServerMessage) String ¶
func (x *ServerMessage) String() string
func (*ServerMessage) Validate ¶
func (m *ServerMessage) Validate() error
Validate checks the field values on ServerMessage 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 (*ServerMessage) ValidateAll ¶
func (m *ServerMessage) ValidateAll() error
ValidateAll checks the field values on ServerMessage 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 ServerMessageMultiError, or nil if none found.
type ServerMessageMultiError ¶
type ServerMessageMultiError []error
ServerMessageMultiError is an error wrapping multiple validation errors returned by ServerMessage.ValidateAll() if the designated constraints aren't met.
func (ServerMessageMultiError) AllErrors ¶
func (m ServerMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerMessageMultiError) Error ¶
func (m ServerMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerMessageValidationError ¶
type ServerMessageValidationError struct {
// contains filtered or unexported fields
}
ServerMessageValidationError is the validation error returned by ServerMessage.Validate if the designated constraints aren't met.
func (ServerMessageValidationError) Cause ¶
func (e ServerMessageValidationError) Cause() error
Cause function returns cause value.
func (ServerMessageValidationError) Error ¶
func (e ServerMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ServerMessageValidationError) ErrorName ¶
func (e ServerMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ServerMessageValidationError) Field ¶
func (e ServerMessageValidationError) Field() string
Field function returns field value.
func (ServerMessageValidationError) Key ¶
func (e ServerMessageValidationError) Key() bool
Key function returns key value.
func (ServerMessageValidationError) Reason ¶
func (e ServerMessageValidationError) Reason() string
Reason function returns reason value.
type ServerMessage_Heartbeat ¶
type ServerMessage_Heartbeat struct {
Heartbeat *Heartbeat `` /* 131-byte string literal not displayed */
}
type ShutdownAlert ¶
type ShutdownAlert struct {
// contains filtered or unexported fields
}
func (*ShutdownAlert) Descriptor
deprecated
func (*ShutdownAlert) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownAlert.ProtoReflect.Descriptor instead.
func (*ShutdownAlert) ProtoMessage ¶
func (*ShutdownAlert) ProtoMessage()
func (*ShutdownAlert) ProtoReflect ¶
func (x *ShutdownAlert) ProtoReflect() protoreflect.Message
func (*ShutdownAlert) Reset ¶
func (x *ShutdownAlert) Reset()
func (*ShutdownAlert) String ¶
func (x *ShutdownAlert) String() string
func (*ShutdownAlert) Validate ¶
func (m *ShutdownAlert) Validate() error
Validate checks the field values on ShutdownAlert 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 (*ShutdownAlert) ValidateAll ¶
func (m *ShutdownAlert) ValidateAll() error
ValidateAll checks the field values on ShutdownAlert 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 ShutdownAlertMultiError, or nil if none found.
type ShutdownAlertMultiError ¶
type ShutdownAlertMultiError []error
ShutdownAlertMultiError is an error wrapping multiple validation errors returned by ShutdownAlert.ValidateAll() if the designated constraints aren't met.
func (ShutdownAlertMultiError) AllErrors ¶
func (m ShutdownAlertMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShutdownAlertMultiError) Error ¶
func (m ShutdownAlertMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShutdownAlertValidationError ¶
type ShutdownAlertValidationError struct {
// contains filtered or unexported fields
}
ShutdownAlertValidationError is the validation error returned by ShutdownAlert.Validate if the designated constraints aren't met.
func (ShutdownAlertValidationError) Cause ¶
func (e ShutdownAlertValidationError) Cause() error
Cause function returns cause value.
func (ShutdownAlertValidationError) Error ¶
func (e ShutdownAlertValidationError) Error() string
Error satisfies the builtin error interface
func (ShutdownAlertValidationError) ErrorName ¶
func (e ShutdownAlertValidationError) ErrorName() string
ErrorName returns error name.
func (ShutdownAlertValidationError) Field ¶
func (e ShutdownAlertValidationError) Field() string
Field function returns field value.
func (ShutdownAlertValidationError) Key ¶
func (e ShutdownAlertValidationError) Key() bool
Key function returns key value.
func (ShutdownAlertValidationError) Reason ¶
func (e ShutdownAlertValidationError) Reason() string
Reason function returns reason value.