provider

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewAllClientKeysDataSource added in v0.13.0

func NewAllClientKeysDataSource() datasource.DataSource

func NewAllProjectsDataSource added in v0.13.0

func NewAllProjectsDataSource() datasource.DataSource

func NewAllProjectsSpikeProtectionResource added in v0.13.0

func NewAllProjectsSpikeProtectionResource() resource.Resource

func NewClientKeyDataSource added in v0.13.0

func NewClientKeyDataSource() datasource.DataSource

func NewClientKeyResource added in v0.13.0

func NewClientKeyResource() resource.Resource

func NewIntegrationOpsgenie added in v0.13.0

func NewIntegrationOpsgenie() resource.Resource

func NewIntegrationPagerDuty added in v0.13.0

func NewIntegrationPagerDuty() resource.Resource

func NewIssueAlertDataSource

func NewIssueAlertDataSource() datasource.DataSource

func NewIssueAlertResource

func NewIssueAlertResource() resource.Resource

func NewNotificationActionResource

func NewNotificationActionResource() resource.Resource

func NewOrganizationIntegrationDataSource

func NewOrganizationIntegrationDataSource() datasource.DataSource

func NewOrganizationMemberDataSource

func NewOrganizationMemberDataSource() datasource.DataSource

func NewProjectDataSource added in v0.13.0

func NewProjectDataSource() datasource.DataSource

func NewProjectInboundDataFilterResource

func NewProjectInboundDataFilterResource() resource.Resource

func NewProjectSpikeProtectionResource

func NewProjectSpikeProtectionResource() resource.Resource

func NewProjectSymbolSourcesResource

func NewProjectSymbolSourcesResource() resource.Resource

func NewTeamMemberResource

func NewTeamMemberResource() resource.Resource

Types

type AllClientKeysDataSource added in v0.13.0

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

func (*AllClientKeysDataSource) Configure added in v0.13.0

func (d *AllClientKeysDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*AllClientKeysDataSource) Metadata added in v0.13.0

func (*AllClientKeysDataSource) Read added in v0.13.0

func (*AllClientKeysDataSource) Schema added in v0.13.0

type AllClientKeysDataSourceModel added in v0.13.0

type AllClientKeysDataSourceModel struct {
	Organization types.String             `tfsdk:"organization"`
	Project      types.String             `tfsdk:"project"`
	FilterStatus types.String             `tfsdk:"filter_status"`
	Keys         []ClientKeyResourceModel `tfsdk:"keys"`
}

func (*AllClientKeysDataSourceModel) Fill added in v0.13.0

func (m *AllClientKeysDataSourceModel) Fill(organization string, project string, filterStatus *string, keys []*sentry.ProjectKey) error

type AllProjectsDataSource added in v0.13.0

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

func (*AllProjectsDataSource) Configure added in v0.13.0

func (d *AllProjectsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*AllProjectsDataSource) Metadata added in v0.13.0

func (*AllProjectsDataSource) Read added in v0.13.0

func (*AllProjectsDataSource) Schema added in v0.13.0

type AllProjectsDataSourceModel added in v0.13.0

type AllProjectsDataSourceModel struct {
	Organization types.String                        `tfsdk:"organization"`
	ProjectSlugs types.Set                           `tfsdk:"project_slugs"`
	Projects     []AllProjectsDataSourceProjectModel `tfsdk:"projects"`
}

func (*AllProjectsDataSourceModel) Fill added in v0.13.0

func (m *AllProjectsDataSourceModel) Fill(organization string, projects []sentry.Project) error

type AllProjectsDataSourceProjectModel added in v0.13.0

type AllProjectsDataSourceProjectModel struct {
	InternalId  types.String `tfsdk:"internal_id"`
	Slug        types.String `tfsdk:"slug"`
	Name        types.String `tfsdk:"name"`
	Platform    types.String `tfsdk:"platform"`
	DateCreated types.String `tfsdk:"date_created"`
	Features    types.Set    `tfsdk:"features"`
	Color       types.String `tfsdk:"color"`
}

func (*AllProjectsDataSourceProjectModel) Fill added in v0.13.0

type AllProjectsSpikeProtectionResource added in v0.13.0

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

func (*AllProjectsSpikeProtectionResource) Configure added in v0.13.0

func (r *AllProjectsSpikeProtectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*AllProjectsSpikeProtectionResource) Create added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Delete added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Metadata added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Read added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Schema added in v0.13.0

func (*AllProjectsSpikeProtectionResource) Update added in v0.13.0

type AllProjectsSpikeProtectionResourceModel added in v0.13.0

type AllProjectsSpikeProtectionResourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Enabled      types.Bool   `tfsdk:"enabled"`
	Projects     types.Set    `tfsdk:"projects"`
}

func (*AllProjectsSpikeProtectionResourceModel) Fill added in v0.13.0

func (m *AllProjectsSpikeProtectionResourceModel) Fill(organization string, enabled bool, projects []sentry.Project) error

type ClientKeyDataSource added in v0.13.0

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

func (*ClientKeyDataSource) ConfigValidators added in v0.13.0

func (d *ClientKeyDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*ClientKeyDataSource) Configure added in v0.13.0

func (d *ClientKeyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*ClientKeyDataSource) Metadata added in v0.13.0

func (*ClientKeyDataSource) Read added in v0.13.0

func (*ClientKeyDataSource) Schema added in v0.13.0

type ClientKeyDataSourceModel added in v0.13.0

type ClientKeyDataSourceModel struct {
	Organization    types.String `tfsdk:"organization"`
	Project         types.String `tfsdk:"project"`
	Id              types.String `tfsdk:"id"`
	Name            types.String `tfsdk:"name"`
	First           types.Bool   `tfsdk:"first"`
	ProjectId       types.String `tfsdk:"project_id"`
	RateLimitWindow types.Int64  `tfsdk:"rate_limit_window"`
	RateLimitCount  types.Int64  `tfsdk:"rate_limit_count"`
	Public          types.String `tfsdk:"public"`
	Secret          types.String `tfsdk:"secret"`
	DsnPublic       types.String `tfsdk:"dsn_public"`
	DsnSecret       types.String `tfsdk:"dsn_secret"`
	DsnCsp          types.String `tfsdk:"dsn_csp"`
}

func (*ClientKeyDataSourceModel) Fill added in v0.13.0

func (m *ClientKeyDataSourceModel) Fill(organization string, project string, first bool, key sentry.ProjectKey) error

type ClientKeyResource added in v0.13.0

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

func (*ClientKeyResource) ConfigValidators added in v0.13.0

func (d *ClientKeyResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*ClientKeyResource) Configure added in v0.13.0

func (r *ClientKeyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ClientKeyResource) Create added in v0.13.0

func (*ClientKeyResource) Delete added in v0.13.0

func (*ClientKeyResource) ImportState added in v0.13.0

func (*ClientKeyResource) Metadata added in v0.13.0

func (*ClientKeyResource) Read added in v0.13.0

func (*ClientKeyResource) Schema added in v0.13.0

func (*ClientKeyResource) Update added in v0.13.0

type ClientKeyResourceModel added in v0.13.0

type ClientKeyResourceModel struct {
	Id              types.String `tfsdk:"id"`
	Organization    types.String `tfsdk:"organization"`
	Project         types.String `tfsdk:"project"`
	ProjectId       types.String `tfsdk:"project_id"`
	Name            types.String `tfsdk:"name"`
	RateLimitWindow types.Int64  `tfsdk:"rate_limit_window"`
	RateLimitCount  types.Int64  `tfsdk:"rate_limit_count"`
	Public          types.String `tfsdk:"public"`
	Secret          types.String `tfsdk:"secret"`
	DsnPublic       types.String `tfsdk:"dsn_public"`
	DsnSecret       types.String `tfsdk:"dsn_secret"`
	DsnCsp          types.String `tfsdk:"dsn_csp"`
}

