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 GetProvisioningState(status *common.ProvisionStatus) *string
- func GetStatuses(status *common.Status) map[string]*string
- func InitStatus() *common.Status
- func IsDeleted(s *common.Status) bool
- func IsHealthStateMissing(s *common.Status) bool
- func IsProvisionStatus(s *common.Status, pState common.ProvisionState) bool
- func SetError(s *common.Status, err error)
- func SetHealth(s *common.Status, hState common.HealthState, err ...error)
- func SetProvisionStatus(s *common.Status, pState common.ProvisionState, err ...error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromStatuses ¶
GetFromStatuses - parses the map to status
func GetProvisioningState ¶
func GetProvisioningState(status *common.ProvisionStatus) *string
GetProvisioningState string
func GetStatuses ¶
GetStatuses - converts status to map
func IsHealthStateMissing ¶
func IsProvisionStatus ¶
func IsProvisionStatus(s *common.Status, pState common.ProvisionState) bool
func SetHealth ¶
func SetHealth(s *common.Status, hState common.HealthState, err ...error)
SetHealth
func SetProvisionStatus ¶
func SetProvisionStatus(s *common.Status, pState common.ProvisionState, err ...error)
SetProvisionStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.