Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache v2.0 license.
Copyright (c) Microsoft Corporation. Licensed under the Apache v2.0 license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MocCode ¶
type MocCode uint32
MocCode - error codes used by MOC
const ( OK MocCode = iota NotFound Degraded InvalidConfiguration InvalidInput InvalidType NotSupported AlreadyExists InUse Duplicates InvalidFilter Failed InvalidGroup InvalidVersion OldVersion OutOfCapacity OutOfNodeCapacity OutOfMemory UpdateFailed NotInitialized NotImplemented OutOfRange AlreadySet NotSet InconsistentState PendingState WrongHost PoolFull NoActionTaken Expired Revoked Timeout RunCommandFailed InvalidToken Unknown DeleteFailed DeletePending FileNotFound PathNotFound NotEnoughSpace AccessDenied BlobNotFound GenericFailure NoAuthenticationInformation MeasurementUnitError QuotaViolation IPOutOfRange VolumeNotFound VolumeDegraded VolumeAccessInconsistent )
func Convert ¶
Convert an uint32 to a MocCode. If the uint32 is not a valid MocCode, return Unknown.
Click to show internal directories.
Click to hide internal directories.