func (*ClientKeyResourceModel) Fill added in v0.13.0

func (m *ClientKeyResourceModel) Fill(organization string, project string, key sentry.ProjectKey) error

type IntegrationOpsgenie added in v0.13.0

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

func (*IntegrationOpsgenie) Configure added in v0.13.0

func (r *IntegrationOpsgenie) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IntegrationOpsgenie) Create added in v0.13.0

func (*IntegrationOpsgenie) Delete added in v0.13.0

func (*IntegrationOpsgenie) ImportState added in v0.13.0

func (*IntegrationOpsgenie) Metadata added in v0.13.0

func (*IntegrationOpsgenie) Read added in v0.13.0

func (*IntegrationOpsgenie) Schema added in v0.13.0

func (*IntegrationOpsgenie) Update added in v0.13.0

type IntegrationOpsgenieConfigData added in v0.13.0

type IntegrationOpsgenieConfigData struct {
	TeamTable []IntegrationOpsgenieConfigDataTeamTableItem `json:"team_table"`
}

type IntegrationOpsgenieConfigDataTeamTableItem added in v0.13.0

type IntegrationOpsgenieConfigDataTeamTableItem struct {
	Team           string `json:"team"`
	IntegrationKey string `json:"integration_key"`
	Id             string `json:"id"`
}

type IntegrationOpsgenieModel added in v0.13.0

type IntegrationOpsgenieModel struct {
	Id             types.String `tfsdk:"id"`
	Organization   types.String `tfsdk:"organization"`
	IntegrationId  types.String `tfsdk:"integration_id"`
	Team           types.String `tfsdk:"team"`
	IntegrationKey types.String `tfsdk:"integration_key"`
}

func (*IntegrationOpsgenieModel) Fill added in v0.13.0

func (m *IntegrationOpsgenieModel) Fill(organization string, integrationId string, item IntegrationOpsgenieConfigDataTeamTableItem) error

type IntegrationPagerDuty added in v0.13.0

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

func (*IntegrationPagerDuty) Configure added in v0.13.0

func (r *IntegrationPagerDuty) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IntegrationPagerDuty) Create added in v0.13.0

func (*IntegrationPagerDuty) Delete added in v0.13.0

func (*IntegrationPagerDuty) ImportState added in v0.13.0

func (*IntegrationPagerDuty) Metadata added in v0.13.0

func (*IntegrationPagerDuty) Read added in v0.13.0

func (*IntegrationPagerDuty) Schema added in v0.13.0

func (*IntegrationPagerDuty) Update added in v0.13.0

type IntegrationPagerDutyConfigData added in v0.13.0

type IntegrationPagerDutyConfigData struct {
	ServiceTable []IntegrationPagerDutyConfigDataServiceTableItem `json:"service_table"`
}

type IntegrationPagerDutyConfigDataServiceTableItem added in v0.13.0

type IntegrationPagerDutyConfigDataServiceTableItem struct {
	Service        string      `json:"service"`
	IntegrationKey string      `json:"integration_key"`
	Id             json.Number `json:"id"`
}

type IntegrationPagerDutyModel added in v0.13.0

type IntegrationPagerDutyModel struct {
	Id             types.String `tfsdk:"id"`
	Organization   types.String `tfsdk:"organization"`
	IntegrationId  types.String `tfsdk:"integration_id"`
	Service        types.String `tfsdk:"service"`
	IntegrationKey types.String `tfsdk:"integration_key"`
}

func (*IntegrationPagerDutyModel) Fill added in v0.13.0

type IssueAlertDataSource

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

func (*IssueAlertDataSource) Configure

func (d *IssueAlertDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*IssueAlertDataSource) Metadata

func (*IssueAlertDataSource) Read

func (*IssueAlertDataSource) Schema

type IssueAlertDataSourceModel

