status

package
v0.10.16 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 31

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 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 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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