Documentation ¶
Index ¶
- func NewAddOnDefinitionDataSource() datasource.DataSource
- func NewAddOnDefinitionResource() 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 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 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 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 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 NewAddOnDefinitionDataSource ¶
func NewAddOnDefinitionDataSource() datasource.DataSource
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"` }
AddOnDefinitionResourceModel 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"` }
ApplicationTemplateResourceModel describes the resource data model.
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"` }
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"` }
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.
Click to show internal directories.
Click to hide internal directories.