waypoint

package
v0.84.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddOnDefinitionDataSource

func NewAddOnDefinitionDataSource() datasource.DataSource

func NewAddOnDefinitionResource

func NewAddOnDefinitionResource() resource.Resource

func NewApplicationTemplateDataSource

func NewApplicationTemplateDataSource() datasource.DataSource

func NewApplicationTemplateResource

func NewApplicationTemplateResource() resource.Resource

func NewTfcConfigResource

func NewTfcConfigResource() resource.Resource

Types

type AddOnDefinitionResource

type AddOnDefinitionResource struct {
	// contains filtered or unexported fields
}

AddOnDefinitionResource defines the resource implementation.

func (*AddOnDefinitionResource) Configure

func (*AddOnDefinitionResource) Create

func (*AddOnDefinitionResource) Delete

func (*AddOnDefinitionResource) ImportState

func (*AddOnDefinitionResource) Metadata

func (*AddOnDefinitionResource) Read

func (*AddOnDefinitionResource) Schema

func (*AddOnDefinitionResource) Update

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 (*ApplicationTemplateResource) Create

func (*ApplicationTemplateResource) Delete

func (*ApplicationTemplateResource) ImportState

func (*ApplicationTemplateResource) Metadata

func (*ApplicationTemplateResource) Read

func (*ApplicationTemplateResource) Schema

func (*ApplicationTemplateResource) Update

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 (*DataSourceAddOnDefinition) Configure

func (*DataSourceAddOnDefinition) Metadata

func (*DataSourceAddOnDefinition) Read

func (*DataSourceAddOnDefinition) Schema

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 (*DataSourceApplicationTemplate) Configure

func (*DataSourceApplicationTemplate) Metadata

func (*DataSourceApplicationTemplate) Read

func (*DataSourceApplicationTemplate) Schema

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 (*TfcConfigResource) Create

func (*TfcConfigResource) Delete

func (*TfcConfigResource) Metadata

func (*TfcConfigResource) Read

func (*TfcConfigResource) Schema

func (*TfcConfigResource) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL