add comments

This commit is contained in:
Ashley Gau 2018-02-23 16:14:27 -08:00
parent 775480f7d9
commit 828e22bdc6

View File

@ -20,7 +20,10 @@ import (
"strings" "strings"
) )
// NetworkTier represents the Network Service Tier used by a resource
type NetworkTier string type NetworkTier string
// LbScheme represents the possible types of load balancers
type LbScheme string type LbScheme string
const ( const (
@ -33,7 +36,7 @@ const (
) )
// ToGCEValue converts NetworkTier to a string that we can populate the // ToGCEValue converts NetworkTier to a string that we can populate the
// NetworkTier field of GCE objects. // NetworkTier field of GCE objects, including ForwardingRules and Addresses.
func (n NetworkTier) ToGCEValue() string { func (n NetworkTier) ToGCEValue() string {
return strings.ToUpper(string(n)) return strings.ToUpper(string(n))
} }