Documentation ¶
Index ¶
- func BuildTwoPartId(a, b string) string
- func New(version string) func() provider.Provider
- func NewUserDataSource() datasource.DataSource
- func NewUsersDataSource() datasource.DataSource
- func NewWorkspaceDataSource() datasource.DataSource
- func NewWorkspaceMemberDataSource() datasource.DataSource
- func NewWorkspaceMemberResource() resource.Resource
- func NewWorkspaceMembersDataSource() datasource.DataSource
- func NewWorkspaceResource() resource.Resource
- func NewWorkspacesDataSource() datasource.DataSource
- func SplitTwoPartId(id, a, b string) (string, string, error)
- type AnthropicProvider
- func (p *AnthropicProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *AnthropicProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *AnthropicProvider) Functions(ctx context.Context) []func() function.Function
- func (p *AnthropicProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *AnthropicProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *AnthropicProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type AnthropicProviderModel
- type UserDataSource
- func (d *UserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *UserDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type UserDataSourceModel
- type UsersDataSource
- func (d *UsersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *UsersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *UsersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *UsersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type UsersDataSourceModel
- type WorkspaceDataSource
- func (d *WorkspaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WorkspaceMemberDataSource
- func (d *WorkspaceMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceMemberDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceMemberDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WorkspaceMemberModel
- type WorkspaceMemberResource
- func (r *WorkspaceMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WorkspaceMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *WorkspaceMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *WorkspaceMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WorkspaceMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WorkspaceMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *WorkspaceMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *WorkspaceMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type WorkspaceMembersDataSource
- func (d *WorkspaceMembersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceMembersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceMembersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceMembersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WorkspaceMembersDataSourceModel
- type WorkspaceModel
- type WorkspaceResource
- func (r *WorkspaceResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WorkspaceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *WorkspaceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *WorkspaceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WorkspaceResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WorkspaceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *WorkspaceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *WorkspaceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type WorkspacesDataSource
- func (d *WorkspacesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspacesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspacesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspacesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WorkspacesDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTwoPartId ¶
func NewUserDataSource ¶
func NewUserDataSource() datasource.DataSource
func NewUsersDataSource ¶
func NewUsersDataSource() datasource.DataSource
func NewWorkspaceDataSource ¶
func NewWorkspaceDataSource() datasource.DataSource
func NewWorkspaceMemberDataSource ¶
func NewWorkspaceMemberDataSource() datasource.DataSource
func NewWorkspaceMembersDataSource ¶
func NewWorkspaceMembersDataSource() datasource.DataSource
func NewWorkspaceResource ¶
func NewWorkspacesDataSource ¶
func NewWorkspacesDataSource() datasource.DataSource
Types ¶
type AnthropicProvider ¶
type AnthropicProvider struct {
// contains filtered or unexported fields
}
AnthropicProvider defines the provider implementation.
func (*AnthropicProvider) Configure ¶
func (p *AnthropicProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*AnthropicProvider) DataSources ¶
func (p *AnthropicProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*AnthropicProvider) Functions ¶
func (p *AnthropicProvider) Functions(ctx context.Context) []func() function.Function
func (*AnthropicProvider) Metadata ¶
func (p *AnthropicProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*AnthropicProvider) Resources ¶
func (p *AnthropicProvider) Resources(ctx context.Context) []func() resource.Resource
func (*AnthropicProvider) Schema ¶
func (p *AnthropicProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type AnthropicProviderModel ¶
type AnthropicProviderModel struct { BaseUrl types.String `tfsdk:"base_url"` ApiKey types.String `tfsdk:"api_key"` }
AnthropicProviderModel describes the provider data model.
type UserDataSource ¶
type UserDataSource struct {
// contains filtered or unexported fields
}
func (*UserDataSource) Configure ¶
func (d *UserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*UserDataSource) Metadata ¶
func (d *UserDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*UserDataSource) Read ¶
func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*UserDataSource) Schema ¶
func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type UserDataSourceModel ¶
type UsersDataSource ¶
type UsersDataSource struct {
// contains filtered or unexported fields
}
func (*UsersDataSource) Configure ¶
func (d *UsersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*UsersDataSource) Metadata ¶
func (d *UsersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*UsersDataSource) Read ¶
func (d *UsersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*UsersDataSource) Schema ¶
func (d *UsersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type UsersDataSourceModel ¶
type UsersDataSourceModel struct {
Users []UserDataSourceModel `tfsdk:"users"`
}
type WorkspaceDataSource ¶
type WorkspaceDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspaceDataSource) Configure ¶
func (d *WorkspaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WorkspaceDataSource) Metadata ¶
func (d *WorkspaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WorkspaceDataSource) Read ¶
func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WorkspaceDataSource) Schema ¶
func (d *WorkspaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WorkspaceMemberDataSource ¶
type WorkspaceMemberDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspaceMemberDataSource) Configure ¶
func (d *WorkspaceMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WorkspaceMemberDataSource) Metadata ¶
func (d *WorkspaceMemberDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WorkspaceMemberDataSource) Read ¶
func (d *WorkspaceMemberDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WorkspaceMemberDataSource) Schema ¶
func (d *WorkspaceMemberDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WorkspaceMemberModel ¶
type WorkspaceMemberModel struct { WorkspaceId types.String `tfsdk:"workspace_id"` UserId types.String `tfsdk:"user_id"` WorkspaceRole types.String `tfsdk:"workspace_role"` }
func (*WorkspaceMemberModel) Fill ¶
func (m *WorkspaceMemberModel) Fill(data apiclient.WorkspaceMember) error
type WorkspaceMemberResource ¶
type WorkspaceMemberResource struct {
// contains filtered or unexported fields
}
func (*WorkspaceMemberResource) Configure ¶
func (r *WorkspaceMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WorkspaceMemberResource) Create ¶
func (r *WorkspaceMemberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*WorkspaceMemberResource) Delete ¶
func (r *WorkspaceMemberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*WorkspaceMemberResource) ImportState ¶
func (r *WorkspaceMemberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*WorkspaceMemberResource) Metadata ¶
func (r *WorkspaceMemberResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WorkspaceMemberResource) Read ¶
func (r *WorkspaceMemberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*WorkspaceMemberResource) Schema ¶
func (r *WorkspaceMemberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*WorkspaceMemberResource) Update ¶
func (r *WorkspaceMemberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type WorkspaceMembersDataSource ¶
type WorkspaceMembersDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspaceMembersDataSource) Configure ¶
func (d *WorkspaceMembersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WorkspaceMembersDataSource) Metadata ¶
func (d *WorkspaceMembersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WorkspaceMembersDataSource) Read ¶
func (d *WorkspaceMembersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WorkspaceMembersDataSource) Schema ¶
func (d *WorkspaceMembersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WorkspaceMembersDataSourceModel ¶
type WorkspaceMembersDataSourceModel struct { Id types.String `tfsdk:"id"` Members []WorkspaceMemberModel `tfsdk:"members"` }
func (*WorkspaceMembersDataSourceModel) Fill ¶
func (m *WorkspaceMembersDataSourceModel) Fill(members []apiclient.WorkspaceMember) error
type WorkspaceModel ¶
type WorkspaceResource ¶
type WorkspaceResource struct {
// contains filtered or unexported fields
}
func (*WorkspaceResource) Configure ¶
func (r *WorkspaceResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WorkspaceResource) Create ¶
func (r *WorkspaceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*WorkspaceResource) Delete ¶
func (r *WorkspaceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*WorkspaceResource) ImportState ¶
func (r *WorkspaceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*WorkspaceResource) Metadata ¶
func (r *WorkspaceResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WorkspaceResource) Read ¶
func (r *WorkspaceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*WorkspaceResource) Schema ¶
func (r *WorkspaceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*WorkspaceResource) Update ¶
func (r *WorkspaceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type WorkspacesDataSource ¶
type WorkspacesDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspacesDataSource) Configure ¶
func (d *WorkspacesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WorkspacesDataSource) Metadata ¶
func (d *WorkspacesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WorkspacesDataSource) Read ¶
func (d *WorkspacesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WorkspacesDataSource) Schema ¶
func (d *WorkspacesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WorkspacesDataSourceModel ¶
type WorkspacesDataSourceModel struct {
Workspaces []WorkspaceModel `tfsdk:"workspaces"`
}
Source Files ¶
- data_source.go
- data_source_user.go
- data_source_users.go
- data_source_workspace.go
- data_source_workspace_member.go
- data_source_workspace_members.go
- data_source_workspaces.go
- model_workspace.go
- model_workspace_member.go
- provider.go
- resource.go
- resource_workspace.go
- resource_workspace_member.go
- utils.go
Click to show internal directories.
Click to hide internal directories.