status

package
v0.23.11 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 6 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 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

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 IsHealthStateCritical added in v0.23.2

func IsHealthStateCritical(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 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.

Jump to

Keyboard shortcuts

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