Documentation ¶
Index ¶
- func DataSourceKubernetesCluster() *schema.Resource
- func DataSourceKubernetesClusterTemplate() *schema.Resource
- func NewAddonDatasource() datasource.DataSource
- func NewAddonResource() resource.Resource
- func NewAddonsDatasource() datasource.DataSource
- func NewClusterTemplatesDataSource() datasource.DataSource
- func NewNodeGroupDataSource() datasource.DataSource
- func NewSecurityPolicyResource() resource.Resource
- func NewSecurityPolicyTemplateDataSource() datasource.DataSource
- func NewSecurityPolicyTemplatesDataSource() datasource.DataSource
- func ResourceKubernetesCluster() *schema.Resource
- func ResourceKubernetesNodeGroup() *schema.Resource
- type AddonDataSource
- func (d *AddonDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AddonDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AddonDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AddonDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AddonDataSourceModel
- type AddonModel
- type AddonResource
- func (r *AddonResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AddonResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AddonResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AddonResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AddonResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AddonResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *AddonResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AddonResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AddonResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AddonResourceModel
- type AddonsDataSource
- func (d *AddonsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AddonsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AddonsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AddonsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AddonsDataSourceModel
- type ClusterTemplateModel
- type ClusterTemplatesDataSource
- func (d *ClusterTemplatesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ClusterTemplatesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ClusterTemplatesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ClusterTemplatesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ClusterTemplatesDataSourceModel
- type NodeGroupDataSource
- func (d *NodeGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *NodeGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *NodeGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NodeGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type NodeGroupDataSourceModel
- type NodeGroupNodeModel
- type SecurityPolicyResource
- func (r *SecurityPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SecurityPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SecurityPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SecurityPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SecurityPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SecurityPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SecurityPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SecurityPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SecurityPolicyResourceModel
- type SecurityPolicyTemplateDataSource
- func (d *SecurityPolicyTemplateDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SecurityPolicyTemplateDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SecurityPolicyTemplateDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SecurityPolicyTemplateDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SecurityPolicyTemplateDataSourceModel
- type SecurityPolicyTemplateModel
- type SecurityPolicyTemplatesDataSource
- func (d *SecurityPolicyTemplatesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SecurityPolicyTemplatesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SecurityPolicyTemplatesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SecurityPolicyTemplatesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SecurityPolicyTemplatesDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddonDatasource ¶ added in v0.3.0
func NewAddonDatasource() datasource.DataSource
func NewAddonResource ¶ added in v0.3.0
func NewAddonsDatasource ¶ added in v0.3.0
func NewAddonsDatasource() datasource.DataSource
func NewClusterTemplatesDataSource ¶ added in v0.3.0
func NewClusterTemplatesDataSource() datasource.DataSource
func NewNodeGroupDataSource ¶ added in v0.4.0
func NewNodeGroupDataSource() datasource.DataSource
func NewSecurityPolicyResource ¶ added in v0.7.0
func NewSecurityPolicyTemplateDataSource ¶ added in v0.7.0
func NewSecurityPolicyTemplateDataSource() datasource.DataSource
func NewSecurityPolicyTemplatesDataSource ¶ added in v0.7.0
func NewSecurityPolicyTemplatesDataSource() datasource.DataSource
Types ¶
type AddonDataSource ¶ added in v0.3.0
type AddonDataSource struct {
// contains filtered or unexported fields
}
func (*AddonDataSource) Configure ¶ added in v0.3.0
func (d *AddonDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AddonDataSource) Metadata ¶ added in v0.3.0
func (d *AddonDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AddonDataSource) Read ¶ added in v0.3.0
func (d *AddonDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AddonDataSource) Schema ¶ added in v0.3.0
func (d *AddonDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AddonDataSourceModel ¶ added in v0.3.0
type AddonDataSourceModel struct { ID types.String `tfsdk:"id"` Region types.String `tfsdk:"region"` ClusterID types.String `tfsdk:"cluster_id"` Name types.String `tfsdk:"name"` Version types.String `tfsdk:"version"` ConfigurationValues types.String `tfsdk:"configuration_values"` Installed types.Bool `tfsdk:"installed"` }
type AddonModel ¶ added in v0.3.0
type AddonResource ¶ added in v0.3.0
type AddonResource struct {
// contains filtered or unexported fields
}
func (*AddonResource) Configure ¶ added in v0.3.0
func (r *AddonResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AddonResource) Create ¶ added in v0.3.0
func (r *AddonResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AddonResource) Delete ¶ added in v0.3.0
func (r *AddonResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AddonResource) ImportState ¶ added in v0.3.0
func (r *AddonResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AddonResource) Metadata ¶ added in v0.3.0
func (r *AddonResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AddonResource) ModifyPlan ¶ added in v0.5.3
func (r *AddonResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*AddonResource) Read ¶ added in v0.3.0
func (r *AddonResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AddonResource) Schema ¶ added in v0.3.0
func (r *AddonResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AddonResource) Update ¶ added in v0.3.0
func (r *AddonResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AddonResourceModel ¶ added in v0.3.0
type AddonResourceModel struct { ID types.String `tfsdk:"id"` Region types.String `tfsdk:"region"` ClusterID types.String `tfsdk:"cluster_id"` AddonID types.String `tfsdk:"addon_id"` Namespace types.String `tfsdk:"namespace"` Name types.String `tfsdk:"name"` ConfigurationValues types.String `tfsdk:"configuration_values"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
type AddonsDataSource ¶ added in v0.3.0
type AddonsDataSource struct {
// contains filtered or unexported fields
}
func (*AddonsDataSource) Configure ¶ added in v0.3.0
func (d *AddonsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AddonsDataSource) Metadata ¶ added in v0.3.0
func (d *AddonsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AddonsDataSource) Read ¶ added in v0.3.0
func (d *AddonsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AddonsDataSource) Schema ¶ added in v0.3.0
func (d *AddonsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AddonsDataSourceModel ¶ added in v0.3.0
type ClusterTemplateModel ¶ added in v0.3.0
type ClusterTemplatesDataSource ¶ added in v0.3.0
type ClusterTemplatesDataSource struct {
// contains filtered or unexported fields
}
func (*ClusterTemplatesDataSource) Configure ¶ added in v0.3.0
func (d *ClusterTemplatesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ClusterTemplatesDataSource) Metadata ¶ added in v0.3.0
func (d *ClusterTemplatesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ClusterTemplatesDataSource) Read ¶ added in v0.3.0
func (d *ClusterTemplatesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ClusterTemplatesDataSource) Schema ¶ added in v0.3.0
func (d *ClusterTemplatesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ClusterTemplatesDataSourceModel ¶ added in v0.3.0
type ClusterTemplatesDataSourceModel struct { Region types.String `tfsdk:"region"` ClusterTemplates []ClusterTemplateModel `tfsdk:"cluster_templates"` ID types.String `tfsdk:"id"` }
type NodeGroupDataSource ¶ added in v0.4.0
type NodeGroupDataSource struct {
// contains filtered or unexported fields
}
func (*NodeGroupDataSource) Configure ¶ added in v0.4.0
func (d *NodeGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*NodeGroupDataSource) Metadata ¶ added in v0.4.0
func (d *NodeGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NodeGroupDataSource) Read ¶ added in v0.4.0
func (d *NodeGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NodeGroupDataSource) Schema ¶ added in v0.4.0
func (d *NodeGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type NodeGroupDataSourceModel ¶ added in v0.4.0
type NodeGroupDataSourceModel struct { ID types.String `tfsdk:"id"` Region types.String `tfsdk:"region"` AutoscalingEnabled types.Bool `tfsdk:"autoscaling_enabled"` AvailabilityZones types.List `tfsdk:"availability_zones"` ClusterID types.String `tfsdk:"cluster_id"` FlavorID types.String `tfsdk:"flavor_id"` MaxNodes types.Int64 `tfsdk:"max_nodes"` MinNodes types.Int64 `tfsdk:"min_nodes"` Name types.String `tfsdk:"name"` NodeCount types.Int64 `tfsdk:"node_count"` Nodes []NodeGroupNodeModel `tfsdk:"nodes"` State types.String `tfsdk:"state"` UUID types.String `tfsdk:"uuid"` VolumeSize types.Int64 `tfsdk:"volume_size"` VolumeType types.String `tfsdk:"volume_type"` }
type NodeGroupNodeModel ¶ added in v0.4.0
type SecurityPolicyResource ¶ added in v0.7.0
type SecurityPolicyResource struct {
// contains filtered or unexported fields
}
func (*SecurityPolicyResource) Configure ¶ added in v0.7.0
func (r *SecurityPolicyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SecurityPolicyResource) Create ¶ added in v0.7.0
func (r *SecurityPolicyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SecurityPolicyResource) Delete ¶ added in v0.7.0
func (r *SecurityPolicyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SecurityPolicyResource) ImportState ¶ added in v0.8.4
func (r *SecurityPolicyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SecurityPolicyResource) Metadata ¶ added in v0.7.0
func (r *SecurityPolicyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SecurityPolicyResource) Read ¶ added in v0.7.0
func (r *SecurityPolicyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SecurityPolicyResource) Schema ¶ added in v0.7.0
func (r *SecurityPolicyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SecurityPolicyResource) Update ¶ added in v0.7.0
func (r *SecurityPolicyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SecurityPolicyResourceModel ¶ added in v0.7.0
type SecurityPolicyResourceModel struct { ID types.String `tfsdk:"id"` Region types.String `tfsdk:"region"` ClusterID types.String `tfsdk:"cluster_id"` SecurityPolicyTemplateID types.String `tfsdk:"security_policy_template_id"` PolicySettings types.String `tfsdk:"policy_settings"` Namespace types.String `tfsdk:"namespace"` Enabled types.Bool `tfsdk:"enabled"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type SecurityPolicyTemplateDataSource ¶ added in v0.7.0
type SecurityPolicyTemplateDataSource struct {
// contains filtered or unexported fields
}
func (*SecurityPolicyTemplateDataSource) Configure ¶ added in v0.7.0
func (d *SecurityPolicyTemplateDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SecurityPolicyTemplateDataSource) Metadata ¶ added in v0.7.0
func (d *SecurityPolicyTemplateDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SecurityPolicyTemplateDataSource) Read ¶ added in v0.7.0
func (d *SecurityPolicyTemplateDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SecurityPolicyTemplateDataSource) Schema ¶ added in v0.7.0
func (d *SecurityPolicyTemplateDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SecurityPolicyTemplateDataSourceModel ¶ added in v0.7.0
type SecurityPolicyTemplateDataSourceModel struct { Region types.String `tfsdk:"region"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` SettingsDescription types.String `tfsdk:"settings_description"` Version types.String `tfsdk:"version"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type SecurityPolicyTemplateModel ¶ added in v0.7.0
type SecurityPolicyTemplateModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` SettingsDescription types.String `tfsdk:"settings_description"` Version types.String `tfsdk:"version"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` }
type SecurityPolicyTemplatesDataSource ¶ added in v0.7.0
type SecurityPolicyTemplatesDataSource struct {
// contains filtered or unexported fields
}
func (*SecurityPolicyTemplatesDataSource) Configure ¶ added in v0.7.0
func (d *SecurityPolicyTemplatesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SecurityPolicyTemplatesDataSource) Metadata ¶ added in v0.7.0
func (d *SecurityPolicyTemplatesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SecurityPolicyTemplatesDataSource) Read ¶ added in v0.7.0
func (d *SecurityPolicyTemplatesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SecurityPolicyTemplatesDataSource) Schema ¶ added in v0.7.0
func (d *SecurityPolicyTemplatesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SecurityPolicyTemplatesDataSourceModel ¶ added in v0.7.0
type SecurityPolicyTemplatesDataSourceModel struct { Region types.String `tfsdk:"region"` SecurityPolicyTemplates []SecurityPolicyTemplateModel `tfsdk:"security_policy_templates"` ID types.String `tfsdk:"id"` }
Source Files ¶
- addon.go
- data_source_addon.go
- data_source_addons.go
- data_source_cluster.go
- data_source_cluster_template.go
- data_source_cluster_templates.go
- data_source_node_group.go
- data_source_security_policy_templates.go
- data_source_security_polity_template.go
- resource_addon.go
- resource_cluster.go
- resource_node_group.go
- resource_security_policy.go
- shared.go
Click to show internal directories.
Click to hide internal directories.