gcp

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GcpMed = map[string]uint64{"low": 2147483648, "high": 5000}

GcpMed maps human readable values (low, high) to int values

Functions

func HumanMedToInt

func HumanMedToInt(med string) uint64

HumanMedToInt converts a human readable med (low, high) to its int value. When the human readable value is unknown, the equivalent int value for "low" is returned

func IntMedToHuman

func IntMedToHuman(med uint64) string

IntMedToHuman converts an integer med value to its human readable equivalent. When the int value is unknown, the "low" human readable value is returned

func ResourceSchemaGcp

func ResourceSchemaGcp() *schema.Resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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