os

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivationFailMsg

func ActivationFailMsg(s string) func(msg proto.Message) error

func BytesReceived

func BytesReceived(i uint64) func(msg proto.Message) error

func Description

func Description(s string) func(msg proto.Message) error

func ErrorDetail

func ErrorDetail(d string) func(msg proto.Message) error

func ErrorType

func ErrorType(e int32) func(msg proto.Message) error

func NewActivateErrorResponse

func NewActivateErrorResponse(opts ...OsOption) (*gnoios.ActivateResponse, error)

func NewActivateOKResponse

func NewActivateOKResponse() *gnoios.ActivateResponse

func NewActivateRequest

func NewActivateRequest(opts ...OsOption) (*gnoios.ActivateRequest, error)

func NewOSInstallError

func NewOSInstallError(opts ...OsOption) (*gnoios.InstallError, error)

func NewOSInstallInstallErrorResponse

func NewOSInstallInstallErrorResponse(opts ...OsOption) (*gnoios.InstallResponse, error)

func NewOSInstallSyncProgressResponse

func NewOSInstallSyncProgressResponse(opts ...OsOption) (*gnoios.InstallResponse, error)

func NewOSInstallTransferContent

func NewOSInstallTransferContent(opts ...OsOption) (*gnoios.InstallRequest, error)

func NewOSInstallTransferEnd

func NewOSInstallTransferEnd() *gnoios.InstallRequest

func NewOSInstallTransferProgressResponse

func NewOSInstallTransferProgressResponse(opts ...OsOption) (*gnoios.InstallResponse, error)

func NewOSInstallTransferReadyResponse

func NewOSInstallTransferReadyResponse() *gnoios.InstallResponse

func NewOSInstallTransferRequest

func NewOSInstallTransferRequest(opts ...OsOption) (*gnoios.InstallRequest, error)

func NewOSInstallValidatedResponse

func NewOSInstallValidatedResponse(opts ...OsOption) (*gnoios.InstallResponse, error)

func NewOSSyncProgress

func NewOSSyncProgress(opts ...OsOption) (*gnoios.SyncProgress, error)

func NewOSTransferProgress

func NewOSTransferProgress(opts ...OsOption) (*gnoios.TransferProgress, error)

func NewOSTransferRequest

func NewOSTransferRequest(opts ...OsOption) (*gnoios.TransferRequest, error)

func NewOSValidated

func NewOSValidated(opts ...OsOption) (*gnoios.Validated, error)

func NewOSVerifyRequest

func NewOSVerifyRequest() *gnoios.VerifyRequest

func NewOSVerifyResponse

func NewOSVerifyResponse(opts ...OsOption) (*gnoios.VerifyResponse, error)

func NoReboot

func NoReboot(b bool) func(msg proto.Message) error

func PercentageTransferred added in v0.0.9

func PercentageTransferred(i uint32) func(msg proto.Message) error

func StandbyResponseID

func StandbyResponseID(id string) func(msg proto.Message) error

func StandbySupervisor

func StandbySupervisor(b bool) func(msg proto.Message) error

func VerifyStandbyResponse

func VerifyStandbyResponse(opts ...OsOption) func(msg proto.Message) error

func VerifyStandbyState

func VerifyStandbyState(s gnoios.StandbyState_State) func(msg proto.Message) error

func VerifyStandbyStateNON_EXISTENT

func VerifyStandbyStateNON_EXISTENT() func(msg proto.Message) error

func VerifyStandbyStateUNAVAILABLE

func VerifyStandbyStateUNAVAILABLE() func(msg proto.Message) error

func VerifyStandbyStateUNSUPPORTED

func VerifyStandbyStateUNSUPPORTED() func(msg proto.Message) error

func Version

func Version(s string) func(msg proto.Message) error

Types

type OsOption

type OsOption func(proto.Message) error

Jump to

Keyboard shortcuts

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