type IssueAlertDataSourceModel struct {
	Id           types.String          `tfsdk:"id"`
	Organization types.String          `tfsdk:"organization"`
	Project      types.String          `tfsdk:"project"`
	Name         types.String          `tfsdk:"name"`
	Conditions   sentrytypes.LossyJson `tfsdk:"conditions"`
	Filters      sentrytypes.LossyJson `tfsdk:"filters"`
	Actions      sentrytypes.LossyJson `tfsdk:"actions"`
	ActionMatch  types.String          `tfsdk:"action_match"`
	FilterMatch  types.String          `tfsdk:"filter_match"`
	Frequency    types.Int64           `tfsdk:"frequency"`
	Environment  types.String          `tfsdk:"environment"`
	Owner        types.String          `tfsdk:"owner"`
}

func (*IssueAlertDataSourceModel) Fill

func (m *IssueAlertDataSourceModel) Fill(organization string, alert sentry.IssueAlert) error

type IssueAlertResource

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

func (*IssueAlertResource) Configure

func (r *IssueAlertResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*IssueAlertResource) Create

func (*IssueAlertResource) Delete

func (*IssueAlertResource) ImportState

func (*IssueAlertResource) Metadata

func (*IssueAlertResource) Read

func (*IssueAlertResource) Schema

func (*IssueAlertResource) Update

func (*IssueAlertResource) UpgradeState

func (r *IssueAlertResource) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader

type IssueAlertResourceModel

type IssueAlertResourceModel struct {
	Id           types.String          `tfsdk:"id"`
	Organization types.String          `tfsdk:"organization"`
	Project      types.String          `tfsdk:"project"`
	Name         types.String          `tfsdk:"name"`
	Conditions   sentrytypes.LossyJson `tfsdk:"conditions"`
	Filters      sentrytypes.LossyJson `tfsdk:"filters"`
	Actions      sentrytypes.LossyJson `tfsdk:"actions"`
	ActionMatch  types.String          `tfsdk:"action_match"`
	FilterMatch  types.String          `tfsdk:"filter_match"`
	Frequency    types.Int64           `tfsdk:"frequency"`
	Environment  types.String          `tfsdk:"environment"`
	Owner        types.String          `tfsdk:"owner"`
}

func (*IssueAlertResourceModel) Fill

func (m *IssueAlertResourceModel) Fill(organization string, alert sentry.IssueAlert) error

type NotificationActionResource

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

func (*NotificationActionResource) Configure

func (r *NotificationActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*NotificationActionResource) Create

func (*NotificationActionResource) Delete

func (*NotificationActionResource) ImportState

func (*NotificationActionResource) Metadata

func (*NotificationActionResource) Read

func (*NotificationActionResource) Schema

func (*NotificationActionResource) Update

type NotificationActionResourceModel

type NotificationActionResourceModel struct {
	Id               types.String `tfsdk:"id"`
	Organization     types.String `tfsdk:"organization"`
	TriggerType      types.String `tfsdk:"trigger_type"`
	ServiceType      types.String `tfsdk:"service_type"`
	IntegrationId    types.String `tfsdk:"integration_id"`
	TargetIdentifier types.String `tfsdk:"target_identifier"`
	TargetDisplay    types.String `tfsdk:"target_display"`
	Projects         types.List   `tfsdk:"projects"`
}

func (*NotificationActionResourceModel) Fill

func (m *NotificationActionResourceModel) Fill(action sentry.NotificationAction, projectIdToSlugMap map[string]string) error

type OrganizationIntegrationDataSource

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

func (*OrganizationIntegrationDataSource) Configure

func (d *OrganizationIntegrationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*OrganizationIntegrationDataSource) Metadata

func (*OrganizationIntegrationDataSource) Read

func (*OrganizationIntegrationDataSource) Schema

type OrganizationIntegrationDataSourceModel

type OrganizationIntegrationDataSourceModel struct {
	Id           types.String `tfsdk:"id"`
	InternalId   types.String `tfsdk:"internal_id"`
	Organization types.String `tfsdk:"organization"`
	ProviderKey  types.String `tfsdk:"provider_key"`
	Name         types.String `tfsdk:"name"`
}

