waypoint

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 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 NewApplicationDataSource added in v0.85.0

func NewApplicationDataSource() datasource.DataSource

func NewApplicationResource added in v0.85.0

func NewApplicationResource() 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 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 (*ApplicationResource) Create added in v0.85.0

func (*ApplicationResource) Delete added in v0.85.0

func (*ApplicationResource) ImportState added in v0.85.0

func (*ApplicationResource) Metadata added in v0.85.0

func (*ApplicationResource) Read added in v0.85.0

func (*ApplicationResource) Schema added in v0.85.0

func (*ApplicationResource) Update added in v0.85.0

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"`
}

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 (*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 DataSourceApplication added in v0.85.0

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

func (DataSourceApplication) ConfigValidators added in v0.85.0

func (*DataSourceApplication) Configure added in v0.85.0

func (*DataSourceApplication) Metadata added in v0.85.0

func (*DataSourceApplication) Read added in v0.85.0

func (*DataSourceApplication) Schema added in v0.85.0

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