Documentation ¶
Index ¶
- Variables
- type ChangeDaemonVersionCommand
- func (*ChangeDaemonVersionCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeDaemonVersionCommand) GetSrcHash() string
- func (x *ChangeDaemonVersionCommand) GetVendorHash() string
- func (x *ChangeDaemonVersionCommand) GetVersion() string
- func (*ChangeDaemonVersionCommand) ProtoMessage()
- func (x *ChangeDaemonVersionCommand) ProtoReflect() protoreflect.Message
- func (x *ChangeDaemonVersionCommand) Reset()
- func (x *ChangeDaemonVersionCommand) String() string
- func (m *ChangeDaemonVersionCommand) Validate() error
- func (m *ChangeDaemonVersionCommand) ValidateAll() error
- type ChangeDaemonVersionCommandMultiError
- type ChangeDaemonVersionCommandValidationError
- func (e ChangeDaemonVersionCommandValidationError) Cause() error
- func (e ChangeDaemonVersionCommandValidationError) Error() string
- func (e ChangeDaemonVersionCommandValidationError) ErrorName() string
- func (e ChangeDaemonVersionCommandValidationError) Field() string
- func (e ChangeDaemonVersionCommandValidationError) Key() bool
- func (e ChangeDaemonVersionCommandValidationError) Reason() string
- type ComputeStats
- func (*ComputeStats) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeStats) GetIdlePercent() float32
- func (x *ComputeStats) GetSystemPercent() float32
- func (x *ComputeStats) GetUserPercent() float32
- func (*ComputeStats) ProtoMessage()
- func (x *ComputeStats) ProtoReflect() protoreflect.Message
- func (x *ComputeStats) Reset()
- func (x *ComputeStats) String() string
- func (m *ComputeStats) Validate() error
- func (m *ComputeStats) ValidateAll() error
- type ComputeStatsMultiError
- type ComputeStatsValidationError
- func (e ComputeStatsValidationError) Cause() error
- func (e ComputeStatsValidationError) Error() string
- func (e ComputeStatsValidationError) ErrorName() string
- func (e ComputeStatsValidationError) Field() string
- func (e ComputeStatsValidationError) Key() bool
- func (e ComputeStatsValidationError) Reason() string
- type CurrentDaemonVersion
- func (*CurrentDaemonVersion) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentDaemonVersion) GetError() *DaemonError
- func (x *CurrentDaemonVersion) GetVersion() string
- func (*CurrentDaemonVersion) ProtoMessage()
- func (x *CurrentDaemonVersion) ProtoReflect() protoreflect.Message
- func (x *CurrentDaemonVersion) Reset()
- func (x *CurrentDaemonVersion) String() string
- func (m *CurrentDaemonVersion) Validate() error
- func (m *CurrentDaemonVersion) ValidateAll() error
- type CurrentDaemonVersionMultiError
- type CurrentDaemonVersionValidationError
- func (e CurrentDaemonVersionValidationError) Cause() error
- func (e CurrentDaemonVersionValidationError) Error() string
- func (e CurrentDaemonVersionValidationError) ErrorName() string
- func (e CurrentDaemonVersionValidationError) Field() string
- func (e CurrentDaemonVersionValidationError) Key() bool
- func (e CurrentDaemonVersionValidationError) Reason() string
- type DaemonError
- func (*DaemonError) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonError) GetError() string
- func (*DaemonError) ProtoMessage()
- func (x *DaemonError) ProtoReflect() protoreflect.Message
- func (x *DaemonError) Reset()
- func (x *DaemonError) String() string
- func (m *DaemonError) Validate() error
- func (m *DaemonError) ValidateAll() error
- type DaemonErrorMultiError
- type DaemonErrorValidationError
- func (e DaemonErrorValidationError) Cause() error
- func (e DaemonErrorValidationError) Error() string
- func (e DaemonErrorValidationError) ErrorName() string
- func (e DaemonErrorValidationError) Field() string
- func (e DaemonErrorValidationError) Key() bool
- func (e DaemonErrorValidationError) Reason() string
- type DaemonMessage
- func (*DaemonMessage) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonMessage) GetCurrentDaemonVersion() *CurrentDaemonVersion
- func (x *DaemonMessage) GetHeartbeat() *Heartbeat
- func (m *DaemonMessage) GetMessage() isDaemonMessage_Message
- func (x *DaemonMessage) GetOsUpdateDiff() *OSUpdateDiff
- func (x *DaemonMessage) GetShutdownAlert() *ShutdownAlert
- func (x *DaemonMessage) GetSystemStats() *SystemStats
- 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_CurrentDaemonVersion
- type DaemonMessage_Heartbeat
- type DaemonMessage_OsUpdateDiff
- type DaemonMessage_ShutdownAlert
- type DaemonMessage_SystemStats
- type DriveStats
- func (*DriveStats) Descriptor() ([]byte, []int)deprecated
- func (x *DriveStats) GetFreeBytes() uint64
- func (x *DriveStats) GetMountPoint() string
- func (x *DriveStats) GetTotalBytes() uint64
- func (*DriveStats) ProtoMessage()
- func (x *DriveStats) ProtoReflect() protoreflect.Message
- func (x *DriveStats) Reset()
- func (x *DriveStats) String() string
- func (m *DriveStats) Validate() error
- func (m *DriveStats) ValidateAll() error
- type DriveStatsMultiError
- type DriveStatsValidationError
- type Heartbeat
- type HeartbeatMultiError
- type HeartbeatValidationError
- type InstallOSUpdateCommand
- func (*InstallOSUpdateCommand) Descriptor() ([]byte, []int)deprecated
- func (*InstallOSUpdateCommand) ProtoMessage()
- func (x *InstallOSUpdateCommand) ProtoReflect() protoreflect.Message
- func (x *InstallOSUpdateCommand) Reset()
- func (x *InstallOSUpdateCommand) String() string
- func (m *InstallOSUpdateCommand) Validate() error
- func (m *InstallOSUpdateCommand) ValidateAll() error
- type InstallOSUpdateCommandMultiError
- type InstallOSUpdateCommandValidationError
- func (e InstallOSUpdateCommandValidationError) Cause() error
- func (e InstallOSUpdateCommandValidationError) Error() string
- func (e InstallOSUpdateCommandValidationError) ErrorName() string
- func (e InstallOSUpdateCommandValidationError) Field() string
- func (e InstallOSUpdateCommandValidationError) Key() bool
- func (e InstallOSUpdateCommandValidationError) Reason() string
- type MemoryStats
- func (*MemoryStats) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryStats) GetAvailableBytes() uint64
- func (x *MemoryStats) GetCachedBytes() uint64
- func (x *MemoryStats) GetFreeBytes() uint64
- func (x *MemoryStats) GetTotalBytes() uint64
- func (x *MemoryStats) GetUsedBytes() uint64
- func (*MemoryStats) ProtoMessage()
- func (x *MemoryStats) ProtoReflect() protoreflect.Message
- func (x *MemoryStats) Reset()
- func (x *MemoryStats) String() string
- func (m *MemoryStats) Validate() error
- func (m *MemoryStats) ValidateAll() error
- type MemoryStatsMultiError
- type MemoryStatsValidationError
- func (e MemoryStatsValidationError) Cause() error
- func (e MemoryStatsValidationError) Error() string
- func (e MemoryStatsValidationError) ErrorName() string
- func (e MemoryStatsValidationError) Field() string
- func (e MemoryStatsValidationError) Key() bool
- func (e MemoryStatsValidationError) Reason() string
- type OSUpdateDiff
- func (*OSUpdateDiff) Descriptor() ([]byte, []int)deprecated
- func (x *OSUpdateDiff) GetDescription() string
- func (x *OSUpdateDiff) GetError() *DaemonError
- func (*OSUpdateDiff) ProtoMessage()
- func (x *OSUpdateDiff) ProtoReflect() protoreflect.Message
- func (x *OSUpdateDiff) Reset()
- func (x *OSUpdateDiff) String() string
- func (m *OSUpdateDiff) Validate() error
- func (m *OSUpdateDiff) ValidateAll() error
- type OSUpdateDiffMultiError
- type OSUpdateDiffValidationError
- func (e OSUpdateDiffValidationError) Cause() error
- func (e OSUpdateDiffValidationError) Error() string
- func (e OSUpdateDiffValidationError) ErrorName() string
- func (e OSUpdateDiffValidationError) Field() string
- func (e OSUpdateDiffValidationError) Key() bool
- func (e OSUpdateDiffValidationError) Reason() string
- type RequestCurrentDaemonVersion
- func (*RequestCurrentDaemonVersion) Descriptor() ([]byte, []int)deprecated
- func (*RequestCurrentDaemonVersion) ProtoMessage()
- func (x *RequestCurrentDaemonVersion) ProtoReflect() protoreflect.Message
- func (x *RequestCurrentDaemonVersion) Reset()
- func (x *RequestCurrentDaemonVersion) String() string
- func (m *RequestCurrentDaemonVersion) Validate() error
- func (m *RequestCurrentDaemonVersion) ValidateAll() error
- type RequestCurrentDaemonVersionMultiError
- type RequestCurrentDaemonVersionValidationError
- func (e RequestCurrentDaemonVersionValidationError) Cause() error
- func (e RequestCurrentDaemonVersionValidationError) Error() string
- func (e RequestCurrentDaemonVersionValidationError) ErrorName() string
- func (e RequestCurrentDaemonVersionValidationError) Field() string
- func (e RequestCurrentDaemonVersionValidationError) Key() bool
- func (e RequestCurrentDaemonVersionValidationError) Reason() string
- type RequestOSUpdateDiff
- func (*RequestOSUpdateDiff) Descriptor() ([]byte, []int)deprecated
- func (*RequestOSUpdateDiff) ProtoMessage()
- func (x *RequestOSUpdateDiff) ProtoReflect() protoreflect.Message
- func (x *RequestOSUpdateDiff) Reset()
- func (x *RequestOSUpdateDiff) String() string
- func (m *RequestOSUpdateDiff) Validate() error
- func (m *RequestOSUpdateDiff) ValidateAll() error
- type RequestOSUpdateDiffMultiError
- type RequestOSUpdateDiffValidationError
- func (e RequestOSUpdateDiffValidationError) Cause() error
- func (e RequestOSUpdateDiffValidationError) Error() string
- func (e RequestOSUpdateDiffValidationError) ErrorName() string
- func (e RequestOSUpdateDiffValidationError) Field() string
- func (e RequestOSUpdateDiffValidationError) Key() bool
- func (e RequestOSUpdateDiffValidationError) Reason() string
- type RestartCommand
- func (*RestartCommand) Descriptor() ([]byte, []int)deprecated
- func (*RestartCommand) ProtoMessage()
- func (x *RestartCommand) ProtoReflect() protoreflect.Message
- func (x *RestartCommand) Reset()
- func (x *RestartCommand) String() string
- func (m *RestartCommand) Validate() error
- func (m *RestartCommand) ValidateAll() error
- type RestartCommandMultiError
- type RestartCommandValidationError
- func (e RestartCommandValidationError) Cause() error
- func (e RestartCommandValidationError) Error() string
- func (e RestartCommandValidationError) ErrorName() string
- func (e RestartCommandValidationError) Field() string
- func (e RestartCommandValidationError) Key() bool
- func (e RestartCommandValidationError) Reason() string
- type ServerMessage
- func (*ServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMessage) GetChangeDaemonVersionCommand() *ChangeDaemonVersionCommand
- func (x *ServerMessage) GetHeartbeat() *Heartbeat
- func (x *ServerMessage) GetInstallOsUpdateCommand() *InstallOSUpdateCommand
- func (m *ServerMessage) GetMessage() isServerMessage_Message
- func (x *ServerMessage) GetRequestCurrentDaemonVersion() *RequestCurrentDaemonVersion
- func (x *ServerMessage) GetRequestOsUpdateDiff() *RequestOSUpdateDiff
- func (x *ServerMessage) GetRestart() *RestartCommand
- func (x *ServerMessage) GetSetSystemImageCommand() *SetSystemImageCommand
- func (x *ServerMessage) GetShutdown() *ShutdownCommand
- 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_ChangeDaemonVersionCommand
- type ServerMessage_Heartbeat
- type ServerMessage_InstallOsUpdateCommand
- type ServerMessage_RequestCurrentDaemonVersion
- type ServerMessage_RequestOsUpdateDiff
- type ServerMessage_Restart
- type ServerMessage_SetSystemImageCommand
- type ServerMessage_Shutdown
- type SetSystemImageCommand
- func (*SetSystemImageCommand) Descriptor() ([]byte, []int)deprecated
- func (x *SetSystemImageCommand) GetCurrentImage() string
- func (x *SetSystemImageCommand) GetRequestedImage() string
- func (*SetSystemImageCommand) ProtoMessage()
- func (x *SetSystemImageCommand) ProtoReflect() protoreflect.Message
- func (x *SetSystemImageCommand) Reset()
- func (x *SetSystemImageCommand) String() string
- func (m *SetSystemImageCommand) Validate() error
- func (m *SetSystemImageCommand) ValidateAll() error
- type SetSystemImageCommandMultiError
- type SetSystemImageCommandValidationError
- func (e SetSystemImageCommandValidationError) Cause() error
- func (e SetSystemImageCommandValidationError) Error() string
- func (e SetSystemImageCommandValidationError) ErrorName() string
- func (e SetSystemImageCommandValidationError) Field() string
- func (e SetSystemImageCommandValidationError) Key() bool
- func (e SetSystemImageCommandValidationError) Reason() string
- 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 ShutdownAlertRequest
- func (*ShutdownAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (*ShutdownAlertRequest) ProtoMessage()
- func (x *ShutdownAlertRequest) ProtoReflect() protoreflect.Message
- func (x *ShutdownAlertRequest) Reset()
- func (x *ShutdownAlertRequest) String() string
- func (m *ShutdownAlertRequest) Validate() error
- func (m *ShutdownAlertRequest) ValidateAll() error
- type ShutdownAlertRequestMultiError
- type ShutdownAlertRequestValidationError
- func (e ShutdownAlertRequestValidationError) Cause() error
- func (e ShutdownAlertRequestValidationError) Error() string
- func (e ShutdownAlertRequestValidationError) ErrorName() string
- func (e ShutdownAlertRequestValidationError) Field() string
- func (e ShutdownAlertRequestValidationError) Key() bool
- func (e ShutdownAlertRequestValidationError) Reason() string
- type ShutdownAlertResponse
- func (*ShutdownAlertResponse) Descriptor() ([]byte, []int)deprecated
- func (*ShutdownAlertResponse) ProtoMessage()
- func (x *ShutdownAlertResponse) ProtoReflect() protoreflect.Message
- func (x *ShutdownAlertResponse) Reset()
- func (x *ShutdownAlertResponse) String() string
- func (m *ShutdownAlertResponse) Validate() error
- func (m *ShutdownAlertResponse) ValidateAll() error
- type ShutdownAlertResponseMultiError
- type ShutdownAlertResponseValidationError
- func (e ShutdownAlertResponseValidationError) Cause() error
- func (e ShutdownAlertResponseValidationError) Error() string
- func (e ShutdownAlertResponseValidationError) ErrorName() string
- func (e ShutdownAlertResponseValidationError) Field() string
- func (e ShutdownAlertResponseValidationError) Key() bool
- func (e ShutdownAlertResponseValidationError) Reason() string
- 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
- type ShutdownCommand
- func (*ShutdownCommand) Descriptor() ([]byte, []int)deprecated
- func (*ShutdownCommand) ProtoMessage()
- func (x *ShutdownCommand) ProtoReflect() protoreflect.Message
- func (x *ShutdownCommand) Reset()
- func (x *ShutdownCommand) String() string
- func (m *ShutdownCommand) Validate() error
- func (m *ShutdownCommand) ValidateAll() error
- type ShutdownCommandMultiError
- type ShutdownCommandValidationError
- func (e ShutdownCommandValidationError) Cause() error
- func (e ShutdownCommandValidationError) Error() string
- func (e ShutdownCommandValidationError) ErrorName() string
- func (e ShutdownCommandValidationError) Field() string
- func (e ShutdownCommandValidationError) Key() bool
- func (e ShutdownCommandValidationError) Reason() string
- type SystemStats
- func (*SystemStats) Descriptor() ([]byte, []int)deprecated
- func (x *SystemStats) GetCompute() *ComputeStats
- func (x *SystemStats) GetDrives() []*DriveStats
- func (x *SystemStats) GetEndTime() *timestamppb.Timestamp
- func (x *SystemStats) GetMemory() *MemoryStats
- func (x *SystemStats) GetStartTime() *timestamppb.Timestamp
- func (*SystemStats) ProtoMessage()
- func (x *SystemStats) ProtoReflect() protoreflect.Message
- func (x *SystemStats) Reset()
- func (x *SystemStats) String() string
- func (m *SystemStats) Validate() error
- func (m *SystemStats) ValidateAll() error
- type SystemStatsMultiError
- type SystemStatsValidationError
- func (e SystemStatsValidationError) Cause() error
- func (e SystemStatsValidationError) Error() string
- func (e SystemStatsValidationError) ErrorName() string
- func (e SystemStatsValidationError) Field() string
- func (e SystemStatsValidationError) Key() bool
- func (e SystemStatsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_platform_daemon_v1_host_proto protoreflect.FileDescriptor
var File_platform_daemon_v1_stream_proto protoreflect.FileDescriptor
var File_platform_daemon_v1_system_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChangeDaemonVersionCommand ¶ added in v0.3.5
type ChangeDaemonVersionCommand struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version" bun:"version" csv:"version" pg:"version" yaml:"version"` VendorHash string `` /* 152-byte string literal not displayed */ SrcHash string `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChangeDaemonVersionCommand) Descriptor
deprecated
added in
v0.3.5
func (*ChangeDaemonVersionCommand) Descriptor() ([]byte, []int)
Deprecated: Use ChangeDaemonVersionCommand.ProtoReflect.Descriptor instead.
func (*ChangeDaemonVersionCommand) GetSrcHash ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) GetSrcHash() string
func (*ChangeDaemonVersionCommand) GetVendorHash ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) GetVendorHash() string
func (*ChangeDaemonVersionCommand) GetVersion ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) GetVersion() string
func (*ChangeDaemonVersionCommand) ProtoMessage ¶ added in v0.3.5
func (*ChangeDaemonVersionCommand) ProtoMessage()
func (*ChangeDaemonVersionCommand) ProtoReflect ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) ProtoReflect() protoreflect.Message
func (*ChangeDaemonVersionCommand) Reset ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) Reset()
func (*ChangeDaemonVersionCommand) String ¶ added in v0.3.5
func (x *ChangeDaemonVersionCommand) String() string
func (*ChangeDaemonVersionCommand) Validate ¶ added in v0.3.5
func (m *ChangeDaemonVersionCommand) Validate() error
Validate checks the field values on ChangeDaemonVersionCommand 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 (*ChangeDaemonVersionCommand) ValidateAll ¶ added in v0.3.5
func (m *ChangeDaemonVersionCommand) ValidateAll() error
ValidateAll checks the field values on ChangeDaemonVersionCommand 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 ChangeDaemonVersionCommandMultiError, or nil if none found.
type ChangeDaemonVersionCommandMultiError ¶ added in v0.3.5
type ChangeDaemonVersionCommandMultiError []error
ChangeDaemonVersionCommandMultiError is an error wrapping multiple validation errors returned by ChangeDaemonVersionCommand.ValidateAll() if the designated constraints aren't met.
func (ChangeDaemonVersionCommandMultiError) AllErrors ¶ added in v0.3.5
func (m ChangeDaemonVersionCommandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeDaemonVersionCommandMultiError) Error ¶ added in v0.3.5
func (m ChangeDaemonVersionCommandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeDaemonVersionCommandValidationError ¶ added in v0.3.5
type ChangeDaemonVersionCommandValidationError struct {
// contains filtered or unexported fields
}
ChangeDaemonVersionCommandValidationError is the validation error returned by ChangeDaemonVersionCommand.Validate if the designated constraints aren't met.
func (ChangeDaemonVersionCommandValidationError) Cause ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) Cause() error
Cause function returns cause value.
func (ChangeDaemonVersionCommandValidationError) Error ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeDaemonVersionCommandValidationError) ErrorName ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeDaemonVersionCommandValidationError) Field ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) Field() string
Field function returns field value.
func (ChangeDaemonVersionCommandValidationError) Key ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) Key() bool
Key function returns key value.
func (ChangeDaemonVersionCommandValidationError) Reason ¶ added in v0.3.5
func (e ChangeDaemonVersionCommandValidationError) Reason() string
Reason function returns reason value.
type ComputeStats ¶ added in v0.3.8
type ComputeStats struct { UserPercent float32 `` /* 161-byte string literal not displayed */ SystemPercent float32 `` /* 175-byte string literal not displayed */ IdlePercent float32 `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComputeStats) Descriptor
deprecated
added in
v0.3.8
func (*ComputeStats) Descriptor() ([]byte, []int)
Deprecated: Use ComputeStats.ProtoReflect.Descriptor instead.
func (*ComputeStats) GetIdlePercent ¶ added in v0.3.8
func (x *ComputeStats) GetIdlePercent() float32
func (*ComputeStats) GetSystemPercent ¶ added in v0.3.8
func (x *ComputeStats) GetSystemPercent() float32
func (*ComputeStats) GetUserPercent ¶ added in v0.3.8
func (x *ComputeStats) GetUserPercent() float32
func (*ComputeStats) ProtoMessage ¶ added in v0.3.8
func (*ComputeStats) ProtoMessage()
func (*ComputeStats) ProtoReflect ¶ added in v0.3.8
func (x *ComputeStats) ProtoReflect() protoreflect.Message
func (*ComputeStats) Reset ¶ added in v0.3.8
func (x *ComputeStats) Reset()
func (*ComputeStats) String ¶ added in v0.3.8
func (x *ComputeStats) String() string
func (*ComputeStats) Validate ¶ added in v0.3.8
func (m *ComputeStats) Validate() error
Validate checks the field values on ComputeStats 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 (*ComputeStats) ValidateAll ¶ added in v0.3.8
func (m *ComputeStats) ValidateAll() error
ValidateAll checks the field values on ComputeStats 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 ComputeStatsMultiError, or nil if none found.
type ComputeStatsMultiError ¶ added in v0.3.8
type ComputeStatsMultiError []error
ComputeStatsMultiError is an error wrapping multiple validation errors returned by ComputeStats.ValidateAll() if the designated constraints aren't met.
func (ComputeStatsMultiError) AllErrors ¶ added in v0.3.8
func (m ComputeStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComputeStatsMultiError) Error ¶ added in v0.3.8
func (m ComputeStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComputeStatsValidationError ¶ added in v0.3.8
type ComputeStatsValidationError struct {
// contains filtered or unexported fields
}
ComputeStatsValidationError is the validation error returned by ComputeStats.Validate if the designated constraints aren't met.
func (ComputeStatsValidationError) Cause ¶ added in v0.3.8
func (e ComputeStatsValidationError) Cause() error
Cause function returns cause value.
func (ComputeStatsValidationError) Error ¶ added in v0.3.8
func (e ComputeStatsValidationError) Error() string
Error satisfies the builtin error interface
func (ComputeStatsValidationError) ErrorName ¶ added in v0.3.8
func (e ComputeStatsValidationError) ErrorName() string
ErrorName returns error name.
func (ComputeStatsValidationError) Field ¶ added in v0.3.8
func (e ComputeStatsValidationError) Field() string
Field function returns field value.
func (ComputeStatsValidationError) Key ¶ added in v0.3.8
func (e ComputeStatsValidationError) Key() bool
Key function returns key value.
func (ComputeStatsValidationError) Reason ¶ added in v0.3.8
func (e ComputeStatsValidationError) Reason() string
Reason function returns reason value.
type CurrentDaemonVersion ¶ added in v0.3.3
type CurrentDaemonVersion struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version" bun:"version" csv:"version" pg:"version" yaml:"version"` Error *DaemonError `protobuf:"bytes,16,opt,name=error,proto3" json:"error" bun:"error" csv:"error" pg:"error" yaml:"error"` // contains filtered or unexported fields }
CurrentDaemonVersion is the current daemon version
func (*CurrentDaemonVersion) Descriptor
deprecated
added in
v0.3.3
func (*CurrentDaemonVersion) Descriptor() ([]byte, []int)
Deprecated: Use CurrentDaemonVersion.ProtoReflect.Descriptor instead.
func (*CurrentDaemonVersion) GetError ¶ added in v0.3.5
func (x *CurrentDaemonVersion) GetError() *DaemonError
func (*CurrentDaemonVersion) GetVersion ¶ added in v0.3.3
func (x *CurrentDaemonVersion) GetVersion() string
func (*CurrentDaemonVersion) ProtoMessage ¶ added in v0.3.3
func (*CurrentDaemonVersion) ProtoMessage()
func (*CurrentDaemonVersion) ProtoReflect ¶ added in v0.3.3
func (x *CurrentDaemonVersion) ProtoReflect() protoreflect.Message
func (*CurrentDaemonVersion) Reset ¶ added in v0.3.3
func (x *CurrentDaemonVersion) Reset()
func (*CurrentDaemonVersion) String ¶ added in v0.3.3
func (x *CurrentDaemonVersion) String() string
func (*CurrentDaemonVersion) Validate ¶ added in v0.3.3
func (m *CurrentDaemonVersion) Validate() error
Validate checks the field values on CurrentDaemonVersion 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 (*CurrentDaemonVersion) ValidateAll ¶ added in v0.3.3
func (m *CurrentDaemonVersion) ValidateAll() error
ValidateAll checks the field values on CurrentDaemonVersion 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 CurrentDaemonVersionMultiError, or nil if none found.
type CurrentDaemonVersionMultiError ¶ added in v0.3.3
type CurrentDaemonVersionMultiError []error
CurrentDaemonVersionMultiError is an error wrapping multiple validation errors returned by CurrentDaemonVersion.ValidateAll() if the designated constraints aren't met.
func (CurrentDaemonVersionMultiError) AllErrors ¶ added in v0.3.3
func (m CurrentDaemonVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrentDaemonVersionMultiError) Error ¶ added in v0.3.3
func (m CurrentDaemonVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrentDaemonVersionValidationError ¶ added in v0.3.3
type CurrentDaemonVersionValidationError struct {
// contains filtered or unexported fields
}
CurrentDaemonVersionValidationError is the validation error returned by CurrentDaemonVersion.Validate if the designated constraints aren't met.
func (CurrentDaemonVersionValidationError) Cause ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) Cause() error
Cause function returns cause value.
func (CurrentDaemonVersionValidationError) Error ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) Error() string
Error satisfies the builtin error interface
func (CurrentDaemonVersionValidationError) ErrorName ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) ErrorName() string
ErrorName returns error name.
func (CurrentDaemonVersionValidationError) Field ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) Field() string
Field function returns field value.
func (CurrentDaemonVersionValidationError) Key ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) Key() bool
Key function returns key value.
func (CurrentDaemonVersionValidationError) Reason ¶ added in v0.3.3
func (e CurrentDaemonVersionValidationError) Reason() string
Reason function returns reason value.
type DaemonError ¶ added in v0.3.5
type DaemonError struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error" bun:"error" csv:"error" pg:"error" yaml:"error"` // contains filtered or unexported fields }
func (*DaemonError) Descriptor
deprecated
added in
v0.3.5
func (*DaemonError) Descriptor() ([]byte, []int)
Deprecated: Use DaemonError.ProtoReflect.Descriptor instead.
func (*DaemonError) GetError ¶ added in v0.3.5
func (x *DaemonError) GetError() string
func (*DaemonError) ProtoMessage ¶ added in v0.3.5
func (*DaemonError) ProtoMessage()
func (*DaemonError) ProtoReflect ¶ added in v0.3.5
func (x *DaemonError) ProtoReflect() protoreflect.Message
func (*DaemonError) Reset ¶ added in v0.3.5
func (x *DaemonError) Reset()
func (*DaemonError) String ¶ added in v0.3.5
func (x *DaemonError) String() string
func (*DaemonError) Validate ¶ added in v0.3.5
func (m *DaemonError) Validate() error
Validate checks the field values on DaemonError 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 (*DaemonError) ValidateAll ¶ added in v0.3.5
func (m *DaemonError) ValidateAll() error
ValidateAll checks the field values on DaemonError 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 DaemonErrorMultiError, or nil if none found.
type DaemonErrorMultiError ¶ added in v0.3.5
type DaemonErrorMultiError []error
DaemonErrorMultiError is an error wrapping multiple validation errors returned by DaemonError.ValidateAll() if the designated constraints aren't met.
func (DaemonErrorMultiError) AllErrors ¶ added in v0.3.5
func (m DaemonErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DaemonErrorMultiError) Error ¶ added in v0.3.5
func (m DaemonErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DaemonErrorValidationError ¶ added in v0.3.5
type DaemonErrorValidationError struct {
// contains filtered or unexported fields
}
DaemonErrorValidationError is the validation error returned by DaemonError.Validate if the designated constraints aren't met.
func (DaemonErrorValidationError) Cause ¶ added in v0.3.5
func (e DaemonErrorValidationError) Cause() error
Cause function returns cause value.
func (DaemonErrorValidationError) Error ¶ added in v0.3.5
func (e DaemonErrorValidationError) Error() string
Error satisfies the builtin error interface
func (DaemonErrorValidationError) ErrorName ¶ added in v0.3.5
func (e DaemonErrorValidationError) ErrorName() string
ErrorName returns error name.
func (DaemonErrorValidationError) Field ¶ added in v0.3.5
func (e DaemonErrorValidationError) Field() string
Field function returns field value.
func (DaemonErrorValidationError) Key ¶ added in v0.3.5
func (e DaemonErrorValidationError) Key() bool
Key function returns key value.
func (DaemonErrorValidationError) Reason ¶ added in v0.3.5
func (e DaemonErrorValidationError) Reason() string
Reason function returns reason value.
type DaemonMessage ¶
type DaemonMessage struct { // Types that are assignable to Message: // // *DaemonMessage_Heartbeat // *DaemonMessage_ShutdownAlert // *DaemonMessage_OsUpdateDiff // *DaemonMessage_CurrentDaemonVersion // *DaemonMessage_SystemStats 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) GetCurrentDaemonVersion ¶ added in v0.3.3
func (x *DaemonMessage) GetCurrentDaemonVersion() *CurrentDaemonVersion
func (*DaemonMessage) GetHeartbeat ¶
func (x *DaemonMessage) GetHeartbeat() *Heartbeat
func (*DaemonMessage) GetMessage ¶
func (m *DaemonMessage) GetMessage() isDaemonMessage_Message
func (*DaemonMessage) GetOsUpdateDiff ¶ added in v0.3.2
func (x *DaemonMessage) GetOsUpdateDiff() *OSUpdateDiff
func (*DaemonMessage) GetShutdownAlert ¶
func (x *DaemonMessage) GetShutdownAlert() *ShutdownAlert
func (*DaemonMessage) GetSystemStats ¶ added in v0.3.8
func (x *DaemonMessage) GetSystemStats() *SystemStats
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_CurrentDaemonVersion ¶ added in v0.3.3
type DaemonMessage_CurrentDaemonVersion struct {
CurrentDaemonVersion *CurrentDaemonVersion `` /* 233-byte string literal not displayed */
}
type DaemonMessage_Heartbeat ¶
type DaemonMessage_Heartbeat struct {
Heartbeat *Heartbeat `` /* 131-byte string literal not displayed */
}
type DaemonMessage_OsUpdateDiff ¶ added in v0.3.2
type DaemonMessage_OsUpdateDiff struct {
OsUpdateDiff *OSUpdateDiff `` /* 177-byte string literal not displayed */
}
type DaemonMessage_ShutdownAlert ¶
type DaemonMessage_ShutdownAlert struct {
ShutdownAlert *ShutdownAlert `` /* 179-byte string literal not displayed */
}
type DaemonMessage_SystemStats ¶ added in v0.3.8
type DaemonMessage_SystemStats struct {
SystemStats *SystemStats `` /* 165-byte string literal not displayed */
}
type DriveStats ¶ added in v0.3.8
type DriveStats struct { MountPoint string `` /* 152-byte string literal not displayed */ TotalBytes uint64 `` /* 153-byte string literal not displayed */ FreeBytes uint64 `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DriveStats) Descriptor
deprecated
added in
v0.3.8
func (*DriveStats) Descriptor() ([]byte, []int)
Deprecated: Use DriveStats.ProtoReflect.Descriptor instead.
func (*DriveStats) GetFreeBytes ¶ added in v0.3.8
func (x *DriveStats) GetFreeBytes() uint64
func (*DriveStats) GetMountPoint ¶ added in v0.3.8
func (x *DriveStats) GetMountPoint() string
func (*DriveStats) GetTotalBytes ¶ added in v0.3.8
func (x *DriveStats) GetTotalBytes() uint64
func (*DriveStats) ProtoMessage ¶ added in v0.3.8
func (*DriveStats) ProtoMessage()
func (*DriveStats) ProtoReflect ¶ added in v0.3.8
func (x *DriveStats) ProtoReflect() protoreflect.Message
func (*DriveStats) Reset ¶ added in v0.3.8
func (x *DriveStats) Reset()
func (*DriveStats) String ¶ added in v0.3.8
func (x *DriveStats) String() string
func (*DriveStats) Validate ¶ added in v0.3.8
func (m *DriveStats) Validate() error
Validate checks the field values on DriveStats 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 (*DriveStats) ValidateAll ¶ added in v0.3.8
func (m *DriveStats) ValidateAll() error
ValidateAll checks the field values on DriveStats 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 DriveStatsMultiError, or nil if none found.
type DriveStatsMultiError ¶ added in v0.3.8
type DriveStatsMultiError []error
DriveStatsMultiError is an error wrapping multiple validation errors returned by DriveStats.ValidateAll() if the designated constraints aren't met.
func (DriveStatsMultiError) AllErrors ¶ added in v0.3.8
func (m DriveStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DriveStatsMultiError) Error ¶ added in v0.3.8
func (m DriveStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DriveStatsValidationError ¶ added in v0.3.8
type DriveStatsValidationError struct {
// contains filtered or unexported fields
}
DriveStatsValidationError is the validation error returned by DriveStats.Validate if the designated constraints aren't met.
func (DriveStatsValidationError) Cause ¶ added in v0.3.8
func (e DriveStatsValidationError) Cause() error
Cause function returns cause value.
func (DriveStatsValidationError) Error ¶ added in v0.3.8
func (e DriveStatsValidationError) Error() string
Error satisfies the builtin error interface
func (DriveStatsValidationError) ErrorName ¶ added in v0.3.8
func (e DriveStatsValidationError) ErrorName() string
ErrorName returns error name.
func (DriveStatsValidationError) Field ¶ added in v0.3.8
func (e DriveStatsValidationError) Field() string
Field function returns field value.
func (DriveStatsValidationError) Key ¶ added in v0.3.8
func (e DriveStatsValidationError) Key() bool
Key function returns key value.
func (DriveStatsValidationError) Reason ¶ added in v0.3.8
func (e DriveStatsValidationError) Reason() string
Reason function returns reason value.
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 InstallOSUpdateCommand ¶ added in v0.3.5
type InstallOSUpdateCommand struct {
// contains filtered or unexported fields
}
func (*InstallOSUpdateCommand) Descriptor
deprecated
added in
v0.3.5
func (*InstallOSUpdateCommand) Descriptor() ([]byte, []int)
Deprecated: Use InstallOSUpdateCommand.ProtoReflect.Descriptor instead.
func (*InstallOSUpdateCommand) ProtoMessage ¶ added in v0.3.5
func (*InstallOSUpdateCommand) ProtoMessage()
func (*InstallOSUpdateCommand) ProtoReflect ¶ added in v0.3.5
func (x *InstallOSUpdateCommand) ProtoReflect() protoreflect.Message
func (*InstallOSUpdateCommand) Reset ¶ added in v0.3.5
func (x *InstallOSUpdateCommand) Reset()
func (*InstallOSUpdateCommand) String ¶ added in v0.3.5
func (x *InstallOSUpdateCommand) String() string
func (*InstallOSUpdateCommand) Validate ¶ added in v0.3.5
func (m *InstallOSUpdateCommand) Validate() error
Validate checks the field values on InstallOSUpdateCommand 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 (*InstallOSUpdateCommand) ValidateAll ¶ added in v0.3.5
func (m *InstallOSUpdateCommand) ValidateAll() error
ValidateAll checks the field values on InstallOSUpdateCommand 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 InstallOSUpdateCommandMultiError, or nil if none found.
type InstallOSUpdateCommandMultiError ¶ added in v0.3.5
type InstallOSUpdateCommandMultiError []error
InstallOSUpdateCommandMultiError is an error wrapping multiple validation errors returned by InstallOSUpdateCommand.ValidateAll() if the designated constraints aren't met.
func (InstallOSUpdateCommandMultiError) AllErrors ¶ added in v0.3.5
func (m InstallOSUpdateCommandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallOSUpdateCommandMultiError) Error ¶ added in v0.3.5
func (m InstallOSUpdateCommandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstallOSUpdateCommandValidationError ¶ added in v0.3.5
type InstallOSUpdateCommandValidationError struct {
// contains filtered or unexported fields
}
InstallOSUpdateCommandValidationError is the validation error returned by InstallOSUpdateCommand.Validate if the designated constraints aren't met.
func (InstallOSUpdateCommandValidationError) Cause ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) Cause() error
Cause function returns cause value.
func (InstallOSUpdateCommandValidationError) Error ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) Error() string
Error satisfies the builtin error interface
func (InstallOSUpdateCommandValidationError) ErrorName ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) ErrorName() string
ErrorName returns error name.
func (InstallOSUpdateCommandValidationError) Field ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) Field() string
Field function returns field value.
func (InstallOSUpdateCommandValidationError) Key ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) Key() bool
Key function returns key value.
func (InstallOSUpdateCommandValidationError) Reason ¶ added in v0.3.5
func (e InstallOSUpdateCommandValidationError) Reason() string
Reason function returns reason value.
type MemoryStats ¶ added in v0.3.8
type MemoryStats struct { TotalBytes uint64 `` /* 153-byte string literal not displayed */ UsedBytes uint64 `` /* 146-byte string literal not displayed */ CachedBytes uint64 `` /* 160-byte string literal not displayed */ FreeBytes uint64 `` /* 146-byte string literal not displayed */ AvailableBytes uint64 `` /* 181-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MemoryStats) Descriptor
deprecated
added in
v0.3.8
func (*MemoryStats) Descriptor() ([]byte, []int)
Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.
func (*MemoryStats) GetAvailableBytes ¶ added in v0.3.8
func (x *MemoryStats) GetAvailableBytes() uint64
func (*MemoryStats) GetCachedBytes ¶ added in v0.3.8
func (x *MemoryStats) GetCachedBytes() uint64
func (*MemoryStats) GetFreeBytes ¶ added in v0.3.8
func (x *MemoryStats) GetFreeBytes() uint64
func (*MemoryStats) GetTotalBytes ¶ added in v0.3.8
func (x *MemoryStats) GetTotalBytes() uint64
func (*MemoryStats) GetUsedBytes ¶ added in v0.3.8
func (x *MemoryStats) GetUsedBytes() uint64
func (*MemoryStats) ProtoMessage ¶ added in v0.3.8
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) ProtoReflect ¶ added in v0.3.8
func (x *MemoryStats) ProtoReflect() protoreflect.Message
func (*MemoryStats) Reset ¶ added in v0.3.8
func (x *MemoryStats) Reset()
func (*MemoryStats) String ¶ added in v0.3.8
func (x *MemoryStats) String() string
func (*MemoryStats) Validate ¶ added in v0.3.8
func (m *MemoryStats) Validate() error
Validate checks the field values on MemoryStats 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 (*MemoryStats) ValidateAll ¶ added in v0.3.8
func (m *MemoryStats) ValidateAll() error
ValidateAll checks the field values on MemoryStats 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 MemoryStatsMultiError, or nil if none found.
type MemoryStatsMultiError ¶ added in v0.3.8
type MemoryStatsMultiError []error
MemoryStatsMultiError is an error wrapping multiple validation errors returned by MemoryStats.ValidateAll() if the designated constraints aren't met.
func (MemoryStatsMultiError) AllErrors ¶ added in v0.3.8
func (m MemoryStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryStatsMultiError) Error ¶ added in v0.3.8
func (m MemoryStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryStatsValidationError ¶ added in v0.3.8
type MemoryStatsValidationError struct {
// contains filtered or unexported fields
}
MemoryStatsValidationError is the validation error returned by MemoryStats.Validate if the designated constraints aren't met.
func (MemoryStatsValidationError) Cause ¶ added in v0.3.8
func (e MemoryStatsValidationError) Cause() error
Cause function returns cause value.
func (MemoryStatsValidationError) Error ¶ added in v0.3.8
func (e MemoryStatsValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryStatsValidationError) ErrorName ¶ added in v0.3.8
func (e MemoryStatsValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryStatsValidationError) Field ¶ added in v0.3.8
func (e MemoryStatsValidationError) Field() string
Field function returns field value.
func (MemoryStatsValidationError) Key ¶ added in v0.3.8
func (e MemoryStatsValidationError) Key() bool
Key function returns key value.
func (MemoryStatsValidationError) Reason ¶ added in v0.3.8
func (e MemoryStatsValidationError) Reason() string
Reason function returns reason value.
type OSUpdateDiff ¶ added in v0.3.2
type OSUpdateDiff struct { Description string `` /* 137-byte string literal not displayed */ Error *DaemonError `protobuf:"bytes,16,opt,name=error,proto3" json:"error" bun:"error" csv:"error" pg:"error" yaml:"error"` // contains filtered or unexported fields }
OSUpdateDiff is the result of the `nvd diff` command
func (*OSUpdateDiff) Descriptor
deprecated
added in
v0.3.2
func (*OSUpdateDiff) Descriptor() ([]byte, []int)
Deprecated: Use OSUpdateDiff.ProtoReflect.Descriptor instead.
func (*OSUpdateDiff) GetDescription ¶ added in v0.3.2
func (x *OSUpdateDiff) GetDescription() string
func (*OSUpdateDiff) GetError ¶ added in v0.3.5
func (x *OSUpdateDiff) GetError() *DaemonError
func (*OSUpdateDiff) ProtoMessage ¶ added in v0.3.2
func (*OSUpdateDiff) ProtoMessage()
func (*OSUpdateDiff) ProtoReflect ¶ added in v0.3.2
func (x *OSUpdateDiff) ProtoReflect() protoreflect.Message
func (*OSUpdateDiff) Reset ¶ added in v0.3.2
func (x *OSUpdateDiff) Reset()
func (*OSUpdateDiff) String ¶ added in v0.3.2
func (x *OSUpdateDiff) String() string
func (*OSUpdateDiff) Validate ¶ added in v0.3.2
func (m *OSUpdateDiff) Validate() error
Validate checks the field values on OSUpdateDiff 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 (*OSUpdateDiff) ValidateAll ¶ added in v0.3.2
func (m *OSUpdateDiff) ValidateAll() error
ValidateAll checks the field values on OSUpdateDiff 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 OSUpdateDiffMultiError, or nil if none found.
type OSUpdateDiffMultiError ¶ added in v0.3.2
type OSUpdateDiffMultiError []error
OSUpdateDiffMultiError is an error wrapping multiple validation errors returned by OSUpdateDiff.ValidateAll() if the designated constraints aren't met.
func (OSUpdateDiffMultiError) AllErrors ¶ added in v0.3.2
func (m OSUpdateDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OSUpdateDiffMultiError) Error ¶ added in v0.3.2
func (m OSUpdateDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OSUpdateDiffValidationError ¶ added in v0.3.2
type OSUpdateDiffValidationError struct {
// contains filtered or unexported fields
}
OSUpdateDiffValidationError is the validation error returned by OSUpdateDiff.Validate if the designated constraints aren't met.
func (OSUpdateDiffValidationError) Cause ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) Cause() error
Cause function returns cause value.
func (OSUpdateDiffValidationError) Error ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) Error() string
Error satisfies the builtin error interface
func (OSUpdateDiffValidationError) ErrorName ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) ErrorName() string
ErrorName returns error name.
func (OSUpdateDiffValidationError) Field ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) Field() string
Field function returns field value.
func (OSUpdateDiffValidationError) Key ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) Key() bool
Key function returns key value.
func (OSUpdateDiffValidationError) Reason ¶ added in v0.3.2
func (e OSUpdateDiffValidationError) Reason() string
Reason function returns reason value.
type RequestCurrentDaemonVersion ¶ added in v0.3.3
type RequestCurrentDaemonVersion struct {
// contains filtered or unexported fields
}
RequestCurrentDaemonVersion tells the daemon to check the current daemon version and send it to the server
func (*RequestCurrentDaemonVersion) Descriptor
deprecated
added in
v0.3.3
func (*RequestCurrentDaemonVersion) Descriptor() ([]byte, []int)
Deprecated: Use RequestCurrentDaemonVersion.ProtoReflect.Descriptor instead.
func (*RequestCurrentDaemonVersion) ProtoMessage ¶ added in v0.3.3
func (*RequestCurrentDaemonVersion) ProtoMessage()
func (*RequestCurrentDaemonVersion) ProtoReflect ¶ added in v0.3.3
func (x *RequestCurrentDaemonVersion) ProtoReflect() protoreflect.Message
func (*RequestCurrentDaemonVersion) Reset ¶ added in v0.3.3
func (x *RequestCurrentDaemonVersion) Reset()
func (*RequestCurrentDaemonVersion) String ¶ added in v0.3.3
func (x *RequestCurrentDaemonVersion) String() string
func (*RequestCurrentDaemonVersion) Validate ¶ added in v0.3.3
func (m *RequestCurrentDaemonVersion) Validate() error
Validate checks the field values on RequestCurrentDaemonVersion 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 (*RequestCurrentDaemonVersion) ValidateAll ¶ added in v0.3.3
func (m *RequestCurrentDaemonVersion) ValidateAll() error
ValidateAll checks the field values on RequestCurrentDaemonVersion 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 RequestCurrentDaemonVersionMultiError, or nil if none found.
type RequestCurrentDaemonVersionMultiError ¶ added in v0.3.3
type RequestCurrentDaemonVersionMultiError []error
RequestCurrentDaemonVersionMultiError is an error wrapping multiple validation errors returned by RequestCurrentDaemonVersion.ValidateAll() if the designated constraints aren't met.
func (RequestCurrentDaemonVersionMultiError) AllErrors ¶ added in v0.3.3
func (m RequestCurrentDaemonVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestCurrentDaemonVersionMultiError) Error ¶ added in v0.3.3
func (m RequestCurrentDaemonVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestCurrentDaemonVersionValidationError ¶ added in v0.3.3
type RequestCurrentDaemonVersionValidationError struct {
// contains filtered or unexported fields
}
RequestCurrentDaemonVersionValidationError is the validation error returned by RequestCurrentDaemonVersion.Validate if the designated constraints aren't met.
func (RequestCurrentDaemonVersionValidationError) Cause ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) Cause() error
Cause function returns cause value.
func (RequestCurrentDaemonVersionValidationError) Error ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) Error() string
Error satisfies the builtin error interface
func (RequestCurrentDaemonVersionValidationError) ErrorName ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) ErrorName() string
ErrorName returns error name.
func (RequestCurrentDaemonVersionValidationError) Field ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) Field() string
Field function returns field value.
func (RequestCurrentDaemonVersionValidationError) Key ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) Key() bool
Key function returns key value.
func (RequestCurrentDaemonVersionValidationError) Reason ¶ added in v0.3.3
func (e RequestCurrentDaemonVersionValidationError) Reason() string
Reason function returns reason value.
type RequestOSUpdateDiff ¶ added in v0.3.3
type RequestOSUpdateDiff struct {
// contains filtered or unexported fields
}
RequestOSUpdateDiff tells the daemon to check for updates to the host and send the result to the server
func (*RequestOSUpdateDiff) Descriptor
deprecated
added in
v0.3.3
func (*RequestOSUpdateDiff) Descriptor() ([]byte, []int)
Deprecated: Use RequestOSUpdateDiff.ProtoReflect.Descriptor instead.
func (*RequestOSUpdateDiff) ProtoMessage ¶ added in v0.3.3
func (*RequestOSUpdateDiff) ProtoMessage()
func (*RequestOSUpdateDiff) ProtoReflect ¶ added in v0.3.3
func (x *RequestOSUpdateDiff) ProtoReflect() protoreflect.Message
func (*RequestOSUpdateDiff) Reset ¶ added in v0.3.3
func (x *RequestOSUpdateDiff) Reset()
func (*RequestOSUpdateDiff) String ¶ added in v0.3.3
func (x *RequestOSUpdateDiff) String() string
func (*RequestOSUpdateDiff) Validate ¶ added in v0.3.3
func (m *RequestOSUpdateDiff) Validate() error
Validate checks the field values on RequestOSUpdateDiff 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 (*RequestOSUpdateDiff) ValidateAll ¶ added in v0.3.3
func (m *RequestOSUpdateDiff) ValidateAll() error
ValidateAll checks the field values on RequestOSUpdateDiff 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 RequestOSUpdateDiffMultiError, or nil if none found.
type RequestOSUpdateDiffMultiError ¶ added in v0.3.3
type RequestOSUpdateDiffMultiError []error
RequestOSUpdateDiffMultiError is an error wrapping multiple validation errors returned by RequestOSUpdateDiff.ValidateAll() if the designated constraints aren't met.
func (RequestOSUpdateDiffMultiError) AllErrors ¶ added in v0.3.3
func (m RequestOSUpdateDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestOSUpdateDiffMultiError) Error ¶ added in v0.3.3
func (m RequestOSUpdateDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestOSUpdateDiffValidationError ¶ added in v0.3.3
type RequestOSUpdateDiffValidationError struct {
// contains filtered or unexported fields
}
RequestOSUpdateDiffValidationError is the validation error returned by RequestOSUpdateDiff.Validate if the designated constraints aren't met.
func (RequestOSUpdateDiffValidationError) Cause ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) Cause() error
Cause function returns cause value.
func (RequestOSUpdateDiffValidationError) Error ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) Error() string
Error satisfies the builtin error interface
func (RequestOSUpdateDiffValidationError) ErrorName ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) ErrorName() string
ErrorName returns error name.
func (RequestOSUpdateDiffValidationError) Field ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) Field() string
Field function returns field value.
func (RequestOSUpdateDiffValidationError) Key ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) Key() bool
Key function returns key value.
func (RequestOSUpdateDiffValidationError) Reason ¶ added in v0.3.3
func (e RequestOSUpdateDiffValidationError) Reason() string
Reason function returns reason value.
type RestartCommand ¶ added in v0.2.1
type RestartCommand struct {
// contains filtered or unexported fields
}
RestartCommand tells the daemon to restart the host
func (*RestartCommand) Descriptor
deprecated
added in
v0.2.1
func (*RestartCommand) Descriptor() ([]byte, []int)
Deprecated: Use RestartCommand.ProtoReflect.Descriptor instead.
func (*RestartCommand) ProtoMessage ¶ added in v0.2.1
func (*RestartCommand) ProtoMessage()
func (*RestartCommand) ProtoReflect ¶ added in v0.2.1
func (x *RestartCommand) ProtoReflect() protoreflect.Message
func (*RestartCommand) Reset ¶ added in v0.2.1
func (x *RestartCommand) Reset()
func (*RestartCommand) String ¶ added in v0.2.1
func (x *RestartCommand) String() string
func (*RestartCommand) Validate ¶ added in v0.2.1
func (m *RestartCommand) Validate() error
Validate checks the field values on RestartCommand 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 (*RestartCommand) ValidateAll ¶ added in v0.2.1
func (m *RestartCommand) ValidateAll() error
ValidateAll checks the field values on RestartCommand 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 RestartCommandMultiError, or nil if none found.
type RestartCommandMultiError ¶ added in v0.2.1
type RestartCommandMultiError []error
RestartCommandMultiError is an error wrapping multiple validation errors returned by RestartCommand.ValidateAll() if the designated constraints aren't met.
func (RestartCommandMultiError) AllErrors ¶ added in v0.2.1
func (m RestartCommandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RestartCommandMultiError) Error ¶ added in v0.2.1
func (m RestartCommandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RestartCommandValidationError ¶ added in v0.2.1
type RestartCommandValidationError struct {
// contains filtered or unexported fields
}
RestartCommandValidationError is the validation error returned by RestartCommand.Validate if the designated constraints aren't met.
func (RestartCommandValidationError) Cause ¶ added in v0.2.1
func (e RestartCommandValidationError) Cause() error
Cause function returns cause value.
func (RestartCommandValidationError) Error ¶ added in v0.2.1
func (e RestartCommandValidationError) Error() string
Error satisfies the builtin error interface
func (RestartCommandValidationError) ErrorName ¶ added in v0.2.1
func (e RestartCommandValidationError) ErrorName() string
ErrorName returns error name.
func (RestartCommandValidationError) Field ¶ added in v0.2.1
func (e RestartCommandValidationError) Field() string
Field function returns field value.
func (RestartCommandValidationError) Key ¶ added in v0.2.1
func (e RestartCommandValidationError) Key() bool
Key function returns key value.
func (RestartCommandValidationError) Reason ¶ added in v0.2.1
func (e RestartCommandValidationError) Reason() string
Reason function returns reason value.
type ServerMessage ¶
type ServerMessage struct { // Types that are assignable to Message: // // *ServerMessage_Heartbeat // *ServerMessage_Shutdown // *ServerMessage_Restart // *ServerMessage_RequestOsUpdateDiff // *ServerMessage_RequestCurrentDaemonVersion // *ServerMessage_ChangeDaemonVersionCommand // *ServerMessage_InstallOsUpdateCommand // *ServerMessage_SetSystemImageCommand 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) GetChangeDaemonVersionCommand ¶ added in v0.3.5
func (x *ServerMessage) GetChangeDaemonVersionCommand() *ChangeDaemonVersionCommand
func (*ServerMessage) GetHeartbeat ¶
func (x *ServerMessage) GetHeartbeat() *Heartbeat
func (*ServerMessage) GetInstallOsUpdateCommand ¶ added in v0.3.5
func (x *ServerMessage) GetInstallOsUpdateCommand() *InstallOSUpdateCommand
func (*ServerMessage) GetMessage ¶
func (m *ServerMessage) GetMessage() isServerMessage_Message
func (*ServerMessage) GetRequestCurrentDaemonVersion ¶ added in v0.3.3
func (x *ServerMessage) GetRequestCurrentDaemonVersion() *RequestCurrentDaemonVersion
func (*ServerMessage) GetRequestOsUpdateDiff ¶ added in v0.3.3
func (x *ServerMessage) GetRequestOsUpdateDiff() *RequestOSUpdateDiff
func (*ServerMessage) GetRestart ¶ added in v0.2.1
func (x *ServerMessage) GetRestart() *RestartCommand
func (*ServerMessage) GetSetSystemImageCommand ¶ added in v0.3.6
func (x *ServerMessage) GetSetSystemImageCommand() *SetSystemImageCommand
func (*ServerMessage) GetShutdown ¶ added in v0.2.0
func (x *ServerMessage) GetShutdown() *ShutdownCommand
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_ChangeDaemonVersionCommand ¶ added in v0.3.5
type ServerMessage_ChangeDaemonVersionCommand struct {
ChangeDaemonVersionCommand *ChangeDaemonVersionCommand `` /* 280-byte string literal not displayed */
}
type ServerMessage_Heartbeat ¶
type ServerMessage_Heartbeat struct {
Heartbeat *Heartbeat `` /* 131-byte string literal not displayed */
}
type ServerMessage_InstallOsUpdateCommand ¶ added in v0.3.5
type ServerMessage_InstallOsUpdateCommand struct {
InstallOsUpdateCommand *InstallOSUpdateCommand `` /* 252-byte string literal not displayed */
}
type ServerMessage_RequestCurrentDaemonVersion ¶ added in v0.3.3
type ServerMessage_RequestCurrentDaemonVersion struct {
RequestCurrentDaemonVersion *RequestCurrentDaemonVersion `` /* 287-byte string literal not displayed */
}
type ServerMessage_RequestOsUpdateDiff ¶ added in v0.3.3
type ServerMessage_RequestOsUpdateDiff struct {
RequestOsUpdateDiff *RequestOSUpdateDiff `` /* 231-byte string literal not displayed */
}
type ServerMessage_Restart ¶ added in v0.2.1
type ServerMessage_Restart struct {
Restart *RestartCommand `protobuf:"bytes,3,opt,name=restart,proto3,oneof" bun:"restart" csv:"restart" json:"restart" pg:"restart" yaml:"restart"`
}
type ServerMessage_SetSystemImageCommand ¶ added in v0.3.6
type ServerMessage_SetSystemImageCommand struct {
SetSystemImageCommand *SetSystemImageCommand `` /* 245-byte string literal not displayed */
}
type ServerMessage_Shutdown ¶ added in v0.2.0
type ServerMessage_Shutdown struct {
Shutdown *ShutdownCommand `protobuf:"bytes,2,opt,name=shutdown,proto3,oneof" bun:"shutdown" csv:"shutdown" json:"shutdown" pg:"shutdown" yaml:"shutdown"`
}
type SetSystemImageCommand ¶ added in v0.3.6
type SetSystemImageCommand struct { CurrentImage string `` /* 166-byte string literal not displayed */ RequestedImage string `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetSystemImageCommand) Descriptor
deprecated
added in
v0.3.6
func (*SetSystemImageCommand) Descriptor() ([]byte, []int)
Deprecated: Use SetSystemImageCommand.ProtoReflect.Descriptor instead.
func (*SetSystemImageCommand) GetCurrentImage ¶ added in v0.3.6
func (x *SetSystemImageCommand) GetCurrentImage() string
func (*SetSystemImageCommand) GetRequestedImage ¶ added in v0.3.6
func (x *SetSystemImageCommand) GetRequestedImage() string
func (*SetSystemImageCommand) ProtoMessage ¶ added in v0.3.6
func (*SetSystemImageCommand) ProtoMessage()
func (*SetSystemImageCommand) ProtoReflect ¶ added in v0.3.6
func (x *SetSystemImageCommand) ProtoReflect() protoreflect.Message
func (*SetSystemImageCommand) Reset ¶ added in v0.3.6
func (x *SetSystemImageCommand) Reset()
func (*SetSystemImageCommand) String ¶ added in v0.3.6
func (x *SetSystemImageCommand) String() string
func (*SetSystemImageCommand) Validate ¶ added in v0.3.6
func (m *SetSystemImageCommand) Validate() error
Validate checks the field values on SetSystemImageCommand 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 (*SetSystemImageCommand) ValidateAll ¶ added in v0.3.6
func (m *SetSystemImageCommand) ValidateAll() error
ValidateAll checks the field values on SetSystemImageCommand 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 SetSystemImageCommandMultiError, or nil if none found.
type SetSystemImageCommandMultiError ¶ added in v0.3.6
type SetSystemImageCommandMultiError []error
SetSystemImageCommandMultiError is an error wrapping multiple validation errors returned by SetSystemImageCommand.ValidateAll() if the designated constraints aren't met.
func (SetSystemImageCommandMultiError) AllErrors ¶ added in v0.3.6
func (m SetSystemImageCommandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetSystemImageCommandMultiError) Error ¶ added in v0.3.6
func (m SetSystemImageCommandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetSystemImageCommandValidationError ¶ added in v0.3.6
type SetSystemImageCommandValidationError struct {
// contains filtered or unexported fields
}
SetSystemImageCommandValidationError is the validation error returned by SetSystemImageCommand.Validate if the designated constraints aren't met.
func (SetSystemImageCommandValidationError) Cause ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) Cause() error
Cause function returns cause value.
func (SetSystemImageCommandValidationError) Error ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) Error() string
Error satisfies the builtin error interface
func (SetSystemImageCommandValidationError) ErrorName ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) ErrorName() string
ErrorName returns error name.
func (SetSystemImageCommandValidationError) Field ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) Field() string
Field function returns field value.
func (SetSystemImageCommandValidationError) Key ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) Key() bool
Key function returns key value.
func (SetSystemImageCommandValidationError) Reason ¶ added in v0.3.6
func (e SetSystemImageCommandValidationError) Reason() string
Reason function returns reason value.
type ShutdownAlert ¶
type ShutdownAlert struct {
// contains filtered or unexported fields
}
ShutdownAlert notifies the Server that the host is about to shutdown
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 ShutdownAlertRequest ¶ added in v0.2.0
type ShutdownAlertRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownAlertRequest) Descriptor
deprecated
added in
v0.2.0
func (*ShutdownAlertRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownAlertRequest.ProtoReflect.Descriptor instead.
func (*ShutdownAlertRequest) ProtoMessage ¶ added in v0.2.0
func (*ShutdownAlertRequest) ProtoMessage()
func (*ShutdownAlertRequest) ProtoReflect ¶ added in v0.2.0
func (x *ShutdownAlertRequest) ProtoReflect() protoreflect.Message
func (*ShutdownAlertRequest) Reset ¶ added in v0.2.0
func (x *ShutdownAlertRequest) Reset()
func (*ShutdownAlertRequest) String ¶ added in v0.2.0
func (x *ShutdownAlertRequest) String() string
func (*ShutdownAlertRequest) Validate ¶ added in v0.2.0
func (m *ShutdownAlertRequest) Validate() error
Validate checks the field values on ShutdownAlertRequest 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 (*ShutdownAlertRequest) ValidateAll ¶ added in v0.2.0
func (m *ShutdownAlertRequest) ValidateAll() error
ValidateAll checks the field values on ShutdownAlertRequest 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 ShutdownAlertRequestMultiError, or nil if none found.
type ShutdownAlertRequestMultiError ¶ added in v0.2.0
type ShutdownAlertRequestMultiError []error
ShutdownAlertRequestMultiError is an error wrapping multiple validation errors returned by ShutdownAlertRequest.ValidateAll() if the designated constraints aren't met.
func (ShutdownAlertRequestMultiError) AllErrors ¶ added in v0.2.0
func (m ShutdownAlertRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShutdownAlertRequestMultiError) Error ¶ added in v0.2.0
func (m ShutdownAlertRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShutdownAlertRequestValidationError ¶ added in v0.2.0
type ShutdownAlertRequestValidationError struct {
// contains filtered or unexported fields
}
ShutdownAlertRequestValidationError is the validation error returned by ShutdownAlertRequest.Validate if the designated constraints aren't met.
func (ShutdownAlertRequestValidationError) Cause ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) Cause() error
Cause function returns cause value.
func (ShutdownAlertRequestValidationError) Error ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShutdownAlertRequestValidationError) ErrorName ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShutdownAlertRequestValidationError) Field ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) Field() string
Field function returns field value.
func (ShutdownAlertRequestValidationError) Key ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) Key() bool
Key function returns key value.
func (ShutdownAlertRequestValidationError) Reason ¶ added in v0.2.0
func (e ShutdownAlertRequestValidationError) Reason() string
Reason function returns reason value.
type ShutdownAlertResponse ¶ added in v0.2.0
type ShutdownAlertResponse struct {
// contains filtered or unexported fields
}
func (*ShutdownAlertResponse) Descriptor
deprecated
added in
v0.2.0
func (*ShutdownAlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownAlertResponse.ProtoReflect.Descriptor instead.
func (*ShutdownAlertResponse) ProtoMessage ¶ added in v0.2.0
func (*ShutdownAlertResponse) ProtoMessage()
func (*ShutdownAlertResponse) ProtoReflect ¶ added in v0.2.0
func (x *ShutdownAlertResponse) ProtoReflect() protoreflect.Message
func (*ShutdownAlertResponse) Reset ¶ added in v0.2.0
func (x *ShutdownAlertResponse) Reset()
func (*ShutdownAlertResponse) String ¶ added in v0.2.0
func (x *ShutdownAlertResponse) String() string
func (*ShutdownAlertResponse) Validate ¶ added in v0.2.0
func (m *ShutdownAlertResponse) Validate() error
Validate checks the field values on ShutdownAlertResponse 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 (*ShutdownAlertResponse) ValidateAll ¶ added in v0.2.0
func (m *ShutdownAlertResponse) ValidateAll() error
ValidateAll checks the field values on ShutdownAlertResponse 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 ShutdownAlertResponseMultiError, or nil if none found.
type ShutdownAlertResponseMultiError ¶ added in v0.2.0
type ShutdownAlertResponseMultiError []error
ShutdownAlertResponseMultiError is an error wrapping multiple validation errors returned by ShutdownAlertResponse.ValidateAll() if the designated constraints aren't met.
func (ShutdownAlertResponseMultiError) AllErrors ¶ added in v0.2.0
func (m ShutdownAlertResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShutdownAlertResponseMultiError) Error ¶ added in v0.2.0
func (m ShutdownAlertResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShutdownAlertResponseValidationError ¶ added in v0.2.0
type ShutdownAlertResponseValidationError struct {
// contains filtered or unexported fields
}
ShutdownAlertResponseValidationError is the validation error returned by ShutdownAlertResponse.Validate if the designated constraints aren't met.
func (ShutdownAlertResponseValidationError) Cause ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) Cause() error
Cause function returns cause value.
func (ShutdownAlertResponseValidationError) Error ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ShutdownAlertResponseValidationError) ErrorName ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ShutdownAlertResponseValidationError) Field ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) Field() string
Field function returns field value.
func (ShutdownAlertResponseValidationError) Key ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) Key() bool
Key function returns key value.
func (ShutdownAlertResponseValidationError) Reason ¶ added in v0.2.0
func (e ShutdownAlertResponseValidationError) Reason() string
Reason function returns reason value.
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.
type ShutdownCommand ¶ added in v0.2.0
type ShutdownCommand struct {
// contains filtered or unexported fields
}
ShutdownCommand tells the daemon to shutdown the host
func (*ShutdownCommand) Descriptor
deprecated
added in
v0.2.0
func (*ShutdownCommand) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownCommand.ProtoReflect.Descriptor instead.
func (*ShutdownCommand) ProtoMessage ¶ added in v0.2.0
func (*ShutdownCommand) ProtoMessage()
func (*ShutdownCommand) ProtoReflect ¶ added in v0.2.0
func (x *ShutdownCommand) ProtoReflect() protoreflect.Message
func (*ShutdownCommand) Reset ¶ added in v0.2.0
func (x *ShutdownCommand) Reset()
func (*ShutdownCommand) String ¶ added in v0.2.0
func (x *ShutdownCommand) String() string
func (*ShutdownCommand) Validate ¶ added in v0.2.0
func (m *ShutdownCommand) Validate() error
Validate checks the field values on ShutdownCommand 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 (*ShutdownCommand) ValidateAll ¶ added in v0.2.0
func (m *ShutdownCommand) ValidateAll() error
ValidateAll checks the field values on ShutdownCommand 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 ShutdownCommandMultiError, or nil if none found.
type ShutdownCommandMultiError ¶ added in v0.2.0
type ShutdownCommandMultiError []error
ShutdownCommandMultiError is an error wrapping multiple validation errors returned by ShutdownCommand.ValidateAll() if the designated constraints aren't met.
func (ShutdownCommandMultiError) AllErrors ¶ added in v0.2.0
func (m ShutdownCommandMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShutdownCommandMultiError) Error ¶ added in v0.2.0
func (m ShutdownCommandMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShutdownCommandValidationError ¶ added in v0.2.0
type ShutdownCommandValidationError struct {
// contains filtered or unexported fields
}
ShutdownCommandValidationError is the validation error returned by ShutdownCommand.Validate if the designated constraints aren't met.
func (ShutdownCommandValidationError) Cause ¶ added in v0.2.0
func (e ShutdownCommandValidationError) Cause() error
Cause function returns cause value.
func (ShutdownCommandValidationError) Error ¶ added in v0.2.0
func (e ShutdownCommandValidationError) Error() string
Error satisfies the builtin error interface
func (ShutdownCommandValidationError) ErrorName ¶ added in v0.2.0
func (e ShutdownCommandValidationError) ErrorName() string
ErrorName returns error name.
func (ShutdownCommandValidationError) Field ¶ added in v0.2.0
func (e ShutdownCommandValidationError) Field() string
Field function returns field value.
func (ShutdownCommandValidationError) Key ¶ added in v0.2.0
func (e ShutdownCommandValidationError) Key() bool
Key function returns key value.
func (ShutdownCommandValidationError) Reason ¶ added in v0.2.0
func (e ShutdownCommandValidationError) Reason() string
Reason function returns reason value.
type SystemStats ¶ added in v0.3.8
type SystemStats struct { StartTime *timestamppb.Timestamp `` /* 145-byte string literal not displayed */ EndTime *timestamppb.Timestamp `` /* 131-byte string literal not displayed */ Compute *ComputeStats `protobuf:"bytes,3,opt,name=compute,proto3" json:"compute" bun:"compute" csv:"compute" pg:"compute" yaml:"compute"` Memory *MemoryStats `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory" bun:"memory" csv:"memory" pg:"memory" yaml:"memory"` Drives []*DriveStats `protobuf:"bytes,5,rep,name=drives,proto3" json:"drives" bun:"drives" csv:"drives" pg:"drives" yaml:"drives"` // contains filtered or unexported fields }
func (*SystemStats) Descriptor
deprecated
added in
v0.3.8
func (*SystemStats) Descriptor() ([]byte, []int)
Deprecated: Use SystemStats.ProtoReflect.Descriptor instead.
func (*SystemStats) GetCompute ¶ added in v0.3.8
func (x *SystemStats) GetCompute() *ComputeStats
func (*SystemStats) GetDrives ¶ added in v0.3.8
func (x *SystemStats) GetDrives() []*DriveStats
func (*SystemStats) GetEndTime ¶ added in v0.3.8
func (x *SystemStats) GetEndTime() *timestamppb.Timestamp
func (*SystemStats) GetMemory ¶ added in v0.3.8
func (x *SystemStats) GetMemory() *MemoryStats
func (*SystemStats) GetStartTime ¶ added in v0.3.8
func (x *SystemStats) GetStartTime() *timestamppb.Timestamp
func (*SystemStats) ProtoMessage ¶ added in v0.3.8
func (*SystemStats) ProtoMessage()
func (*SystemStats) ProtoReflect ¶ added in v0.3.8
func (x *SystemStats) ProtoReflect() protoreflect.Message
func (*SystemStats) Reset ¶ added in v0.3.8
func (x *SystemStats) Reset()
func (*SystemStats) String ¶ added in v0.3.8
func (x *SystemStats) String() string
func (*SystemStats) Validate ¶ added in v0.3.8
func (m *SystemStats) Validate() error
Validate checks the field values on SystemStats 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 (*SystemStats) ValidateAll ¶ added in v0.3.8
func (m *SystemStats) ValidateAll() error
ValidateAll checks the field values on SystemStats 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 SystemStatsMultiError, or nil if none found.
type SystemStatsMultiError ¶ added in v0.3.8
type SystemStatsMultiError []error
SystemStatsMultiError is an error wrapping multiple validation errors returned by SystemStats.ValidateAll() if the designated constraints aren't met.
func (SystemStatsMultiError) AllErrors ¶ added in v0.3.8
func (m SystemStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SystemStatsMultiError) Error ¶ added in v0.3.8
func (m SystemStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SystemStatsValidationError ¶ added in v0.3.8
type SystemStatsValidationError struct {
// contains filtered or unexported fields
}
SystemStatsValidationError is the validation error returned by SystemStats.Validate if the designated constraints aren't met.
func (SystemStatsValidationError) Cause ¶ added in v0.3.8
func (e SystemStatsValidationError) Cause() error
Cause function returns cause value.
func (SystemStatsValidationError) Error ¶ added in v0.3.8
func (e SystemStatsValidationError) Error() string
Error satisfies the builtin error interface
func (SystemStatsValidationError) ErrorName ¶ added in v0.3.8
func (e SystemStatsValidationError) ErrorName() string
ErrorName returns error name.
func (SystemStatsValidationError) Field ¶ added in v0.3.8
func (e SystemStatsValidationError) Field() string
Field function returns field value.
func (SystemStatsValidationError) Key ¶ added in v0.3.8
func (e SystemStatsValidationError) Key() bool
Key function returns key value.
func (SystemStatsValidationError) Reason ¶ added in v0.3.8
func (e SystemStatsValidationError) Reason() string
Reason function returns reason value.