status

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 32

Documentation

Overview

Copyright (c) Microsoft Corporation Licensed under the Apache v2.0 license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateVersion

func GenerateVersion() *common.Version

GenerateVersion

func GetFromStatuses

func GetFromStatuses(statuses map[string]*string) (status *common.Status)

GetFromStatuses - parses the map to status

func GetProvisioningState

func GetProvisioningState(status *common.ProvisionStatus) *string

GetProvisioningState string

func GetStatuses

func GetStatuses(status *common.Status) map[string]*string

GetStatuses - converts status to map

func GetValidationStatus added in v0.10.27

func GetValidationStatus(s *common.Status) []*common.ValidationState

func InitStatus

func InitStatus() *common.Status

InitStatus

func IsDeleted

func IsDeleted(s *common.Status) bool

func IsHealthStateMissing

func IsHealthStateMissing(s *common.Status) bool

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 SetError

func SetError(s *common.Status, err error)

SetError

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

func SetValidationStatus added in v0.10.27

func SetValidationStatus(s *common.Status, validationState []*common.ValidationState)

Types

This section is empty.

Jump to

Keyboard shortcuts

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