otc

package
v0.0.0-...-a17d9bd Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEVSVolumeWithID

func FindEVSVolumeWithID(id string) (*data.EVSResource, bool)

FindEVSVolumeWithID returns an EVSResource based on id without prefix

func GroupEcsEvsResource

func GroupEcsEvsResource(ecs *data.ECSResource) (data.GroupResource, error)

GroupEcsEvsResource creates groupResource from ecs and evs pairs

func GroupEcsEvsResources

func GroupEcsEvsResources() error

GroupEcsEvsResources creates groupResources from ecs and evs pairs

func GroupVRByTags

func GroupVRByTags()

GroupVRByTags creates GR based on ot3c_group tags.

func LoadGhostResources

func LoadGhostResources()

LoadGhostResources creates GhostResources from Consumptions of VRs that are no longer present and have been terminated. Make sure to load all other resources first before loading the Ghosts.

func LoadVirtualResources

func LoadVirtualResources() error

LoadVirtualResources loads all resources from the OTC and links them with cost. After that it will look for other costs that are not represented by VRs and add them as Ghosts.

func Login

func Login() (*golangsdk.ProviderClient, error)

Login logs into OTC with provided config. Wrappes OTP request if enabled. Saves current Client

func RunDefaultDataChain

func RunDefaultDataChain() error

RunDefaultDataChain combines VR func that are regularly used together to load and prepare data.

func RunPostProcessing

func RunPostProcessing()

RunPostProcessing performs postprocessing work after all resources are loaded

Types

This section is empty.

Jump to

Keyboard shortcuts

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