Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation Licensed under the Apache v2.0 license.
Index ¶
- func GenerateVersion() *common.Version
- func GetFromStatuses(statuses map[string]*string) (status *common.Status)
- func GetPlacementStatus(s *common.Status) common.PlacementStatusType
- func GetProvisioningState(status *common.ProvisionStatus) *string
- func GetStatuses(status *common.Status) map[string]*string
- func GetValidationStatus(s *common.Status) []*common.ValidationState
- func InitStatus() *common.Status
- func IsDeleted(s *common.Status) bool
- func IsHealthStateCritical(s *common.Status) bool
- func IsHealthStateMissing(s *common.Status) bool
- func IsProvisionStatus(s *common.Status, pState common.ProvisionState) bool
- func SetDownloadStatus(s *common.Status, ...)
- func SetError(s *common.Status, err error)
- func SetHealth(s *common.Status, hState common.HealthState, err ...error)
- func SetPlacementStatus(s *common.Status, placementState *common.PlacementStatus)
- func SetProvisionStatus(s *common.Status, pState common.ProvisionState, err ...error)
- func SetValidationStatus(s *common.Status, validationState []*common.ValidationState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromStatuses ¶
GetFromStatuses - parses the map to status
func GetPlacementStatus ¶ added in v0.23.1
func GetPlacementStatus(s *common.Status) common.PlacementStatusType
func GetProvisioningState ¶
func GetProvisioningState(status *common.ProvisionStatus) *string
GetProvisioningState string
func GetStatuses ¶
GetStatuses - converts status to map
func GetValidationStatus ¶ added in v0.10.27
func GetValidationStatus(s *common.Status) []*common.ValidationState
func IsHealthStateCritical ¶ added in v0.23.2
func IsHealthStateMissing ¶
func IsProvisionStatus ¶
func IsProvisionStatus(s *common.Status, pState common.ProvisionState) bool
func SetDownloadStatus ¶ added in v0.10.20
func SetDownloadStatus(s *common.Status, dProgressPercentage, dDownloadSizeInBytes, dFileSizeInBytes int64, err ...error)
SetDownloadStatus
func SetHealth ¶
func SetHealth(s *common.Status, hState common.HealthState, err ...error)
SetHealth
func SetPlacementStatus ¶ added in v0.23.1
func SetPlacementStatus(s *common.Status, placementState *common.PlacementStatus)
func SetProvisionStatus ¶
func SetProvisionStatus(s *common.Status, pState common.ProvisionState, err ...error)
SetProvisionStatus
func SetValidationStatus ¶ added in v0.10.27
func SetValidationStatus(s *common.Status, validationState []*common.ValidationState)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.