Documentation ¶
Index ¶
- func NewAddOnDataSource() datasource.DataSource
- func NewAddOnDefinitionDataSource() datasource.DataSource
- func NewAddOnDefinitionResource() resource.Resource
- func NewAddOnResource() resource.Resource
- func NewApplicationDataSource() datasource.DataSource
- func NewApplicationResource() resource.Resource
- func NewApplicationTemplateDataSource() datasource.DataSource
- func NewApplicationTemplateResource() resource.Resource
- func NewTfcConfigResource() resource.Resource
- type AddOnDefinitionResource
- func (r *AddOnDefinitionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AddOnDefinitionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AddOnDefinitionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AddOnDefinitionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AddOnDefinitionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AddOnDefinitionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AddOnDefinitionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AddOnDefinitionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AddOnDefinitionResourceModel
- 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) 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 ApplicationDataSourceModel
- type ApplicationResource
- func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplicationResourceModel
- type ApplicationTemplateResource
- func (r *ApplicationTemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApplicationTemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplicationTemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplicationTemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplicationTemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApplicationTemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplicationTemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplicationTemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplicationTemplateResourceModel
- type DataSourceAddOn
- func (d DataSourceAddOn) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceAddOn) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceAddOn) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceAddOn) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceAddOn) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DataSourceAddOnDefinition
- func (d DataSourceAddOnDefinition) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceAddOnDefinition) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceAddOnDefinition) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceAddOnDefinition) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceAddOnDefinition) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DataSourceAddOnDefinitionModel
- type DataSourceApplication
- func (d DataSourceApplication) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceApplication) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceApplication) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceApplication) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceApplication) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DataSourceApplicationTemplate
- func (d DataSourceApplicationTemplate) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceApplicationTemplate) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceApplicationTemplate) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceApplicationTemplate) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceApplicationTemplate) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DataSourceApplicationTemplateModel
- type InputVar
- type TfcConfigResource
- func (r *TfcConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TfcConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TfcConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TfcConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TfcConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TfcConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TfcConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TfcConfigResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddOnDataSource ¶ added in v0.87.0
func NewAddOnDataSource() datasource.DataSource
func NewAddOnDefinitionDataSource ¶
func NewAddOnDefinitionDataSource() datasource.DataSource
func NewAddOnResource ¶ added in v0.87.0
func NewApplicationDataSource ¶ added in v0.85.0
func NewApplicationDataSource() datasource.DataSource
func NewApplicationResource ¶ added in v0.85.0
func NewApplicationTemplateDataSource ¶
func NewApplicationTemplateDataSource() datasource.DataSource
func NewTfcConfigResource ¶
Types ¶
type AddOnDefinitionResource ¶
type AddOnDefinitionResource struct {
// contains filtered or unexported fields
}
AddOnDefinitionResource defines the resource implementation.
func (*AddOnDefinitionResource) Configure ¶
func (r *AddOnDefinitionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AddOnDefinitionResource) Create ¶
func (r *AddOnDefinitionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AddOnDefinitionResource) Delete ¶
func (r *AddOnDefinitionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AddOnDefinitionResource) ImportState ¶
func (r *AddOnDefinitionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AddOnDefinitionResource) Metadata ¶
func (r *AddOnDefinitionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AddOnDefinitionResource) Read ¶
func (r *AddOnDefinitionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AddOnDefinitionResource) Schema ¶
func (r *AddOnDefinitionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AddOnDefinitionResource) Update ¶
func (r *AddOnDefinitionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AddOnDefinitionResourceModel ¶
type AddOnDefinitionResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Summary types.String `tfsdk:"summary"` Labels types.List `tfsdk:"labels"` Description types.String `tfsdk:"description"` ReadmeMarkdownTemplate types.String `tfsdk:"readme_markdown_template"` TerraformCloudWorkspace *tfcWorkspace `tfsdk:"terraform_cloud_workspace_details"` TerraformNoCodeModule *tfcNoCodeModule `tfsdk:"terraform_no_code_module"` TerraformVariableOptions []*tfcVariableOption `tfsdk:"variable_options"` }
AddOnDefinitionResourceModel describes the resource data model.
type AddOnResource ¶ added in v0.87.0
type AddOnResource struct {
// contains filtered or unexported fields
}
AddOnResource defines the resource implementation.
func (*AddOnResource) Configure ¶ added in v0.87.0
func (r *AddOnResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AddOnResource) Create ¶ added in v0.87.0
func (r *AddOnResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
TODO: Add support for new fields
func (*AddOnResource) Delete ¶ added in v0.87.0
func (r *AddOnResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AddOnResource) ImportState ¶ added in v0.87.0
func (r *AddOnResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AddOnResource) Metadata ¶ added in v0.87.0
func (r *AddOnResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AddOnResource) Read ¶ added in v0.87.0
func (r *AddOnResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
TODO: Add support for new fields
func (*AddOnResource) Schema ¶ added in v0.87.0
func (r *AddOnResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
TODO: Make most of these computed because they are not used in the protos (Also add variables later)
func (*AddOnResource) Update ¶ added in v0.87.0
func (r *AddOnResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AddOnResourceModel ¶ added in v0.87.0
type AddOnResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Summary types.String `tfsdk:"summary"` Labels types.List `tfsdk:"labels"` Description types.String `tfsdk:"description"` ReadmeMarkdown types.String `tfsdk:"readme_markdown"` CreatedBy types.String `tfsdk:"created_by"` Count types.Int64 `tfsdk:"install_count"` Status types.Int64 `tfsdk:"status"` ApplicationID types.String `tfsdk:"application_id"` DefinitionID types.String `tfsdk:"definition_id"` OutputValues types.List `tfsdk:"output_values"` TerraformNoCodeModule types.Object `tfsdk:"terraform_no_code_module"` }
AddOnResourceModel describes the resource data model.
type ApplicationDataSourceModel ¶ added in v0.91.0
type ApplicationDataSourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` ReadmeMarkdown types.String `tfsdk:"readme_markdown"` ApplicationTemplateID types.String `tfsdk:"application_template_id"` ApplicationTemplateName types.String `tfsdk:"application_template_name"` NamespaceID types.String `tfsdk:"namespace_id"` InputVars types.Set `tfsdk:"input_variables"` }
ApplicationDataSourceModel describes the data source data model
type ApplicationResource ¶ added in v0.85.0
type ApplicationResource struct {
// contains filtered or unexported fields
}
ApplicationResource defines the resource implementation.
func (*ApplicationResource) Configure ¶ added in v0.85.0
func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApplicationResource) Create ¶ added in v0.85.0
func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplicationResource) Delete ¶ added in v0.85.0
func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplicationResource) ImportState ¶ added in v0.85.0
func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplicationResource) Metadata ¶ added in v0.85.0
func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApplicationResource) Read ¶ added in v0.85.0
func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplicationResource) Schema ¶ added in v0.85.0
func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplicationResource) Update ¶ added in v0.85.0
func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplicationResourceModel ¶ added in v0.85.0
type ApplicationResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` ReadmeMarkdown types.String `tfsdk:"readme_markdown"` ApplicationTemplateID types.String `tfsdk:"application_template_id"` ApplicationTemplateName types.String `tfsdk:"application_template_name"` NamespaceID types.String `tfsdk:"namespace_id"` InputVars types.Set `tfsdk:"application_input_variables"` // NOTE: At the time of writing this comment, TemplateInputVars is the only // struct field that makes ApplicationResourceModel different from ApplicationDataSourceModel. // One might see an opportunity here to use an embedded struct to avoid code duplication; // however, this is not currently possible in the framework. See this issue for more details: // https://github.com/hashicorp/terraform-plugin-framework/issues/242 TemplateInputVars types.Set `tfsdk:"template_input_variables"` }
ApplicationResourceModel describes the resource data model.
type ApplicationTemplateResource ¶
type ApplicationTemplateResource struct {
// contains filtered or unexported fields
}
ApplicationTemplateResource defines the resource implementation.
func (*ApplicationTemplateResource) Configure ¶
func (r *ApplicationTemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApplicationTemplateResource) Create ¶
func (r *ApplicationTemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplicationTemplateResource) Delete ¶
func (r *ApplicationTemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplicationTemplateResource) ImportState ¶
func (r *ApplicationTemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplicationTemplateResource) Metadata ¶
func (r *ApplicationTemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApplicationTemplateResource) Read ¶
func (r *ApplicationTemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplicationTemplateResource) Schema ¶
func (r *ApplicationTemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplicationTemplateResource) Update ¶
func (r *ApplicationTemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplicationTemplateResourceModel ¶
type ApplicationTemplateResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Summary types.String `tfsdk:"summary"` Labels types.List `tfsdk:"labels"` Description types.String `tfsdk:"description"` ReadmeMarkdownTemplate types.String `tfsdk:"readme_markdown_template"` TerraformCloudWorkspace *tfcWorkspace `tfsdk:"terraform_cloud_workspace_details"` TerraformNoCodeModule *tfcNoCodeModule `tfsdk:"terraform_no_code_module"` TerraformVariableOptions []*tfcVariableOption `tfsdk:"variable_options"` }
ApplicationTemplateResourceModel describes the resource data model.
type DataSourceAddOn ¶ added in v0.87.0
type DataSourceAddOn struct {
// contains filtered or unexported fields
}
func (DataSourceAddOn) ConfigValidators ¶ added in v0.87.0
func (d DataSourceAddOn) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceAddOn) Configure ¶ added in v0.87.0
func (d *DataSourceAddOn) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceAddOn) Metadata ¶ added in v0.87.0
func (d *DataSourceAddOn) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceAddOn) Read ¶ added in v0.87.0
func (d *DataSourceAddOn) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
TODO: Output values?
func (*DataSourceAddOn) Schema ¶ added in v0.87.0
func (d *DataSourceAddOn) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DataSourceAddOnDefinition ¶
type DataSourceAddOnDefinition struct {
// contains filtered or unexported fields
}
func (DataSourceAddOnDefinition) ConfigValidators ¶
func (d DataSourceAddOnDefinition) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceAddOnDefinition) Configure ¶
func (d *DataSourceAddOnDefinition) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceAddOnDefinition) Metadata ¶
func (d *DataSourceAddOnDefinition) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceAddOnDefinition) Read ¶
func (d *DataSourceAddOnDefinition) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DataSourceAddOnDefinition) Schema ¶
func (d *DataSourceAddOnDefinition) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DataSourceAddOnDefinitionModel ¶
type DataSourceAddOnDefinitionModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Summary types.String `tfsdk:"summary"` Labels types.List `tfsdk:"labels"` Description types.String `tfsdk:"description"` ReadmeMarkdownTemplate types.String `tfsdk:"readme_markdown_template"` TerraformCloudWorkspace *tfcWorkspace `tfsdk:"terraform_cloud_workspace_details"` TerraformNoCodeModule *tfcNoCodeModule `tfsdk:"terraform_no_code_module"` TerraformVariableOptions []*tfcVariableOption `tfsdk:"variable_options"` }
type DataSourceApplication ¶ added in v0.85.0
type DataSourceApplication struct {
// contains filtered or unexported fields
}
func (DataSourceApplication) ConfigValidators ¶ added in v0.85.0
func (d DataSourceApplication) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceApplication) Configure ¶ added in v0.85.0
func (d *DataSourceApplication) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceApplication) Metadata ¶ added in v0.85.0
func (d *DataSourceApplication) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceApplication) Read ¶ added in v0.85.0
func (d *DataSourceApplication) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DataSourceApplication) Schema ¶ added in v0.85.0
func (d *DataSourceApplication) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DataSourceApplicationTemplate ¶
type DataSourceApplicationTemplate struct {
// contains filtered or unexported fields
}
func (DataSourceApplicationTemplate) ConfigValidators ¶
func (d DataSourceApplicationTemplate) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceApplicationTemplate) Configure ¶
func (d *DataSourceApplicationTemplate) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceApplicationTemplate) Metadata ¶
func (d *DataSourceApplicationTemplate) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceApplicationTemplate) Read ¶
func (d *DataSourceApplicationTemplate) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DataSourceApplicationTemplate) Schema ¶
func (d *DataSourceApplicationTemplate) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DataSourceApplicationTemplateModel ¶
type DataSourceApplicationTemplateModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Summary types.String `tfsdk:"summary"` Labels types.List `tfsdk:"labels"` Description types.String `tfsdk:"description"` ReadmeMarkdownTemplate types.String `tfsdk:"readme_markdown_template"` TerraformCloudWorkspace *tfcWorkspace `tfsdk:"terraform_cloud_workspace_details"` TerraformNoCodeModule *tfcNoCodeModule `tfsdk:"terraform_no_code_module"` VariableOptions []*tfcVariableOption `tfsdk:"variable_options"` }
type TfcConfigResource ¶
type TfcConfigResource struct {
// contains filtered or unexported fields
}
TfcConfigResource defines the resource implementation.
func (*TfcConfigResource) Configure ¶
func (r *TfcConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TfcConfigResource) Create ¶
func (r *TfcConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TfcConfigResource) Delete ¶
func (r *TfcConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TfcConfigResource) Metadata ¶
func (r *TfcConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TfcConfigResource) Read ¶
func (r *TfcConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TfcConfigResource) Schema ¶
func (r *TfcConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TfcConfigResource) Update ¶
func (r *TfcConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TfcConfigResourceModel ¶
type TfcConfigResourceModel struct { // note: there is no true ID in the TFC Config, and each HCP Waypoint // organization has only 1 TFC Config, so we use the TFC Organization name // as an ID. ID types.String `tfsdk:"id"` ProjectID types.String `tfsdk:"project_id"` Token types.String `tfsdk:"token"` TfcOrgName types.String `tfsdk:"tfc_org_name"` }
TfcConfigResourceModel describes the resource data model.
Source Files ¶
- data_source_waypoint_add_on.go
- data_source_waypoint_add_on_definition.go
- data_source_waypoint_application.go
- data_source_waypoint_application_template.go
- resource_waypoint_add_on.go
- resource_waypoint_add_on_definition.go
- resource_waypoint_application.go
- resource_waypoint_application_template.go
- resource_waypoint_tfc_config.go