Documentation ¶
Index ¶
- Constants
- func NewPlanDataSource() datasource.DataSource
- func NewPlanResource() resource.Resource
- func NewProviderDataSource() datasource.DataSource
- func NewProvidersDataSource() datasource.DataSource
- type PlanDataSource
- func (d *PlanDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *PlanDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *PlanDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PlanDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PlanDataSourceModel
- type PlanResource
- func (r *PlanResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
- func (r *PlanResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PlanResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PlanResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PlanResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PlanResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PlanResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PlanResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PlanResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PlanResourceFullRetentionModel
- type PlanResourceGFSRetentionModel
- type PlanResourceModel
- type PlanResourceScheduleModel
- type ProviderDataSource
- func (d *ProviderDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ProviderDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ProviderDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ProviderDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ProviderDataSourceModel
- type ProvidersDataSource
- func (d *ProvidersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ProvidersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ProvidersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ProvidersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ProvidersDataSourceModel
- type ProvidersDataSourceProvidersModel
Constants ¶
View Source
const ( ProviderNameNova = "cloud_servers" ProviderNameTrove = "dbaas" Nova = "OS::Nova" Trove = "OS::Trove" NovaInstance = "OS::Nova::Server" TroveInstance = "OS::Trove::Instance" TroveCluster = "OS::Trove::Cluster" RetentionFull = "max_backups" RetentionGFS = "gfs" TimeFormatWithoutZone = "15:04" TimeFormatWithZone = "15:04-07" )
Variables ¶
This section is empty.
Functions ¶
func NewPlanDataSource ¶
func NewPlanDataSource() datasource.DataSource
func NewPlanResource ¶
func NewProviderDataSource ¶
func NewProviderDataSource() datasource.DataSource
func NewProvidersDataSource ¶
func NewProvidersDataSource() datasource.DataSource
Types ¶
type PlanDataSource ¶
type PlanDataSource struct {
// contains filtered or unexported fields
}
func (*PlanDataSource) Configure ¶
func (d *PlanDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PlanDataSource) Metadata ¶
func (d *PlanDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PlanDataSource) Read ¶
func (d *PlanDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PlanDataSource) Schema ¶
func (d *PlanDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PlanDataSourceModel ¶
type PlanDataSourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` InstanceID types.String `tfsdk:"instance_id"` Schedule *PlanResourceScheduleModel `tfsdk:"schedule"` FullRetention *PlanResourceFullRetentionModel `tfsdk:"full_retention"` GFSRetention *PlanResourceGFSRetentionModel `tfsdk:"gfs_retention"` IncrementalBackup types.Bool `tfsdk:"incremental_backup"` ProviderID types.String `tfsdk:"provider_id"` InstanceIDs []types.String `tfsdk:"instance_ids"` Region types.String `tfsdk:"region"` }
type PlanResource ¶
type PlanResource struct {
// contains filtered or unexported fields
}
func (*PlanResource) ConfigValidators ¶
func (r *PlanResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
func (*PlanResource) Configure ¶
func (r *PlanResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PlanResource) Create ¶
func (r *PlanResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PlanResource) Delete ¶
func (r *PlanResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PlanResource) ImportState ¶
func (r *PlanResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PlanResource) Metadata ¶
func (r *PlanResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PlanResource) Read ¶
func (r *PlanResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PlanResource) Schema ¶
func (r *PlanResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PlanResource) Update ¶
func (r *PlanResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PlanResourceModel ¶
type PlanResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Schedule *PlanResourceScheduleModel `tfsdk:"schedule"` FullRetention *PlanResourceFullRetentionModel `tfsdk:"full_retention"` GFSRetention *PlanResourceGFSRetentionModel `tfsdk:"gfs_retention"` IncrementalBackup types.Bool `tfsdk:"incremental_backup"` ProviderID types.String `tfsdk:"provider_id"` ProviderName types.String `tfsdk:"provider_name"` InstanceIDs []types.String `tfsdk:"instance_ids"` Region types.String `tfsdk:"region"` }
type ProviderDataSource ¶
type ProviderDataSource struct {
// contains filtered or unexported fields
}
func (*ProviderDataSource) Configure ¶
func (d *ProviderDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ProviderDataSource) Metadata ¶
func (d *ProviderDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ProviderDataSource) Read ¶
func (d *ProviderDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ProviderDataSource) Schema ¶
func (d *ProviderDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ProviderDataSourceModel ¶
type ProvidersDataSource ¶
type ProvidersDataSource struct {
// contains filtered or unexported fields
}
func (*ProvidersDataSource) Configure ¶
func (d *ProvidersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ProvidersDataSource) Metadata ¶
func (d *ProvidersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ProvidersDataSource) Read ¶
func (d *ProvidersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ProvidersDataSource) Schema ¶
func (d *ProvidersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ProvidersDataSourceModel ¶
type ProvidersDataSourceModel struct { Providers []ProvidersDataSourceProvidersModel `tfsdk:"providers"` Region types.String `tfsdk:"region"` ID types.String `tfsdk:"id"` }
Click to show internal directories.
Click to hide internal directories.