team

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTeamDataSource

func NewTeamDataSource() datasource.DataSource

func NewTeamResource

func NewTeamResource() resource.Resource

func TFTeamToDTTeam

func TFTeamToDTTeam(ctx context.Context, tfTeam TeamResourceModel) (dtrack.Team, diag.Diagnostics)

Types

type TeamDataSource

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

TeamDataSource defines the data source implementation.

func (*TeamDataSource) Configure

func (*TeamDataSource) Metadata

func (*TeamDataSource) Read

func (*TeamDataSource) Schema

type TeamDataSourceModel

type TeamDataSourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Permissions types.Set    `tfsdk:"permissions"`
}

TeamDataSourceModel describes the data source data model.

type TeamResource

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

TeamResource defines the resource implementation.

func (*TeamResource) Configure

func (*TeamResource) Create

func (*TeamResource) Delete

func (*TeamResource) ImportState

func (*TeamResource) Metadata

func (*TeamResource) Read

func (*TeamResource) Schema

func (*TeamResource) Update

type TeamResourceModel

type TeamResourceModel struct {
	ID   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

TeamResourceModel describes the resource data model.

func DTTeamToTFTeam

func DTTeamToTFTeam(ctx context.Context, dtTeam dtrack.Team) (TeamResourceModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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