projects

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

NewDataSource initialises a projects datasource

Types

type DataSource

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

func (*DataSource) Configure

Configure adds the provider configured client to the data source.

func (*DataSource) Metadata

Metadata returns the data source type name.

func (*DataSource) Read

Read refreshes the Terraform state with the latest data.

func (*DataSource) Schema

Schema defines the schema for the data source.

type DataSourceModel

type DataSourceModel struct {
	ID       types.String             `tfsdk:"id"`
	Timeouts timeouts.Value           `tfsdk:"timeouts"`
	Projects []ProjectDataSourceModel `tfsdk:"projects"`
}

type ProjectDataSourceModel

type ProjectDataSourceModel struct {
	Description  types.String `tfsdk:"description"`
	ID           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	TimeCreated  types.String `tfsdk:"time_created"`
	TimeModified types.String `tfsdk:"time_modified"`
}

Jump to

Keyboard shortcuts

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