Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + const InstanceTemplateNamePrefixMaxLength + func BuildImageURL(defaultProject, nameSpec string) string + func BuildMachineTypeURL(project, zone, name string) string + func ShortenImageURL(defaultProject string, imageURL string) (string, error) + type Address struct + IPAddress *string + Lifecycle *fi.Lifecycle + Name *string + func (_ *Address) CheckChanges(a, e, changes *Address) error + func (_ *Address) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Address) error + func (_ *Address) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Address) error + func (e *Address) Find(c *fi.Context) (*Address, error) + func (e *Address) FindIPAddress(context *fi.Context) (*string, error) + func (e *Address) Run(c *fi.Context) error + func (e *Address) TerraformAddress() *terraform.Literal + func (o *Address) GetLifecycle() *fi.Lifecycle + func (o *Address) GetName() *string + func (o *Address) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Address) SetName(name string) + func (o *Address) String() string + func (o *Address) UnmarshalJSON(data []byte) error + type ByKey []*compute.MetadataItems + func (a ByKey) Len() int + func (a ByKey) Less(i, j int) bool + func (a ByKey) Swap(i, j int) + type Disk struct + Labels map[string]string + Lifecycle *fi.Lifecycle + Name *string + SizeGB *int64 + VolumeType *string + Zone *string + func (_ *Disk) CheckChanges(a, e, changes *Disk) error + func (_ *Disk) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Disk) error + func (_ *Disk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Disk) error + func (e *Disk) CompareWithID() *string + func (e *Disk) Find(c *fi.Context) (*Disk, error) + func (e *Disk) Run(c *fi.Context) error + func (e *Disk) URL(project string) string + func (o *Disk) GetLifecycle() *fi.Lifecycle + func (o *Disk) GetName() *string + func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Disk) SetName(name string) + func (o *Disk) String() string + func (o *Disk) UnmarshalJSON(data []byte) error + type FirewallRule struct + Allowed []string + Lifecycle *fi.Lifecycle + Name *string + Network *Network + SourceRanges []string + SourceTags []string + TargetTags []string + func (_ *FirewallRule) CheckChanges(a, e, changes *FirewallRule) error + func (_ *FirewallRule) RenderGCE(t *gce.GCEAPITarget, a, e, changes *FirewallRule) error + func (_ *FirewallRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *FirewallRule) error + func (e *FirewallRule) CompareWithID() *string + func (e *FirewallRule) Find(c *fi.Context) (*FirewallRule, error) + func (e *FirewallRule) Run(c *fi.Context) error + func (o *FirewallRule) GetLifecycle() *fi.Lifecycle + func (o *FirewallRule) GetName() *string + func (o *FirewallRule) SetLifecycle(lifecycle fi.Lifecycle) + func (o *FirewallRule) SetName(name string) + func (o *FirewallRule) String() string + func (o *FirewallRule) UnmarshalJSON(data []byte) error + type ForwardingRule struct + IPAddress *Address + IPProtocol string + Lifecycle *fi.Lifecycle + Name *string + PortRange string + TargetPool *TargetPool + func (_ *ForwardingRule) CheckChanges(a, e, changes *ForwardingRule) error + func (_ *ForwardingRule) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ForwardingRule) error + func (_ *ForwardingRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ForwardingRule) error + func (e *ForwardingRule) CompareWithID() *string + func (e *ForwardingRule) Find(c *fi.Context) (*ForwardingRule, error) + func (e *ForwardingRule) Run(c *fi.Context) error + func (e *ForwardingRule) TerraformLink() *terraform.Literal + func (o *ForwardingRule) GetLifecycle() *fi.Lifecycle + func (o *ForwardingRule) GetName() *string + func (o *ForwardingRule) SetLifecycle(lifecycle fi.Lifecycle) + func (o *ForwardingRule) SetName(name string) + func (o *ForwardingRule) String() string + func (o *ForwardingRule) UnmarshalJSON(data []byte) error + type Instance struct + CanIPForward *bool + Disks map[string]*Disk + IPAddress *Address + Image *string + Lifecycle *fi.Lifecycle + MachineType *string + Metadata map[string]fi.Resource + Name *string + Network *Network + Preemptible *bool + Scopes []string + Subnet *Subnet + Tags []string + Zone *string + func (_ *Instance) CheckChanges(a, e, changes *Instance) error + func (_ *Instance) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Instance) error + func (_ *Instance) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Instance) error + func (e *Instance) CompareWithID() *string + func (e *Instance) Find(c *fi.Context) (*Instance, error) + func (e *Instance) Run(c *fi.Context) error + func (o *Instance) GetLifecycle() *fi.Lifecycle + func (o *Instance) GetName() *string + func (o *Instance) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Instance) SetName(name string) + func (o *Instance) String() string + func (o *Instance) UnmarshalJSON(data []byte) error + type InstanceGroupManager struct + BaseInstanceName *string + InstanceTemplate *InstanceTemplate + Lifecycle *fi.Lifecycle + Name *string + TargetPools []*TargetPool + TargetSize *int64 + Zone *string + func (_ *InstanceGroupManager) CheckChanges(a, e, changes *InstanceGroupManager) error + func (_ *InstanceGroupManager) RenderGCE(t *gce.GCEAPITarget, a, e, changes *InstanceGroupManager) error + func (_ *InstanceGroupManager) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *InstanceGroupManager) error + func (e *InstanceGroupManager) CompareWithID() *string + func (e *InstanceGroupManager) Find(c *fi.Context) (*InstanceGroupManager, error) + func (e *InstanceGroupManager) Run(c *fi.Context) error + func (o *InstanceGroupManager) GetLifecycle() *fi.Lifecycle + func (o *InstanceGroupManager) GetName() *string + func (o *InstanceGroupManager) SetLifecycle(lifecycle fi.Lifecycle) + func (o *InstanceGroupManager) SetName(name string) + func (o *InstanceGroupManager) String() string + func (o *InstanceGroupManager) UnmarshalJSON(data []byte) error + type InstanceTemplate struct + AliasIPRanges map[string]string + BootDiskImage *string + BootDiskSizeGB *int64 + BootDiskType *string + CanIPForward *bool + ID *string + Lifecycle *fi.Lifecycle + MachineType *string + Metadata map[string]*fi.ResourceHolder + Name *string + NamePrefix *string + Network *Network + Preemptible *bool + Scopes []string + Subnet *Subnet + Tags []string + func (_ *InstanceTemplate) CheckChanges(a, e, changes *InstanceTemplate) error + func (_ *InstanceTemplate) RenderGCE(t *gce.GCEAPITarget, a, e, changes *InstanceTemplate) error + func (_ *InstanceTemplate) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *InstanceTemplate) error + func (e *InstanceTemplate) CompareWithID() *string + func (e *InstanceTemplate) Find(c *fi.Context) (*InstanceTemplate, error) + func (e *InstanceTemplate) Run(c *fi.Context) error + func (e *InstanceTemplate) URL(project string) (string, error) + func (i *InstanceTemplate) TerraformLink() *terraform.Literal + func (o *InstanceTemplate) GetLifecycle() *fi.Lifecycle + func (o *InstanceTemplate) GetName() *string + func (o *InstanceTemplate) SetLifecycle(lifecycle fi.Lifecycle) + func (o *InstanceTemplate) SetName(name string) + func (o *InstanceTemplate) String() string + func (o *InstanceTemplate) UnmarshalJSON(data []byte) error + type Network struct + CIDR *string + Lifecycle *fi.Lifecycle + Mode string + Name *string + func (_ *Network) CheckChanges(a, e, changes *Network) error + func (_ *Network) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Network) error + func (_ *Network) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Network) error + func (e *Network) CompareWithID() *string + func (e *Network) Find(c *fi.Context) (*Network, error) + func (e *Network) Run(c *fi.Context) error + func (e *Network) URL(project string) string + func (i *Network) TerraformName() *terraform.Literal + func (o *Network) GetLifecycle() *fi.Lifecycle + func (o *Network) GetName() *string + func (o *Network) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Network) SetName(name string) + func (o *Network) String() string + func (o *Network) UnmarshalJSON(data []byte) error + type StorageBucketAcl struct + Bucket *string + Entity *string + Lifecycle *fi.Lifecycle + Name *string + Role *string + func (_ *StorageBucketAcl) CheckChanges(a, e, changes *StorageBucketAcl) error + func (_ *StorageBucketAcl) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageBucketAcl) error + func (_ *StorageBucketAcl) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketAcl) error + func (e *StorageBucketAcl) CompareWithID() *string + func (e *StorageBucketAcl) Find(c *fi.Context) (*StorageBucketAcl, error) + func (e *StorageBucketAcl) Run(c *fi.Context) error + func (o *StorageBucketAcl) GetLifecycle() *fi.Lifecycle + func (o *StorageBucketAcl) GetName() *string + func (o *StorageBucketAcl) SetLifecycle(lifecycle fi.Lifecycle) + func (o *StorageBucketAcl) SetName(name string) + func (o *StorageBucketAcl) String() string + func (o *StorageBucketAcl) UnmarshalJSON(data []byte) error + type StorageBucketIam struct + Bucket *string + Entity *string + Lifecycle *fi.Lifecycle + Name *string + Role *string + func (_ *StorageBucketIam) CheckChanges(a, e, changes *StorageBucketIam) error + func (_ *StorageBucketIam) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageBucketIam) error + func (_ *StorageBucketIam) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketIam) error + func (e *StorageBucketIam) CompareWithID() *string + func (e *StorageBucketIam) Find(c *fi.Context) (*StorageBucketIam, error) + func (e *StorageBucketIam) Run(c *fi.Context) error + func (o *StorageBucketIam) GetLifecycle() *fi.Lifecycle + func (o *StorageBucketIam) GetName() *string + func (o *StorageBucketIam) SetLifecycle(lifecycle fi.Lifecycle) + func (o *StorageBucketIam) SetName(name string) + func (o *StorageBucketIam) String() string + func (o *StorageBucketIam) UnmarshalJSON(data []byte) error + type StorageObjectAcl struct + Bucket *string + Entity *string + Lifecycle *fi.Lifecycle + Name *string + Object *string + Role *string + func (_ *StorageObjectAcl) CheckChanges(a, e, changes *StorageObjectAcl) error + func (_ *StorageObjectAcl) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageObjectAcl) error + func (_ *StorageObjectAcl) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageObjectAcl) error + func (e *StorageObjectAcl) CompareWithID() *string + func (e *StorageObjectAcl) Find(c *fi.Context) (*StorageObjectAcl, error) + func (e *StorageObjectAcl) Run(c *fi.Context) error + func (o *StorageObjectAcl) GetLifecycle() *fi.Lifecycle + func (o *StorageObjectAcl) GetName() *string + func (o *StorageObjectAcl) SetLifecycle(lifecycle fi.Lifecycle) + func (o *StorageObjectAcl) SetName(name string) + func (o *StorageObjectAcl) String() string + func (o *StorageObjectAcl) UnmarshalJSON(data []byte) error + type Subnet struct + CIDR *string + GCEName *string + Lifecycle *fi.Lifecycle + Name *string + Network *Network + Region *string + SecondaryIpRanges map[string]string + func (_ *Subnet) CheckChanges(a, e, changes *Subnet) error + func (_ *Subnet) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Subnet) error + func (_ *Subnet) RenderSubnet(t *terraform.TerraformTarget, a, e, changes *Subnet) error + func (e *Subnet) CompareWithID() *string + func (e *Subnet) Find(c *fi.Context) (*Subnet, error) + func (e *Subnet) Run(c *fi.Context) error + func (e *Subnet) URL(project string, region string) string + func (i *Subnet) TerraformName() *terraform.Literal + func (o *Subnet) GetLifecycle() *fi.Lifecycle + func (o *Subnet) GetName() *string + func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Subnet) SetName(name string) + func (o *Subnet) String() string + func (o *Subnet) UnmarshalJSON(data []byte) error + type TargetPool struct + Lifecycle *fi.Lifecycle + Name *string + func (_ *TargetPool) CheckChanges(a, e, changes *TargetPool) error + func (_ *TargetPool) RenderGCE(t *gce.GCEAPITarget, a, e, changes *TargetPool) error + func (_ *TargetPool) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *TargetPool) error + func (e *TargetPool) CompareWithID() *string + func (e *TargetPool) Find(c *fi.Context) (*TargetPool, error) + func (e *TargetPool) Run(c *fi.Context) error + func (e *TargetPool) TerraformLink() *terraform.Literal + func (e *TargetPool) URL(cloud gce.GCECloud) string + func (o *TargetPool) GetLifecycle() *fi.Lifecycle + func (o *TargetPool) GetName() *string + func (o *TargetPool) SetLifecycle(lifecycle fi.Lifecycle) + func (o *TargetPool) SetName(name string) + func (o *TargetPool) String() string + func (o *TargetPool) UnmarshalJSON(data []byte) error