Documentation ¶
Index ¶
- Constants
- func NewFrameworkProvider(version string) func() provider.Provider
- func NewPgdDataSource() datasource.DataSource
- func NewPgdResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewProjectsDataSource() datasource.DataSource
- func NewRegionResource() resource.Resource
- func NewRegionsDataSource() datasource.DataSource
- func NewSDKProvider(version string) func() *sdkschema.Provider
- func ProjectIdValidator() validator.String
- type AWSConnectionData
- type AWSConnectionResource
- func (a *AWSConnectionResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (a *AWSConnectionResource) Delete(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
- func (a *AWSConnectionResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (a *AWSConnectionResource) Schema() *schema.Resource
- func (a *AWSConnectionResource) Update(ctx context.Context, data *schema.ResourceData, meta any) diag.Diagnostics
- type AzureConnectionResource
- func (a *AzureConnectionResource) Create(ctx context.Context, data *schema.ResourceData, meta any) diag.Diagnostics
- func (a *AzureConnectionResource) Delete(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
- func (a *AzureConnectionResource) Read(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
- func (a *AzureConnectionResource) Schema() *schema.Resource
- func (a *AzureConnectionResource) Update(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
- type ClusterData
- type ClusterResource
- func (c *ClusterResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Schema() *schema.Resource
- func (c *ClusterResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- type FAReplicaData
- type FAReplicaResource
- func (c *FAReplicaResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *FAReplicaResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *FAReplicaResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *FAReplicaResource) Schema() *schema.Resource
- func (c *FAReplicaResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- type PGD
- type PGDDataSourceData
- type Project
- type Region
Constants ¶
View Source
const DefaultAPIURL = "https://portal.biganimal.com/api/v3"
Variables ¶
This section is empty.
Functions ¶
func NewFrameworkProvider ¶ added in v0.5.0
func NewPgdDataSource ¶ added in v0.5.0
func NewPgdDataSource() datasource.DataSource
func NewPgdResource ¶ added in v0.5.0
func NewProjectResource ¶ added in v0.3.0
func NewProjectsDataSource ¶ added in v0.5.0
func NewProjectsDataSource() datasource.DataSource
func NewRegionResource ¶
func NewRegionsDataSource ¶ added in v0.5.0
func NewRegionsDataSource() datasource.DataSource
NewRegionsDataSource is a helper function to simplify the provider implementation.
func NewSDKProvider ¶ added in v0.5.0
func ProjectIdValidator ¶ added in v0.5.0
Types ¶
type AWSConnectionData ¶ added in v0.4.0
type AWSConnectionData struct{}
func NewAWSConnectionData ¶ added in v0.4.0
func NewAWSConnectionData() *AWSConnectionData
func (*AWSConnectionData) Read ¶ added in v0.4.0
func (d *AWSConnectionData) Read(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics
func (*AWSConnectionData) Schema ¶ added in v0.4.0
func (d *AWSConnectionData) Schema() *schema.Resource
type AWSConnectionResource ¶ added in v0.4.0
type AWSConnectionResource struct{}
func NewAWSConnectionResource ¶ added in v0.4.0
func NewAWSConnectionResource() *AWSConnectionResource
func (*AWSConnectionResource) Create ¶ added in v0.4.0
func (a *AWSConnectionResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*AWSConnectionResource) Delete ¶ added in v0.4.0
func (a *AWSConnectionResource) Delete(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
func (*AWSConnectionResource) Read ¶ added in v0.4.0
func (a *AWSConnectionResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*AWSConnectionResource) Schema ¶ added in v0.4.0
func (a *AWSConnectionResource) Schema() *schema.Resource
func (*AWSConnectionResource) Update ¶ added in v0.4.0
func (a *AWSConnectionResource) Update(ctx context.Context, data *schema.ResourceData, meta any) diag.Diagnostics
type AzureConnectionResource ¶ added in v0.4.0
type AzureConnectionResource struct{}
func NewAzureConnectionResource ¶ added in v0.4.0
func NewAzureConnectionResource() *AzureConnectionResource
func (*AzureConnectionResource) Create ¶ added in v0.4.0
func (a *AzureConnectionResource) Create(ctx context.Context, data *schema.ResourceData, meta any) diag.Diagnostics
func (*AzureConnectionResource) Delete ¶ added in v0.4.0
func (a *AzureConnectionResource) Delete(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
func (*AzureConnectionResource) Read ¶ added in v0.4.0
func (a *AzureConnectionResource) Read(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
func (*AzureConnectionResource) Schema ¶ added in v0.4.0
func (a *AzureConnectionResource) Schema() *schema.Resource
func (*AzureConnectionResource) Update ¶ added in v0.4.0
func (a *AzureConnectionResource) Update(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics
type ClusterData ¶
type ClusterData struct{}
func NewClusterData ¶
func NewClusterData() *ClusterData
func (*ClusterData) Read ¶
func (c *ClusterData) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterData) Schema ¶
func (c *ClusterData) Schema() *schema.Resource
type ClusterResource ¶
type ClusterResource struct{}
func NewClusterResource ¶
func NewClusterResource() *ClusterResource
func (*ClusterResource) Create ¶
func (c *ClusterResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Delete ¶
func (c *ClusterResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Read ¶
func (c *ClusterResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Schema ¶
func (c *ClusterResource) Schema() *schema.Resource
func (*ClusterResource) Update ¶
func (c *ClusterResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
type FAReplicaData ¶ added in v0.4.0
type FAReplicaData struct{}
func NewFAReplicaData ¶ added in v0.4.0
func NewFAReplicaData() *FAReplicaData
func (*FAReplicaData) Read ¶ added in v0.4.0
func (c *FAReplicaData) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*FAReplicaData) Schema ¶ added in v0.4.0
func (c *FAReplicaData) Schema() *schema.Resource
type FAReplicaResource ¶ added in v0.4.0
type FAReplicaResource struct{}
func NewFAReplicaResource ¶ added in v0.4.0
func NewFAReplicaResource() *FAReplicaResource
func (*FAReplicaResource) Create ¶ added in v0.4.0
func (c *FAReplicaResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*FAReplicaResource) Delete ¶ added in v0.4.0
func (c *FAReplicaResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*FAReplicaResource) Read ¶ added in v0.4.0
func (c *FAReplicaResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*FAReplicaResource) Schema ¶ added in v0.4.0
func (c *FAReplicaResource) Schema() *schema.Resource
func (*FAReplicaResource) Update ¶ added in v0.4.0
func (c *FAReplicaResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
type PGD ¶ added in v0.5.0
type PGD struct { ID *string `tfsdk:"id"` ProjectId string `tfsdk:"project_id"` ClusterId *string `tfsdk:"cluster_id"` ClusterName *string `tfsdk:"cluster_name"` MostRecent *bool `tfsdk:"most_recent"` Password *string `tfsdk:"password"` Timeouts timeouts.Value `tfsdk:"timeouts"` DataGroups []pgd.DataGroup `tfsdk:"data_groups"` WitnessGroups []pgd.WitnessGroup `tfsdk:"witness_groups"` }
type PGDDataSourceData ¶ added in v0.5.0
type PGDDataSourceData struct { ID *string `tfsdk:"id"` ProjectID string `tfsdk:"project_id"` ClusterID *string `tfsdk:"cluster_id"` ClusterName string `tfsdk:"cluster_name"` MostRecent *bool `tfsdk:"most_recent"` DataGroups []pgd.DataGroup `tfsdk:"data_groups"` WitnessGroups []pgd.WitnessGroup `tfsdk:"witness_groups"` }
type Region ¶ added in v0.5.0
type Region struct { ProjectID *string `tfsdk:"project_id"` CloudProvider *string `tfsdk:"cloud_provider"` RegionID *string `tfsdk:"region_id"` ID *string `tfsdk:"id"` Name *string `tfsdk:"name"` Continent *string `tfsdk:"continent"` Status *string `tfsdk:"status"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
Source Files ¶
- data_source_aws_connection.go
- data_source_cluster.go
- data_source_fareplica.go
- data_source_pgd.go
- data_source_projects.go
- data_source_region.go
- provider.go
- resource_aws_connection.go
- resource_azure_connection.go
- resource_cluster.go
- resource_fareplica.go
- resource_pgd.go
- resource_project.go
- resource_region.go
- utils.go
- validators.go
Click to show internal directories.
Click to hide internal directories.