Documentation ¶
Index ¶
- Variables
- func New(version string) func() provider.Provider
- func NewClusterResource() resource.Resource
- func NewCustomerResource() resource.Resource
- type ClusterResource
- func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ClusterResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ClusterResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ClusterResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ClusterResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ClusterResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ClusterResourceModel
- type CustomerResource
- func (r *CustomerResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CustomerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CustomerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CustomerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CustomerResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CustomerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CustomerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CustomerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CustomerResourceModel
- type ReplicatedProvider
- func (p *ReplicatedProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ReplicatedProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *ReplicatedProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *ReplicatedProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *ReplicatedProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ReplicatedProviderClients
- type ReplicatedProviderModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClusterNotFound = fmt.Errorf("Not found")
Functions ¶
func NewClusterResource ¶
func NewCustomerResource ¶ added in v0.1.0
Types ¶
type ClusterResource ¶
type ClusterResource struct {
// contains filtered or unexported fields
}
ClusterResource defines the resource implementation.
func (*ClusterResource) Configure ¶
func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ClusterResource) Create ¶
func (r *ClusterResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ClusterResource) Delete ¶
func (r *ClusterResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ClusterResource) ImportState ¶
func (r *ClusterResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ClusterResource) Metadata ¶
func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ClusterResource) Read ¶
func (r *ClusterResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ClusterResource) Schema ¶
func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ClusterResource) Update ¶
func (r *ClusterResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ClusterResourceModel ¶
type ClusterResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Distribution types.String `tfsdk:"distribution"` Version types.String `tfsdk:"version"` InstanceType types.String `tfsdk:"instance_type"` Disk types.Int64 `tfsdk:"disk"` Nodes types.Int64 `tfsdk:"nodes"` TTL types.String `tfsdk:"ttl"` WaitDuration types.String `tfsdk:"wait_duration"` Kubeconfig types.String `tfsdk:"kubeconfig"` }
ClusterResourceModel describes the resource data model.
type CustomerResource ¶ added in v0.1.0
type CustomerResource struct {
// contains filtered or unexported fields
}
func (*CustomerResource) Configure ¶ added in v0.1.0
func (r *CustomerResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CustomerResource) Create ¶ added in v0.1.0
func (r *CustomerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CustomerResource) Delete ¶ added in v0.1.0
func (r *CustomerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CustomerResource) ImportState ¶ added in v0.1.0
func (r *CustomerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CustomerResource) Metadata ¶ added in v0.1.0
func (r *CustomerResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CustomerResource) Read ¶ added in v0.1.0
func (r *CustomerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CustomerResource) Schema ¶ added in v0.1.0
func (r *CustomerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CustomerResource) Update ¶ added in v0.1.0
func (r *CustomerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CustomerResourceModel ¶ added in v0.1.0
type CustomerResourceModel struct { Id types.String `tfsdk:"id"` AppId types.String `tfsdk:"app_id"` ChannelId types.String `tfsdk:"channel_id"` Email types.String `tfsdk:"email"` EntitlementValues types.Map `tfsdk:"entitlement_values"` ExpiresAt types.String `tfsdk:"expires_at"` IsAirgapEnabled types.Bool `tfsdk:"is_airgap_enabled"` IsEmbeddedClusterDownloadEnabled types.Bool `tfsdk:"is_embedded_cluster_download_enabled"` IsGeoaxisSupported types.Bool `tfsdk:"is_geoaxis_supported"` IsGitopsSupported types.Bool `tfsdk:"is_gitops_supported"` IsIdentityServiceSupported types.Bool `tfsdk:"is_identity_service_supported"` IsInstallerSupportEnabled types.Bool `tfsdk:"is_installer_support_enabled"` IsKotsInstallEnabled types.Bool `tfsdk:"is_kots_install_enabled"` IsSnapshotSupported types.Bool `tfsdk:"is_snapshot_supported"` IsSupportBundleUploadEnabled types.Bool `tfsdk:"is_support_bundle_upload_enabled"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` }
type ReplicatedProvider ¶
type ReplicatedProvider struct {
// contains filtered or unexported fields
}
ReplicatedProvider defines the provider implementation.
func (*ReplicatedProvider) Configure ¶
func (p *ReplicatedProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ReplicatedProvider) DataSources ¶
func (p *ReplicatedProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ReplicatedProvider) Metadata ¶
func (p *ReplicatedProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ReplicatedProvider) Resources ¶
func (p *ReplicatedProvider) Resources(ctx context.Context) []func() resource.Resource
func (*ReplicatedProvider) Schema ¶
func (p *ReplicatedProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type ReplicatedProviderClients ¶ added in v0.1.0
type ReplicatedProviderClients struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.