Documentation ¶
Index ¶
- func NewActionDataSource() datasource.DataSource
- func NewActionResource() resource.Resource
- 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 NewTemplateDataSource() datasource.DataSource
- func NewTemplateResource() resource.Resource
- func NewTfcConfigResource() resource.Resource
- type ActionResource
- func (r *ActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ActionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ActionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ActionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ActionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ActionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ActionResourceModel
- type AddOnDataSourceModel
- 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 DataSourceAction
- func (d DataSourceAction) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceAction) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceAction) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceAction) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceAction) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- 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 DataSourceTemplate
- func (d DataSourceTemplate) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *DataSourceTemplate) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DataSourceTemplate) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DataSourceTemplate) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DataSourceTemplate) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DataSourceTemplateModel
- type InputVar
- type TemplateResource
- func (r *TemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TemplateResourceModel
- 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 NewActionDataSource ¶ added in v0.93.0
func NewActionDataSource() datasource.DataSource
func NewActionResource ¶ added in v0.93.0
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 NewTemplateDataSource ¶ added in v0.93.0
func NewTemplateDataSource() datasource.DataSource
func NewTemplateResource ¶ added in v0.93.0
func NewTfcConfigResource ¶
Types ¶
type ActionResource ¶ added in v0.93.0
type ActionResource struct {
// contains filtered or unexported fields
}
func (*ActionResource) Configure ¶ added in v0.93.0
func (r *ActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ActionResource) Create ¶ added in v0.93.0
func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ActionResource) Delete ¶ added in v0.93.0
func (r *ActionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ActionResource) ImportState ¶ added in v0.93.0
func (r *ActionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ActionResource) Metadata ¶ added in v0.93.0
func (r *ActionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ActionResource) Read ¶ added in v0.93.0
func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ActionResource) Schema ¶ added in v0.93.0
func (r *ActionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ActionResource) Update ¶ added in v0.93.0
func (r *ActionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ActionResourceModel ¶ added in v0.93.0
type ActionResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` OrgID types.String `tfsdk:"organization_id"` Description types.String `tfsdk:"description"` Request *actionRequest `tfsdk:"request"` }
ActionModel describes the resource data model.
type AddOnDataSourceModel ¶ added in v0.94.0
type AddOnDataSourceModel 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"` InputVars types.Set `tfsdk:"input_variables"` }
AddOnDataSourceModel describes the data source data model.
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"` InputVars types.Set `tfsdk:"add_on_input_variables"` AddOnDefinitionInputVars types.Set `tfsdk:"add_on_definition_input_variables"` }
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"` TemplateID types.String `tfsdk:"template_id"` TemplateName types.String `tfsdk:"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"` TemplateID types.String `tfsdk:"template_id"` TemplateName types.String `tfsdk:"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 DataSourceAction ¶ added in v0.93.0
type DataSourceAction struct {
// contains filtered or unexported fields
}
func (DataSourceAction) ConfigValidators ¶ added in v0.93.0
func (d DataSourceAction) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceAction) Configure ¶ added in v0.93.0
func (d *DataSourceAction) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceAction) Metadata ¶ added in v0.93.0
func (d *DataSourceAction) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceAction) Read ¶ added in v0.93.0
func (d *DataSourceAction) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DataSourceAction) Schema ¶ added in v0.93.0
func (d *DataSourceAction) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 DataSourceTemplate ¶ added in v0.93.0
type DataSourceTemplate struct {
// contains filtered or unexported fields
}
func (DataSourceTemplate) ConfigValidators ¶ added in v0.93.0
func (d DataSourceTemplate) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*DataSourceTemplate) Configure ¶ added in v0.93.0
func (d *DataSourceTemplate) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DataSourceTemplate) Metadata ¶ added in v0.93.0
func (d *DataSourceTemplate) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DataSourceTemplate) Read ¶ added in v0.93.0
func (d *DataSourceTemplate) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DataSourceTemplate) Schema ¶ added in v0.93.0
func (d *DataSourceTemplate) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DataSourceTemplateModel ¶ added in v0.93.0
type DataSourceTemplateModel 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 TemplateResource ¶ added in v0.93.0
type TemplateResource struct {
// contains filtered or unexported fields
}
TemplateResource defines the resource implementation.
func (*TemplateResource) Configure ¶ added in v0.93.0
func (r *TemplateResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TemplateResource) Create ¶ added in v0.93.0
func (r *TemplateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TemplateResource) Delete ¶ added in v0.93.0
func (r *TemplateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TemplateResource) ImportState ¶ added in v0.93.0
func (r *TemplateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TemplateResource) Metadata ¶ added in v0.93.0
func (r *TemplateResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TemplateResource) Read ¶ added in v0.93.0
func (r *TemplateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TemplateResource) Schema ¶ added in v0.93.0
func (r *TemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TemplateResource) Update ¶ added in v0.93.0
func (r *TemplateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TemplateResourceModel ¶ added in v0.93.0
type TemplateResourceModel 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"` }
TemplateResourceModel describes the resource data model.
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_action.go
- data_source_waypoint_add_on.go
- data_source_waypoint_add_on_definition.go
- data_source_waypoint_application.go
- data_source_waypoint_template.go
- resource_waypoint_action.go
- resource_waypoint_add_on.go
- resource_waypoint_add_on_definition.go
- resource_waypoint_application.go
- resource_waypoint_template.go
- resource_waypoint_tfc_config.go