func (*OrganizationIntegrationDataSourceModel) Fill

type OrganizationMemberDataSource

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

func (*OrganizationMemberDataSource) Configure

func (d *OrganizationMemberDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*OrganizationMemberDataSource) Metadata

func (*OrganizationMemberDataSource) Read

func (*OrganizationMemberDataSource) Schema

type OrganizationMemberDataSourceModel

type OrganizationMemberDataSourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Email        types.String `tfsdk:"email"`
	Role         types.String `tfsdk:"role"`
}

func (*OrganizationMemberDataSourceModel) Fill

type OrganizationModel added in v0.13.0

type OrganizationModel struct {
	Id   types.String `tfsdk:"id"`
	Slug types.String `tfsdk:"slug"`
	Name types.String `tfsdk:"name"`
}

func (*OrganizationModel) Fill added in v0.13.0

type ProjectDataSource added in v0.13.0

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

func (*ProjectDataSource) Configure added in v0.13.0

func (d *ProjectDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)

func (*ProjectDataSource) Metadata added in v0.13.0

func (*ProjectDataSource) Read added in v0.13.0

func (*ProjectDataSource) Schema added in v0.13.0

type ProjectDataSourceModel added in v0.13.0

type ProjectDataSourceModel struct {
	Organization types.String `tfsdk:"organization"`
	Slug         types.String `tfsdk:"slug"`
	Id           types.String `tfsdk:"id"`
	InternalId   types.String `tfsdk:"internal_id"`
	Name         types.String `tfsdk:"name"`
	Platform     types.String `tfsdk:"platform"`
	DateCreated  types.String `tfsdk:"date_created"`
	Features     types.Set    `tfsdk:"features"`
	Color        types.String `tfsdk:"color"`
	IsPublic     types.Bool   `tfsdk:"is_public"`
}

func (*ProjectDataSourceModel) Fill added in v0.13.0

func (m *ProjectDataSourceModel) Fill(organization string, project sentry.Project) error

type ProjectInboundDataFilterResource

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

func (*ProjectInboundDataFilterResource) Configure

func (r *ProjectInboundDataFilterResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectInboundDataFilterResource) Create

func (*ProjectInboundDataFilterResource) Delete

func (*ProjectInboundDataFilterResource) ImportState

func (*ProjectInboundDataFilterResource) Metadata

func (*ProjectInboundDataFilterResource) Read

func (*ProjectInboundDataFilterResource) Schema

func (*ProjectInboundDataFilterResource) Update

type ProjectInboundDataFilterResourceModel

type ProjectInboundDataFilterResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Project      types.String `tfsdk:"project"`
	FilterId     types.String `tfsdk:"filter_id"`
	Active       types.Bool   `tfsdk:"active"`
	Subfilters   types.Set    `tfsdk:"subfilters"`
}

func (*ProjectInboundDataFilterResourceModel) Fill

func (m *ProjectInboundDataFilterResourceModel) Fill(organization string, project string, filterId string, filter sentry.ProjectInboundDataFilter) error

type ProjectSpikeProtectionResource

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

func (*ProjectSpikeProtectionResource) Configure

func (r *ProjectSpikeProtectionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectSpikeProtectionResource) Create

func (*ProjectSpikeProtectionResource) Delete

func (*ProjectSpikeProtectionResource) ImportState

func (*ProjectSpikeProtectionResource) Metadata

func (*ProjectSpikeProtectionResource) Read

func (*ProjectSpikeProtectionResource) Schema

func (*ProjectSpikeProtectionResource) Update

type ProjectSpikeProtectionResourceModel

type ProjectSpikeProtectionResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Organization types.String `tfsdk:"organization"`
	Project      types.String `tfsdk:"project"`
	Enabled      types.Bool   `tfsdk:"enabled"`
}

func (*ProjectSpikeProtectionResourceModel) Fill

