Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct {
Global GlobalOpts
}
CloudConfig contains only the section global.
func (*CloudConfig) ToString ¶
func (cc *CloudConfig) ToString() (string, error)
ToString renders the cloud configuration as string.
type GlobalOpts ¶
type GlobalOpts struct { ProjectID string LocalZone string NetworkName string SubnetworkName string MultiZone bool Regional bool NodeTags []string }
GlobalOpts contains the values of the global section of the cloud configuration.
type RawConfig ¶
type RawConfig struct { ServiceAccount types.ConfigVarString `json:"serviceAccount,omitempty"` Zone types.ConfigVarString `json:"zone"` Network types.ConfigVarString `json:"network"` Subnetwork types.ConfigVarString `json:"subnetwork"` Tags []string `json:"tags,omitempty"` MultiZone types.ConfigVarBool `json:"multizone"` Regional types.ConfigVarBool `json:"regional"` }
RawConfig is a direct representation of an GCE machine object's configuration
Click to show internal directories.
Click to hide internal directories.