Documentation ¶
Index ¶
- func NewK8SEnvDataSource() datasource.DataSource
- func NewK8SEnvResource() resource.Resource
- type GCSStorageModel
- type InternalLoadBalancerModel
- type K8SEnvDataSource
- func (d *K8SEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *K8SEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *K8SEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *K8SEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type K8SEnvResource
- func (r *K8SEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *K8SEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *K8SEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *K8SEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *K8SEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *K8SEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type K8SEnvResourceModel
- type LoadBalancersModel
- type LogsModel
- type MetricsModel
- type NodeGroupsModel
- type NodeTypeModel
- type PublicLoadBalancerModel
- type S3StorageModel
- type StorageModel
- type TolerationModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewK8SEnvDataSource ¶ added in v0.2.0
func NewK8SEnvDataSource() datasource.DataSource
func NewK8SEnvResource ¶
Types ¶
type GCSStorageModel ¶
type K8SEnvDataSource ¶
type K8SEnvDataSource struct {
// contains filtered or unexported fields
}
func (*K8SEnvDataSource) Configure ¶
func (d *K8SEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*K8SEnvDataSource) Metadata ¶
func (d *K8SEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*K8SEnvDataSource) Read ¶
func (d *K8SEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*K8SEnvDataSource) Schema ¶
func (d *K8SEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type K8SEnvResource ¶
type K8SEnvResource struct {
common.EnvResourceBase
}
func (*K8SEnvResource) Create ¶
func (r *K8SEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*K8SEnvResource) Delete ¶
func (r *K8SEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*K8SEnvResource) Metadata ¶
func (r *K8SEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*K8SEnvResource) Read ¶
func (r *K8SEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*K8SEnvResource) Schema ¶
func (r *K8SEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*K8SEnvResource) Update ¶
func (r *K8SEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type K8SEnvResourceModel ¶
type K8SEnvResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` CustomDomain types.String `tfsdk:"custom_domain"` LoadBalancers *LoadBalancersModel `tfsdk:"load_balancers"` LoadBalancingStrategy types.String `tfsdk:"load_balancing_strategy"` Distribution types.String `tfsdk:"distribution"` NodeGroups []NodeGroupsModel `tfsdk:"node_groups"` CustomNodeTypes []NodeTypeModel `tfsdk:"custom_node_types"` Logs *LogsModel `tfsdk:"logs"` Metrics *MetricsModel `tfsdk:"metrics"` 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"` }
type LogsModel ¶
type LogsModel struct {
Storage StorageModel `tfsdk:"storage"`
}
type MetricsModel ¶
type NodeGroupsModel ¶
type NodeGroupsModel struct { Name types.String `tfsdk:"name"` NodeType types.String `tfsdk:"node_type"` CapacityPerZone types.Int64 `tfsdk:"capacity_per_zone"` Reservations types.Set `tfsdk:"reservations"` Zones types.List `tfsdk:"zones"` Tolerations []TolerationModel `tfsdk:"tolerations"` NodeSelector []common.KeyValueModel `tfsdk:"selector"` }
type NodeTypeModel ¶
type PublicLoadBalancerModel ¶
type S3StorageModel ¶
type StorageModel ¶
type StorageModel struct { S3 *S3StorageModel `tfsdk:"s3"` GCS *GCSStorageModel `tfsdk:"gcs"` }
Click to show internal directories.
Click to hide internal directories.