func (data *ProjectSpikeProtectionResourceModel) Fill(organization string, project sentry.Project) error

type ProjectSymbolSourcesResource

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

func (*ProjectSymbolSourcesResource) Configure

func (r *ProjectSymbolSourcesResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*ProjectSymbolSourcesResource) Create

func (*ProjectSymbolSourcesResource) Delete

func (*ProjectSymbolSourcesResource) ImportState

func (*ProjectSymbolSourcesResource) Metadata

func (*ProjectSymbolSourcesResource) Read

func (*ProjectSymbolSourcesResource) Schema

func (*ProjectSymbolSourcesResource) Update

type ProjectSymbolSourcesResourceLayoutModel

type ProjectSymbolSourcesResourceLayoutModel struct {
	Type   types.String `tfsdk:"type"`
	Casing types.String `tfsdk:"casing"`
}

func (ProjectSymbolSourcesResourceLayoutModel) AttributeTypes

func (*ProjectSymbolSourcesResourceLayoutModel) Fill

type ProjectSymbolSourcesResourceModel

type ProjectSymbolSourcesResourceModel struct {
	Id                   types.String                             `tfsdk:"id"`
	Organization         types.String                             `tfsdk:"organization"`
	Project              types.String                             `tfsdk:"project"`
	Type                 types.String                             `tfsdk:"type"`
	Name                 types.String                             `tfsdk:"name"`
	Layout               *ProjectSymbolSourcesResourceLayoutModel `tfsdk:"layout"`
	AppConnectIssuer     types.String                             `tfsdk:"app_connect_issuer"`
	AppConnectPrivateKey types.String                             `tfsdk:"app_connect_private_key"`
	AppId                types.String                             `tfsdk:"app_id"`
	Url                  types.String                             `tfsdk:"url"`
	Username             types.String                             `tfsdk:"username"`
	Password             types.String                             `tfsdk:"password"`
	Bucket               types.String                             `tfsdk:"bucket"`
	Region               types.String                             `tfsdk:"region"`
	AccessKey            types.String                             `tfsdk:"access_key"`
	SecretKey            types.String                             `tfsdk:"secret_key"`
	Prefix               types.String                             `tfsdk:"prefix"`
	ClientEmail          types.String                             `tfsdk:"client_email"`
	PrivateKey           types.String                             `tfsdk:"private_key"`
}

func (*ProjectSymbolSourcesResourceModel) Fill

type SentryProvider

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

SentryProvider defines the provider implementation.

func (*SentryProvider) Configure

func (*SentryProvider) DataSources

func (p *SentryProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*SentryProvider) Metadata

func (*SentryProvider) Resources

func (p *SentryProvider) Resources(ctx context.Context) []func() resource.Resource

func (*SentryProvider) Schema

type SentryProviderModel

type SentryProviderModel struct {
	Token   types.String `tfsdk:"token"`
	BaseUrl types.String `tfsdk:"base_url"`
}

SentryProviderModel describes the provider data model.

type TeamMemberResource

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

func (*TeamMemberResource) Configure

func (r *TeamMemberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*TeamMemberResource) Create

func (*TeamMemberResource) Delete

func (*TeamMemberResource) ImportState

func (*TeamMemberResource) Metadata

func (*TeamMemberResource) Read

func (*TeamMemberResource) Schema

func (*TeamMemberResource) Update

type TeamMemberResourceModel

type TeamMemberResourceModel struct {
	Id            types.String `tfsdk:"id"`
	Organization  types.String `tfsdk:"organization"`
	MemberId      types.String `tfsdk:"member_id"`
	Team          types.String `tfsdk:"team"`
	Role          types.String `tfsdk:"role"`
	EffectiveRole types.String `tfsdk:"effective_role"`
}

func (*TeamMemberResourceModel) Fill

func (data *TeamMemberResourceModel) Fill(organization string, team string, memberId string, role *string, effectiveRole string) error

Jump to

Keyboard shortcuts

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