Documentation ¶
Index ¶
- func ErrAsDiagnostic(message string, err error) (diags []diag.Diagnostic)
- func ErrMissingAttribute(attributeName string) diag.Diagnostic
- func ErrMissingProviderAttribute(attributeName, environmentName string) diag.Diagnostic
- func ErrUnexpectedDataSourceConfigureType(input any) diag.Diagnostic
- func ErrUnexpectedResourceConfigureType(input any) diag.Diagnostic
- func ErrUnknownProviderAttribute(attributeName, environmentName string) diag.Diagnostic
- func New(version string) func() provider.Provider
- func NewAWSOIDCAccountResource() resource.Resource
- func NewEnvironmentDataSource() datasource.DataSource
- func NewProjectDataSource() datasource.DataSource
- func NewProjectTriggerResource() resource.Resource
- func NewServiceAccountOIDCIdentities() datasource.DataSource
- func NewServiceAccountOIDCIdentity() resource.Resource
- func NewTenantConnectionResource() resource.Resource
- func NewTenantDataSource() datasource.DataSource
- type AWSOIDCAccountResource
- func (r *AWSOIDCAccountResource) ConfigValidators(context.Context) []resource.ConfigValidator
- func (r *AWSOIDCAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AWSOIDCAccountResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
- func (r *AWSOIDCAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
- func (r *AWSOIDCAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AWSOIDCAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AWSOIDCAccountResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
- func (r *AWSOIDCAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
- func (r *AWSOIDCAccountResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
- type AWSOIDCAccountResourceModel
- type EnvironmentDataSource
- func (d *EnvironmentDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
- func (d *EnvironmentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *EnvironmentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *EnvironmentDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
- func (d *EnvironmentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type EnvironmentDataSourceModel
- type OctopusDeployProvider
- func (p *OctopusDeployProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *OctopusDeployProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *OctopusDeployProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *OctopusDeployProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *OctopusDeployProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type OctopusDeployProviderModel
- type ProjectDataSource
- func (d *ProjectDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
- func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ProjectDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ProjectDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
- func (d *ProjectDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ProjectDataSourceModel
- type ProjectTriggerCronExpressionScheduleResourceModel
- type ProjectTriggerResource
- func (r *ProjectTriggerResource) ConfigValidators(context.Context) []resource.ConfigValidator
- func (r *ProjectTriggerResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectTriggerResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
- func (r *ProjectTriggerResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
- func (r *ProjectTriggerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectTriggerResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectTriggerResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
- func (r *ProjectTriggerResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
- func (r *ProjectTriggerResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
- type ProjectTriggerResourceModel
- type ProjectTriggerRunRunbookActionResourceModel
- type ServiceAccountOIDCIdentities
- func (d *ServiceAccountOIDCIdentities) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ServiceAccountOIDCIdentities) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ServiceAccountOIDCIdentities) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
- func (d *ServiceAccountOIDCIdentities) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ServiceAccountOIDCIdentitiesModel
- type ServiceAccountOIDCIdentityModel
- type ServiceAccountOIDCIdentityResource
- func (r *ServiceAccountOIDCIdentityResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ServiceAccountOIDCIdentityResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
- func (r *ServiceAccountOIDCIdentityResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
- func (r *ServiceAccountOIDCIdentityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ServiceAccountOIDCIdentityResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ServiceAccountOIDCIdentityResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
- func (r *ServiceAccountOIDCIdentityResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
- func (r *ServiceAccountOIDCIdentityResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
- type ServiceAccountOIDCIdentityResourceModel
- type TenantConnectionResource
- func (r *TenantConnectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TenantConnectionResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
- func (r *TenantConnectionResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
- func (r *TenantConnectionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TenantConnectionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TenantConnectionResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
- func (r *TenantConnectionResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
- func (r *TenantConnectionResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
- type TenantConnectionResourceModel
- type TenantDataSource
- func (d *TenantDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
- func (d *TenantDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *TenantDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *TenantDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
- func (d *TenantDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type TenantDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrAsDiagnostic ¶
func ErrAsDiagnostic(message string, err error) (diags []diag.Diagnostic)
func ErrMissingAttribute ¶
func ErrMissingAttribute(attributeName string) diag.Diagnostic
func ErrMissingProviderAttribute ¶
func ErrMissingProviderAttribute(attributeName, environmentName string) diag.Diagnostic
func ErrUnexpectedDataSourceConfigureType ¶
func ErrUnexpectedDataSourceConfigureType(input any) diag.Diagnostic
func ErrUnexpectedResourceConfigureType ¶
func ErrUnexpectedResourceConfigureType(input any) diag.Diagnostic
func ErrUnknownProviderAttribute ¶
func ErrUnknownProviderAttribute(attributeName, environmentName string) diag.Diagnostic
func NewAWSOIDCAccountResource ¶ added in v0.0.5
func NewEnvironmentDataSource ¶
func NewEnvironmentDataSource() datasource.DataSource
func NewProjectDataSource ¶
func NewProjectDataSource() datasource.DataSource
func NewProjectTriggerResource ¶ added in v0.0.4
func NewServiceAccountOIDCIdentities ¶ added in v0.0.3
func NewServiceAccountOIDCIdentities() datasource.DataSource
func NewServiceAccountOIDCIdentity ¶ added in v0.0.3
func NewTenantDataSource ¶
func NewTenantDataSource() datasource.DataSource
Types ¶
type AWSOIDCAccountResource ¶ added in v0.0.5
type AWSOIDCAccountResource struct {
// contains filtered or unexported fields
}
AWSOIDCAccountResource defines the resource implementation.
func (*AWSOIDCAccountResource) ConfigValidators ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) ConfigValidators(context.Context) []resource.ConfigValidator
func (*AWSOIDCAccountResource) Configure ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, res *resource.ConfigureResponse)
func (*AWSOIDCAccountResource) Create ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
func (*AWSOIDCAccountResource) Delete ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
func (*AWSOIDCAccountResource) ImportState ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, res *resource.ImportStateResponse)
func (*AWSOIDCAccountResource) Metadata ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, res *resource.MetadataResponse)
func (*AWSOIDCAccountResource) Read ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
func (*AWSOIDCAccountResource) Schema ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
func (*AWSOIDCAccountResource) Update ¶ added in v0.0.5
func (r *AWSOIDCAccountResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
type AWSOIDCAccountResourceModel ¶ added in v0.0.5
type AWSOIDCAccountResourceModel struct { SpaceID types.String `tfsdk:"space_id"` ID types.String `tfsdk:"id"` Slug types.String `tfsdk:"slug"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` TenantedDeploymentParticipation types.String `tfsdk:"tenanted_deployment_participation"` RoleARN types.String `tfsdk:"role_arn"` SessionDuration types.String `tfsdk:"session_duration"` EnvironmentIDs types.List `tfsdk:"environment_ids"` TenantIDs types.List `tfsdk:"tenant_ids"` TenantTags types.List `tfsdk:"tenant_tags"` DeploymentSubjectKeys types.List `tfsdk:"deployment_subject_keys"` HealthCheckSubjectKeys types.List `tfsdk:"health_check_subject_keys"` AccountTestSubjectKeys types.List `tfsdk:"account_test_subject_keys"` }
AWSOIDCAccountResourceModel describes the resource data model.
type EnvironmentDataSource ¶
type EnvironmentDataSource struct {
// contains filtered or unexported fields
}
EnvironmentDataSource defines the data source implementation.
func (*EnvironmentDataSource) ConfigValidators ¶
func (d *EnvironmentDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
func (*EnvironmentDataSource) Configure ¶
func (d *EnvironmentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, res *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*EnvironmentDataSource) Metadata ¶
func (d *EnvironmentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, res *datasource.MetadataResponse)
func (*EnvironmentDataSource) Read ¶
func (d *EnvironmentDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
func (*EnvironmentDataSource) Schema ¶
func (d *EnvironmentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, res *datasource.SchemaResponse)
type EnvironmentDataSourceModel ¶
type EnvironmentDataSourceModel struct { SpaceID types.String `tfsdk:"space_id"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` }
EnvironmentDataSourceModel describes the data source data model.
type OctopusDeployProvider ¶
type OctopusDeployProvider struct {
// contains filtered or unexported fields
}
OctopusDeployProvider defines the provider implementation.
func (*OctopusDeployProvider) Configure ¶
func (p *OctopusDeployProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*OctopusDeployProvider) DataSources ¶
func (p *OctopusDeployProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*OctopusDeployProvider) Metadata ¶
func (p *OctopusDeployProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*OctopusDeployProvider) Resources ¶
func (p *OctopusDeployProvider) Resources(ctx context.Context) []func() resource.Resource
func (*OctopusDeployProvider) Schema ¶
func (p *OctopusDeployProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type OctopusDeployProviderModel ¶
type OctopusDeployProviderModel struct { SpaceID types.String `tfsdk:"space_id"` ServerURL types.String `tfsdk:"server_url"` APIKey types.String `tfsdk:"api_key"` }
OctopusDeployProviderModel describes the provider data model.
type ProjectDataSource ¶
type ProjectDataSource struct {
// contains filtered or unexported fields
}
ProjectDataSource defines the data source implementation.
func (*ProjectDataSource) ConfigValidators ¶
func (d *ProjectDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
func (*ProjectDataSource) Configure ¶
func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, res *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*ProjectDataSource) Metadata ¶
func (d *ProjectDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, res *datasource.MetadataResponse)
func (*ProjectDataSource) Read ¶
func (d *ProjectDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
func (*ProjectDataSource) Schema ¶
func (d *ProjectDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, res *datasource.SchemaResponse)
type ProjectDataSourceModel ¶
type ProjectDataSourceModel struct { SpaceID types.String `tfsdk:"space_id"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Slug types.String `tfsdk:"slug"` }
ProjectDataSourceModel describes the data source data model.
type ProjectTriggerCronExpressionScheduleResourceModel ¶ added in v0.0.4
type ProjectTriggerCronExpressionScheduleResourceModel struct { CronExpression types.String `tfsdk:"cron_expression"` Timezone types.String `tfsdk:"timezone"` }
ProjectTriggerCronExpressionScheduleResourceModel describes the cron expression schedule data model.
type ProjectTriggerResource ¶ added in v0.0.4
type ProjectTriggerResource struct {
// contains filtered or unexported fields
}
ProjectTriggerResource defines the resource implementation.
func (*ProjectTriggerResource) ConfigValidators ¶ added in v0.0.4
func (r *ProjectTriggerResource) ConfigValidators(context.Context) []resource.ConfigValidator
func (*ProjectTriggerResource) Configure ¶ added in v0.0.4
func (r *ProjectTriggerResource) Configure(ctx context.Context, req resource.ConfigureRequest, res *resource.ConfigureResponse)
func (*ProjectTriggerResource) Create ¶ added in v0.0.4
func (r *ProjectTriggerResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
func (*ProjectTriggerResource) Delete ¶ added in v0.0.4
func (r *ProjectTriggerResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
func (*ProjectTriggerResource) ImportState ¶ added in v0.0.4
func (r *ProjectTriggerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, res *resource.ImportStateResponse)
func (*ProjectTriggerResource) Metadata ¶ added in v0.0.4
func (r *ProjectTriggerResource) Metadata(ctx context.Context, req resource.MetadataRequest, res *resource.MetadataResponse)
func (*ProjectTriggerResource) Read ¶ added in v0.0.4
func (r *ProjectTriggerResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
func (*ProjectTriggerResource) Schema ¶ added in v0.0.4
func (r *ProjectTriggerResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
func (*ProjectTriggerResource) Update ¶ added in v0.0.4
func (r *ProjectTriggerResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
type ProjectTriggerResourceModel ¶ added in v0.0.4
type ProjectTriggerResourceModel struct { SpaceID types.String `tfsdk:"space_id"` ID types.String `tfsdk:"id"` ProjectID types.String `tfsdk:"project_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` IsDisabled types.Bool `tfsdk:"is_disabled"` RunRunbookAction *ProjectTriggerRunRunbookActionResourceModel `tfsdk:"run_runbook_action"` CronExpressionSchedule *ProjectTriggerCronExpressionScheduleResourceModel `tfsdk:"cron_expression_schedule"` }
ProjectTriggerResourceModel describes the resource data model.
type ProjectTriggerRunRunbookActionResourceModel ¶ added in v0.0.4
type ProjectTriggerRunRunbookActionResourceModel struct { RunbookID types.String `tfsdk:"runbook_id"` EnvironmentIDs types.List `tfsdk:"environment_ids"` TenantIDs types.List `tfsdk:"tenant_ids"` TenantTags types.List `tfsdk:"tenant_tags"` }
ProjectTriggerRunbookActionResourceModel describes the runbook action data model.
type ServiceAccountOIDCIdentities ¶ added in v0.0.3
type ServiceAccountOIDCIdentities struct {
// contains filtered or unexported fields
}
ServiceAccountOIDCIdentities defines the data source implementation.
func (*ServiceAccountOIDCIdentities) Configure ¶ added in v0.0.3
func (d *ServiceAccountOIDCIdentities) Configure(ctx context.Context, req datasource.ConfigureRequest, res *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*ServiceAccountOIDCIdentities) Metadata ¶ added in v0.0.3
func (d *ServiceAccountOIDCIdentities) Metadata(ctx context.Context, req datasource.MetadataRequest, res *datasource.MetadataResponse)
func (*ServiceAccountOIDCIdentities) Read ¶ added in v0.0.3
func (d *ServiceAccountOIDCIdentities) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
func (*ServiceAccountOIDCIdentities) Schema ¶ added in v0.0.3
func (d *ServiceAccountOIDCIdentities) Schema(ctx context.Context, req datasource.SchemaRequest, res *datasource.SchemaResponse)
type ServiceAccountOIDCIdentitiesModel ¶ added in v0.0.3
type ServiceAccountOIDCIdentitiesModel struct { UserID types.String `tfsdk:"user_id"` ExternalID types.String `tfsdk:"external_id"` OIDCIdentities types.List `tfsdk:"oidc_identities"` Skip types.Int64 `tfsdk:"skip"` Take types.Int64 `tfsdk:"take"` }
ServiceAccountOIDCIdentitiesModel describes the data source data model.
type ServiceAccountOIDCIdentityModel ¶ added in v0.0.3
type ServiceAccountOIDCIdentityModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Issuer types.String `tfsdk:"issuer"` Subject types.String `tfsdk:"subject"` }
ServiceAccountOIDCIdentityModel describes the data source nested oidc identity data model.
type ServiceAccountOIDCIdentityResource ¶ added in v0.0.3
type ServiceAccountOIDCIdentityResource struct {
// contains filtered or unexported fields
}
ServiceAccountOIDCIdentityResource defines the resource implementation.
func (*ServiceAccountOIDCIdentityResource) Configure ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Configure(ctx context.Context, req resource.ConfigureRequest, res *resource.ConfigureResponse)
func (*ServiceAccountOIDCIdentityResource) Create ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
func (*ServiceAccountOIDCIdentityResource) Delete ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
func (*ServiceAccountOIDCIdentityResource) ImportState ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, res *resource.ImportStateResponse)
func (*ServiceAccountOIDCIdentityResource) Metadata ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Metadata(ctx context.Context, req resource.MetadataRequest, res *resource.MetadataResponse)
func (*ServiceAccountOIDCIdentityResource) Read ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
func (*ServiceAccountOIDCIdentityResource) Schema ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
func (*ServiceAccountOIDCIdentityResource) Update ¶ added in v0.0.3
func (r *ServiceAccountOIDCIdentityResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
type ServiceAccountOIDCIdentityResourceModel ¶ added in v0.0.3
type ServiceAccountOIDCIdentityResourceModel struct { ID types.String `tfsdk:"id"` UserID types.String `tfsdk:"user_id"` ExternalID types.String `tfsdk:"external_id"` Name types.String `tfsdk:"name"` Issuer types.String `tfsdk:"issuer"` Subject types.String `tfsdk:"subject"` }
ServiceAccountOIDCIdentityResourceModel describes the resource data model.
type TenantConnectionResource ¶
type TenantConnectionResource struct {
// contains filtered or unexported fields
}
TenantConnectionResource defines the resource implementation.
func (*TenantConnectionResource) Configure ¶
func (r *TenantConnectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, res *resource.ConfigureResponse)
func (*TenantConnectionResource) Create ¶
func (r *TenantConnectionResource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse)
func (*TenantConnectionResource) Delete ¶
func (r *TenantConnectionResource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse)
func (*TenantConnectionResource) ImportState ¶
func (r *TenantConnectionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, res *resource.ImportStateResponse)
func (*TenantConnectionResource) Metadata ¶
func (r *TenantConnectionResource) Metadata(ctx context.Context, req resource.MetadataRequest, res *resource.MetadataResponse)
func (*TenantConnectionResource) Read ¶
func (r *TenantConnectionResource) Read(ctx context.Context, req resource.ReadRequest, res *resource.ReadResponse)
func (*TenantConnectionResource) Schema ¶
func (r *TenantConnectionResource) Schema(ctx context.Context, req resource.SchemaRequest, res *resource.SchemaResponse)
func (*TenantConnectionResource) Update ¶
func (r *TenantConnectionResource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse)
type TenantConnectionResourceModel ¶
type TenantConnectionResourceModel struct { SpaceID types.String `tfsdk:"space_id"` TenantID types.String `tfsdk:"tenant_id"` ProjectID types.String `tfsdk:"project_id"` EnvironmentIDs types.List `tfsdk:"environment_ids"` }
TenantConnectionResourceModel describes the resource data model.
type TenantDataSource ¶
type TenantDataSource struct {
// contains filtered or unexported fields
}
TenantDataSource defines the data source implementation.
func (*TenantDataSource) ConfigValidators ¶
func (d *TenantDataSource) ConfigValidators(context.Context) []datasource.ConfigValidator
func (*TenantDataSource) Configure ¶
func (d *TenantDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, res *datasource.ConfigureResponse)
Configure adds the provider configured client to the data source.
func (*TenantDataSource) Metadata ¶
func (d *TenantDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, res *datasource.MetadataResponse)
func (*TenantDataSource) Read ¶
func (d *TenantDataSource) Read(ctx context.Context, req datasource.ReadRequest, res *datasource.ReadResponse)
func (*TenantDataSource) Schema ¶
func (d *TenantDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, res *datasource.SchemaResponse)