Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewCatalogEntityDataSource() datasource.DataSource
- func NewCatalogEntityResource() resource.Resource
- func NewDepartmentDataSource() datasource.DataSource
- func NewDepartmentResource() resource.Resource
- func NewResourceDefinitionDataSource() datasource.DataSource
- func NewResourceDefinitionResource() resource.Resource
- func NewScorecardDataSource() datasource.DataSource
- func NewScorecardResource() resource.Resource
- func NewTeamDataSource() datasource.DataSource
- func NewTeamResource() resource.Resource
- type CatalogEntityAlertResourceModel
- type CatalogEntityApmDataDogResourceModel
- func (o *CatalogEntityApmDataDogResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityApmDataDogResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) CatalogEntityApmDataDogResourceModel
- func (o *CatalogEntityApmDataDogResourceModel) ToApiModel() cortex.CatalogEntityApmDataDog
- type CatalogEntityApmDynatraceResourceModel
- func (o *CatalogEntityApmDynatraceResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityApmDynatraceResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) CatalogEntityApmDynatraceResourceModel
- func (o *CatalogEntityApmDynatraceResourceModel) ToApiModel() cortex.CatalogEntityApmDynatrace
- type CatalogEntityApmNewRelicResourceModel
- func (o *CatalogEntityApmNewRelicResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityApmNewRelicResourceModel) FromApiModel(entity *cortex.CatalogEntityApmNewRelic) CatalogEntityApmNewRelicResourceModel
- func (o *CatalogEntityApmNewRelicResourceModel) ToApiModel() cortex.CatalogEntityApmNewRelic
- type CatalogEntityApmResourceModel
- type CatalogEntityAzureResourceModel
- type CatalogEntityBitbucketResourceModel
- type CatalogEntityBugSnagResourceModel
- type CatalogEntityCheckmarxProjectResourceModel
- func (o *CatalogEntityCheckmarxProjectResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityCheckmarxProjectResourceModel) FromApiModel(project cortex.CatalogEntityCheckmarxProject) CatalogEntityCheckmarxProjectResourceModel
- func (o *CatalogEntityCheckmarxProjectResourceModel) ToApiModel() cortex.CatalogEntityCheckmarxProject
- type CatalogEntityCheckmarxResourceModel
- type CatalogEntityDashboardEmbedResourceModel
- func (o *CatalogEntityDashboardEmbedResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityDashboardEmbedResourceModel) FromApiModel(entity *cortex.CatalogEntityDashboardsEmbed) CatalogEntityDashboardEmbedResourceModel
- func (o *CatalogEntityDashboardEmbedResourceModel) ToApiModel() cortex.CatalogEntityDashboardsEmbed
- type CatalogEntityDashboardResourceModel
- type CatalogEntityDataSource
- func (d *CatalogEntityDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CatalogEntityDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CatalogEntityDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CatalogEntityDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CatalogEntityDataSourceModel
- type CatalogEntityDependencyResourceModel
- type CatalogEntityGitResourceModel
- type CatalogEntityGithubResourceModel
- type CatalogEntityGitlabResourceModel
- type CatalogEntityIssuesJiraResourceModel
- func (o *CatalogEntityIssuesJiraResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityIssuesJiraResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) CatalogEntityIssuesJiraResourceModel
- func (o *CatalogEntityIssuesJiraResourceModel) ToApiModel() cortex.CatalogEntityIssuesJira
- type CatalogEntityIssuesResourceModel
- type CatalogEntityLinkResourceModel
- type CatalogEntityOnCallOpsGenieResourceModel
- func (o *CatalogEntityOnCallOpsGenieResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallOpsGenieResourceModel) FromApiModel(genie *cortex.CatalogEntityOnCallOpsGenie) CatalogEntityOnCallOpsGenieResourceModel
- func (o *CatalogEntityOnCallOpsGenieResourceModel) ToApiModel() cortex.CatalogEntityOnCallOpsGenie
- type CatalogEntityOnCallPagerDutyResourceModel
- func (o *CatalogEntityOnCallPagerDutyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallPagerDutyResourceModel) FromApiModel(pagerDuty *cortex.CatalogEntityOnCallPagerDuty) CatalogEntityOnCallPagerDutyResourceModel
- func (o *CatalogEntityOnCallPagerDutyResourceModel) ToApiModel() cortex.CatalogEntityOnCallPagerDuty
- type CatalogEntityOnCallResourceModel
- type CatalogEntityOnCallVictorOpsResourceModel
- func (o *CatalogEntityOnCallVictorOpsResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallVictorOpsResourceModel) FromApiModel(entity *cortex.CatalogEntityOnCallVictorOps) CatalogEntityOnCallVictorOpsResourceModel
- func (o *CatalogEntityOnCallVictorOpsResourceModel) ToApiModel() cortex.CatalogEntityOnCallVictorOps
- type CatalogEntityOwnerResourceModel
- type CatalogEntityResource
- func (r *CatalogEntityResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CatalogEntityResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CatalogEntityResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CatalogEntityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CatalogEntityResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CatalogEntityResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CatalogEntityResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CatalogEntityResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CatalogEntityResourceModel
- type CatalogEntityRollbarResourceModel
- type CatalogEntitySLODataDogResourceModel
- func (o *CatalogEntitySLODataDogResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLODataDogResourceModel) FromApiModel(entity *cortex.CatalogEntitySLODataDog) CatalogEntitySLODataDogResourceModel
- func (o *CatalogEntitySLODataDogResourceModel) ToApiModel() cortex.CatalogEntitySLODataDog
- type CatalogEntitySLODynatraceResourceModel
- func (o *CatalogEntitySLODynatraceResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLODynatraceResourceModel) FromApiModel(entity *cortex.CatalogEntitySLODynatrace) CatalogEntitySLODynatraceResourceModel
- func (o *CatalogEntitySLODynatraceResourceModel) ToApiModel() cortex.CatalogEntitySLODynatrace
- type CatalogEntitySLOLightstepResourceModel
- func (o *CatalogEntitySLOLightstepResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepResourceModel) FromApiModel(streams []cortex.CatalogEntitySLOLightstepStream) CatalogEntitySLOLightstepResourceModel
- func (o *CatalogEntitySLOLightstepResourceModel) ToApiModel() []cortex.CatalogEntitySLOLightstepStream
- type CatalogEntitySLOLightstepStreamResourceModel
- func (o *CatalogEntitySLOLightstepStreamResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOLightstepStream) CatalogEntitySLOLightstepStreamResourceModel
- func (o *CatalogEntitySLOLightstepStreamResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepStream
- type CatalogEntitySLOLightstepStreamTargetLatencyResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOLightstepTargetLatency) CatalogEntitySLOLightstepStreamTargetLatencyResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepTargetLatency
- type CatalogEntitySLOLightstepStreamTargetResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOLightstepTargets) CatalogEntitySLOLightstepStreamTargetResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepTargets
- type CatalogEntitySLOPrometheusResourceModel
- func (o *CatalogEntitySLOPrometheusResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOPrometheusResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOPrometheusQuery) CatalogEntitySLOPrometheusResourceModel
- func (o *CatalogEntitySLOPrometheusResourceModel) ToApiModel() cortex.CatalogEntitySLOPrometheusQuery
- type CatalogEntitySLOSignalFxResourceModel
- func (o *CatalogEntitySLOSignalFxResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOSignalFxResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOSignalFX) CatalogEntitySLOSignalFxResourceModel
- func (o *CatalogEntitySLOSignalFxResourceModel) ToApiModel() cortex.CatalogEntitySLOSignalFX
- type CatalogEntitySLOSumoLogicResourceModel
- func (o *CatalogEntitySLOSumoLogicResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOSumoLogicResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOSumoLogic) CatalogEntitySLOSumoLogicResourceModel
- func (o *CatalogEntitySLOSumoLogicResourceModel) ToApiModel() cortex.CatalogEntitySLOSumoLogic
- type CatalogEntitySLOsResourceModel
- type CatalogEntitySentryResourceModel
- type CatalogEntitySnykProjectResourceModel
- func (o *CatalogEntitySnykProjectResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySnykProjectResourceModel) FromApiModel(entity *cortex.CatalogEntitySnykProject) CatalogEntitySnykProjectResourceModel
- func (o *CatalogEntitySnykProjectResourceModel) ToApiModel() cortex.CatalogEntitySnykProject
- type CatalogEntitySnykResourceModel
- type CatalogEntityStaticAnalysisCodeCovResourceModel
- func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) FromApiModel(cov *cortex.CatalogEntityStaticAnalysisCodeCov) CatalogEntityStaticAnalysisCodeCovResourceModel
- func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisCodeCov
- type CatalogEntityStaticAnalysisMendResourceModel
- func (o *CatalogEntityStaticAnalysisMendResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisMendResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisMend) CatalogEntityStaticAnalysisMendResourceModel
- func (o *CatalogEntityStaticAnalysisMendResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisMend
- type CatalogEntityStaticAnalysisResourceModel
- func (o *CatalogEntityStaticAnalysisResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityStaticAnalysisResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysis
- type CatalogEntityStaticAnalysisSonarQubeResourceModel
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisSonarQube) CatalogEntityStaticAnalysisSonarQubeResourceModel
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisSonarQube
- type CatalogEntityStaticAnalysisVeracodeResourceModel
- func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisVeracode) CatalogEntityStaticAnalysisVeracodeResourceModel
- func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisVeracode
- type CatalogEntityStaticAnalysisVeracodeSandboxResourceModel
- func (o *CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisVeracodeSandbox) CatalogEntityStaticAnalysisVeracodeSandboxResourceModel
- func (o *CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisVeracodeSandbox
- type CortexProvider
- func (p *CortexProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *CortexProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *CortexProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *CortexProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *CortexProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type CortexProviderModel
- type DepartmentDataSource
- func (d *DepartmentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DepartmentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DepartmentDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DepartmentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DepartmentDataSourceModel
- type DepartmentMemberResourceModel
- type DepartmentResource
- func (r *DepartmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DepartmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DepartmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DepartmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DepartmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DepartmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DepartmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DepartmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DepartmentResourceModel
- type ResourceDefinitionDataSource
- func (d *ResourceDefinitionDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ResourceDefinitionDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ResourceDefinitionDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ResourceDefinitionDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ResourceDefinitionDataSourceModel
- type ResourceDefinitionResource
- func (r *ResourceDefinitionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ResourceDefinitionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ResourceDefinitionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ResourceDefinitionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ResourceDefinitionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ResourceDefinitionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ResourceDefinitionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ResourceDefinitionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ResourceDefinitionResourceModel
- type ScorecardDataSource
- func (d *ScorecardDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ScorecardDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ScorecardDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ScorecardDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ScorecardDataSourceModel
- type ScorecardLevelResourceModel
- type ScorecardResource
- func (r *ScorecardResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ScorecardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ScorecardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ScorecardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ScorecardResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ScorecardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ScorecardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ScorecardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ScorecardResourceModel
- type ScorecardRuleResourceModel
- type TeamAdditionalMemberResourceModel
- type TeamDataSource
- func (d *TeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *TeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type TeamDataSourceModel
- type TeamLinkResourceModel
- type TeamResource
- func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TeamResourceModel
- type TeamSlackChannelResourceModel
Constants ¶
const DefaultBaseApiUrl = "https://api.getcortexapp.com"
Variables ¶
This section is empty.
Functions ¶
func NewCatalogEntityDataSource ¶
func NewCatalogEntityDataSource() datasource.DataSource
func NewDepartmentDataSource ¶
func NewDepartmentDataSource() datasource.DataSource
func NewDepartmentResource ¶
func NewResourceDefinitionDataSource ¶
func NewResourceDefinitionDataSource() datasource.DataSource
func NewScorecardDataSource ¶
func NewScorecardDataSource() datasource.DataSource
func NewScorecardResource ¶
func NewTeamDataSource ¶
func NewTeamDataSource() datasource.DataSource
func NewTeamResource ¶
Types ¶
type CatalogEntityAlertResourceModel ¶
type CatalogEntityAlertResourceModel struct { Type types.String `tfsdk:"type"` Tag types.String `tfsdk:"tag"` Value types.String `tfsdk:"value"` }
func (*CatalogEntityAlertResourceModel) FromApiModel ¶
func (o *CatalogEntityAlertResourceModel) FromApiModel(alert *cortex.CatalogEntityAlert) CatalogEntityAlertResourceModel
func (*CatalogEntityAlertResourceModel) ToApiModel ¶
func (o *CatalogEntityAlertResourceModel) ToApiModel() cortex.CatalogEntityAlert
type CatalogEntityApmDataDogResourceModel ¶
func (*CatalogEntityApmDataDogResourceModel) AttrTypes ¶
func (o *CatalogEntityApmDataDogResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityApmDataDogResourceModel) FromApiModel ¶
func (o *CatalogEntityApmDataDogResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityApmDataDog) CatalogEntityApmDataDogResourceModel
func (*CatalogEntityApmDataDogResourceModel) ToApiModel ¶
func (o *CatalogEntityApmDataDogResourceModel) ToApiModel() cortex.CatalogEntityApmDataDog
type CatalogEntityApmDynatraceResourceModel ¶
type CatalogEntityApmDynatraceResourceModel struct { EntityIDs types.List `tfsdk:"entity_ids"` EntityNameMatchers types.List `tfsdk:"entity_name_matchers"` }
func (*CatalogEntityApmDynatraceResourceModel) AttrTypes ¶
func (o *CatalogEntityApmDynatraceResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityApmDynatraceResourceModel) FromApiModel ¶
func (o *CatalogEntityApmDynatraceResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityApmDynatrace) CatalogEntityApmDynatraceResourceModel
func (*CatalogEntityApmDynatraceResourceModel) ToApiModel ¶
func (o *CatalogEntityApmDynatraceResourceModel) ToApiModel() cortex.CatalogEntityApmDynatrace
type CatalogEntityApmNewRelicResourceModel ¶
type CatalogEntityApmNewRelicResourceModel struct { ApplicationID types.Int64 `tfsdk:"application_id"` Alias types.String `tfsdk:"alias"` }
func (*CatalogEntityApmNewRelicResourceModel) AttrTypes ¶
func (o *CatalogEntityApmNewRelicResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityApmNewRelicResourceModel) FromApiModel ¶
func (o *CatalogEntityApmNewRelicResourceModel) FromApiModel(entity *cortex.CatalogEntityApmNewRelic) CatalogEntityApmNewRelicResourceModel
func (*CatalogEntityApmNewRelicResourceModel) ToApiModel ¶
func (o *CatalogEntityApmNewRelicResourceModel) ToApiModel() cortex.CatalogEntityApmNewRelic
type CatalogEntityApmResourceModel ¶
type CatalogEntityApmResourceModel struct { DataDog CatalogEntityApmDataDogResourceModel `tfsdk:"data_dog"` Dynatrace CatalogEntityApmDynatraceResourceModel `tfsdk:"dynatrace"` NewRelic CatalogEntityApmNewRelicResourceModel `tfsdk:"new_relic"` }
func (*CatalogEntityApmResourceModel) AttrTypes ¶
func (o *CatalogEntityApmResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityApmResourceModel) FromApiModel ¶
func (o *CatalogEntityApmResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityApm) types.Object
func (*CatalogEntityApmResourceModel) ToApiModel ¶
func (o *CatalogEntityApmResourceModel) ToApiModel() cortex.CatalogEntityApm
type CatalogEntityAzureResourceModel ¶
type CatalogEntityAzureResourceModel struct { Project types.String `tfsdk:"project"` Repository types.String `tfsdk:"repository"` BasePath types.String `tfsdk:"base_path"` }
func (*CatalogEntityAzureResourceModel) AttrTypes ¶
func (o *CatalogEntityAzureResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityAzureResourceModel) FromApiModel ¶
func (o *CatalogEntityAzureResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityGitAzureDevOps) types.Object
func (*CatalogEntityAzureResourceModel) ToApiModel ¶
func (o *CatalogEntityAzureResourceModel) ToApiModel() cortex.CatalogEntityGitAzureDevOps
type CatalogEntityBitbucketResourceModel ¶
func (*CatalogEntityBitbucketResourceModel) AttrTypes ¶
func (o *CatalogEntityBitbucketResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityBitbucketResourceModel) FromApiModel ¶
func (o *CatalogEntityBitbucketResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityGitBitBucket) types.Object
func (*CatalogEntityBitbucketResourceModel) ToApiModel ¶
func (o *CatalogEntityBitbucketResourceModel) ToApiModel() cortex.CatalogEntityGitBitBucket
type CatalogEntityBugSnagResourceModel ¶
func (*CatalogEntityBugSnagResourceModel) AttrTypes ¶
func (o *CatalogEntityBugSnagResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityBugSnagResourceModel) FromApiModel ¶
func (o *CatalogEntityBugSnagResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityBugSnag) types.Object
func (*CatalogEntityBugSnagResourceModel) ToApiModel ¶
func (o *CatalogEntityBugSnagResourceModel) ToApiModel() cortex.CatalogEntityBugSnag
type CatalogEntityCheckmarxProjectResourceModel ¶
type CatalogEntityCheckmarxProjectResourceModel struct { ID types.Int64 `tfsdk:"id"` Name types.String `tfsdk:"name"` }
func (*CatalogEntityCheckmarxProjectResourceModel) AttrTypes ¶
func (o *CatalogEntityCheckmarxProjectResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCheckmarxProjectResourceModel) FromApiModel ¶
func (o *CatalogEntityCheckmarxProjectResourceModel) FromApiModel(project cortex.CatalogEntityCheckmarxProject) CatalogEntityCheckmarxProjectResourceModel
func (*CatalogEntityCheckmarxProjectResourceModel) ToApiModel ¶
func (o *CatalogEntityCheckmarxProjectResourceModel) ToApiModel() cortex.CatalogEntityCheckmarxProject
type CatalogEntityCheckmarxResourceModel ¶
type CatalogEntityCheckmarxResourceModel struct {
Projects []CatalogEntityCheckmarxProjectResourceModel `tfsdk:"projects"`
}
func (*CatalogEntityCheckmarxResourceModel) AttrTypes ¶
func (o *CatalogEntityCheckmarxResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCheckmarxResourceModel) FromApiModel ¶
func (o *CatalogEntityCheckmarxResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityCheckmarx) types.Object
func (*CatalogEntityCheckmarxResourceModel) ToApiModel ¶
func (o *CatalogEntityCheckmarxResourceModel) ToApiModel() cortex.CatalogEntityCheckmarx
type CatalogEntityDashboardEmbedResourceModel ¶
type CatalogEntityDashboardEmbedResourceModel struct { Type types.String `tfsdk:"type"` URL types.String `tfsdk:"url"` }
func (*CatalogEntityDashboardEmbedResourceModel) AttrTypes ¶
func (o *CatalogEntityDashboardEmbedResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityDashboardEmbedResourceModel) FromApiModel ¶
func (o *CatalogEntityDashboardEmbedResourceModel) FromApiModel(entity *cortex.CatalogEntityDashboardsEmbed) CatalogEntityDashboardEmbedResourceModel
func (*CatalogEntityDashboardEmbedResourceModel) ToApiModel ¶
func (o *CatalogEntityDashboardEmbedResourceModel) ToApiModel() cortex.CatalogEntityDashboardsEmbed
type CatalogEntityDashboardResourceModel ¶
type CatalogEntityDashboardResourceModel struct {
Embeds []CatalogEntityDashboardEmbedResourceModel `tfsdk:"embeds"`
}
func (*CatalogEntityDashboardResourceModel) AttrTypes ¶
func (o *CatalogEntityDashboardResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityDashboardResourceModel) FromApiModel ¶
func (o *CatalogEntityDashboardResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityDashboards) types.Object
func (*CatalogEntityDashboardResourceModel) ToApiModel ¶
func (o *CatalogEntityDashboardResourceModel) ToApiModel() cortex.CatalogEntityDashboards
type CatalogEntityDataSource ¶
type CatalogEntityDataSource struct {
// contains filtered or unexported fields
}
CatalogEntityDataSource defines the data source implementation.
func (*CatalogEntityDataSource) Configure ¶
func (d *CatalogEntityDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CatalogEntityDataSource) Metadata ¶
func (d *CatalogEntityDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CatalogEntityDataSource) Read ¶
func (d *CatalogEntityDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CatalogEntityDataSource) Schema ¶
func (d *CatalogEntityDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CatalogEntityDataSourceModel ¶
type CatalogEntityDataSourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
CatalogEntityDataSourceModel describes the data source data model.
func (*CatalogEntityDataSourceModel) FromApiModel ¶
func (o *CatalogEntityDataSourceModel) FromApiModel(entity *cortex.CatalogEntityData)
type CatalogEntityDependencyResourceModel ¶
type CatalogEntityDependencyResourceModel struct { Tag types.String `tfsdk:"tag"` Method types.String `tfsdk:"method"` Path types.String `tfsdk:"path"` Description types.String `tfsdk:"description"` Metadata types.String `tfsdk:"metadata"` }
func (*CatalogEntityDependencyResourceModel) AttrTypes ¶
func (o *CatalogEntityDependencyResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityDependencyResourceModel) FromApiModel ¶
func (o *CatalogEntityDependencyResourceModel) FromApiModel(ctx context.Context, diag *diag.Diagnostics, dependency *cortex.CatalogEntityDependency) types.Object
func (*CatalogEntityDependencyResourceModel) ToApiModel ¶
func (o *CatalogEntityDependencyResourceModel) ToApiModel() cortex.CatalogEntityDependency
type CatalogEntityGitResourceModel ¶
type CatalogEntityGitResourceModel struct { Github types.Object `tfsdk:"github"` Gitlab types.Object `tfsdk:"gitlab"` Azure types.Object `tfsdk:"azure"` Bitbucket types.Object `tfsdk:"bitbucket"` }
func (*CatalogEntityGitResourceModel) AttrTypes ¶
func (o *CatalogEntityGitResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityGitResourceModel) FromApiModel ¶
func (o *CatalogEntityGitResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityGit) types.Object
func (*CatalogEntityGitResourceModel) ToApiModel ¶
func (o *CatalogEntityGitResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntityGit
type CatalogEntityGithubResourceModel ¶
type CatalogEntityGithubResourceModel struct { Repository types.String `tfsdk:"repository"` BasePath types.String `tfsdk:"base_path"` }
func (*CatalogEntityGithubResourceModel) AttrTypes ¶
func (o *CatalogEntityGithubResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityGithubResourceModel) FromApiModel ¶
func (o *CatalogEntityGithubResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityGitGithub) types.Object
func (*CatalogEntityGithubResourceModel) ToApiModel ¶
func (o *CatalogEntityGithubResourceModel) ToApiModel() cortex.CatalogEntityGitGithub
type CatalogEntityGitlabResourceModel ¶
type CatalogEntityGitlabResourceModel struct { Repository types.String `tfsdk:"repository"` BasePath types.String `tfsdk:"base_path"` }
func (*CatalogEntityGitlabResourceModel) AttrTypes ¶
func (o *CatalogEntityGitlabResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityGitlabResourceModel) FromApiModel ¶
func (o *CatalogEntityGitlabResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityGitGitlab) types.Object
func (*CatalogEntityGitlabResourceModel) ToApiModel ¶
func (o *CatalogEntityGitlabResourceModel) ToApiModel() cortex.CatalogEntityGitGitlab
type CatalogEntityIssuesJiraResourceModel ¶
type CatalogEntityIssuesJiraResourceModel struct { DefaultJQL types.String `tfsdk:"default_jql"` Projects types.List `tfsdk:"projects"` Labels types.List `tfsdk:"labels"` Components types.List `tfsdk:"components"` }
func (*CatalogEntityIssuesJiraResourceModel) AttrTypes ¶
func (o *CatalogEntityIssuesJiraResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityIssuesJiraResourceModel) FromApiModel ¶
func (o *CatalogEntityIssuesJiraResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityIssuesJira) CatalogEntityIssuesJiraResourceModel
func (*CatalogEntityIssuesJiraResourceModel) ToApiModel ¶
func (o *CatalogEntityIssuesJiraResourceModel) ToApiModel() cortex.CatalogEntityIssuesJira
type CatalogEntityIssuesResourceModel ¶
type CatalogEntityIssuesResourceModel struct {
Jira CatalogEntityIssuesJiraResourceModel `tfsdk:"jira"`
}
func (*CatalogEntityIssuesResourceModel) AttrTypes ¶
func (o *CatalogEntityIssuesResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityIssuesResourceModel) FromApiModel ¶
func (o *CatalogEntityIssuesResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityIssues) types.Object
func (*CatalogEntityIssuesResourceModel) ToApiModel ¶
func (o *CatalogEntityIssuesResourceModel) ToApiModel() cortex.CatalogEntityIssues
type CatalogEntityLinkResourceModel ¶
type CatalogEntityLinkResourceModel struct { Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Url types.String `tfsdk:"url"` }
func (*CatalogEntityLinkResourceModel) FromApiModel ¶
func (o *CatalogEntityLinkResourceModel) FromApiModel(link *cortex.CatalogEntityLink) CatalogEntityLinkResourceModel
func (*CatalogEntityLinkResourceModel) ToApiModel ¶
func (o *CatalogEntityLinkResourceModel) ToApiModel() cortex.CatalogEntityLink
type CatalogEntityOnCallOpsGenieResourceModel ¶
type CatalogEntityOnCallOpsGenieResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` }
func (*CatalogEntityOnCallOpsGenieResourceModel) AttrTypes ¶
func (o *CatalogEntityOnCallOpsGenieResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityOnCallOpsGenieResourceModel) FromApiModel ¶
func (o *CatalogEntityOnCallOpsGenieResourceModel) FromApiModel(genie *cortex.CatalogEntityOnCallOpsGenie) CatalogEntityOnCallOpsGenieResourceModel
func (*CatalogEntityOnCallOpsGenieResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallOpsGenieResourceModel) ToApiModel() cortex.CatalogEntityOnCallOpsGenie
type CatalogEntityOnCallPagerDutyResourceModel ¶
type CatalogEntityOnCallPagerDutyResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` }
func (*CatalogEntityOnCallPagerDutyResourceModel) AttrTypes ¶
func (o *CatalogEntityOnCallPagerDutyResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityOnCallPagerDutyResourceModel) FromApiModel ¶
func (o *CatalogEntityOnCallPagerDutyResourceModel) FromApiModel(pagerDuty *cortex.CatalogEntityOnCallPagerDuty) CatalogEntityOnCallPagerDutyResourceModel
func (*CatalogEntityOnCallPagerDutyResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallPagerDutyResourceModel) ToApiModel() cortex.CatalogEntityOnCallPagerDuty
type CatalogEntityOnCallResourceModel ¶
type CatalogEntityOnCallResourceModel struct { PagerDuty CatalogEntityOnCallPagerDutyResourceModel `tfsdk:"pager_duty"` OpsGenie CatalogEntityOnCallOpsGenieResourceModel `tfsdk:"ops_genie"` VictorOps CatalogEntityOnCallVictorOpsResourceModel `tfsdk:"victor_ops"` }
func (*CatalogEntityOnCallResourceModel) AttrTypes ¶
func (o *CatalogEntityOnCallResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityOnCallResourceModel) FromApiModel ¶
func (o *CatalogEntityOnCallResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, onCall *cortex.CatalogEntityOnCall) types.Object
func (*CatalogEntityOnCallResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallResourceModel) ToApiModel() cortex.CatalogEntityOnCall
type CatalogEntityOnCallVictorOpsResourceModel ¶
type CatalogEntityOnCallVictorOpsResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` }
func (*CatalogEntityOnCallVictorOpsResourceModel) AttrTypes ¶
func (o *CatalogEntityOnCallVictorOpsResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityOnCallVictorOpsResourceModel) FromApiModel ¶
func (o *CatalogEntityOnCallVictorOpsResourceModel) FromApiModel(entity *cortex.CatalogEntityOnCallVictorOps) CatalogEntityOnCallVictorOpsResourceModel
func (*CatalogEntityOnCallVictorOpsResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallVictorOpsResourceModel) ToApiModel() cortex.CatalogEntityOnCallVictorOps
type CatalogEntityOwnerResourceModel ¶
type CatalogEntityOwnerResourceModel struct { Type types.String `tfsdk:"type"` // group, user, slack Name types.String `tfsdk:"name"` // Must be of form <org>/<team> Description types.String `tfsdk:"description"` Provider types.String `tfsdk:"provider"` Email types.String `tfsdk:"email"` Channel types.String `tfsdk:"channel"` // for slack, do not add # to beginning NotificationsEnabled types.Bool `tfsdk:"notifications_enabled"` }
CatalogEntityOwnerResourceModel describes owners of the catalog entity. This can be a user, Slack channel, or group.
func (*CatalogEntityOwnerResourceModel) FromApiModel ¶
func (o *CatalogEntityOwnerResourceModel) FromApiModel(owner *cortex.CatalogEntityOwner) CatalogEntityOwnerResourceModel
func (*CatalogEntityOwnerResourceModel) ToApiModel ¶
func (o *CatalogEntityOwnerResourceModel) ToApiModel() cortex.CatalogEntityOwner
type CatalogEntityResource ¶
type CatalogEntityResource struct {
// contains filtered or unexported fields
}
CatalogEntityResource defines the resource implementation.
func (*CatalogEntityResource) Configure ¶
func (r *CatalogEntityResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CatalogEntityResource) Create ¶
func (r *CatalogEntityResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CatalogEntityResource) Delete ¶
func (r *CatalogEntityResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CatalogEntityResource) ImportState ¶
func (r *CatalogEntityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CatalogEntityResource) Metadata ¶
func (r *CatalogEntityResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CatalogEntityResource) Read ¶
func (r *CatalogEntityResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CatalogEntityResource) Schema ¶
func (r *CatalogEntityResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CatalogEntityResource) Update ¶
func (r *CatalogEntityResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CatalogEntityResourceModel ¶
type CatalogEntityResourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Owners []CatalogEntityOwnerResourceModel `tfsdk:"owners"` Groups []types.String `tfsdk:"groups"` Links []CatalogEntityLinkResourceModel `tfsdk:"links"` Metadata types.String `tfsdk:"metadata"` Dependencies []types.Object `tfsdk:"dependencies"` Alerts []CatalogEntityAlertResourceModel `tfsdk:"alerts"` Apm types.Object `tfsdk:"apm"` Dashboards types.Object `tfsdk:"dashboards"` Git types.Object `tfsdk:"git"` Issues types.Object `tfsdk:"issues"` OnCall types.Object `tfsdk:"on_call"` SLOs types.Object `tfsdk:"slos"` StaticAnalysis types.Object `tfsdk:"static_analysis"` BugSnag types.Object `tfsdk:"bug_snag"` Checkmarx types.Object `tfsdk:"checkmarx"` Rollbar types.Object `tfsdk:"rollbar"` Sentry types.Object `tfsdk:"sentry"` Snyk types.Object `tfsdk:"snyk"` }
CatalogEntityResourceModel describes the resource data model.
func (*CatalogEntityResourceModel) FromApiModel ¶
func (o *CatalogEntityResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityData)
func (*CatalogEntityResourceModel) ToApiModel ¶
func (o *CatalogEntityResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntityData
type CatalogEntityRollbarResourceModel ¶
func (*CatalogEntityRollbarResourceModel) AttrTypes ¶
func (o *CatalogEntityRollbarResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityRollbarResourceModel) FromApiModel ¶
func (o *CatalogEntityRollbarResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityRollbar) types.Object
func (*CatalogEntityRollbarResourceModel) ToApiModel ¶
func (o *CatalogEntityRollbarResourceModel) ToApiModel() cortex.CatalogEntityRollbar
type CatalogEntitySLODataDogResourceModel ¶
func (*CatalogEntitySLODataDogResourceModel) AttrTypes ¶
func (o *CatalogEntitySLODataDogResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLODataDogResourceModel) FromApiModel ¶
func (o *CatalogEntitySLODataDogResourceModel) FromApiModel(entity *cortex.CatalogEntitySLODataDog) CatalogEntitySLODataDogResourceModel
func (*CatalogEntitySLODataDogResourceModel) ToApiModel ¶
func (o *CatalogEntitySLODataDogResourceModel) ToApiModel() cortex.CatalogEntitySLODataDog
type CatalogEntitySLODynatraceResourceModel ¶
func (*CatalogEntitySLODynatraceResourceModel) AttrTypes ¶
func (o *CatalogEntitySLODynatraceResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLODynatraceResourceModel) FromApiModel ¶
func (o *CatalogEntitySLODynatraceResourceModel) FromApiModel(entity *cortex.CatalogEntitySLODynatrace) CatalogEntitySLODynatraceResourceModel
func (*CatalogEntitySLODynatraceResourceModel) ToApiModel ¶
func (o *CatalogEntitySLODynatraceResourceModel) ToApiModel() cortex.CatalogEntitySLODynatrace
type CatalogEntitySLOLightstepResourceModel ¶
type CatalogEntitySLOLightstepResourceModel struct {
Streams []CatalogEntitySLOLightstepStreamResourceModel `tfsdk:"streams"`
}
func (*CatalogEntitySLOLightstepResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepResourceModel) FromApiModel(streams []cortex.CatalogEntitySLOLightstepStream) CatalogEntitySLOLightstepResourceModel
func (*CatalogEntitySLOLightstepResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepResourceModel) ToApiModel() []cortex.CatalogEntitySLOLightstepStream
type CatalogEntitySLOLightstepStreamResourceModel ¶
type CatalogEntitySLOLightstepStreamResourceModel struct { StreamID types.String `tfsdk:"stream_id"` Targets CatalogEntitySLOLightstepStreamTargetResourceModel `tfsdk:"targets"` }
func (*CatalogEntitySLOLightstepStreamResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepStreamResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOLightstepStream) CatalogEntitySLOLightstepStreamResourceModel
func (*CatalogEntitySLOLightstepStreamResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepStream
type CatalogEntitySLOLightstepStreamTargetLatencyResourceModel ¶
type CatalogEntitySLOLightstepStreamTargetLatencyResourceModel struct { Percentile types.Float64 `tfsdk:"percentile"` Target types.Int64 `tfsdk:"target"` SLO types.Float64 `tfsdk:"slo"` }
func (*CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) FromApiModel ¶
func (*CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) ToApiModel ¶
type CatalogEntitySLOLightstepStreamTargetResourceModel ¶
type CatalogEntitySLOLightstepStreamTargetResourceModel struct {
Latencies []CatalogEntitySLOLightstepStreamTargetLatencyResourceModel `tfsdk:"latencies"`
}
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOLightstepTargets) CatalogEntitySLOLightstepStreamTargetResourceModel
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepTargets
type CatalogEntitySLOPrometheusResourceModel ¶
type CatalogEntitySLOPrometheusResourceModel struct { ErrorQuery types.String `tfsdk:"error_query"` TotalQuery types.String `tfsdk:"total_query"` SLO types.Float64 `tfsdk:"slo"` Name types.String `tfsdk:"name"` Alias types.String `tfsdk:"alias"` }
func (*CatalogEntitySLOPrometheusResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOPrometheusResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOPrometheusResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOPrometheusResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOPrometheusQuery) CatalogEntitySLOPrometheusResourceModel
func (*CatalogEntitySLOPrometheusResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOPrometheusResourceModel) ToApiModel() cortex.CatalogEntitySLOPrometheusQuery
type CatalogEntitySLOSignalFxResourceModel ¶
type CatalogEntitySLOSignalFxResourceModel struct { Query types.String `tfsdk:"query"` Rollup types.String `tfsdk:"rollup"` Target types.Int64 `tfsdk:"target"` Lookback types.String `tfsdk:"lookback"` Operation types.String `tfsdk:"operation"` }
func (*CatalogEntitySLOSignalFxResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOSignalFxResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOSignalFxResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOSignalFxResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOSignalFX) CatalogEntitySLOSignalFxResourceModel
func (*CatalogEntitySLOSignalFxResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOSignalFxResourceModel) ToApiModel() cortex.CatalogEntitySLOSignalFX
type CatalogEntitySLOSumoLogicResourceModel ¶
func (*CatalogEntitySLOSumoLogicResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOSumoLogicResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOSumoLogicResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOSumoLogicResourceModel) FromApiModel(entity *cortex.CatalogEntitySLOSumoLogic) CatalogEntitySLOSumoLogicResourceModel
func (*CatalogEntitySLOSumoLogicResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOSumoLogicResourceModel) ToApiModel() cortex.CatalogEntitySLOSumoLogic
type CatalogEntitySLOsResourceModel ¶
type CatalogEntitySLOsResourceModel struct { DataDog []CatalogEntitySLODataDogResourceModel `tfsdk:"data_dog"` Dynatrace []CatalogEntitySLODynatraceResourceModel `tfsdk:"dynatrace"` Lightstep CatalogEntitySLOLightstepResourceModel `tfsdk:"lightstep"` Prometheus []CatalogEntitySLOPrometheusResourceModel `tfsdk:"prometheus"` SignalFX []CatalogEntitySLOSignalFxResourceModel `tfsdk:"signal_fx"` SumoLogic []CatalogEntitySLOSumoLogicResourceModel `tfsdk:"sumo_logic"` }
func (*CatalogEntitySLOsResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOsResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOsResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOsResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySLOs) types.Object
func (*CatalogEntitySLOsResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOsResourceModel) ToApiModel() cortex.CatalogEntitySLOs
type CatalogEntitySentryResourceModel ¶
func (*CatalogEntitySentryResourceModel) AttrTypes ¶
func (o *CatalogEntitySentryResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySentryResourceModel) FromApiModel ¶
func (o *CatalogEntitySentryResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySentry) types.Object
func (*CatalogEntitySentryResourceModel) ToApiModel ¶
func (o *CatalogEntitySentryResourceModel) ToApiModel() cortex.CatalogEntitySentry
type CatalogEntitySnykProjectResourceModel ¶
type CatalogEntitySnykProjectResourceModel struct { Organization types.String `tfsdk:"organization"` ProjectID types.String `tfsdk:"project_id"` Source types.String `tfsdk:"source"` }
func (*CatalogEntitySnykProjectResourceModel) AttrTypes ¶
func (o *CatalogEntitySnykProjectResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySnykProjectResourceModel) FromApiModel ¶
func (o *CatalogEntitySnykProjectResourceModel) FromApiModel(entity *cortex.CatalogEntitySnykProject) CatalogEntitySnykProjectResourceModel
func (*CatalogEntitySnykProjectResourceModel) ToApiModel ¶
func (o *CatalogEntitySnykProjectResourceModel) ToApiModel() cortex.CatalogEntitySnykProject
type CatalogEntitySnykResourceModel ¶
type CatalogEntitySnykResourceModel struct {
Projects []CatalogEntitySnykProjectResourceModel `tfsdk:"projects"`
}
func (*CatalogEntitySnykResourceModel) AttrTypes ¶
func (o *CatalogEntitySnykResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySnykResourceModel) FromApiModel ¶
func (o *CatalogEntitySnykResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySnyk) types.Object
func (*CatalogEntitySnykResourceModel) ToApiModel ¶
func (o *CatalogEntitySnykResourceModel) ToApiModel() cortex.CatalogEntitySnyk
type CatalogEntityStaticAnalysisCodeCovResourceModel ¶
type CatalogEntityStaticAnalysisCodeCovResourceModel struct { Repository types.String `tfsdk:"repository"` Provider types.String `tfsdk:"provider"` }
func (*CatalogEntityStaticAnalysisCodeCovResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisCodeCovResourceModel) FromApiModel ¶
func (*CatalogEntityStaticAnalysisCodeCovResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisCodeCov
type CatalogEntityStaticAnalysisMendResourceModel ¶
type CatalogEntityStaticAnalysisMendResourceModel struct { ApplicationIDs []types.String `tfsdk:"application_ids"` ProjectIDs []types.String `tfsdk:"project_ids"` }
func (*CatalogEntityStaticAnalysisMendResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisMendResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisMendResourceModel) FromApiModel ¶
func (o *CatalogEntityStaticAnalysisMendResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisMend) CatalogEntityStaticAnalysisMendResourceModel
func (*CatalogEntityStaticAnalysisMendResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisMendResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisMend
type CatalogEntityStaticAnalysisResourceModel ¶
type CatalogEntityStaticAnalysisResourceModel struct { CodeCov CatalogEntityStaticAnalysisCodeCovResourceModel `tfsdk:"code_cov"` Mend CatalogEntityStaticAnalysisMendResourceModel `tfsdk:"mend"` SonarQube CatalogEntityStaticAnalysisSonarQubeResourceModel `tfsdk:"sonar_qube"` Veracode CatalogEntityStaticAnalysisVeracodeResourceModel `tfsdk:"veracode"` }
func (*CatalogEntityStaticAnalysisResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisResourceModel) FromApiModel ¶
func (o *CatalogEntityStaticAnalysisResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityStaticAnalysis) types.Object
func (*CatalogEntityStaticAnalysisResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysis
type CatalogEntityStaticAnalysisSonarQubeResourceModel ¶
type CatalogEntityStaticAnalysisSonarQubeResourceModel struct { Project types.String `tfsdk:"project"` Alias types.String `tfsdk:"alias"` }
func (*CatalogEntityStaticAnalysisSonarQubeResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisSonarQubeResourceModel) FromApiModel ¶
func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisSonarQube) CatalogEntityStaticAnalysisSonarQubeResourceModel
func (*CatalogEntityStaticAnalysisSonarQubeResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisSonarQube
type CatalogEntityStaticAnalysisVeracodeResourceModel ¶
type CatalogEntityStaticAnalysisVeracodeResourceModel struct { ApplicationNames []types.String `tfsdk:"application_names"` Sandboxes []CatalogEntityStaticAnalysisVeracodeSandboxResourceModel `tfsdk:"sandboxes"` }
func (*CatalogEntityStaticAnalysisVeracodeResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisVeracodeResourceModel) FromApiModel ¶
func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) FromApiModel(entity *cortex.CatalogEntityStaticAnalysisVeracode) CatalogEntityStaticAnalysisVeracodeResourceModel
func (*CatalogEntityStaticAnalysisVeracodeResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisVeracode
type CatalogEntityStaticAnalysisVeracodeSandboxResourceModel ¶
type CatalogEntityStaticAnalysisVeracodeSandboxResourceModel struct { ApplicationName types.String `tfsdk:"application_name"` SandboxName types.String `tfsdk:"sandbox_name"` }
func (*CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) FromApiModel ¶
func (*CatalogEntityStaticAnalysisVeracodeSandboxResourceModel) ToApiModel ¶
type CortexProvider ¶
type CortexProvider struct {
// contains filtered or unexported fields
}
CortexProvider defines the provider implementation.
func (*CortexProvider) Configure ¶
func (p *CortexProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*CortexProvider) DataSources ¶
func (p *CortexProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*CortexProvider) Metadata ¶
func (p *CortexProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*CortexProvider) Resources ¶
func (p *CortexProvider) Resources(ctx context.Context) []func() resource.Resource
func (*CortexProvider) Schema ¶
func (p *CortexProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type CortexProviderModel ¶
type CortexProviderModel struct { BaseApiUrl types.String `tfsdk:"base_api_url"` Token types.String `tfsdk:"token"` }
CortexProviderModel describes the provider data model.
type DepartmentDataSource ¶
type DepartmentDataSource struct {
// contains filtered or unexported fields
}
DepartmentDataSource defines the data source implementation.
func (*DepartmentDataSource) Configure ¶
func (d *DepartmentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DepartmentDataSource) Metadata ¶
func (d *DepartmentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DepartmentDataSource) Read ¶
func (d *DepartmentDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DepartmentDataSource) Schema ¶
func (d *DepartmentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DepartmentDataSourceModel ¶
type DepartmentDataSourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
DepartmentDataSourceModel describes the data source data model.
func (*DepartmentDataSourceModel) FromApiModel ¶
func (o *DepartmentDataSourceModel) FromApiModel(department *cortex.Department)
type DepartmentMemberResourceModel ¶
type DepartmentMemberResourceModel struct { Name types.String `tfsdk:"name"` Email types.String `tfsdk:"email"` Description types.String `tfsdk:"description"` }
func (*DepartmentMemberResourceModel) FromApiModel ¶
func (o *DepartmentMemberResourceModel) FromApiModel(member *cortex.DepartmentMember) DepartmentMemberResourceModel
func (*DepartmentMemberResourceModel) ToApiModel ¶
func (o *DepartmentMemberResourceModel) ToApiModel() cortex.DepartmentMember
type DepartmentResource ¶
type DepartmentResource struct {
// contains filtered or unexported fields
}
DepartmentResource defines the resource implementation.
func (*DepartmentResource) Configure ¶
func (r *DepartmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DepartmentResource) Create ¶
func (r *DepartmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create Creates a new team.
func (*DepartmentResource) Delete ¶
func (r *DepartmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DepartmentResource) ImportState ¶
func (r *DepartmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DepartmentResource) Metadata ¶
func (r *DepartmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DepartmentResource) Read ¶
func (r *DepartmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DepartmentResource) Schema ¶
func (r *DepartmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DepartmentResource) Update ¶
func (r *DepartmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DepartmentResourceModel ¶
type DepartmentResourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Members []DepartmentMemberResourceModel `tfsdk:"members"` }
DepartmentResourceModel describes the department data model within Terraform.
func (*DepartmentResourceModel) FromApiModel ¶
func (o *DepartmentResourceModel) FromApiModel(department *cortex.Department)
func (*DepartmentResourceModel) ToCreateRequest ¶
func (o *DepartmentResourceModel) ToCreateRequest() cortex.CreateDepartmentRequest
ToCreateRequest https://docs.cortex.io/docs/api/create-department
func (*DepartmentResourceModel) ToUpdateRequest ¶
func (o *DepartmentResourceModel) ToUpdateRequest() cortex.UpdateDepartmentRequest
ToUpdateRequest https://docs.cortex.io/docs/api/update-department
type ResourceDefinitionDataSource ¶
type ResourceDefinitionDataSource struct {
// contains filtered or unexported fields
}
ResourceDefinitionDataSource defines the data source implementation.
func (*ResourceDefinitionDataSource) Configure ¶
func (d *ResourceDefinitionDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ResourceDefinitionDataSource) Metadata ¶
func (d *ResourceDefinitionDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ResourceDefinitionDataSource) Read ¶
func (d *ResourceDefinitionDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ResourceDefinitionDataSource) Schema ¶
func (d *ResourceDefinitionDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ResourceDefinitionDataSourceModel ¶
type ResourceDefinitionDataSourceModel struct { Id types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Source types.String `tfsdk:"source"` Schema types.Map `tfsdk:"schema"` }
ResourceDefinitionDataSourceModel describes the data source data model.
type ResourceDefinitionResource ¶
type ResourceDefinitionResource struct {
// contains filtered or unexported fields
}
ResourceDefinitionResource defines the resource implementation.
func (*ResourceDefinitionResource) Configure ¶
func (r *ResourceDefinitionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ResourceDefinitionResource) Create ¶
func (r *ResourceDefinitionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create Creates a new team.
func (*ResourceDefinitionResource) Delete ¶
func (r *ResourceDefinitionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ResourceDefinitionResource) ImportState ¶
func (r *ResourceDefinitionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ResourceDefinitionResource) Metadata ¶
func (r *ResourceDefinitionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ResourceDefinitionResource) Read ¶
func (r *ResourceDefinitionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ResourceDefinitionResource) Schema ¶
func (r *ResourceDefinitionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ResourceDefinitionResource) Update ¶
func (r *ResourceDefinitionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ResourceDefinitionResourceModel ¶
type ResourceDefinitionResourceModel struct { Id types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Source types.String `tfsdk:"source"` Schema types.Map `tfsdk:"schema"` }
ResourceDefinitionResourceModel describes the department data model within Terraform.
type ScorecardDataSource ¶
type ScorecardDataSource struct {
// contains filtered or unexported fields
}
ScorecardDataSource defines the data source implementation.
func (*ScorecardDataSource) Configure ¶
func (d *ScorecardDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ScorecardDataSource) Metadata ¶
func (d *ScorecardDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ScorecardDataSource) Read ¶
func (d *ScorecardDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ScorecardDataSource) Schema ¶
func (d *ScorecardDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ScorecardDataSourceModel ¶
type ScorecardDataSourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` IsDraft types.Bool `tfsdk:"is_draft"` }
ScorecardDataSourceModel describes the data source data model.
type ScorecardResource ¶
type ScorecardResource struct {
// contains filtered or unexported fields
}
ScorecardResource defines the resource implementation.
func (*ScorecardResource) Configure ¶
func (r *ScorecardResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ScorecardResource) Create ¶
func (r *ScorecardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create Creates a new scorecard.
func (*ScorecardResource) Delete ¶
func (r *ScorecardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ScorecardResource) ImportState ¶
func (r *ScorecardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ScorecardResource) Metadata ¶
func (r *ScorecardResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ScorecardResource) Read ¶
func (r *ScorecardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ScorecardResource) Schema ¶
func (r *ScorecardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ScorecardResource) Update ¶
func (r *ScorecardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ScorecardResourceModel ¶
type ScorecardResourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` IsDraft types.Bool `tfsdk:"is_draft"` Levels []ScorecardLevelResourceModel `tfsdk:"levels"` Rules []ScorecardRuleResourceModel `tfsdk:"rules"` }
ScorecardResourceModel describes the scorecard data model within Terraform.
type ScorecardRuleResourceModel ¶
type ScorecardRuleResourceModel struct { Title types.String `tfsdk:"title"` Description types.String `tfsdk:"description"` Expression types.String `tfsdk:"expression"` Number types.Int64 `tfsdk:"number"` Weight types.Int64 `tfsdk:"weight"` LevelName types.String `tfsdk:"level_name"` FailureMessage types.String `tfsdk:"failure_message"` }
type TeamDataSource ¶
type TeamDataSource struct {
// contains filtered or unexported fields
}
TeamDataSource defines the data source implementation.
func (*TeamDataSource) Configure ¶
func (d *TeamDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*TeamDataSource) Metadata ¶
func (d *TeamDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*TeamDataSource) Read ¶
func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*TeamDataSource) Schema ¶
func (d *TeamDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type TeamDataSourceModel ¶
TeamDataSourceModel describes the data source data model.
type TeamLinkResourceModel ¶
type TeamResource ¶
type TeamResource struct {
// contains filtered or unexported fields
}
TeamResource defines the resource implementation.
func (*TeamResource) Configure ¶
func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamResource) Create ¶
func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create Creates a new team.
func (*TeamResource) Delete ¶
func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamResource) ImportState ¶
func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamResource) Metadata ¶
func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamResource) Read ¶
func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamResource) Schema ¶
func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamResource) Update ¶
func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TeamResourceModel ¶
type TeamResourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Summary types.String `tfsdk:"summary"` Archived types.Bool `tfsdk:"archived"` SlackChannels []TeamSlackChannelResourceModel `tfsdk:"slack_channels"` Links []TeamLinkResourceModel `tfsdk:"links"` AdditionalMembers []TeamAdditionalMemberResourceModel `tfsdk:"additional_members"` }
TeamResourceModel describes the team data model within Terraform.
Source Files ¶
- catalog_entity_data_source.go
- catalog_entity_resource.go
- catalog_entity_resource_models.go
- department_data_source.go
- department_resource.go
- department_resource_models.go
- provider.go
- resource_definition_data_source.go
- resource_definition_resource.go
- scorecard_data_source.go
- scorecard_resource.go
- team_data_source.go
- team_resource.go