Documentation ¶
Index ¶
- Constants
- func BuildImageURL(defaultProject, nameSpec string) string
- func BuildMachineTypeURL(project, zone, name string) string
- func ShortenImageURL(defaultProject string, imageURL string) (string, error)
- type Address
- func (_ *Address) CheckChanges(a, e, changes *Address) error
- func (e *Address) Find(c *fi.Context) (*Address, error)
- func (e *Address) FindIPAddress(context *fi.Context) (*string, error)
- func (o *Address) GetLifecycle() *fi.Lifecycle
- func (o *Address) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *Address) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Address) SetName(name string)
- func (o *Address) String() string
- func (e *Address) TerraformAddress() *terraform.Literal
- func (o *Address) UnmarshalJSON(data []byte) error
- type ByKey
- type Disk
- func (_ *Disk) CheckChanges(a, e, changes *Disk) error
- func (e *Disk) CompareWithID() *string
- func (e *Disk) Find(c *fi.Context) (*Disk, error)
- func (o *Disk) GetLifecycle() *fi.Lifecycle
- func (o *Disk) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Disk) SetName(name string)
- func (o *Disk) String() string
- func (e *Disk) URL(project string) string
- func (o *Disk) UnmarshalJSON(data []byte) error
- type FirewallRule
- func (_ *FirewallRule) CheckChanges(a, e, changes *FirewallRule) error
- func (e *FirewallRule) CompareWithID() *string
- func (e *FirewallRule) Find(c *fi.Context) (*FirewallRule, error)
- func (o *FirewallRule) GetLifecycle() *fi.Lifecycle
- func (o *FirewallRule) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *ForwardingRule) CheckChanges(a, e, changes *ForwardingRule) error
- func (e *ForwardingRule) CompareWithID() *string
- func (e *ForwardingRule) Find(c *fi.Context) (*ForwardingRule, error)
- func (o *ForwardingRule) GetLifecycle() *fi.Lifecycle
- func (o *ForwardingRule) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *ForwardingRule) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ForwardingRule) SetName(name string)
- func (o *ForwardingRule) String() string
- func (e *ForwardingRule) TerraformLink() *terraform.Literal
- func (o *ForwardingRule) UnmarshalJSON(data []byte) error
- type Instance
- func (_ *Instance) CheckChanges(a, e, changes *Instance) error
- func (e *Instance) CompareWithID() *string
- func (e *Instance) Find(c *fi.Context) (*Instance, error)
- func (o *Instance) GetLifecycle() *fi.Lifecycle
- func (o *Instance) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *InstanceGroupManager) CheckChanges(a, e, changes *InstanceGroupManager) error
- func (e *InstanceGroupManager) CompareWithID() *string
- func (e *InstanceGroupManager) Find(c *fi.Context) (*InstanceGroupManager, error)
- func (o *InstanceGroupManager) GetLifecycle() *fi.Lifecycle
- func (o *InstanceGroupManager) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *InstanceTemplate) CheckChanges(a, e, changes *InstanceTemplate) error
- func (e *InstanceTemplate) CompareWithID() *string
- func (e *InstanceTemplate) Find(c *fi.Context) (*InstanceTemplate, error)
- func (o *InstanceTemplate) GetLifecycle() *fi.Lifecycle
- func (o *InstanceTemplate) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *InstanceTemplate) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *InstanceTemplate) SetName(name string)
- func (o *InstanceTemplate) String() string
- func (i *InstanceTemplate) TerraformLink() *terraform.Literal
- func (e *InstanceTemplate) URL(project string) (string, error)
- func (o *InstanceTemplate) UnmarshalJSON(data []byte) error
- type Network
- func (_ *Network) CheckChanges(a, e, changes *Network) error
- func (e *Network) CompareWithID() *string
- func (e *Network) Find(c *fi.Context) (*Network, error)
- func (o *Network) GetLifecycle() *fi.Lifecycle
- func (o *Network) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *Network) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Network) SetName(name string)
- func (o *Network) String() string
- func (i *Network) TerraformName() *terraform.Literal
- func (e *Network) URL(project string) string
- func (o *Network) UnmarshalJSON(data []byte) error
- type StorageBucketAcl
- func (_ *StorageBucketAcl) CheckChanges(a, e, changes *StorageBucketAcl) error
- func (e *StorageBucketAcl) CompareWithID() *string
- func (e *StorageBucketAcl) Find(c *fi.Context) (*StorageBucketAcl, error)
- func (o *StorageBucketAcl) GetLifecycle() *fi.Lifecycle
- func (o *StorageBucketAcl) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *StorageBucketIam) CheckChanges(a, e, changes *StorageBucketIam) error
- func (e *StorageBucketIam) CompareWithID() *string
- func (e *StorageBucketIam) Find(c *fi.Context) (*StorageBucketIam, error)
- func (o *StorageBucketIam) GetLifecycle() *fi.Lifecycle
- func (o *StorageBucketIam) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *StorageObjectAcl) CheckChanges(a, e, changes *StorageObjectAcl) error
- func (e *StorageObjectAcl) CompareWithID() *string
- func (e *StorageObjectAcl) Find(c *fi.Context) (*StorageObjectAcl, error)
- func (o *StorageObjectAcl) GetLifecycle() *fi.Lifecycle
- func (o *StorageObjectAcl) GetName() *string
- 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) Run(c *fi.Context) error
- 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
- func (_ *Subnet) CheckChanges(a, e, changes *Subnet) error
- func (e *Subnet) CompareWithID() *string
- func (e *Subnet) Find(c *fi.Context) (*Subnet, error)
- func (o *Subnet) GetLifecycle() *fi.Lifecycle
- func (o *Subnet) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Subnet) SetName(name string)
- func (o *Subnet) String() string
- func (i *Subnet) TerraformName() *terraform.Literal
- func (o *Subnet) UnmarshalJSON(data []byte) error
- type TargetPool
- func (_ *TargetPool) CheckChanges(a, e, changes *TargetPool) error
- func (e *TargetPool) CompareWithID() *string
- func (e *TargetPool) Find(c *fi.Context) (*TargetPool, error)
- func (o *TargetPool) GetLifecycle() *fi.Lifecycle
- func (o *TargetPool) GetName() *string
- 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) Run(c *fi.Context) error
- func (o *TargetPool) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *TargetPool) SetName(name string)
- func (o *TargetPool) String() string
- func (e *TargetPool) TerraformLink() *terraform.Literal
- func (e *TargetPool) URL(cloud gce.GCECloud) string
- func (o *TargetPool) UnmarshalJSON(data []byte) error
Constants ¶
const InstanceTemplateNamePrefixMaxLength = 63 - 10 - 1
InstanceTemplateNamePrefixMaxLength is the max length for the NamePrefix of an InstanceTemplate
52 = 63 - 10 - 1; 63 is the GCE limit; 10 is the length of seconds since epoch; and one for the dash
Variables ¶
This section is empty.
Functions ¶
func BuildImageURL ¶
func BuildMachineTypeURL ¶
Types ¶
type Address ¶ added in v1.10.0
func (*Address) CheckChanges ¶ added in v1.10.0
func (*Address) FindIPAddress ¶ added in v1.10.0
func (*Address) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Address) GetName ¶ added in v1.10.0
GetName returns the Name of the object, implementing fi.HasName
func (*Address) RenderGCE ¶ added in v1.10.0
func (_ *Address) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Address) error
func (*Address) RenderTerraform ¶ added in v1.10.0
func (_ *Address) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Address) error
func (*Address) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Address) SetName ¶ added in v1.10.0
SetName sets the Name of the object, implementing fi.SetName
func (*Address) String ¶ added in v1.10.0
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Address) TerraformAddress ¶ added in v1.10.0
func (*Address) UnmarshalJSON ¶ added in v1.10.0
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type ByKey ¶ added in v1.10.0
type ByKey []*compute.MetadataItems
type Disk ¶ added in v1.10.0
type Disk struct { Name *string Lifecycle *fi.Lifecycle VolumeType *string SizeGB *int64 Zone *string Labels map[string]string }
Disk represents a GCE PD
func (*Disk) CheckChanges ¶ added in v1.10.0
func (*Disk) CompareWithID ¶ added in v1.10.0
func (*Disk) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Disk) GetName ¶ added in v1.10.0
GetName returns the Name of the object, implementing fi.HasName
func (*Disk) RenderGCE ¶ added in v1.10.0
func (_ *Disk) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Disk) error
func (*Disk) RenderTerraform ¶ added in v1.10.0
func (_ *Disk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Disk) error
func (*Disk) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Disk) SetName ¶ added in v1.10.0
SetName sets the Name of the object, implementing fi.SetName
func (*Disk) String ¶ added in v1.10.0
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Disk) UnmarshalJSON ¶ added in v1.10.0
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type FirewallRule ¶
type FirewallRule struct { Name *string Lifecycle *fi.Lifecycle Network *Network SourceTags []string SourceRanges []string TargetTags []string Allowed []string }
FirewallRule represents a GCE firewall rules
func (*FirewallRule) CheckChanges ¶
func (_ *FirewallRule) CheckChanges(a, e, changes *FirewallRule) error
func (*FirewallRule) CompareWithID ¶
func (e *FirewallRule) CompareWithID() *string
func (*FirewallRule) Find ¶
func (e *FirewallRule) Find(c *fi.Context) (*FirewallRule, error)
func (*FirewallRule) GetLifecycle ¶ added in v1.10.0
func (o *FirewallRule) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*FirewallRule) GetName ¶
func (o *FirewallRule) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*FirewallRule) RenderGCE ¶
func (_ *FirewallRule) RenderGCE(t *gce.GCEAPITarget, a, e, changes *FirewallRule) error
func (*FirewallRule) RenderTerraform ¶
func (_ *FirewallRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *FirewallRule) error
func (*FirewallRule) SetLifecycle ¶ added in v1.10.0
func (o *FirewallRule) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*FirewallRule) SetName ¶
func (o *FirewallRule) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*FirewallRule) String ¶
func (o *FirewallRule) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*FirewallRule) UnmarshalJSON ¶
func (o *FirewallRule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type ForwardingRule ¶ added in v1.10.0
type ForwardingRule struct { Name *string Lifecycle *fi.Lifecycle PortRange string TargetPool *TargetPool IPAddress *Address IPProtocol string }
ForwardingRule represents a GCE ForwardingRule
func (*ForwardingRule) CheckChanges ¶ added in v1.10.0
func (_ *ForwardingRule) CheckChanges(a, e, changes *ForwardingRule) error
func (*ForwardingRule) CompareWithID ¶ added in v1.10.0
func (e *ForwardingRule) CompareWithID() *string
func (*ForwardingRule) Find ¶ added in v1.10.0
func (e *ForwardingRule) Find(c *fi.Context) (*ForwardingRule, error)
func (*ForwardingRule) GetLifecycle ¶ added in v1.10.0
func (o *ForwardingRule) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ForwardingRule) GetName ¶ added in v1.10.0
func (o *ForwardingRule) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ForwardingRule) RenderGCE ¶ added in v1.10.0
func (_ *ForwardingRule) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ForwardingRule) error
func (*ForwardingRule) RenderTerraform ¶ added in v1.10.0
func (_ *ForwardingRule) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ForwardingRule) error
func (*ForwardingRule) SetLifecycle ¶ added in v1.10.0
func (o *ForwardingRule) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ForwardingRule) SetName ¶ added in v1.10.0
func (o *ForwardingRule) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*ForwardingRule) String ¶ added in v1.10.0
func (o *ForwardingRule) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*ForwardingRule) TerraformLink ¶ added in v1.10.0
func (e *ForwardingRule) TerraformLink() *terraform.Literal
func (*ForwardingRule) UnmarshalJSON ¶ added in v1.10.0
func (o *ForwardingRule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type Instance ¶
type Instance struct { Name *string Lifecycle *fi.Lifecycle Network *Network Tags []string Preemptible *bool Image *string Disks map[string]*Disk CanIPForward *bool IPAddress *Address Subnet *Subnet Scopes []string Metadata map[string]fi.Resource Zone *string MachineType *string // contains filtered or unexported fields }
func (*Instance) CheckChanges ¶
func (*Instance) CompareWithID ¶
func (*Instance) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Instance) RenderGCE ¶
func (_ *Instance) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Instance) error
func (*Instance) RenderTerraform ¶
func (_ *Instance) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Instance) error
func (*Instance) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Instance) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Instance) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type InstanceGroupManager ¶ added in v1.10.0
type InstanceGroupManager struct { Name *string Lifecycle *fi.Lifecycle Zone *string BaseInstanceName *string InstanceTemplate *InstanceTemplate TargetSize *int64 TargetPools []*TargetPool }
func (*InstanceGroupManager) CheckChanges ¶ added in v1.10.0
func (_ *InstanceGroupManager) CheckChanges(a, e, changes *InstanceGroupManager) error
func (*InstanceGroupManager) CompareWithID ¶ added in v1.10.0
func (e *InstanceGroupManager) CompareWithID() *string
func (*InstanceGroupManager) Find ¶ added in v1.10.0
func (e *InstanceGroupManager) Find(c *fi.Context) (*InstanceGroupManager, error)
func (*InstanceGroupManager) GetLifecycle ¶ added in v1.10.0
func (o *InstanceGroupManager) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*InstanceGroupManager) GetName ¶ added in v1.10.0
func (o *InstanceGroupManager) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*InstanceGroupManager) RenderGCE ¶ added in v1.10.0
func (_ *InstanceGroupManager) RenderGCE(t *gce.GCEAPITarget, a, e, changes *InstanceGroupManager) error
func (*InstanceGroupManager) RenderTerraform ¶ added in v1.10.0
func (_ *InstanceGroupManager) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *InstanceGroupManager) error
func (*InstanceGroupManager) Run ¶ added in v1.10.0
func (e *InstanceGroupManager) Run(c *fi.Context) error
func (*InstanceGroupManager) SetLifecycle ¶ added in v1.10.0
func (o *InstanceGroupManager) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*InstanceGroupManager) SetName ¶ added in v1.10.0
func (o *InstanceGroupManager) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*InstanceGroupManager) String ¶ added in v1.10.0
func (o *InstanceGroupManager) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*InstanceGroupManager) UnmarshalJSON ¶ added in v1.10.0
func (o *InstanceGroupManager) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type InstanceTemplate ¶
type InstanceTemplate struct { Name *string // NamePrefix is used as the prefix for the names; we add a timestamp. Max = InstanceTemplateNamePrefixMaxLength NamePrefix *string Lifecycle *fi.Lifecycle Network *Network Tags []string //Labels map[string]string Preemptible *bool BootDiskImage *string BootDiskSizeGB *int64 BootDiskType *string CanIPForward *bool Subnet *Subnet Scopes []string Metadata map[string]*fi.ResourceHolder MachineType *string // ID is the actual name ID *string }
InstanceTemplate represents a GCE InstanceTemplate
func (*InstanceTemplate) CheckChanges ¶
func (_ *InstanceTemplate) CheckChanges(a, e, changes *InstanceTemplate) error
func (*InstanceTemplate) CompareWithID ¶
func (e *InstanceTemplate) CompareWithID() *string
func (*InstanceTemplate) Find ¶
func (e *InstanceTemplate) Find(c *fi.Context) (*InstanceTemplate, error)
func (*InstanceTemplate) GetLifecycle ¶ added in v1.10.0
func (o *InstanceTemplate) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*InstanceTemplate) GetName ¶
func (o *InstanceTemplate) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*InstanceTemplate) RenderGCE ¶
func (_ *InstanceTemplate) RenderGCE(t *gce.GCEAPITarget, a, e, changes *InstanceTemplate) error
func (*InstanceTemplate) RenderTerraform ¶
func (_ *InstanceTemplate) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *InstanceTemplate) error
func (*InstanceTemplate) SetLifecycle ¶ added in v1.10.0
func (o *InstanceTemplate) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*InstanceTemplate) SetName ¶
func (o *InstanceTemplate) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*InstanceTemplate) String ¶
func (o *InstanceTemplate) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*InstanceTemplate) TerraformLink ¶
func (i *InstanceTemplate) TerraformLink() *terraform.Literal
func (*InstanceTemplate) URL ¶ added in v1.10.0
func (e *InstanceTemplate) URL(project string) (string, error)
func (*InstanceTemplate) UnmarshalJSON ¶
func (o *InstanceTemplate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type Network ¶
func (*Network) CheckChanges ¶
func (*Network) CompareWithID ¶
func (*Network) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Network) RenderGCE ¶
func (_ *Network) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Network) error
func (*Network) RenderTerraform ¶
func (_ *Network) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Network) error
func (*Network) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Network) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Network) TerraformName ¶
func (*Network) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type StorageBucketAcl ¶ added in v1.10.0
type StorageBucketAcl struct { Name *string Lifecycle *fi.Lifecycle Bucket *string Entity *string Role *string }
StorageBucketAcl represents an ACL rule on a google cloud storage bucket
func (*StorageBucketAcl) CheckChanges ¶ added in v1.10.0
func (_ *StorageBucketAcl) CheckChanges(a, e, changes *StorageBucketAcl) error
func (*StorageBucketAcl) CompareWithID ¶ added in v1.10.0
func (e *StorageBucketAcl) CompareWithID() *string
func (*StorageBucketAcl) Find ¶ added in v1.10.0
func (e *StorageBucketAcl) Find(c *fi.Context) (*StorageBucketAcl, error)
func (*StorageBucketAcl) GetLifecycle ¶ added in v1.10.0
func (o *StorageBucketAcl) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*StorageBucketAcl) GetName ¶ added in v1.10.0
func (o *StorageBucketAcl) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*StorageBucketAcl) RenderGCE ¶ added in v1.10.0
func (_ *StorageBucketAcl) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageBucketAcl) error
func (*StorageBucketAcl) RenderTerraform ¶ added in v1.10.0
func (_ *StorageBucketAcl) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketAcl) error
func (*StorageBucketAcl) SetLifecycle ¶ added in v1.10.0
func (o *StorageBucketAcl) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*StorageBucketAcl) SetName ¶ added in v1.10.0
func (o *StorageBucketAcl) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*StorageBucketAcl) String ¶ added in v1.10.0
func (o *StorageBucketAcl) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*StorageBucketAcl) UnmarshalJSON ¶ added in v1.10.0
func (o *StorageBucketAcl) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type StorageBucketIam ¶ added in v1.10.0
type StorageBucketIam struct { Name *string Lifecycle *fi.Lifecycle Bucket *string Entity *string Role *string }
StorageBucketIam represents an IAM policy on a google cloud storage bucket
func (*StorageBucketIam) CheckChanges ¶ added in v1.10.0
func (_ *StorageBucketIam) CheckChanges(a, e, changes *StorageBucketIam) error
func (*StorageBucketIam) CompareWithID ¶ added in v1.10.0
func (e *StorageBucketIam) CompareWithID() *string
func (*StorageBucketIam) Find ¶ added in v1.10.0
func (e *StorageBucketIam) Find(c *fi.Context) (*StorageBucketIam, error)
func (*StorageBucketIam) GetLifecycle ¶ added in v1.10.0
func (o *StorageBucketIam) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*StorageBucketIam) GetName ¶ added in v1.10.0
func (o *StorageBucketIam) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*StorageBucketIam) RenderGCE ¶ added in v1.10.0
func (_ *StorageBucketIam) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageBucketIam) error
func (*StorageBucketIam) RenderTerraform ¶ added in v1.10.0
func (_ *StorageBucketIam) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketIam) error
func (*StorageBucketIam) SetLifecycle ¶ added in v1.10.0
func (o *StorageBucketIam) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*StorageBucketIam) SetName ¶ added in v1.10.0
func (o *StorageBucketIam) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*StorageBucketIam) String ¶ added in v1.10.0
func (o *StorageBucketIam) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*StorageBucketIam) UnmarshalJSON ¶ added in v1.10.0
func (o *StorageBucketIam) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type StorageObjectAcl ¶ added in v1.10.0
type StorageObjectAcl struct { Name *string Lifecycle *fi.Lifecycle Bucket *string Object *string Entity *string Role *string }
StorageObjectAcl represents an ACL rule on a google cloud storage object
func (*StorageObjectAcl) CheckChanges ¶ added in v1.10.0
func (_ *StorageObjectAcl) CheckChanges(a, e, changes *StorageObjectAcl) error
func (*StorageObjectAcl) CompareWithID ¶ added in v1.10.0
func (e *StorageObjectAcl) CompareWithID() *string
func (*StorageObjectAcl) Find ¶ added in v1.10.0
func (e *StorageObjectAcl) Find(c *fi.Context) (*StorageObjectAcl, error)
func (*StorageObjectAcl) GetLifecycle ¶ added in v1.10.0
func (o *StorageObjectAcl) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*StorageObjectAcl) GetName ¶ added in v1.10.0
func (o *StorageObjectAcl) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*StorageObjectAcl) RenderGCE ¶ added in v1.10.0
func (_ *StorageObjectAcl) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageObjectAcl) error
func (*StorageObjectAcl) RenderTerraform ¶ added in v1.10.0
func (_ *StorageObjectAcl) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageObjectAcl) error
func (*StorageObjectAcl) SetLifecycle ¶ added in v1.10.0
func (o *StorageObjectAcl) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*StorageObjectAcl) SetName ¶ added in v1.10.0
func (o *StorageObjectAcl) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*StorageObjectAcl) String ¶ added in v1.10.0
func (o *StorageObjectAcl) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*StorageObjectAcl) UnmarshalJSON ¶ added in v1.10.0
func (o *StorageObjectAcl) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type Subnet ¶
type Subnet struct { Name *string Lifecycle *fi.Lifecycle Network *Network Region *string CIDR *string }
func (*Subnet) CheckChanges ¶
func (*Subnet) CompareWithID ¶
func (*Subnet) GetLifecycle ¶ added in v1.10.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Subnet) RenderGCE ¶
func (_ *Subnet) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Subnet) error
func (*Subnet) RenderSubnet ¶
func (_ *Subnet) RenderSubnet(t *terraform.TerraformTarget, a, e, changes *Subnet) error
func (*Subnet) SetLifecycle ¶ added in v1.10.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Subnet) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Subnet) TerraformName ¶
func (*Subnet) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type TargetPool ¶ added in v1.10.0
TargetPool represents a GCE TargetPool
func (*TargetPool) CheckChanges ¶ added in v1.10.0
func (_ *TargetPool) CheckChanges(a, e, changes *TargetPool) error
func (*TargetPool) CompareWithID ¶ added in v1.10.0
func (e *TargetPool) CompareWithID() *string
func (*TargetPool) Find ¶ added in v1.10.0
func (e *TargetPool) Find(c *fi.Context) (*TargetPool, error)
func (*TargetPool) GetLifecycle ¶ added in v1.10.0
func (o *TargetPool) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*TargetPool) GetName ¶ added in v1.10.0
func (o *TargetPool) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*TargetPool) RenderGCE ¶ added in v1.10.0
func (_ *TargetPool) RenderGCE(t *gce.GCEAPITarget, a, e, changes *TargetPool) error
func (*TargetPool) RenderTerraform ¶ added in v1.10.0
func (_ *TargetPool) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *TargetPool) error
func (*TargetPool) SetLifecycle ¶ added in v1.10.0
func (o *TargetPool) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*TargetPool) SetName ¶ added in v1.10.0
func (o *TargetPool) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*TargetPool) String ¶ added in v1.10.0
func (o *TargetPool) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*TargetPool) TerraformLink ¶ added in v1.10.0
func (e *TargetPool) TerraformLink() *terraform.Literal
func (*TargetPool) UnmarshalJSON ¶ added in v1.10.0
func (o *TargetPool) UnmarshalJSON(data []byte) error
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
Source Files ¶
- address.go
- address_fitask.go
- convenience.go
- disk.go
- disk_fitask.go
- firewallrule.go
- firewallrule_fitask.go
- forwardingrule.go
- forwardingrule_fitask.go
- instance.go
- instance_fitask.go
- instancegroupmanager.go
- instancegroupmanager_fitask.go
- instancetemplate.go
- instancetemplate_fitask.go
- network.go
- network_fitask.go
- storagebucketacl.go
- storagebucketacl_fitask.go
- storagebucketiam.go
- storagebucketiam_fitask.go
- storageobjectacl.go
- storageobjectacl_fitask.go
- subnet.go
- subnet_fitask.go
- targetpool.go
- targetpool_fitask.go