Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataNamedPortAttributes
- func (np DataNamedPortAttributes) InternalRef() (terra.Reference, error)
- func (np DataNamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np DataNamedPortAttributes) InternalWithRef(ref terra.Reference) DataNamedPortAttributes
- func (np DataNamedPortAttributes) Name() terra.StringValue
- func (np DataNamedPortAttributes) Port() terra.NumberValue
- type DataNamedPortState
- type DataSource
- type NamedPort
- type NamedPortAttributes
- func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
- func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
- func (np NamedPortAttributes) Name() terra.StringValue
- func (np NamedPortAttributes) Port() terra.NumberValue
- type NamedPortState
- type Resource
- func (gcig *Resource) Attributes() googleComputeInstanceGroupAttributes
- func (gcig *Resource) Configuration() interface{}
- func (gcig *Resource) DependOn() terra.Reference
- func (gcig *Resource) Dependencies() terra.Dependencies
- func (gcig *Resource) ImportState(state io.Reader) error
- func (gcig *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcig *Resource) LocalName() string
- func (gcig *Resource) State() (*googleComputeInstanceGroupState, bool)
- func (gcig *Resource) StateMust() *googleComputeInstanceGroupState
- func (gcig *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Instances: set of string, optional Instances terra.SetValue[terra.StringValue] `hcl:"instances,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Network: string, optional Network terra.StringValue `hcl:"network,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // NamedPort: min=0 NamedPort []NamedPort `hcl:"named_port,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_instance_group.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SelfLink: string, optional SelfLink terra.StringValue `hcl:"self_link,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` }
DataArgs contains the configurations for google_compute_instance_group.
type DataNamedPortAttributes ¶
type DataNamedPortAttributes struct {
// contains filtered or unexported fields
}
func (DataNamedPortAttributes) InternalRef ¶
func (np DataNamedPortAttributes) InternalRef() (terra.Reference, error)
func (DataNamedPortAttributes) InternalTokens ¶
func (np DataNamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNamedPortAttributes) InternalWithRef ¶
func (np DataNamedPortAttributes) InternalWithRef(ref terra.Reference) DataNamedPortAttributes
func (DataNamedPortAttributes) Name ¶
func (np DataNamedPortAttributes) Name() terra.StringValue
func (DataNamedPortAttributes) Port ¶
func (np DataNamedPortAttributes) Port() terra.NumberValue
type DataNamedPortState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_compute_instance_group.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcig *DataSource) Attributes() dataGoogleComputeInstanceGroupAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcig *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcig *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcig *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type NamedPort ¶
type NamedPort struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` }
type NamedPortAttributes ¶
type NamedPortAttributes struct {
// contains filtered or unexported fields
}
func (NamedPortAttributes) InternalRef ¶
func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
func (NamedPortAttributes) InternalTokens ¶
func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NamedPortAttributes) InternalWithRef ¶
func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
func (NamedPortAttributes) Name ¶
func (np NamedPortAttributes) Name() terra.StringValue
func (NamedPortAttributes) Port ¶
func (np NamedPortAttributes) Port() terra.NumberValue
type NamedPortState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_compute_instance_group.
func (*Resource) Attributes ¶
func (gcig *Resource) Attributes() googleComputeInstanceGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcig *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcig *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue