project

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectDataSource added in v1.0.0

func ProjectDataSource() datasource.DataSource

func ProjectResource added in v1.0.0

func ProjectResource() resource.Resource

ProjectResource creates a new resource

func ProjectsDataSource

func ProjectsDataSource() datasource.DataSource

Types

type ProjectConnection

type ProjectConnection struct {
	ID             types.Int64  `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	AdapterVersion types.String `tfsdk:"adapter_version"`
}

type ProjectConnectionRepository

type ProjectConnectionRepository struct {
	ID                     types.Int64        `tfsdk:"id"`
	Name                   types.String       `tfsdk:"name"`
	Description            types.String       `tfsdk:"description"`
	SemanticLayerConfigID  types.Int64        `tfsdk:"semantic_layer_config_id"`
	DbtProjectSubdirectory types.String       `tfsdk:"dbt_project_subdirectory"`
	DbtProjectType         types.Int64        `tfsdk:"type"`
	CreatedAt              types.String       `tfsdk:"created_at"`
	UpdatedAt              types.String       `tfsdk:"updated_at"`
	ProjectConnection      *ProjectConnection `tfsdk:"project_connection"`
	Repository             *ProjectRepository `tfsdk:"repository"`
}

type ProjectDataSourceModel added in v1.0.0

type ProjectDataSourceModel struct {
	ID                     types.Int64        `tfsdk:"id"`
	Name                   types.String       `tfsdk:"name"`
	Description            types.String       `tfsdk:"description"`
	SemanticLayerConfigID  types.Int64        `tfsdk:"semantic_layer_config_id"`
	DbtProjectSubdirectory types.String       `tfsdk:"dbt_project_subdirectory"`
	DbtProjectType         types.Int64        `tfsdk:"type"`
	CreatedAt              types.String       `tfsdk:"created_at"`
	UpdatedAt              types.String       `tfsdk:"updated_at"`
	ProjectConnection      *ProjectConnection `tfsdk:"project_connection"`
	Repository             *ProjectRepository `tfsdk:"repository"`
	FreshnessJobID         types.Int64        `tfsdk:"freshness_job_id"`
	DocsJobID              types.Int64        `tfsdk:"docs_job_id"`
	State                  types.Int64        `tfsdk:"state"`
}

type ProjectRepository

type ProjectRepository struct {
	ID                     types.Int64  `tfsdk:"id"`
	RemoteUrl              types.String `tfsdk:"remote_url"`
	PullRequestURLTemplate types.String `tfsdk:"pull_request_url_template"`
}

type ProjectResourceModel added in v1.0.0

type ProjectResourceModel struct {
	ID                     types.Int64  `tfsdk:"id"`
	Name                   types.String `tfsdk:"name"`
	Description            types.String `tfsdk:"description"`
	DbtProjectSubdirectory types.String `tfsdk:"dbt_project_subdirectory"`
	DbtProjectType         types.Int64  `tfsdk:"type"`
}

type ProjectsDataSourceModel

type ProjectsDataSourceModel struct {
	NameContains types.String                  `tfsdk:"name_contains"`
	Projects     []ProjectConnectionRepository `tfsdk:"projects"`
}

Jump to

Keyboard shortcuts

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