Documentation ¶
Index ¶
- func NewGCPEnvDataSource() datasource.DataSource
- func NewGCPEnvResource() resource.Resource
- type GCPEnvDataSource
- func (d *GCPEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GCPEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GCPEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GCPEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GCPEnvResource
- func (r *GCPEnvResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *GCPEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *GCPEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *GCPEnvResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *GCPEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r GCPEnvResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *GCPEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *GCPEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *GCPEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GCPEnvResourceModel
- type InternalLoadBalancerModel
- type LoadBalancersModel
- type PublicLoadBalancerModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCPEnvDataSource ¶ added in v0.2.0
func NewGCPEnvDataSource() datasource.DataSource
func NewGCPEnvResource ¶
Types ¶
type GCPEnvDataSource ¶
type GCPEnvDataSource struct {
// contains filtered or unexported fields
}
func (*GCPEnvDataSource) Configure ¶
func (d *GCPEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GCPEnvDataSource) Metadata ¶
func (d *GCPEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GCPEnvDataSource) Read ¶
func (d *GCPEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GCPEnvDataSource) Schema ¶
func (d *GCPEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GCPEnvResource ¶
type GCPEnvResource struct {
// contains filtered or unexported fields
}
func (*GCPEnvResource) Configure ¶
func (r *GCPEnvResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*GCPEnvResource) Create ¶
func (r *GCPEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*GCPEnvResource) Delete ¶
func (r *GCPEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*GCPEnvResource) ImportState ¶
func (r *GCPEnvResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*GCPEnvResource) Metadata ¶
func (r *GCPEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (GCPEnvResource) ModifyPlan ¶
func (r GCPEnvResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*GCPEnvResource) Read ¶
func (r *GCPEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*GCPEnvResource) Schema ¶
func (r *GCPEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*GCPEnvResource) Update ¶
func (r *GCPEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GCPEnvResourceModel ¶
type GCPEnvResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` CustomDomain types.String `tfsdk:"custom_domain"` NodeGroups []common.NodeGroupsModel `tfsdk:"node_groups"` NumberOfZones types.Int64 `tfsdk:"number_of_zones"` Region types.String `tfsdk:"region"` CIDR types.String `tfsdk:"cidr"` GCPProjectID types.String `tfsdk:"gcp_project_id"` Zones types.List `tfsdk:"zones"` LoadBalancers *LoadBalancersModel `tfsdk:"load_balancers"` LoadBalancingStrategy types.String `tfsdk:"load_balancing_strategy"` MaintenanceWindows []common.MaintenanceWindowModel `tfsdk:"maintenance_windows"` SpecRevision types.Int64 `tfsdk:"spec_revision"` ForceDestroy types.Bool `tfsdk:"force_destroy"` ForceDestroyClusters types.Bool `tfsdk:"force_destroy_clusters"` SkipDeprovisionOnDestroy types.Bool `tfsdk:"skip_deprovision_on_destroy"` }
type LoadBalancersModel ¶
type LoadBalancersModel struct { Public *PublicLoadBalancerModel `tfsdk:"public"` Internal *InternalLoadBalancerModel `tfsdk:"internal"` }
Click to show internal directories.
Click to hide internal directories.