Documentation ¶
Index ¶
Constants ¶
View Source
const (
// APIVersion to be used.
APIVersion = "v1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstanceConfig ¶
InstanceConfig contains instance configuration details.
func InstanceConfigFromProviderId ¶
func InstanceConfigFromProviderId(id string) (*InstanceConfig, error)
InstanceConfigFromProviderId creates InstanceConfig object from provider id which must be in format: gce://<project-id>/<zone>/<name> TODO(piosz): add better check whether the id is correct
type MigConfig ¶
MigConfig contains managed instance group configuration details.
type MigConfigFlag ¶
type MigConfigFlag []MigConfig
MigConfigFlag is an array of MIG configuration details. Working as a multi-value flag.
func (*MigConfigFlag) Set ¶
func (migconfigflag *MigConfigFlag) Set(value string) error
Set adds a new configuration.
func (*MigConfigFlag) String ¶
func (migconfigflag *MigConfigFlag) String() string
String returns string representation of the MIG.
Click to show internal directories.
Click to hide internal directories.