v1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 16 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_platform_daemon_v1_host_proto protoreflect.FileDescriptor
View Source
var File_platform_daemon_v1_stream_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CheckForUpdatesCommand added in v0.2.0

type CheckForUpdatesCommand struct {
	// contains filtered or unexported fields
}

CheckForUpdatesCommand tells the daemon to check for updates to the host: - nixos-rebuild build - nvd diff /run/current-system ./result - publish the results of this to the Server using the UpgradeAvailableAlert - rm ./result

func (*CheckForUpdatesCommand) Descriptor deprecated added in v0.2.0

func (*CheckForUpdatesCommand) Descriptor() ([]byte, []int)

Deprecated: Use CheckForUpdatesCommand.ProtoReflect.Descriptor instead.

func (*CheckForUpdatesCommand) ProtoMessage added in v0.2.0

func (*CheckForUpdatesCommand) ProtoMessage()

func (*CheckForUpdatesCommand) ProtoReflect added in v0.2.0

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

func (*CheckForUpdatesCommand) Reset added in v0.2.0

func (x *CheckForUpdatesCommand) Reset()

func (*CheckForUpdatesCommand) String added in v0.2.0

func (x *CheckForUpdatesCommand) String() string

func (*CheckForUpdatesCommand) Validate added in v0.2.0

func (m *CheckForUpdatesCommand) Validate() error

Validate checks the field values on CheckForUpdatesCommand 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 (*CheckForUpdatesCommand) ValidateAll added in v0.2.0

func (m *CheckForUpdatesCommand) ValidateAll() error

ValidateAll checks the field values on CheckForUpdatesCommand 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 CheckForUpdatesCommandMultiError, or nil if none found.

type CheckForUpdatesCommandMultiError added in v0.2.0

type CheckForUpdatesCommandMultiError []error

CheckForUpdatesCommandMultiError is an error wrapping multiple validation errors returned by CheckForUpdatesCommand.ValidateAll() if the designated constraints aren't met.

func (CheckForUpdatesCommandMultiError) AllErrors added in v0.2.0

func (m CheckForUpdatesCommandMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckForUpdatesCommandMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type CheckForUpdatesCommandValidationError added in v0.2.0

type CheckForUpdatesCommandValidationError struct {
	// contains filtered or unexported fields
}

CheckForUpdatesCommandValidationError is the validation error returned by CheckForUpdatesCommand.Validate if the designated constraints aren't met.

func (CheckForUpdatesCommandValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (CheckForUpdatesCommandValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (CheckForUpdatesCommandValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (CheckForUpdatesCommandValidationError) Field added in v0.2.0

Field function returns field value.

func (CheckForUpdatesCommandValidationError) Key added in v0.2.0

Key function returns key value.

func (CheckForUpdatesCommandValidationError) Reason added in v0.2.0

Reason function returns reason value.

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

Cause function returns cause value.

func (DaemonMessageValidationError) Error

Error satisfies the builtin error interface

func (DaemonMessageValidationError) ErrorName

func (e DaemonMessageValidationError) ErrorName() string

ErrorName returns error name.

func (DaemonMessageValidationError) Field

Field function returns field value.

func (DaemonMessageValidationError) Key

Key function returns key value.

func (DaemonMessageValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) ProtoReflect

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

func (*Heartbeat) Reset

func (x *Heartbeat) Reset()

func (*Heartbeat) String

func (x *Heartbeat) String() string

func (*Heartbeat) Validate

func (m *Heartbeat) Validate() error

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

func (m *Heartbeat) ValidateAll() error

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

Key function returns key value.

func (HeartbeatValidationError) Reason

func (e HeartbeatValidationError) 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: `reboot now`

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

Cause function returns cause value.

func (RestartCommandValidationError) Error added in v0.2.1

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

Field function returns field value.

func (RestartCommandValidationError) Key added in v0.2.1

Key function returns key value.

func (RestartCommandValidationError) Reason added in v0.2.1

Reason function returns reason value.

type ServerMessage

type ServerMessage struct {

	// Types that are assignable to Message:
	//
	//	*ServerMessage_Heartbeat
	//	*ServerMessage_Shutdown
	//	*ServerMessage_Restart
	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) GetRestart added in v0.2.1

func (x *ServerMessage) GetRestart() *RestartCommand

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

Cause function returns cause value.

func (ServerMessageValidationError) Error

Error satisfies the builtin error interface

func (ServerMessageValidationError) ErrorName

func (e ServerMessageValidationError) ErrorName() string

ErrorName returns error name.

func (ServerMessageValidationError) Field

Field function returns field value.

func (ServerMessageValidationError) Key

Key function returns key value.

func (ServerMessageValidationError) Reason

Reason function returns reason value.

type ServerMessage_Heartbeat

type ServerMessage_Heartbeat struct {
	Heartbeat *Heartbeat `` /* 131-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_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 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

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

Cause function returns cause value.

func (ShutdownAlertRequestValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (ShutdownAlertRequestValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (ShutdownAlertRequestValidationError) Field added in v0.2.0

Field function returns field value.

func (ShutdownAlertRequestValidationError) Key added in v0.2.0

Key function returns key value.

func (ShutdownAlertRequestValidationError) Reason added in v0.2.0

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

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

Cause function returns cause value.

func (ShutdownAlertResponseValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (ShutdownAlertResponseValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (ShutdownAlertResponseValidationError) Field added in v0.2.0

Field function returns field value.

func (ShutdownAlertResponseValidationError) Key added in v0.2.0

Key function returns key value.

func (ShutdownAlertResponseValidationError) Reason added in v0.2.0

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

Cause function returns cause value.

func (ShutdownAlertValidationError) Error

Error satisfies the builtin error interface

func (ShutdownAlertValidationError) ErrorName

func (e ShutdownAlertValidationError) ErrorName() string

ErrorName returns error name.

func (ShutdownAlertValidationError) Field

Field function returns field value.

func (ShutdownAlertValidationError) Key

Key function returns key value.

func (ShutdownAlertValidationError) Reason

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: `shutdown now`

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

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

Cause function returns cause value.

func (ShutdownCommandValidationError) Error added in v0.2.0

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

Field function returns field value.

func (ShutdownCommandValidationError) Key added in v0.2.0

Key function returns key value.

func (ShutdownCommandValidationError) Reason added in v0.2.0

Reason function returns reason value.

type UpgradeAvailableAlert added in v0.2.0

type UpgradeAvailableAlert struct {
	Description string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpgradeAvailableAlert) Descriptor deprecated added in v0.2.0

func (*UpgradeAvailableAlert) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeAvailableAlert.ProtoReflect.Descriptor instead.

func (*UpgradeAvailableAlert) GetDescription added in v0.2.0

func (x *UpgradeAvailableAlert) GetDescription() string

func (*UpgradeAvailableAlert) ProtoMessage added in v0.2.0

func (*UpgradeAvailableAlert) ProtoMessage()

func (*UpgradeAvailableAlert) ProtoReflect added in v0.2.0

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

func (*UpgradeAvailableAlert) Reset added in v0.2.0

func (x *UpgradeAvailableAlert) Reset()

func (*UpgradeAvailableAlert) String added in v0.2.0

func (x *UpgradeAvailableAlert) String() string

func (*UpgradeAvailableAlert) Validate added in v0.2.0

func (m *UpgradeAvailableAlert) Validate() error

Validate checks the field values on UpgradeAvailableAlert 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 (*UpgradeAvailableAlert) ValidateAll added in v0.2.0

func (m *UpgradeAvailableAlert) ValidateAll() error

ValidateAll checks the field values on UpgradeAvailableAlert 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 UpgradeAvailableAlertMultiError, or nil if none found.

type UpgradeAvailableAlertMultiError added in v0.2.0

type UpgradeAvailableAlertMultiError []error

UpgradeAvailableAlertMultiError is an error wrapping multiple validation errors returned by UpgradeAvailableAlert.ValidateAll() if the designated constraints aren't met.

func (UpgradeAvailableAlertMultiError) AllErrors added in v0.2.0

func (m UpgradeAvailableAlertMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpgradeAvailableAlertMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type UpgradeAvailableAlertValidationError added in v0.2.0

type UpgradeAvailableAlertValidationError struct {
	// contains filtered or unexported fields
}

UpgradeAvailableAlertValidationError is the validation error returned by UpgradeAvailableAlert.Validate if the designated constraints aren't met.

func (UpgradeAvailableAlertValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (UpgradeAvailableAlertValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (UpgradeAvailableAlertValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (UpgradeAvailableAlertValidationError) Field added in v0.2.0

Field function returns field value.

func (UpgradeAvailableAlertValidationError) Key added in v0.2.0

Key function returns key value.

func (UpgradeAvailableAlertValidationError) Reason added in v0.2.0

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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