Documentation ¶
Index ¶
- func BuildImageURL(defaultProject, nameSpec string) string
- func BuildInstanceTemplateURL(project, name string) string
- func BuildMachineTypeURL(project, zone, name string) string
- func ShortenImageURL(defaultProject string, imageURL string) (string, 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 (e *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 (e *FirewallRule) SetName(name string)
- func (e *FirewallRule) String() string
- func (o *FirewallRule) UnmarshalJSON(data []byte) error
- type IPAddress
- func (_ *IPAddress) CheckChanges(a, e, changes *IPAddress) error
- func (e *IPAddress) Find(c *fi.Context) (*IPAddress, error)
- func (e *IPAddress) FindAddress(context *fi.Context) (*string, error)
- func (e *IPAddress) GetName() *string
- func (_ *IPAddress) RenderGCE(t *gce.GCEAPITarget, a, e, changes *IPAddress) error
- func (_ *IPAddress) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IPAddress) error
- func (e *IPAddress) Run(c *fi.Context) error
- func (e *IPAddress) SetName(name string)
- func (e *IPAddress) String() string
- func (o *IPAddress) 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 (e *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 (e *Instance) SetName(name string)
- func (e *Instance) String() string
- func (o *Instance) 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 (e *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 (e *InstanceTemplate) SetName(name string)
- func (e *InstanceTemplate) String() string
- func (i *InstanceTemplate) TerraformLink() *terraform.Literal
- func (o *InstanceTemplate) UnmarshalJSON(data []byte) error
- type ManagedInstanceGroup
- func (_ *ManagedInstanceGroup) CheckChanges(a, e, changes *ManagedInstanceGroup) error
- func (e *ManagedInstanceGroup) CompareWithID() *string
- func (e *ManagedInstanceGroup) Find(c *fi.Context) (*ManagedInstanceGroup, error)
- func (e *ManagedInstanceGroup) GetName() *string
- func (_ *ManagedInstanceGroup) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ManagedInstanceGroup) error
- func (_ *ManagedInstanceGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ManagedInstanceGroup) error
- func (e *ManagedInstanceGroup) Run(c *fi.Context) error
- func (e *ManagedInstanceGroup) SetName(name string)
- func (e *ManagedInstanceGroup) String() string
- func (o *ManagedInstanceGroup) 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 (e *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 (e *Network) SetName(name string)
- func (e *Network) String() string
- func (i *Network) TerraformName() *terraform.Literal
- func (e *Network) URL(project string) string
- func (o *Network) UnmarshalJSON(data []byte) error
- type PersistentDisk
- func (_ *PersistentDisk) CheckChanges(a, e, changes *PersistentDisk) error
- func (e *PersistentDisk) CompareWithID() *string
- func (e *PersistentDisk) Find(c *fi.Context) (*PersistentDisk, error)
- func (e *PersistentDisk) GetName() *string
- func (_ *PersistentDisk) RenderGCE(t *gce.GCEAPITarget, a, e, changes *PersistentDisk) error
- func (_ *PersistentDisk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *PersistentDisk) error
- func (e *PersistentDisk) Run(c *fi.Context) error
- func (e *PersistentDisk) SetName(name string)
- func (e *PersistentDisk) String() string
- func (e *PersistentDisk) URL(project string) string
- func (o *PersistentDisk) 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 (e *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 (e *Subnet) SetName(name string)
- func (e *Subnet) String() string
- func (i *Subnet) TerraformName() *terraform.Literal
- func (o *Subnet) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImageURL ¶
func BuildMachineTypeURL ¶
Types ¶
type FirewallRule ¶
type FirewallRule struct { Name *string Network *Network SourceTags []string SourceRanges []string TargetTags []string Allowed []string }
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) GetName ¶
func (e *FirewallRule) GetName() *string
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) SetName ¶
func (e *FirewallRule) SetName(name string)
func (*FirewallRule) String ¶
func (e *FirewallRule) String() string
func (*FirewallRule) UnmarshalJSON ¶
func (o *FirewallRule) UnmarshalJSON(data []byte) error
type IPAddress ¶
func (*IPAddress) CheckChanges ¶
func (*IPAddress) FindAddress ¶
func (*IPAddress) RenderGCE ¶
func (_ *IPAddress) RenderGCE(t *gce.GCEAPITarget, a, e, changes *IPAddress) error
func (*IPAddress) RenderTerraform ¶
func (_ *IPAddress) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IPAddress) error
func (*IPAddress) UnmarshalJSON ¶
type Instance ¶
type Instance struct { Name *string Network *Network Tags []string Preemptible *bool Image *string Disks map[string]*PersistentDisk CanIPForward *bool IPAddress *IPAddress 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) 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) UnmarshalJSON ¶
type InstanceTemplate ¶
type InstanceTemplate struct { Name *string Network *Network Tags []string Preemptible *bool BootDiskImage *string BootDiskSizeGB *int64 BootDiskType *string CanIPForward *bool Subnet *Subnet Scopes []string Metadata map[string]fi.Resource MachineType *string }
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) GetName ¶
func (e *InstanceTemplate) GetName() *string
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) SetName ¶
func (e *InstanceTemplate) SetName(name string)
func (*InstanceTemplate) String ¶
func (e *InstanceTemplate) String() string
func (*InstanceTemplate) TerraformLink ¶
func (i *InstanceTemplate) TerraformLink() *terraform.Literal
func (*InstanceTemplate) UnmarshalJSON ¶
func (o *InstanceTemplate) UnmarshalJSON(data []byte) error
type ManagedInstanceGroup ¶
type ManagedInstanceGroup struct { Name *string Zone *string BaseInstanceName *string InstanceTemplate *InstanceTemplate TargetSize *int64 }
func (*ManagedInstanceGroup) CheckChanges ¶
func (_ *ManagedInstanceGroup) CheckChanges(a, e, changes *ManagedInstanceGroup) error
func (*ManagedInstanceGroup) CompareWithID ¶
func (e *ManagedInstanceGroup) CompareWithID() *string
func (*ManagedInstanceGroup) Find ¶
func (e *ManagedInstanceGroup) Find(c *fi.Context) (*ManagedInstanceGroup, error)
func (*ManagedInstanceGroup) GetName ¶
func (e *ManagedInstanceGroup) GetName() *string
func (*ManagedInstanceGroup) RenderGCE ¶
func (_ *ManagedInstanceGroup) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ManagedInstanceGroup) error
func (*ManagedInstanceGroup) RenderTerraform ¶
func (_ *ManagedInstanceGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ManagedInstanceGroup) error
func (*ManagedInstanceGroup) SetName ¶
func (e *ManagedInstanceGroup) SetName(name string)
func (*ManagedInstanceGroup) String ¶
func (e *ManagedInstanceGroup) String() string
func (*ManagedInstanceGroup) UnmarshalJSON ¶
func (o *ManagedInstanceGroup) UnmarshalJSON(data []byte) error
type Network ¶
func (*Network) CheckChanges ¶
func (*Network) CompareWithID ¶
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) TerraformName ¶
func (*Network) UnmarshalJSON ¶
type PersistentDisk ¶
func (*PersistentDisk) CheckChanges ¶
func (_ *PersistentDisk) CheckChanges(a, e, changes *PersistentDisk) error
func (*PersistentDisk) CompareWithID ¶
func (e *PersistentDisk) CompareWithID() *string
func (*PersistentDisk) Find ¶
func (e *PersistentDisk) Find(c *fi.Context) (*PersistentDisk, error)
func (*PersistentDisk) GetName ¶
func (e *PersistentDisk) GetName() *string
func (*PersistentDisk) RenderGCE ¶
func (_ *PersistentDisk) RenderGCE(t *gce.GCEAPITarget, a, e, changes *PersistentDisk) error
func (*PersistentDisk) RenderTerraform ¶
func (_ *PersistentDisk) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *PersistentDisk) error
func (*PersistentDisk) SetName ¶
func (e *PersistentDisk) SetName(name string)
func (*PersistentDisk) String ¶
func (e *PersistentDisk) String() string
func (*PersistentDisk) URL ¶
func (e *PersistentDisk) URL(project string) string
func (*PersistentDisk) UnmarshalJSON ¶
func (o *PersistentDisk) UnmarshalJSON(data []byte) error
type Subnet ¶
func (*Subnet) CheckChanges ¶
func (*Subnet) CompareWithID ¶
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) TerraformName ¶
func (*Subnet) UnmarshalJSON ¶
Source Files ¶
- firewall_rule.go
- firewallrule_fitask.go
- instance.go
- instance_fitask.go
- instancetemplate.go
- instancetemplate_fitask.go
- ipaddress.go
- ipaddress_fitask.go
- managedinstancegroup.go
- managedinstancegroup_fitask.go
- network.go
- network_fitask.go
- persistentdisk.go
- persistentdisk_fitask.go
- subnet.go
- subnet_fitask.go
Click to show internal directories.
Click to hide internal directories.