Documentation ¶
Index ¶
- func NewAccountDataSource() datasource.DataSource
- func NewAccountMemberDataSource() datasource.DataSource
- func NewAccountMembersDataSource() datasource.DataSource
- func NewAccountRoleDataSource() datasource.DataSource
- func NewServiceAccountDataSource() datasource.DataSource
- func NewTeamDataSource() datasource.DataSource
- func NewTeamsDataSource() datasource.DataSource
- func NewVariableDataSource() datasource.DataSource
- func NewWorkPoolDataSource() datasource.DataSource
- func NewWorkPoolsDataSource() datasource.DataSource
- func NewWorkerMetadataDataSource() datasource.DataSource
- func NewWorkspaceDataSource() datasource.DataSource
- func NewWorkspaceRoleDataSource() datasource.DataSource
- type AccountDataSource
- func (d *AccountDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AccountDataSourceModel
- type AccountMemberDataSource
- func (d *AccountMemberDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccountMemberDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AccountMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccountMemberDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AccountMemberDataSourceModel
- type AccountMembersDataSource
- func (d *AccountMembersDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccountMembersDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AccountMembersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccountMembersDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AccountMembersDataSourceModel
- type AccountRoleDataSource
- func (d *AccountRoleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *AccountRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AccountRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AccountRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AccountRoleDataSourceModel
- type ServiceAccountDataSource
- func (d *ServiceAccountDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *ServiceAccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *ServiceAccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ServiceAccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ServiceAccountDataSourceModel
- type TeamDataSource
- func (d *TeamDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *TeamDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TeamDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type TeamDataSourceModel
- type TeamsDataSource
- func (d *TeamsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *TeamsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *TeamsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TeamsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type TeamsDataSourceModel
- type VariableDataSource
- func (d *VariableDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *VariableDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *VariableDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *VariableDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type VariableDataSourceModel
- type WorkPoolDataSource
- func (d *WorkPoolDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkPoolDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkPoolDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkPoolDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WorkPoolDataSourceModel
- type WorkPoolsDataSource
- func (d *WorkPoolsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkPoolsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkPoolsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkPoolsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WorkPoolsSourceModel
- type WorkerMetadataDataSource
- func (d *WorkerMetadataDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkerMetadataDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkerMetadataDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkerMetadataDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WorkerMetadataDataSourceModel
- type WorkspaceDataSource
- func (d *WorkspaceDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WorkspaceDataSourceModel
- type WorkspaceRoleDataSource
- func (d *WorkspaceRoleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WorkspaceRoleDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccountDataSource ¶
func NewAccountDataSource() datasource.DataSource
NewAccountDataSource returns a new AccountDataSource.
func NewAccountMemberDataSource ¶
func NewAccountMemberDataSource() datasource.DataSource
NewAccountMemberDataSource returns a new AccountMemberDataSource.
func NewAccountMembersDataSource ¶
func NewAccountMembersDataSource() datasource.DataSource
NewAccountMemberDataSource returns a new AccountMemberDataSource.
func NewAccountRoleDataSource ¶
func NewAccountRoleDataSource() datasource.DataSource
NewWorkspaceRoleDataSource returns a new WorkspaceRoleDataSource.
func NewServiceAccountDataSource ¶
func NewServiceAccountDataSource() datasource.DataSource
NewServiceAccountDataSource returns a new ServiceAccountDataSource.
func NewTeamDataSource ¶
func NewTeamDataSource() datasource.DataSource
NewTeamDataSource returns a new TeamDataSource.
func NewTeamsDataSource ¶
func NewTeamsDataSource() datasource.DataSource
NewTeamsDataSource returns a new TeamsDataSource.
func NewVariableDataSource ¶
func NewVariableDataSource() datasource.DataSource
NewVariableDataSource returns a new VariableDataSource.
func NewWorkPoolDataSource ¶
func NewWorkPoolDataSource() datasource.DataSource
NewWorkPoolDataSource returns a new WorkPoolDataSource.
func NewWorkPoolsDataSource ¶
func NewWorkPoolsDataSource() datasource.DataSource
NewWorkPoolsDataSource returns a new WorkPoolsDataSource.
func NewWorkerMetadataDataSource ¶
func NewWorkerMetadataDataSource() datasource.DataSource
NewWorkerMetadataDataSource returns a new WorkerMetadataDataSource.
func NewWorkspaceDataSource ¶
func NewWorkspaceDataSource() datasource.DataSource
NewWorkspaceDataSource returns a new WorkspaceDataSource.
func NewWorkspaceRoleDataSource ¶
func NewWorkspaceRoleDataSource() datasource.DataSource
NewWorkspaceRoleDataSource returns a new WorkspaceRoleDataSource.
Types ¶
type AccountDataSource ¶
type AccountDataSource struct {
// contains filtered or unexported fields
}
AccountDataSource contains state for the data source.
func (*AccountDataSource) Configure ¶
func (d *AccountDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*AccountDataSource) Metadata ¶
func (d *AccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*AccountDataSource) Read ¶
func (d *AccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*AccountDataSource) Schema ¶
func (d *AccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type AccountDataSourceModel ¶
type AccountDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` Name types.String `tfsdk:"name"` Handle types.String `tfsdk:"handle"` Location types.String `tfsdk:"location"` Link types.String `tfsdk:"link"` AllowPublicWorkspaces types.Bool `tfsdk:"allow_public_workspaces"` BillingEmail types.String `tfsdk:"billing_email"` }
AccountDataSourceModel defines the Terraform data source model.
type AccountMemberDataSource ¶
type AccountMemberDataSource struct {
// contains filtered or unexported fields
}
func (*AccountMemberDataSource) Configure ¶
func (d *AccountMemberDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*AccountMemberDataSource) Metadata ¶
func (d *AccountMemberDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*AccountMemberDataSource) Read ¶
func (d *AccountMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*AccountMemberDataSource) Schema ¶
func (d *AccountMemberDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type AccountMemberDataSourceModel ¶
type AccountMemberDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` ActorID customtypes.UUIDValue `tfsdk:"actor_id"` UserID customtypes.UUIDValue `tfsdk:"user_id"` FirstName types.String `tfsdk:"first_name"` LastName types.String `tfsdk:"last_name"` Handle types.String `tfsdk:"handle"` Email types.String `tfsdk:"email"` AccountRoleID customtypes.UUIDValue `tfsdk:"account_role_id"` AccountRoleName types.String `tfsdk:"account_role_name"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` }
type AccountMembersDataSource ¶
type AccountMembersDataSource struct {
// contains filtered or unexported fields
}
func (*AccountMembersDataSource) Configure ¶
func (d *AccountMembersDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*AccountMembersDataSource) Metadata ¶
func (d *AccountMembersDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*AccountMembersDataSource) Read ¶
func (d *AccountMembersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*AccountMembersDataSource) Schema ¶
func (d *AccountMembersDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type AccountMembersDataSourceModel ¶
type AccountMembersDataSourceModel struct { Members types.List `tfsdk:"members"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` }
type AccountRoleDataSource ¶
type AccountRoleDataSource struct {
// contains filtered or unexported fields
}
func (*AccountRoleDataSource) Configure ¶
func (d *AccountRoleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*AccountRoleDataSource) Metadata ¶
func (d *AccountRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*AccountRoleDataSource) Read ¶
func (d *AccountRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*AccountRoleDataSource) Schema ¶
func (d *AccountRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type AccountRoleDataSourceModel ¶
type AccountRoleDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` Name types.String `tfsdk:"name"` Permissions types.List `tfsdk:"permissions"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` IsSystemRole types.Bool `tfsdk:"is_system_role"` }
AccountRoleDataSource defines the Terraform data source model the TF data source configuration will be unmarshalled into this struct.
type ServiceAccountDataSource ¶
type ServiceAccountDataSource struct {
// contains filtered or unexported fields
}
ServiceAccountDataSource contains state for the data source.
func (*ServiceAccountDataSource) Configure ¶
func (d *ServiceAccountDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*ServiceAccountDataSource) Metadata ¶
func (d *ServiceAccountDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*ServiceAccountDataSource) Read ¶
func (d *ServiceAccountDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*ServiceAccountDataSource) Schema ¶
func (d *ServiceAccountDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type ServiceAccountDataSourceModel ¶
type ServiceAccountDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` Name types.String `tfsdk:"name"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` AccountRoleName types.String `tfsdk:"account_role_name"` // SA fields APIKeyID types.String `tfsdk:"api_key_id"` APIKeyName types.String `tfsdk:"api_key_name"` APIKeyCreated customtypes.TimestampValue `tfsdk:"api_key_created"` APIKeyExpires customtypes.TimestampValue `tfsdk:"api_key_expiration"` APIKey types.String `tfsdk:"api_key"` }
ServiceAccountDataSourceModel defines the Terraform data source model.
type TeamDataSource ¶
type TeamDataSource struct {
// contains filtered or unexported fields
}
func (*TeamDataSource) Configure ¶
func (d *TeamDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*TeamDataSource) Metadata ¶
func (d *TeamDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*TeamDataSource) Read ¶
func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*TeamDataSource) Schema ¶
func (d *TeamDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type TeamDataSourceModel ¶
type TeamDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` }
type TeamsDataSource ¶
type TeamsDataSource struct {
// contains filtered or unexported fields
}
TeamsDataSource contains state for the data source.
func (*TeamsDataSource) Configure ¶
func (d *TeamsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*TeamsDataSource) Metadata ¶
func (d *TeamsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*TeamsDataSource) Read ¶
func (d *TeamsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*TeamsDataSource) Schema ¶
func (d *TeamsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type TeamsDataSourceModel ¶
type TeamsDataSourceModel struct { AccountID customtypes.UUIDValue `tfsdk:"account_id"` Teams types.List `tfsdk:"teams"` }
TeamsDataSourceModel defines the Terraform data source model.
type VariableDataSource ¶
type VariableDataSource struct {
// contains filtered or unexported fields
}
VariableDataSource contains state for the data source.
func (*VariableDataSource) Configure ¶
func (d *VariableDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*VariableDataSource) Metadata ¶
func (d *VariableDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*VariableDataSource) Read ¶
func (d *VariableDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*VariableDataSource) Schema ¶
func (d *VariableDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type VariableDataSourceModel ¶
type VariableDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` WorkspaceID customtypes.UUIDValue `tfsdk:"workspace_id"` Name types.String `tfsdk:"name"` Value types.String `tfsdk:"value"` Tags types.List `tfsdk:"tags"` }
VariableDataSourceModel defines the Terraform data source model.
type WorkPoolDataSource ¶
type WorkPoolDataSource struct {
// contains filtered or unexported fields
}
WorkPoolDataSource contains state for the data source.
func (*WorkPoolDataSource) Configure ¶
func (d *WorkPoolDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*WorkPoolDataSource) Metadata ¶
func (d *WorkPoolDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*WorkPoolDataSource) Read ¶
func (d *WorkPoolDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*WorkPoolDataSource) Schema ¶
func (d *WorkPoolDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type WorkPoolDataSourceModel ¶
type WorkPoolDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` WorkspaceID customtypes.UUIDValue `tfsdk:"workspace_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Type types.String `tfsdk:"type"` Paused types.Bool `tfsdk:"paused"` ConcurrencyLimit types.Int64 `tfsdk:"concurrency_limit"` DefaultQueueID customtypes.UUIDValue `tfsdk:"default_queue_id"` BaseJobTemplate types.String `tfsdk:"base_job_template"` }
WorkPoolDataSourceModel defines the Terraform data source model.
type WorkPoolsDataSource ¶
type WorkPoolsDataSource struct {
// contains filtered or unexported fields
}
WorkPoolsDataSource contains state for the data source.
func (*WorkPoolsDataSource) Configure ¶
func (d *WorkPoolsDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*WorkPoolsDataSource) Metadata ¶
func (d *WorkPoolsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*WorkPoolsDataSource) Read ¶
func (d *WorkPoolsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*WorkPoolsDataSource) Schema ¶
func (d *WorkPoolsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type WorkPoolsSourceModel ¶
type WorkPoolsSourceModel struct { AccountID customtypes.UUIDValue `tfsdk:"account_id"` WorkspaceID customtypes.UUIDValue `tfsdk:"workspace_id"` FilterAny types.List `tfsdk:"filter_any"` WorkPools types.List `tfsdk:"work_pools"` }
WorkPoolsSourceModel defines the Terraform data source model.
type WorkerMetadataDataSource ¶
type WorkerMetadataDataSource struct {
// contains filtered or unexported fields
}
func (*WorkerMetadataDataSource) Configure ¶
func (d *WorkerMetadataDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*WorkerMetadataDataSource) Metadata ¶
func (d *WorkerMetadataDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*WorkerMetadataDataSource) Read ¶
func (d *WorkerMetadataDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*WorkerMetadataDataSource) Schema ¶
func (d *WorkerMetadataDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type WorkspaceDataSource ¶
type WorkspaceDataSource struct {
// contains filtered or unexported fields
}
WorkspaceDataSource contains state for the data source.
func (*WorkspaceDataSource) Configure ¶
func (d *WorkspaceDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure initializes runtime state for the data source.
func (*WorkspaceDataSource) Metadata ¶
func (d *WorkspaceDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*WorkspaceDataSource) Read ¶
func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*WorkspaceDataSource) Schema ¶
func (d *WorkspaceDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type WorkspaceDataSourceModel ¶
type WorkspaceDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` Name types.String `tfsdk:"name"` Handle types.String `tfsdk:"handle"` Description types.String `tfsdk:"description"` }
WorkspaceDataSourceModel defines the Terraform data source model.
type WorkspaceRoleDataSource ¶
type WorkspaceRoleDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspaceRoleDataSource) Configure ¶
func (d *WorkspaceRoleDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
Configure adds the provider-configured client to the data source.
func (*WorkspaceRoleDataSource) Metadata ¶
func (d *WorkspaceRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
Metadata returns the data source type name.
func (*WorkspaceRoleDataSource) Read ¶
func (d *WorkspaceRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
Read refreshes the Terraform state with the latest data.
func (*WorkspaceRoleDataSource) Schema ¶
func (d *WorkspaceRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the schema for the data source.
type WorkspaceRoleDataSourceModel ¶
type WorkspaceRoleDataSourceModel struct { ID customtypes.UUIDValue `tfsdk:"id"` Created customtypes.TimestampValue `tfsdk:"created"` Updated customtypes.TimestampValue `tfsdk:"updated"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Scopes types.List `tfsdk:"scopes"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` InheritedRoleID customtypes.UUIDValue `tfsdk:"inherited_role_id"` }
WorkspaceRoleDataSourceModel defines the Terraform data source model the TF data source configuration will be unmarshalled into this struct.