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 AcceleratorConfig
- type Address
- func (_ *Address) CheckChanges(a, e, changes *Address) error
- func (e *Address) CompareWithID() *string
- func (e *Address) Find(c *fi.CloudupContext) (*Address, error)
- func (e *Address) FindAddresses(context *fi.CloudupContext) ([]string, error)
- func (o *Address) GetLifecycle() fi.Lifecycle
- func (o *Address) GetName() *string
- func (e *Address) IsForAPIServer() bool
- 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.CloudupContext) error
- func (o *Address) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Address) String() string
- func (e *Address) TerraformAddress() *terraformWriter.Literal
- type AddressFamily
- type BackendService
- func (_ *BackendService) CheckChanges(a, e, changes *BackendService) error
- func (e *BackendService) CompareWithID() *string
- func (e *BackendService) Find(c *fi.CloudupContext) (*BackendService, error)
- func (o *BackendService) GetLifecycle() fi.Lifecycle
- func (o *BackendService) GetName() *string
- func (_ *BackendService) RenderGCE(t *gce.GCEAPITarget, a, e, changes *BackendService) error
- func (_ *BackendService) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *BackendService) error
- func (e *BackendService) Run(c *fi.CloudupContext) error
- func (o *BackendService) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *BackendService) String() string
- func (e *BackendService) TerraformAddress() *terraformWriter.Literal
- func (a *BackendService) URL(cloud gce.GCECloud) string
- type ByKey
- type Disk
- func (_ *Disk) CheckChanges(a, e, changes *Disk) error
- func (e *Disk) CompareWithID() *string
- func (e *Disk) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *Disk) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Disk) String() string
- func (e *Disk) URL(project string) string
- type FirewallRule
- func (_ *FirewallRule) CheckChanges(a, e, changes *FirewallRule) error
- func (e *FirewallRule) CompareWithID() *string
- func (e *FirewallRule) Find(c *fi.CloudupContext) (*FirewallRule, error)
- func (o *FirewallRule) GetLifecycle() fi.Lifecycle
- func (o *FirewallRule) GetName() *string
- func (e *FirewallRule) Normalize(c *fi.CloudupContext) 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) Run(c *fi.CloudupContext) error
- func (o *FirewallRule) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *FirewallRule) String() string
- type ForwardingRule
- func (_ *ForwardingRule) CheckChanges(a, e, changes *ForwardingRule) error
- func (e *ForwardingRule) CompareWithID() *string
- func (e *ForwardingRule) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *ForwardingRule) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ForwardingRule) String() string
- func (e *ForwardingRule) TerraformLink() *terraformWriter.Literal
- type HTTPHealthcheck
- func (_ *HTTPHealthcheck) CheckChanges(a, e, changes *HTTPHealthcheck) error
- func (e *HTTPHealthcheck) CompareWithID() *string
- func (e *HTTPHealthcheck) Find(c *fi.CloudupContext) (*HTTPHealthcheck, error)
- func (o *HTTPHealthcheck) GetLifecycle() fi.Lifecycle
- func (o *HTTPHealthcheck) GetName() *string
- func (h *HTTPHealthcheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *HTTPHealthcheck) error
- func (_ *HTTPHealthcheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *HTTPHealthcheck) error
- func (e *HTTPHealthcheck) Run(c *fi.CloudupContext) error
- func (o *HTTPHealthcheck) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *HTTPHealthcheck) String() string
- func (e *HTTPHealthcheck) TerraformLink() *terraformWriter.Literal
- type HealthCheck
- func (_ *HealthCheck) CheckChanges(a, e, changes *HealthCheck) error
- func (e *HealthCheck) CompareWithID() *string
- func (e *HealthCheck) Find(c *fi.CloudupContext) (*HealthCheck, error)
- func (o *HealthCheck) GetLifecycle() fi.Lifecycle
- func (o *HealthCheck) GetName() *string
- func (_ *HealthCheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *HealthCheck) error
- func (_ *HealthCheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *HealthCheck) error
- func (e *HealthCheck) Run(c *fi.CloudupContext) error
- func (o *HealthCheck) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *HealthCheck) String() string
- func (e *HealthCheck) TerraformAddress() *terraformWriter.Literal
- func (e *HealthCheck) URL(cloud gce.GCECloud) string
- type Instance
- func (_ *Instance) CheckChanges(a, e, changes *Instance) error
- func (e *Instance) CompareWithID() *string
- func (e *Instance) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *Instance) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Instance) String() string
- type InstanceGroupManager
- func (_ *InstanceGroupManager) CheckChanges(a, e, changes *InstanceGroupManager) error
- func (e *InstanceGroupManager) CompareWithID() *string
- func (e *InstanceGroupManager) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *InstanceGroupManager) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *InstanceGroupManager) String() string
- type InstanceTemplate
- func (_ *InstanceTemplate) CheckChanges(a, e, changes *InstanceTemplate) error
- func (e *InstanceTemplate) CompareWithID() *string
- func (e *InstanceTemplate) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *InstanceTemplate) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *InstanceTemplate) String() string
- func (i *InstanceTemplate) TerraformLink() *terraformWriter.Literal
- func (e *InstanceTemplate) URL(project string) (string, error)
- type Network
- func (_ *Network) CheckChanges(a, e, changes *Network) error
- func (e *Network) CompareWithID() *string
- func (e *Network) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *Network) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Network) String() string
- func (e *Network) TerraformLink() *terraformWriter.Literal
- func (e *Network) URL(project string) string
- type PoolHealthCheck
- func (_ *PoolHealthCheck) CheckChanges(a, e, changes *PoolHealthCheck) error
- func (e *PoolHealthCheck) CompareWithID() *string
- func (e *PoolHealthCheck) Find(c *fi.CloudupContext) (*PoolHealthCheck, error)
- func (_ *PoolHealthCheck) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *PoolHealthCheck) GetLifecycle() fi.Lifecycle
- func (o *PoolHealthCheck) GetName() *string
- func (p *PoolHealthCheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *PoolHealthCheck) error
- func (_ *PoolHealthCheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *PoolHealthCheck) error
- func (e *PoolHealthCheck) Run(c *fi.CloudupContext) error
- func (o *PoolHealthCheck) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *PoolHealthCheck) String() string
- type ProjectIAMBinding
- func (_ *ProjectIAMBinding) CheckChanges(a, e, changes *ProjectIAMBinding) error
- func (e *ProjectIAMBinding) CompareWithID() *string
- func (e *ProjectIAMBinding) Find(c *fi.CloudupContext) (*ProjectIAMBinding, error)
- func (o *ProjectIAMBinding) GetLifecycle() fi.Lifecycle
- func (o *ProjectIAMBinding) GetName() *string
- func (_ *ProjectIAMBinding) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ProjectIAMBinding) error
- func (_ *ProjectIAMBinding) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ProjectIAMBinding) error
- func (e *ProjectIAMBinding) Run(c *fi.CloudupContext) error
- func (o *ProjectIAMBinding) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ProjectIAMBinding) String() string
- type Router
- func (*Router) CheckChanges(a, e, changes *Router) error
- func (r *Router) CompareWithID() *string
- func (r *Router) Find(c *fi.CloudupContext) (*Router, error)
- func (o *Router) GetLifecycle() fi.Lifecycle
- func (o *Router) GetName() *string
- func (*Router) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Router) error
- func (*Router) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Router) error
- func (r *Router) Run(c *fi.CloudupContext) error
- func (o *Router) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Router) String() string
- func (r *Router) TerraformLink() *terraformWriter.Literal
- type ServiceAccount
- func (_ *ServiceAccount) CheckChanges(a, e, changes *ServiceAccount) error
- func (e *ServiceAccount) CompareWithID() *string
- func (e *ServiceAccount) Find(c *fi.CloudupContext) (*ServiceAccount, error)
- func (o *ServiceAccount) GetLifecycle() fi.Lifecycle
- func (o *ServiceAccount) GetName() *string
- func (_ *ServiceAccount) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ServiceAccount) error
- func (_ *ServiceAccount) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ServiceAccount) error
- func (e *ServiceAccount) Run(c *fi.CloudupContext) error
- func (o *ServiceAccount) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ServiceAccount) String() string
- func (e *ServiceAccount) TerraformLink() *terraformWriter.Literal
- type StorageBucketAcl
- func (_ *StorageBucketAcl) CheckChanges(a, e, changes *StorageBucketAcl) error
- func (e *StorageBucketAcl) CompareWithID() *string
- func (e *StorageBucketAcl) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *StorageBucketAcl) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *StorageBucketAcl) String() string
- type StorageBucketIAM
- func (_ *StorageBucketIAM) CheckChanges(a, e, changes *StorageBucketIAM) error
- func (e *StorageBucketIAM) CompareWithID() *string
- func (e *StorageBucketIAM) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *StorageBucketIAM) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *StorageBucketIAM) String() string
- type StorageObjectAcl
- func (_ *StorageObjectAcl) CheckChanges(a, e, changes *StorageObjectAcl) error
- func (e *StorageObjectAcl) CompareWithID() *string
- func (e *StorageObjectAcl) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *StorageObjectAcl) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *StorageObjectAcl) String() string
- type Subnet
- func (_ *Subnet) CheckChanges(a, e, changes *Subnet) error
- func (e *Subnet) CompareWithID() *string
- func (e *Subnet) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Subnet) String() string
- func (e *Subnet) TerraformLink() *terraformWriter.Literal
- func (e *Subnet) URL(project string, region string) string
- type TargetPool
- func (_ *TargetPool) CheckChanges(a, e, changes *TargetPool) error
- func (e *TargetPool) CompareWithID() *string
- func (e *TargetPool) Find(c *fi.CloudupContext) (*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.CloudupContext) error
- func (o *TargetPool) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *TargetPool) String() string
- func (e *TargetPool) TerraformLink() *terraformWriter.Literal
- func (e *TargetPool) URL(cloud gce.GCECloud) string
Constants ¶
const ( // NATIPAllocationOptionAutoOnly is specified when NAT IPs are allocated by Google Cloud. NATIPAllocationOptionAutoOnly = "AUTO_ONLY" // SourceSubnetworkIPRangesAll is specified when all of the IP ranges in every subnetwork are allowed to be NAT-ed. SourceSubnetworkIPRangesAll = "ALL_SUBNETWORKS_ALL_IP_RANGES" // SourceSubnetworkIPRangesSpecificSubnets is specified when we should NAT only specific listed subnets. SourceSubnetworkIPRangesSpecificSubnets = "LIST_OF_SUBNETWORKS" )
const (
// terraform 0.12 with google cloud provider 3.2 will complain if the length of the name_prefix is more than 32
InstanceTemplateNamePrefixMaxLength = 32
)
Variables ¶
This section is empty.
Functions ¶
func BuildImageURL ¶
func BuildMachineTypeURL ¶
Types ¶
type AcceleratorConfig ¶ added in v1.24.0
type AcceleratorConfig struct { AcceleratorCount int64 `json:"acceleratorCount,omitempty"` AcceleratorType string `json:"acceleratorType,omitempty"` }
AcceleratorConfig defines an accelerator config
func (*AcceleratorConfig) GetDependencies ¶ added in v1.24.0
func (a *AcceleratorConfig) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*AcceleratorConfig) ShouldCreate ¶ added in v1.24.0
func (_ *AcceleratorConfig) ShouldCreate(a, e, changes *AcceleratorConfig) (bool, error)
type Address ¶ added in v1.10.0
+kops:fitask
func (*Address) CheckChanges ¶ added in v1.10.0
func (*Address) CompareWithID ¶ added in v1.19.0
func (*Address) Find ¶ added in v1.10.0
func (e *Address) Find(c *fi.CloudupContext) (*Address, error)
func (*Address) FindAddresses ¶ added in v1.24.0
func (e *Address) FindAddresses(context *fi.CloudupContext) ([]string, error)
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) IsForAPIServer ¶ added in v1.19.0
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) 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 (e *Address) TerraformAddress() *terraformWriter.Literal
type AddressFamily ¶ added in v1.27.0
type AddressFamily string
const AddressFamilyIPv4 AddressFamily = "ipv4"
const AddressFamilyIPv6 AddressFamily = "ipv6"
type BackendService ¶ added in v1.24.0
type BackendService struct { Name *string HealthChecks []*HealthCheck LoadBalancingScheme *string Protocol *string InstanceGroupManagers []*InstanceGroupManager Lifecycle fi.Lifecycle ForAPIServer bool }
BackendService represents a GCE's backend service type, part of a load balancer. +kops:fitask
func (*BackendService) CheckChanges ¶ added in v1.24.0
func (_ *BackendService) CheckChanges(a, e, changes *BackendService) error
func (*BackendService) CompareWithID ¶ added in v1.24.0
func (e *BackendService) CompareWithID() *string
func (*BackendService) Find ¶ added in v1.24.0
func (e *BackendService) Find(c *fi.CloudupContext) (*BackendService, error)
func (*BackendService) GetLifecycle ¶ added in v1.24.0
func (o *BackendService) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*BackendService) GetName ¶ added in v1.24.0
func (o *BackendService) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*BackendService) RenderGCE ¶ added in v1.24.0
func (_ *BackendService) RenderGCE(t *gce.GCEAPITarget, a, e, changes *BackendService) error
func (*BackendService) RenderTerraform ¶ added in v1.24.0
func (_ *BackendService) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *BackendService) error
func (*BackendService) Run ¶ added in v1.24.0
func (e *BackendService) Run(c *fi.CloudupContext) error
func (*BackendService) SetLifecycle ¶ added in v1.24.0
func (o *BackendService) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*BackendService) String ¶ added in v1.24.0
func (o *BackendService) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*BackendService) TerraformAddress ¶ added in v1.24.0
func (e *BackendService) TerraformAddress() *terraformWriter.Literal
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 +kops:fitask
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
type FirewallRule ¶
type FirewallRule struct { Name *string Family AddressFamily Lifecycle fi.Lifecycle Network *Network SourceTags []string SourceRanges []string TargetTags []string Allowed []string // Disabled: Denotes whether the firewall rule is disabled. When set to // true, the firewall rule is not enforced and the network behaves as if // it did not exist. If this is unspecified, the firewall rule will be // enabled. Disabled bool }
FirewallRule represents a GCE firewall rules +kops:fitask
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.CloudupContext) (*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) Normalize ¶ added in v1.26.0
func (e *FirewallRule) Normalize(c *fi.CloudupContext) error
Normalize applies some validation that isn't technically required, but avoids some problems with surprising behaviours.
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) Run ¶
func (e *FirewallRule) Run(c *fi.CloudupContext) 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) String ¶
func (o *FirewallRule) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type ForwardingRule ¶ added in v1.10.0
type ForwardingRule struct { Name *string Lifecycle fi.Lifecycle PortRange *string Ports []string TargetPool *TargetPool // An IP address can be specified either in dotted decimal // or by reference to an address object. The following two // fields are mutually exclusive. IPAddress *Address RuleIPAddress *string IPProtocol string LoadBalancingScheme *string Network *Network Subnetwork *Subnet BackendService *BackendService }
ForwardingRule represents a GCE ForwardingRule +kops:fitask
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.CloudupContext) (*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) Run ¶ added in v1.10.0
func (e *ForwardingRule) Run(c *fi.CloudupContext) 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) 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() *terraformWriter.Literal
type HTTPHealthcheck ¶ added in v1.24.0
type HTTPHealthcheck struct { Name *string Lifecycle fi.Lifecycle SelfLink string Port *int64 RequestPath *string }
HTTPHealthcheck represents a GCE Healthcheck +kops:fitask
func (*HTTPHealthcheck) CheckChanges ¶ added in v1.24.0
func (_ *HTTPHealthcheck) CheckChanges(a, e, changes *HTTPHealthcheck) error
func (*HTTPHealthcheck) CompareWithID ¶ added in v1.24.0
func (e *HTTPHealthcheck) CompareWithID() *string
func (*HTTPHealthcheck) Find ¶ added in v1.24.0
func (e *HTTPHealthcheck) Find(c *fi.CloudupContext) (*HTTPHealthcheck, error)
func (*HTTPHealthcheck) GetLifecycle ¶ added in v1.24.0
func (o *HTTPHealthcheck) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*HTTPHealthcheck) GetName ¶ added in v1.24.0
func (o *HTTPHealthcheck) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*HTTPHealthcheck) RenderGCE ¶ added in v1.24.0
func (h *HTTPHealthcheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *HTTPHealthcheck) error
func (*HTTPHealthcheck) RenderTerraform ¶ added in v1.26.3
func (_ *HTTPHealthcheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *HTTPHealthcheck) error
func (*HTTPHealthcheck) Run ¶ added in v1.24.0
func (e *HTTPHealthcheck) Run(c *fi.CloudupContext) error
func (*HTTPHealthcheck) SetLifecycle ¶ added in v1.24.0
func (o *HTTPHealthcheck) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*HTTPHealthcheck) String ¶ added in v1.24.0
func (o *HTTPHealthcheck) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*HTTPHealthcheck) TerraformLink ¶ added in v1.26.3
func (e *HTTPHealthcheck) TerraformLink() *terraformWriter.Literal
type HealthCheck ¶ added in v1.24.0
+kops:fitask HealthCheck represents a GCE "healthcheck" type - this is the non-deprecated new-style HC, which combines the deprecated HTTPHealthCheck and HTTPSHealthCheck. Those HCs are still needed for some types, so both are implemented in kops, but this one should be preferred when possible.
func (*HealthCheck) CheckChanges ¶ added in v1.24.0
func (_ *HealthCheck) CheckChanges(a, e, changes *HealthCheck) error
func (*HealthCheck) CompareWithID ¶ added in v1.24.0
func (e *HealthCheck) CompareWithID() *string
func (*HealthCheck) Find ¶ added in v1.24.0
func (e *HealthCheck) Find(c *fi.CloudupContext) (*HealthCheck, error)
func (*HealthCheck) GetLifecycle ¶ added in v1.24.0
func (o *HealthCheck) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*HealthCheck) GetName ¶ added in v1.24.0
func (o *HealthCheck) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*HealthCheck) RenderGCE ¶ added in v1.24.0
func (_ *HealthCheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *HealthCheck) error
func (*HealthCheck) RenderTerraform ¶ added in v1.24.0
func (_ *HealthCheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *HealthCheck) error
func (*HealthCheck) Run ¶ added in v1.24.0
func (e *HealthCheck) Run(c *fi.CloudupContext) error
func (*HealthCheck) SetLifecycle ¶ added in v1.24.0
func (o *HealthCheck) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*HealthCheck) String ¶ added in v1.24.0
func (o *HealthCheck) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*HealthCheck) TerraformAddress ¶ added in v1.24.0
func (e *HealthCheck) TerraformAddress() *terraformWriter.Literal
type Instance ¶
type Instance struct { Name *string Lifecycle fi.Lifecycle Network *Network Tags []string Preemptible *bool Image *string Disks map[string]*Disk ServiceAccount *ServiceAccount CanIPForward *bool IPAddress *Address Subnet *Subnet StackType *string Scopes []string Metadata map[string]fi.Resource Zone *string MachineType *string // contains filtered or unexported fields }
+kops:fitask
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
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 }
+kops:fitask
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.CloudupContext) (*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.CloudupContext) 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) 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
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 GCPProvisioningModel *string BootDiskImage *string BootDiskSizeGB *int64 BootDiskType *string CanIPForward *bool Subnet *Subnet AliasIPRanges map[string]string Scopes []string ServiceAccounts []*ServiceAccount Metadata map[string]fi.Resource MachineType *string // HasExternalIP is set to true when an external IP is allocated to an instance. HasExternalIP *bool // StackType indicates the address families supported (IPV4_IPV6 or IPV4_ONLY) StackType *string // ID is the actual name ID *string GuestAccelerators []AcceleratorConfig }
InstanceTemplate represents a GCE InstanceTemplate +kops:fitask
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.CloudupContext) (*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) Run ¶
func (e *InstanceTemplate) Run(c *fi.CloudupContext) 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) 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() *terraformWriter.Literal
type Network ¶
type Network struct { Name *string Project *string Lifecycle fi.Lifecycle Mode string CIDR *string }
+kops:fitask
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) TerraformLink ¶ added in v1.23.0
func (e *Network) TerraformLink() *terraformWriter.Literal
type PoolHealthCheck ¶ added in v1.24.0
type PoolHealthCheck struct { Name *string Lifecycle fi.Lifecycle Healthcheck *HTTPHealthcheck Pool *TargetPool }
PoolHealthCheck represents a GCE target pool HealthCheck +kops:fitask
func (*PoolHealthCheck) CheckChanges ¶ added in v1.24.0
func (_ *PoolHealthCheck) CheckChanges(a, e, changes *PoolHealthCheck) error
func (*PoolHealthCheck) CompareWithID ¶ added in v1.24.0
func (e *PoolHealthCheck) CompareWithID() *string
func (*PoolHealthCheck) Find ¶ added in v1.24.0
func (e *PoolHealthCheck) Find(c *fi.CloudupContext) (*PoolHealthCheck, error)
func (*PoolHealthCheck) GetDependencies ¶ added in v1.24.0
func (_ *PoolHealthCheck) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
GetDependencies returns the dependencies of the PoolHealthCheck task
func (*PoolHealthCheck) GetLifecycle ¶ added in v1.24.0
func (o *PoolHealthCheck) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*PoolHealthCheck) GetName ¶ added in v1.24.0
func (o *PoolHealthCheck) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*PoolHealthCheck) RenderGCE ¶ added in v1.24.0
func (p *PoolHealthCheck) RenderGCE(t *gce.GCEAPITarget, a, e, changes *PoolHealthCheck) error
func (*PoolHealthCheck) RenderTerraform ¶ added in v1.26.3
func (_ *PoolHealthCheck) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *PoolHealthCheck) error
func (*PoolHealthCheck) Run ¶ added in v1.24.0
func (e *PoolHealthCheck) Run(c *fi.CloudupContext) error
func (*PoolHealthCheck) SetLifecycle ¶ added in v1.24.0
func (o *PoolHealthCheck) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*PoolHealthCheck) String ¶ added in v1.24.0
func (o *PoolHealthCheck) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type ProjectIAMBinding ¶ added in v1.24.0
type ProjectIAMBinding struct { Name *string Lifecycle fi.Lifecycle Project *string Member *string Role *string }
ProjectIAMBinding represents an IAM rule on a project +kops:fitask
func (*ProjectIAMBinding) CheckChanges ¶ added in v1.24.0
func (_ *ProjectIAMBinding) CheckChanges(a, e, changes *ProjectIAMBinding) error
func (*ProjectIAMBinding) CompareWithID ¶ added in v1.24.0
func (e *ProjectIAMBinding) CompareWithID() *string
func (*ProjectIAMBinding) Find ¶ added in v1.24.0
func (e *ProjectIAMBinding) Find(c *fi.CloudupContext) (*ProjectIAMBinding, error)
func (*ProjectIAMBinding) GetLifecycle ¶ added in v1.24.0
func (o *ProjectIAMBinding) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ProjectIAMBinding) GetName ¶ added in v1.24.0
func (o *ProjectIAMBinding) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ProjectIAMBinding) RenderGCE ¶ added in v1.24.0
func (_ *ProjectIAMBinding) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ProjectIAMBinding) error
func (*ProjectIAMBinding) RenderTerraform ¶ added in v1.24.0
func (_ *ProjectIAMBinding) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ProjectIAMBinding) error
func (*ProjectIAMBinding) Run ¶ added in v1.24.0
func (e *ProjectIAMBinding) Run(c *fi.CloudupContext) error
func (*ProjectIAMBinding) SetLifecycle ¶ added in v1.24.0
func (o *ProjectIAMBinding) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ProjectIAMBinding) String ¶ added in v1.24.0
func (o *ProjectIAMBinding) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Router ¶ added in v1.21.0
type Router struct { Name *string Lifecycle fi.Lifecycle Network *Network Region *string NATIPAllocationOption *string SourceSubnetworkIPRangesToNAT *string Subnetworks []*Subnet }
Router is a Router task. +kops:fitask
func (*Router) CheckChanges ¶ added in v1.21.0
CheckChanges returns an error if a change is not allowed.
func (*Router) CompareWithID ¶ added in v1.21.0
CompareWithID returns the name of the Router.
func (*Router) Find ¶ added in v1.21.0
func (r *Router) Find(c *fi.CloudupContext) (*Router, error)
Find discovers the Router in the cloud provider.
func (*Router) GetLifecycle ¶ added in v1.21.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Router) GetName ¶ added in v1.21.0
GetName returns the Name of the object, implementing fi.HasName
func (*Router) RenderGCE ¶ added in v1.21.0
func (*Router) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Router) error
RenderGCE creates or updates a Router.
func (*Router) RenderTerraform ¶ added in v1.21.0
func (*Router) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Router) error
RenderTerraform renders the Terraform config.
func (*Router) Run ¶ added in v1.21.0
func (r *Router) Run(c *fi.CloudupContext) error
Run implements fi.Task.Run.
func (*Router) SetLifecycle ¶ added in v1.21.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Router) String ¶ added in v1.21.0
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Router) TerraformLink ¶ added in v1.23.0
func (r *Router) TerraformLink() *terraformWriter.Literal
TerraformLink returns an expression for the name.
type ServiceAccount ¶ added in v1.24.0
type ServiceAccount struct { Name *string Lifecycle fi.Lifecycle Email *string Description *string DisplayName *string }
+kops:fitask
func (*ServiceAccount) CheckChanges ¶ added in v1.24.0
func (_ *ServiceAccount) CheckChanges(a, e, changes *ServiceAccount) error
func (*ServiceAccount) CompareWithID ¶ added in v1.24.0
func (e *ServiceAccount) CompareWithID() *string
func (*ServiceAccount) Find ¶ added in v1.24.0
func (e *ServiceAccount) Find(c *fi.CloudupContext) (*ServiceAccount, error)
func (*ServiceAccount) GetLifecycle ¶ added in v1.24.0
func (o *ServiceAccount) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ServiceAccount) GetName ¶ added in v1.24.0
func (o *ServiceAccount) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ServiceAccount) RenderGCE ¶ added in v1.24.0
func (_ *ServiceAccount) RenderGCE(t *gce.GCEAPITarget, a, e, changes *ServiceAccount) error
func (*ServiceAccount) RenderTerraform ¶ added in v1.24.0
func (_ *ServiceAccount) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ServiceAccount) error
func (*ServiceAccount) Run ¶ added in v1.24.0
func (e *ServiceAccount) Run(c *fi.CloudupContext) error
func (*ServiceAccount) SetLifecycle ¶ added in v1.24.0
func (o *ServiceAccount) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ServiceAccount) String ¶ added in v1.24.0
func (o *ServiceAccount) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*ServiceAccount) TerraformLink ¶ added in v1.24.0
func (e *ServiceAccount) TerraformLink() *terraformWriter.Literal
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 +kops:fitask
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.CloudupContext) (*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) Run ¶ added in v1.10.0
func (e *StorageBucketAcl) Run(c *fi.CloudupContext) 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) 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
type StorageBucketIAM ¶ added in v1.24.0
type StorageBucketIAM struct { Name *string Lifecycle fi.Lifecycle Bucket *string Member *string Role *string }
StorageBucketIAM represents an IAM rule on a google cloud storage bucket +kops:fitask
func (*StorageBucketIAM) CheckChanges ¶ added in v1.24.0
func (_ *StorageBucketIAM) CheckChanges(a, e, changes *StorageBucketIAM) error
func (*StorageBucketIAM) CompareWithID ¶ added in v1.24.0
func (e *StorageBucketIAM) CompareWithID() *string
func (*StorageBucketIAM) Find ¶ added in v1.24.0
func (e *StorageBucketIAM) Find(c *fi.CloudupContext) (*StorageBucketIAM, error)
func (*StorageBucketIAM) GetLifecycle ¶ added in v1.24.0
func (o *StorageBucketIAM) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*StorageBucketIAM) GetName ¶ added in v1.24.0
func (o *StorageBucketIAM) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*StorageBucketIAM) RenderGCE ¶ added in v1.24.0
func (_ *StorageBucketIAM) RenderGCE(t *gce.GCEAPITarget, a, e, changes *StorageBucketIAM) error
func (*StorageBucketIAM) RenderTerraform ¶ added in v1.24.0
func (_ *StorageBucketIAM) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketIAM) error
func (*StorageBucketIAM) Run ¶ added in v1.24.0
func (e *StorageBucketIAM) Run(c *fi.CloudupContext) error
func (*StorageBucketIAM) SetLifecycle ¶ added in v1.24.0
func (o *StorageBucketIAM) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*StorageBucketIAM) String ¶ added in v1.24.0
func (o *StorageBucketIAM) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
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 +kops:fitask
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.CloudupContext) (*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) Run ¶ added in v1.10.0
func (e *StorageObjectAcl) Run(c *fi.CloudupContext) 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) 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
type Subnet ¶
type Subnet struct { Name *string Lifecycle fi.Lifecycle Network *Network Region *string CIDR *string // StackType indicates the address families supported (IPV4_IPV6 or IPV4_ONLY) StackType *string // Ipv6AccessType indicates whether the IPv6 addresses are accessible externally Ipv6AccessType *string SecondaryIpRanges map[string]string }
+kops:fitask
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) TerraformLink ¶ added in v1.23.0
func (e *Subnet) TerraformLink() *terraformWriter.Literal
type TargetPool ¶ added in v1.10.0
type TargetPool struct { Name *string HealthCheck *HTTPHealthcheck Lifecycle fi.Lifecycle }
TargetPool represents a GCE TargetPool +kops:fitask
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.CloudupContext) (*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) Run ¶ added in v1.10.0
func (e *TargetPool) Run(c *fi.CloudupContext) 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) 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() *terraformWriter.Literal
Source Files ¶
- accelerator_config.go
- address.go
- address_fitask.go
- backend_service.go
- backendservice_fitask.go
- convenience.go
- disk.go
- disk_fitask.go
- firewallrule.go
- firewallrule_fitask.go
- forwardingrule.go
- forwardingrule_fitask.go
- healthcheck.go
- healthcheck_fitask.go
- httphealthcheck.go
- httphealthcheck_fitask.go
- instance.go
- instance_fitask.go
- instancegroupmanager.go
- instancegroupmanager_fitask.go
- instancetemplate.go
- instancetemplate_fitask.go
- network.go
- network_fitask.go
- poolhealthcheck.go
- poolhealthcheck_fitask.go
- projectiambinding.go
- projectiambinding_fitask.go
- router.go
- router_fitask.go
- serviceaccount.go
- serviceaccount_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