Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewCatalogEntityCustomDataDataSource() datasource.DataSource
- func NewCatalogEntityCustomDataResource() resource.Resource
- 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
- type CatalogEntityAlertResourceModel
- type CatalogEntityApmDataDogResourceModel
- func (o *CatalogEntityApmDataDogResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityApmDataDogResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- 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, ...) types.Object
- func (o *CatalogEntityApmDynatraceResourceModel) ToApiModel() cortex.CatalogEntityApmDynatrace
- type CatalogEntityApmNewRelicResourceModel
- func (o *CatalogEntityApmNewRelicResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityApmNewRelicResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- 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 CatalogEntityChildResourceModel
- type CatalogEntityCiCdBuildkitePipelineResourceModel
- func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) FromApiModel(pipeline *cortex.CatalogEntityCiCdBuildkitePipeline) CatalogEntityCiCdBuildkitePipelineResourceModel
- func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkitePipeline
- type CatalogEntityCiCdBuildkiteResourceModel
- func (o *CatalogEntityCiCdBuildkiteResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityCiCdBuildkiteResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityCiCdBuildkiteResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkite
- type CatalogEntityCiCdBuildkiteTagResourceModel
- func (o *CatalogEntityCiCdBuildkiteTagResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityCiCdBuildkiteTagResourceModel) FromApiModel(pipeline *cortex.CatalogEntityCiCdBuildkiteTag) CatalogEntityCiCdBuildkiteTagResourceModel
- func (o *CatalogEntityCiCdBuildkiteTagResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkiteTag
- type CatalogEntityCiCdResourceModel
- type CatalogEntityCoralogixApplicationResourceModel
- func (o *CatalogEntityCoralogixApplicationResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityCoralogixApplicationResourceModel) FromApiModel(application cortex.CatalogEntityCoralogixApplication) CatalogEntityCoralogixApplicationResourceModel
- func (o *CatalogEntityCoralogixApplicationResourceModel) ToApiModel() cortex.CatalogEntityCoralogixApplication
- type CatalogEntityCoralogixResourceModel
- type CatalogEntityCustomDataDataSource
- func (d *CatalogEntityCustomDataDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CatalogEntityCustomDataDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CatalogEntityCustomDataDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CatalogEntityCustomDataDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CatalogEntityCustomDataDataSourceModel
- type CatalogEntityCustomDataResource
- func (r *CatalogEntityCustomDataResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CatalogEntityCustomDataResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CatalogEntityCustomDataResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CatalogEntityCustomDataResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CatalogEntityCustomDataResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CatalogEntityCustomDataResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CatalogEntityCustomDataResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CatalogEntityCustomDataResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CatalogEntityCustomDataResourceModel
- 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
- func (o *CatalogEntityDependencyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityDependencyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityDependencyResourceModel) ToApiModel(diagnostics *diag.Diagnostics) cortex.CatalogEntityDependency
- type CatalogEntityFireHydrantResourceModel
- func (o *CatalogEntityFireHydrantResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityFireHydrantResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityFireHydrantResourceModel) ToApiModel() cortex.CatalogEntityFireHydrant
- type CatalogEntityFireHydrantServiceResourceModel
- func (o *CatalogEntityFireHydrantServiceResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityFireHydrantServiceResourceModel) FromApiModel(service cortex.CatalogEntityFireHydrantService) CatalogEntityFireHydrantServiceResourceModel
- func (o *CatalogEntityFireHydrantServiceResourceModel) ToApiModel() cortex.CatalogEntityFireHydrantService
- type CatalogEntityGitResourceModel
- type CatalogEntityGithubResourceModel
- type CatalogEntityGitlabResourceModel
- type CatalogEntityGroupMemberResourceModel
- func (o *CatalogEntityGroupMemberResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityGroupMemberResourceModel) FromApiModel(entity *cortex.CatalogEntityGroupMember) CatalogEntityGroupMemberResourceModel
- func (o *CatalogEntityGroupMemberResourceModel) ToApiModel() cortex.CatalogEntityGroupMember
- type CatalogEntityIssuesJiraResourceModel
- func (o *CatalogEntityIssuesJiraResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityIssuesJiraResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityIssuesJiraResourceModel) ToApiModel() cortex.CatalogEntityIssuesJira
- type CatalogEntityIssuesResourceModel
- func (o *CatalogEntityIssuesResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityIssuesResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityIssuesResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntityIssues
- type CatalogEntityK8sArgoRolloutResourceModel
- func (o *CatalogEntityK8sArgoRolloutResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityK8sArgoRolloutResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sArgoRollout) CatalogEntityK8sArgoRolloutResourceModel
- func (o *CatalogEntityK8sArgoRolloutResourceModel) ToApiModel() cortex.CatalogEntityK8sArgoRollout
- type CatalogEntityK8sCronJobResourceModel
- func (o *CatalogEntityK8sCronJobResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityK8sCronJobResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sCronJob) CatalogEntityK8sCronJobResourceModel
- func (o *CatalogEntityK8sCronJobResourceModel) ToApiModel() cortex.CatalogEntityK8sCronJob
- type CatalogEntityK8sDeploymentResourceModel
- func (o *CatalogEntityK8sDeploymentResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityK8sDeploymentResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sDeployment) CatalogEntityK8sDeploymentResourceModel
- func (o *CatalogEntityK8sDeploymentResourceModel) ToApiModel() cortex.CatalogEntityK8sDeployment
- type CatalogEntityK8sResourceModel
- type CatalogEntityK8sStatefulSetResourceModel
- func (o *CatalogEntityK8sStatefulSetResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityK8sStatefulSetResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sStatefulSet) CatalogEntityK8sStatefulSetResourceModel
- func (o *CatalogEntityK8sStatefulSetResourceModel) ToApiModel() cortex.CatalogEntityK8sStatefulSet
- type CatalogEntityLaunchDarklyProjectEnvironmentResourceModel
- func (o *CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) FromApiModel(entity *cortex.CatalogEntityLaunchDarklyProjectEnvironment) CatalogEntityLaunchDarklyProjectEnvironmentResourceModel
- func (o *CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) ToApiModel() cortex.CatalogEntityLaunchDarklyProjectEnvironment
- type CatalogEntityLaunchDarklyProjectResourceModel
- func (o *CatalogEntityLaunchDarklyProjectResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityLaunchDarklyProjectResourceModel) FromApiModel(entity *cortex.CatalogEntityLaunchDarklyProject) CatalogEntityLaunchDarklyProjectResourceModel
- func (o *CatalogEntityLaunchDarklyProjectResourceModel) ToApiModel() cortex.CatalogEntityLaunchDarklyProject
- type CatalogEntityLaunchDarklyResourceModel
- func (o *CatalogEntityLaunchDarklyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityLaunchDarklyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityLaunchDarklyResourceModel) ToApiModel() cortex.CatalogEntityLaunchDarkly
- type CatalogEntityLinkResourceModel
- type CatalogEntityMicrosoftTeamResourceModel
- func (o *CatalogEntityMicrosoftTeamResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityMicrosoftTeamResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityMicrosoftTeamResourceModel) ToApiModel() cortex.CatalogEntityMicrosoftTeam
- type CatalogEntityOnCallOpsGenieResourceModel
- func (o *CatalogEntityOnCallOpsGenieResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallOpsGenieResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityOnCallOpsGenieResourceModel) ToApiModel() cortex.CatalogEntityOnCallOpsGenie
- type CatalogEntityOnCallPagerDutyResourceModel
- func (o *CatalogEntityOnCallPagerDutyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallPagerDutyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityOnCallPagerDutyResourceModel) ToApiModel() cortex.CatalogEntityOnCallPagerDuty
- type CatalogEntityOnCallResourceModel
- func (o *CatalogEntityOnCallResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityOnCallResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntityOnCall
- type CatalogEntityOnCallVictorOpsResourceModel
- func (o *CatalogEntityOnCallVictorOpsResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallVictorOpsResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityOnCallVictorOpsResourceModel) ToApiModel() cortex.CatalogEntityOnCallVictorOps
- type CatalogEntityOnCallXMattersResourceModel
- func (o *CatalogEntityOnCallXMattersResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityOnCallXMattersResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityOnCallXMattersResourceModel) ToApiModel() cortex.CatalogEntityOnCallXMatters
- type CatalogEntityOwnerResourceModel
- type CatalogEntityParentResourceModel
- 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(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntitySLOLightstepResourceModel) ToApiModel(ctx context.Context) []cortex.CatalogEntitySLOLightstepStream
- type CatalogEntitySLOLightstepStreamResourceModel
- func (o *CatalogEntitySLOLightstepStreamResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntitySLOLightstepStreamResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntitySLOLightstepStream
- type CatalogEntitySLOLightstepStreamTargetLatencyResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) ToApiModel() cortex.CatalogEntitySLOLightstepTargetLatency
- type CatalogEntitySLOLightstepStreamTargetResourceModel
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel(ctx context.Context) 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 CatalogEntityServiceNowResourceModel
- func (o *CatalogEntityServiceNowResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityServiceNowResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityServiceNowResourceModel) ToApiModel() cortex.CatalogEntityServiceNow
- type CatalogEntityServiceNowServiceResourceModel
- func (o *CatalogEntityServiceNowServiceResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityServiceNowServiceResourceModel) FromApiModel(entity *cortex.CatalogEntityServiceNowService) CatalogEntityServiceNowServiceResourceModel
- func (o *CatalogEntityServiceNowServiceResourceModel) ToApiModel() cortex.CatalogEntityServiceNowService
- type CatalogEntitySlackChannelResourceModel
- func (o *CatalogEntitySlackChannelResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntitySlackChannelResourceModel) FromApiModel(entity *cortex.CatalogEntitySlackChannel) CatalogEntitySlackChannelResourceModel
- func (o *CatalogEntitySlackChannelResourceModel) ToApiModel() cortex.CatalogEntitySlackChannel
- type CatalogEntitySlackResourceModel
- 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(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisCodeCov
- type CatalogEntityStaticAnalysisMendResourceModel
- func (o *CatalogEntityStaticAnalysisMendResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisMendResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- 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(ctx context.Context) cortex.CatalogEntityStaticAnalysis
- type CatalogEntityStaticAnalysisSonarQubeResourceModel
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- func (o *CatalogEntityStaticAnalysisSonarQubeResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisSonarQube
- type CatalogEntityStaticAnalysisVeracodeResourceModel
- func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityStaticAnalysisVeracodeResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, ...) types.Object
- 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 CatalogEntityTeamMemberResourceModel
- func (o *CatalogEntityTeamMemberResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityTeamMemberResourceModel) FromApiModel(entity *cortex.CatalogEntityTeamMember) CatalogEntityTeamMemberResourceModel
- func (o *CatalogEntityTeamMemberResourceModel) ToApiModel() cortex.CatalogEntityTeamMember
- type CatalogEntityTeamResourceModel
- type CatalogEntityWizProjectResourceModel
- func (o *CatalogEntityWizProjectResourceModel) AttrTypes() map[string]attr.Type
- func (o *CatalogEntityWizProjectResourceModel) FromApiModel(entity *cortex.CatalogEntityWizProject) CatalogEntityWizProjectResourceModel
- func (o *CatalogEntityWizProjectResourceModel) ToApiModel() cortex.CatalogEntityWizProject
- type CatalogEntityWizResourceModel
- 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 ScorecardEvaluationResourceModel
- type ScorecardFilterResourceModel
- type ScorecardLadderResourceModel
- 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 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
Constants ¶
const DefaultBaseApiUrl = "https://api.getcortexapp.com"
Variables ¶
This section is empty.
Functions ¶
func NewCatalogEntityCustomDataDataSource ¶
func NewCatalogEntityCustomDataDataSource() datasource.DataSource
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
Types ¶
type CatalogEntityAlertResourceModel ¶
type CatalogEntityAlertResourceModel struct { Type types.String `tfsdk:"type"` Tag types.String `tfsdk:"tag"` Value types.String `tfsdk:"value"` }
func (*CatalogEntityAlertResourceModel) AttrTypes ¶
func (o *CatalogEntityAlertResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityAlertResourceModel) FromApiModel ¶
func (o *CatalogEntityAlertResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, alert *cortex.CatalogEntityAlert) types.Object
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) types.Object
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) types.Object
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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityApmNewRelic) types.Object
func (*CatalogEntityApmNewRelicResourceModel) ToApiModel ¶
func (o *CatalogEntityApmNewRelicResourceModel) ToApiModel() cortex.CatalogEntityApmNewRelic
type CatalogEntityApmResourceModel ¶
type CatalogEntityApmResourceModel struct { DataDog types.Object `tfsdk:"data_dog"` Dynatrace types.Object `tfsdk:"dynatrace"` NewRelic []types.Object `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(ctx context.Context) 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 CatalogEntityChildResourceModel ¶
CatalogEntityChildResourceModel describes a child of the catalog entity.
func (*CatalogEntityChildResourceModel) AttrTypes ¶
func (o *CatalogEntityChildResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityChildResourceModel) FromApiModel ¶
func (o *CatalogEntityChildResourceModel) FromApiModel(entity *cortex.CatalogEntityChild) CatalogEntityChildResourceModel
func (*CatalogEntityChildResourceModel) ToApiModel ¶
func (o *CatalogEntityChildResourceModel) ToApiModel() cortex.CatalogEntityChild
type CatalogEntityCiCdBuildkitePipelineResourceModel ¶
func (*CatalogEntityCiCdBuildkitePipelineResourceModel) AttrTypes ¶
func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCiCdBuildkitePipelineResourceModel) FromApiModel ¶
func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) FromApiModel(pipeline *cortex.CatalogEntityCiCdBuildkitePipeline) CatalogEntityCiCdBuildkitePipelineResourceModel
func (*CatalogEntityCiCdBuildkitePipelineResourceModel) ToApiModel ¶
func (o *CatalogEntityCiCdBuildkitePipelineResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkitePipeline
type CatalogEntityCiCdBuildkiteResourceModel ¶
type CatalogEntityCiCdBuildkiteResourceModel struct { Pipelines []CatalogEntityCiCdBuildkitePipelineResourceModel `tfsdk:"pipelines"` Tags []CatalogEntityCiCdBuildkiteTagResourceModel `tfsdk:"tags"` }
func (*CatalogEntityCiCdBuildkiteResourceModel) AttrTypes ¶
func (o *CatalogEntityCiCdBuildkiteResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCiCdBuildkiteResourceModel) FromApiModel ¶
func (o *CatalogEntityCiCdBuildkiteResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, bk *cortex.CatalogEntityCiCdBuildkite) types.Object
func (*CatalogEntityCiCdBuildkiteResourceModel) ToApiModel ¶
func (o *CatalogEntityCiCdBuildkiteResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkite
type CatalogEntityCiCdBuildkiteTagResourceModel ¶
func (*CatalogEntityCiCdBuildkiteTagResourceModel) AttrTypes ¶
func (o *CatalogEntityCiCdBuildkiteTagResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCiCdBuildkiteTagResourceModel) FromApiModel ¶
func (o *CatalogEntityCiCdBuildkiteTagResourceModel) FromApiModel(pipeline *cortex.CatalogEntityCiCdBuildkiteTag) CatalogEntityCiCdBuildkiteTagResourceModel
func (*CatalogEntityCiCdBuildkiteTagResourceModel) ToApiModel ¶
func (o *CatalogEntityCiCdBuildkiteTagResourceModel) ToApiModel() cortex.CatalogEntityCiCdBuildkiteTag
type CatalogEntityCiCdResourceModel ¶
func (*CatalogEntityCiCdResourceModel) AttrTypes ¶
func (o *CatalogEntityCiCdResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCiCdResourceModel) FromApiModel ¶
func (o *CatalogEntityCiCdResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityCiCd) types.Object
func (*CatalogEntityCiCdResourceModel) ToApiModel ¶
func (o *CatalogEntityCiCdResourceModel) ToApiModel(ctx context.Context) cortex.CatalogEntityCiCd
type CatalogEntityCoralogixApplicationResourceModel ¶
type CatalogEntityCoralogixApplicationResourceModel struct { Name types.String `tfsdk:"name"` Alias types.String `tfsdk:"alias"` }
func (*CatalogEntityCoralogixApplicationResourceModel) AttrTypes ¶
func (o *CatalogEntityCoralogixApplicationResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCoralogixApplicationResourceModel) FromApiModel ¶
func (o *CatalogEntityCoralogixApplicationResourceModel) FromApiModel(application cortex.CatalogEntityCoralogixApplication) CatalogEntityCoralogixApplicationResourceModel
func (*CatalogEntityCoralogixApplicationResourceModel) ToApiModel ¶
func (o *CatalogEntityCoralogixApplicationResourceModel) ToApiModel() cortex.CatalogEntityCoralogixApplication
type CatalogEntityCoralogixResourceModel ¶
type CatalogEntityCoralogixResourceModel struct {
Applications []CatalogEntityCoralogixApplicationResourceModel `tfsdk:"applications"`
}
func (*CatalogEntityCoralogixResourceModel) AttrTypes ¶
func (o *CatalogEntityCoralogixResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityCoralogixResourceModel) FromApiModel ¶
func (o *CatalogEntityCoralogixResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityCoralogix) types.Object
func (*CatalogEntityCoralogixResourceModel) ToApiModel ¶
func (o *CatalogEntityCoralogixResourceModel) ToApiModel() cortex.CatalogEntityCoralogix
type CatalogEntityCustomDataDataSource ¶
type CatalogEntityCustomDataDataSource struct {
// contains filtered or unexported fields
}
CatalogEntityCustomDataDataSource defines the data source implementation.
func (*CatalogEntityCustomDataDataSource) Configure ¶
func (d *CatalogEntityCustomDataDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CatalogEntityCustomDataDataSource) Metadata ¶
func (d *CatalogEntityCustomDataDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CatalogEntityCustomDataDataSource) Read ¶
func (d *CatalogEntityCustomDataDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CatalogEntityCustomDataDataSource) Schema ¶
func (d *CatalogEntityCustomDataDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CatalogEntityCustomDataDataSourceModel ¶
type CatalogEntityCustomDataDataSourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Key types.String `tfsdk:"key"` Description types.String `tfsdk:"description"` Source types.String `tfsdk:"source"` Value types.String `tfsdk:"value"` }
CatalogEntityCustomDataDataSourceModel describes the data source data model.
func NewCatalogEntityCustomDataDataSourceModel ¶
func NewCatalogEntityCustomDataDataSourceModel() CatalogEntityCustomDataDataSourceModel
func (*CatalogEntityCustomDataDataSourceModel) FromApiModel ¶
func (o *CatalogEntityCustomDataDataSourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity cortex.CatalogEntityCustomData)
type CatalogEntityCustomDataResource ¶
type CatalogEntityCustomDataResource struct {
// contains filtered or unexported fields
}
func (*CatalogEntityCustomDataResource) Configure ¶
func (r *CatalogEntityCustomDataResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CatalogEntityCustomDataResource) Create ¶
func (r *CatalogEntityCustomDataResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CatalogEntityCustomDataResource) Delete ¶
func (r *CatalogEntityCustomDataResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CatalogEntityCustomDataResource) ImportState ¶
func (r *CatalogEntityCustomDataResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CatalogEntityCustomDataResource) Metadata ¶
func (r *CatalogEntityCustomDataResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CatalogEntityCustomDataResource) Read ¶
func (r *CatalogEntityCustomDataResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CatalogEntityCustomDataResource) Schema ¶
func (r *CatalogEntityCustomDataResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CatalogEntityCustomDataResource) Update ¶
func (r *CatalogEntityCustomDataResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CatalogEntityCustomDataResourceModel ¶
type CatalogEntityCustomDataResourceModel struct { Id types.String `tfsdk:"id"` Tag types.String `tfsdk:"tag"` Key types.String `tfsdk:"key"` Description types.String `tfsdk:"description"` Value types.String `tfsdk:"value"` }
func NewCatalogEntityCustomDataResourceModel ¶
func NewCatalogEntityCustomDataResourceModel() CatalogEntityCustomDataResourceModel
func (*CatalogEntityCustomDataResourceModel) FromApiModel ¶
func (r *CatalogEntityCustomDataResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity cortex.CatalogEntityCustomData)
func (*CatalogEntityCustomDataResourceModel) ToApiModel ¶
func (r *CatalogEntityCustomDataResourceModel) ToApiModel(diagnostics *diag.Diagnostics) cortex.CatalogEntityCustomData
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, diagnostics *diag.Diagnostics, dependency *cortex.CatalogEntityDependency) types.Object
func (*CatalogEntityDependencyResourceModel) ToApiModel ¶
func (o *CatalogEntityDependencyResourceModel) ToApiModel(diagnostics *diag.Diagnostics) cortex.CatalogEntityDependency
type CatalogEntityFireHydrantResourceModel ¶
type CatalogEntityFireHydrantResourceModel struct {
Services []CatalogEntityFireHydrantServiceResourceModel `tfsdk:"services"`
}
func (*CatalogEntityFireHydrantResourceModel) AttrTypes ¶
func (o *CatalogEntityFireHydrantResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityFireHydrantResourceModel) FromApiModel ¶
func (o *CatalogEntityFireHydrantResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityFireHydrant) types.Object
func (*CatalogEntityFireHydrantResourceModel) ToApiModel ¶
func (o *CatalogEntityFireHydrantResourceModel) ToApiModel() cortex.CatalogEntityFireHydrant
type CatalogEntityFireHydrantServiceResourceModel ¶
type CatalogEntityFireHydrantServiceResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` }
func (*CatalogEntityFireHydrantServiceResourceModel) AttrTypes ¶
func (o *CatalogEntityFireHydrantServiceResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityFireHydrantServiceResourceModel) FromApiModel ¶
func (o *CatalogEntityFireHydrantServiceResourceModel) FromApiModel(service cortex.CatalogEntityFireHydrantService) CatalogEntityFireHydrantServiceResourceModel
func (*CatalogEntityFireHydrantServiceResourceModel) ToApiModel ¶
func (o *CatalogEntityFireHydrantServiceResourceModel) ToApiModel() cortex.CatalogEntityFireHydrantService
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 CatalogEntityGroupMemberResourceModel ¶
type CatalogEntityGroupMemberResourceModel struct { Name types.String `tfsdk:"name"` Provider types.String `tfsdk:"provider"` }
func (*CatalogEntityGroupMemberResourceModel) AttrTypes ¶
func (o *CatalogEntityGroupMemberResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityGroupMemberResourceModel) FromApiModel ¶
func (o *CatalogEntityGroupMemberResourceModel) FromApiModel(entity *cortex.CatalogEntityGroupMember) CatalogEntityGroupMemberResourceModel
func (*CatalogEntityGroupMemberResourceModel) ToApiModel ¶
func (o *CatalogEntityGroupMemberResourceModel) ToApiModel() cortex.CatalogEntityGroupMember
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) types.Object
func (*CatalogEntityIssuesJiraResourceModel) ToApiModel ¶
func (o *CatalogEntityIssuesJiraResourceModel) ToApiModel() cortex.CatalogEntityIssuesJira
type CatalogEntityIssuesResourceModel ¶
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(ctx context.Context) cortex.CatalogEntityIssues
type CatalogEntityK8sArgoRolloutResourceModel ¶
type CatalogEntityK8sArgoRolloutResourceModel struct { Identifier types.String `tfsdk:"identifier"` Cluster types.String `tfsdk:"cluster"` }
func (*CatalogEntityK8sArgoRolloutResourceModel) AttrTypes ¶
func (o *CatalogEntityK8sArgoRolloutResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityK8sArgoRolloutResourceModel) FromApiModel ¶
func (o *CatalogEntityK8sArgoRolloutResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sArgoRollout) CatalogEntityK8sArgoRolloutResourceModel
func (*CatalogEntityK8sArgoRolloutResourceModel) ToApiModel ¶
func (o *CatalogEntityK8sArgoRolloutResourceModel) ToApiModel() cortex.CatalogEntityK8sArgoRollout
type CatalogEntityK8sCronJobResourceModel ¶
type CatalogEntityK8sCronJobResourceModel struct { Identifier types.String `tfsdk:"identifier"` Cluster types.String `tfsdk:"cluster"` }
func (*CatalogEntityK8sCronJobResourceModel) AttrTypes ¶
func (o *CatalogEntityK8sCronJobResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityK8sCronJobResourceModel) FromApiModel ¶
func (o *CatalogEntityK8sCronJobResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sCronJob) CatalogEntityK8sCronJobResourceModel
func (*CatalogEntityK8sCronJobResourceModel) ToApiModel ¶
func (o *CatalogEntityK8sCronJobResourceModel) ToApiModel() cortex.CatalogEntityK8sCronJob
type CatalogEntityK8sDeploymentResourceModel ¶
type CatalogEntityK8sDeploymentResourceModel struct { Identifier types.String `tfsdk:"identifier"` Cluster types.String `tfsdk:"cluster"` }
func (*CatalogEntityK8sDeploymentResourceModel) AttrTypes ¶
func (o *CatalogEntityK8sDeploymentResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityK8sDeploymentResourceModel) FromApiModel ¶
func (o *CatalogEntityK8sDeploymentResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sDeployment) CatalogEntityK8sDeploymentResourceModel
func (*CatalogEntityK8sDeploymentResourceModel) ToApiModel ¶
func (o *CatalogEntityK8sDeploymentResourceModel) ToApiModel() cortex.CatalogEntityK8sDeployment
type CatalogEntityK8sResourceModel ¶
type CatalogEntityK8sResourceModel struct { Deployments []CatalogEntityK8sDeploymentResourceModel `tfsdk:"deployments"` ArgoRollouts []CatalogEntityK8sArgoRolloutResourceModel `tfsdk:"argo_rollouts"` StatefulSets []CatalogEntityK8sStatefulSetResourceModel `tfsdk:"stateful_sets"` CronJobs []CatalogEntityK8sCronJobResourceModel `tfsdk:"cron_jobs"` }
func (*CatalogEntityK8sResourceModel) AttrTypes ¶
func (o *CatalogEntityK8sResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityK8sResourceModel) FromApiModel ¶
func (o *CatalogEntityK8sResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityK8s) types.Object
func (*CatalogEntityK8sResourceModel) ToApiModel ¶
func (o *CatalogEntityK8sResourceModel) ToApiModel() cortex.CatalogEntityK8s
type CatalogEntityK8sStatefulSetResourceModel ¶
type CatalogEntityK8sStatefulSetResourceModel struct { Identifier types.String `tfsdk:"identifier"` Cluster types.String `tfsdk:"cluster"` }
func (*CatalogEntityK8sStatefulSetResourceModel) AttrTypes ¶
func (o *CatalogEntityK8sStatefulSetResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityK8sStatefulSetResourceModel) FromApiModel ¶
func (o *CatalogEntityK8sStatefulSetResourceModel) FromApiModel(entity *cortex.CatalogEntityK8sStatefulSet) CatalogEntityK8sStatefulSetResourceModel
func (*CatalogEntityK8sStatefulSetResourceModel) ToApiModel ¶
func (o *CatalogEntityK8sStatefulSetResourceModel) ToApiModel() cortex.CatalogEntityK8sStatefulSet
type CatalogEntityLaunchDarklyProjectEnvironmentResourceModel ¶
type CatalogEntityLaunchDarklyProjectEnvironmentResourceModel struct {
Name types.String `tfsdk:"name"`
}
func (*CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) AttrTypes ¶
func (o *CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) FromApiModel ¶
func (*CatalogEntityLaunchDarklyProjectEnvironmentResourceModel) ToApiModel ¶
type CatalogEntityLaunchDarklyProjectResourceModel ¶
type CatalogEntityLaunchDarklyProjectResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` Alias types.String `tfsdk:"alias"` Environments []CatalogEntityLaunchDarklyProjectEnvironmentResourceModel `tfsdk:"environments"` }
func (*CatalogEntityLaunchDarklyProjectResourceModel) AttrTypes ¶
func (o *CatalogEntityLaunchDarklyProjectResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityLaunchDarklyProjectResourceModel) FromApiModel ¶
func (o *CatalogEntityLaunchDarklyProjectResourceModel) FromApiModel(entity *cortex.CatalogEntityLaunchDarklyProject) CatalogEntityLaunchDarklyProjectResourceModel
func (*CatalogEntityLaunchDarklyProjectResourceModel) ToApiModel ¶
func (o *CatalogEntityLaunchDarklyProjectResourceModel) ToApiModel() cortex.CatalogEntityLaunchDarklyProject
type CatalogEntityLaunchDarklyResourceModel ¶
type CatalogEntityLaunchDarklyResourceModel struct {
Projects []CatalogEntityLaunchDarklyProjectResourceModel `tfsdk:"projects"`
}
func (*CatalogEntityLaunchDarklyResourceModel) AttrTypes ¶
func (o *CatalogEntityLaunchDarklyResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityLaunchDarklyResourceModel) FromApiModel ¶
func (o *CatalogEntityLaunchDarklyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityLaunchDarkly) types.Object
func (*CatalogEntityLaunchDarklyResourceModel) ToApiModel ¶
func (o *CatalogEntityLaunchDarklyResourceModel) ToApiModel() cortex.CatalogEntityLaunchDarkly
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 CatalogEntityMicrosoftTeamResourceModel ¶
type CatalogEntityMicrosoftTeamResourceModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` NotificationsEnabled types.Bool `tfsdk:"notifications_enabled"` }
func (*CatalogEntityMicrosoftTeamResourceModel) AttrTypes ¶
func (o *CatalogEntityMicrosoftTeamResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityMicrosoftTeamResourceModel) FromApiModel ¶
func (o *CatalogEntityMicrosoftTeamResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityMicrosoftTeam) types.Object
func (*CatalogEntityMicrosoftTeamResourceModel) ToApiModel ¶
func (o *CatalogEntityMicrosoftTeamResourceModel) ToApiModel() cortex.CatalogEntityMicrosoftTeam
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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityOnCallOpsGenie) types.Object
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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityOnCallPagerDuty) types.Object
func (*CatalogEntityOnCallPagerDutyResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallPagerDutyResourceModel) ToApiModel() cortex.CatalogEntityOnCallPagerDuty
type CatalogEntityOnCallResourceModel ¶
type CatalogEntityOnCallResourceModel struct { PagerDuty types.Object `tfsdk:"pager_duty"` OpsGenie types.Object `tfsdk:"ops_genie"` VictorOps types.Object `tfsdk:"victor_ops"` XMatters types.Object `tfsdk:"xmatters"` }
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(ctx context.Context) 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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityOnCallVictorOps) types.Object
func (*CatalogEntityOnCallVictorOpsResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallVictorOpsResourceModel) ToApiModel() cortex.CatalogEntityOnCallVictorOps
type CatalogEntityOnCallXMattersResourceModel ¶
type CatalogEntityOnCallXMattersResourceModel struct { ID types.String `tfsdk:"id"` Type types.String `tfsdk:"type"` }
func (*CatalogEntityOnCallXMattersResourceModel) AttrTypes ¶
func (o *CatalogEntityOnCallXMattersResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityOnCallXMattersResourceModel) FromApiModel ¶
func (o *CatalogEntityOnCallXMattersResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityOnCallXMatters) types.Object
func (*CatalogEntityOnCallXMattersResourceModel) ToApiModel ¶
func (o *CatalogEntityOnCallXMattersResourceModel) ToApiModel() cortex.CatalogEntityOnCallXMatters
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 CatalogEntityParentResourceModel ¶ added in v0.4.0
CatalogEntityParentResourceModel describes a parent domain of the catalog entity.
func (*CatalogEntityParentResourceModel) AttrTypes ¶ added in v0.4.0
func (o *CatalogEntityParentResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityParentResourceModel) FromApiModel ¶ added in v0.4.0
func (o *CatalogEntityParentResourceModel) FromApiModel(entity *cortex.CatalogEntityParent) CatalogEntityParentResourceModel
func (*CatalogEntityParentResourceModel) ToApiModel ¶ added in v0.4.0
func (o *CatalogEntityParentResourceModel) ToApiModel() cortex.CatalogEntityParent
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"` Type types.String `tfsdk:"type"` Definition types.String `tfsdk:"definition"` Owners []CatalogEntityOwnerResourceModel `tfsdk:"owners"` Children []CatalogEntityChildResourceModel `tfsdk:"children"` Parents []CatalogEntityParentResourceModel `tfsdk:"parents"` Groups []types.String `tfsdk:"groups"` Links []CatalogEntityLinkResourceModel `tfsdk:"links"` IgnoreMetadata types.Bool `tfsdk:"ignore_metadata"` Metadata types.String `tfsdk:"metadata"` Dependencies []types.Object `tfsdk:"dependencies"` Alerts []types.Object `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"` CiCd types.Object `tfsdk:"ci_cd"` BugSnag types.Object `tfsdk:"bug_snag"` Checkmarx types.Object `tfsdk:"checkmarx"` Coralogix types.Object `tfsdk:"coralogix"` FireHydrant types.Object `tfsdk:"firehydrant"` K8s types.Object `tfsdk:"k8s"` LaunchDarkly types.Object `tfsdk:"launch_darkly"` MicrosoftTeams []types.Object `tfsdk:"microsoft_teams"` Rollbar types.Object `tfsdk:"rollbar"` Sentry types.Object `tfsdk:"sentry"` ServiceNow types.Object `tfsdk:"service_now"` Slack types.Object `tfsdk:"slack"` Snyk types.Object `tfsdk:"snyk"` Wiz types.Object `tfsdk:"wiz"` Team types.Object `tfsdk:"team"` }
CatalogEntityResourceModel describes the resource data model.
func NewCatalogEntityResourceModel ¶
func NewCatalogEntityResourceModel() CatalogEntityResourceModel
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, diagnostics *diag.Diagnostics) 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 ¶
func (*CatalogEntitySLOLightstepResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, streams []cortex.CatalogEntitySLOLightstepStream) types.Object
func (*CatalogEntitySLOLightstepResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepResourceModel) ToApiModel(ctx context.Context) []cortex.CatalogEntitySLOLightstepStream
type CatalogEntitySLOLightstepStreamResourceModel ¶
type CatalogEntitySLOLightstepStreamResourceModel struct { StreamID types.String `tfsdk:"stream_id"` Targets types.Object `tfsdk:"targets"` }
func (*CatalogEntitySLOLightstepStreamResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepStreamResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySLOLightstepStream) types.Object
func (*CatalogEntitySLOLightstepStreamResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepStreamResourceModel) ToApiModel(ctx context.Context) 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 (o *CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySLOLightstepTargetLatency) types.Object
func (*CatalogEntitySLOLightstepStreamTargetLatencyResourceModel) ToApiModel ¶
type CatalogEntitySLOLightstepStreamTargetResourceModel ¶
type CatalogEntitySLOLightstepStreamTargetResourceModel struct {
Latencies []types.Object `tfsdk:"latencies"`
}
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySLOLightstepTargets) types.Object
func (*CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel ¶
func (o *CatalogEntitySLOLightstepStreamTargetResourceModel) ToApiModel(ctx context.Context) 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 types.Object `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(ctx context.Context) 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 CatalogEntityServiceNowResourceModel ¶
type CatalogEntityServiceNowResourceModel struct {
Services []CatalogEntityServiceNowServiceResourceModel `tfsdk:"services"`
}
func (*CatalogEntityServiceNowResourceModel) AttrTypes ¶
func (o *CatalogEntityServiceNowResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityServiceNowResourceModel) FromApiModel ¶
func (o *CatalogEntityServiceNowResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityServiceNow) types.Object
func (*CatalogEntityServiceNowResourceModel) ToApiModel ¶
func (o *CatalogEntityServiceNowResourceModel) ToApiModel() cortex.CatalogEntityServiceNow
type CatalogEntityServiceNowServiceResourceModel ¶
type CatalogEntityServiceNowServiceResourceModel struct { ID types.Int64 `tfsdk:"id"` TableName types.String `tfsdk:"table_name"` }
func (*CatalogEntityServiceNowServiceResourceModel) AttrTypes ¶
func (o *CatalogEntityServiceNowServiceResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityServiceNowServiceResourceModel) FromApiModel ¶
func (o *CatalogEntityServiceNowServiceResourceModel) FromApiModel(entity *cortex.CatalogEntityServiceNowService) CatalogEntityServiceNowServiceResourceModel
func (*CatalogEntityServiceNowServiceResourceModel) ToApiModel ¶
func (o *CatalogEntityServiceNowServiceResourceModel) ToApiModel() cortex.CatalogEntityServiceNowService
type CatalogEntitySlackChannelResourceModel ¶
type CatalogEntitySlackChannelResourceModel struct { Name types.String `tfsdk:"name"` NotificationsEnabled types.Bool `tfsdk:"notifications_enabled"` }
func (*CatalogEntitySlackChannelResourceModel) AttrTypes ¶
func (o *CatalogEntitySlackChannelResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySlackChannelResourceModel) FromApiModel ¶
func (o *CatalogEntitySlackChannelResourceModel) FromApiModel(entity *cortex.CatalogEntitySlackChannel) CatalogEntitySlackChannelResourceModel
func (*CatalogEntitySlackChannelResourceModel) ToApiModel ¶
func (o *CatalogEntitySlackChannelResourceModel) ToApiModel() cortex.CatalogEntitySlackChannel
type CatalogEntitySlackResourceModel ¶
type CatalogEntitySlackResourceModel struct {
Channels []CatalogEntitySlackChannelResourceModel `tfsdk:"channels"`
}
func (*CatalogEntitySlackResourceModel) AttrTypes ¶
func (o *CatalogEntitySlackResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntitySlackResourceModel) FromApiModel ¶
func (o *CatalogEntitySlackResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntitySlack) types.Object
func (*CatalogEntitySlackResourceModel) ToApiModel ¶
func (o *CatalogEntitySlackResourceModel) ToApiModel() cortex.CatalogEntitySlack
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"` Owner types.String `tfsdk:"owner"` Flag types.String `tfsdk:"flag"` }
func (*CatalogEntityStaticAnalysisCodeCovResourceModel) AttrTypes ¶
func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityStaticAnalysisCodeCovResourceModel) FromApiModel ¶
func (o *CatalogEntityStaticAnalysisCodeCovResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, cov *cortex.CatalogEntityStaticAnalysisCodeCov) types.Object
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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityStaticAnalysisMend) types.Object
func (*CatalogEntityStaticAnalysisMendResourceModel) ToApiModel ¶
func (o *CatalogEntityStaticAnalysisMendResourceModel) ToApiModel() cortex.CatalogEntityStaticAnalysisMend
type CatalogEntityStaticAnalysisResourceModel ¶
type CatalogEntityStaticAnalysisResourceModel struct { CodeCov types.Object `tfsdk:"code_cov"` Mend types.Object `tfsdk:"mend"` SonarQube types.Object `tfsdk:"sonar_qube"` Veracode types.Object `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(ctx context.Context) 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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityStaticAnalysisSonarQube) types.Object
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(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityStaticAnalysisVeracode) types.Object
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 CatalogEntityTeamMemberResourceModel ¶
type CatalogEntityTeamMemberResourceModel struct { Name types.String `tfsdk:"name"` Email types.String `tfsdk:"email"` Role types.String `tfsdk:"role"` NotificationsEnabled types.Bool `tfsdk:"notifications_enabled"` }
func (*CatalogEntityTeamMemberResourceModel) AttrTypes ¶
func (o *CatalogEntityTeamMemberResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityTeamMemberResourceModel) FromApiModel ¶
func (o *CatalogEntityTeamMemberResourceModel) FromApiModel(entity *cortex.CatalogEntityTeamMember) CatalogEntityTeamMemberResourceModel
func (*CatalogEntityTeamMemberResourceModel) ToApiModel ¶
func (o *CatalogEntityTeamMemberResourceModel) ToApiModel() cortex.CatalogEntityTeamMember
type CatalogEntityTeamResourceModel ¶
type CatalogEntityTeamResourceModel struct { Members []CatalogEntityTeamMemberResourceModel `tfsdk:"members"` Groups []CatalogEntityGroupMemberResourceModel `tfsdk:"groups"` }
func (*CatalogEntityTeamResourceModel) AttrTypes ¶
func (o *CatalogEntityTeamResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityTeamResourceModel) FromApiModel ¶
func (o *CatalogEntityTeamResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityTeam) types.Object
func (*CatalogEntityTeamResourceModel) ToApiModel ¶
func (o *CatalogEntityTeamResourceModel) ToApiModel() cortex.CatalogEntityTeam
type CatalogEntityWizProjectResourceModel ¶
func (*CatalogEntityWizProjectResourceModel) AttrTypes ¶
func (o *CatalogEntityWizProjectResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityWizProjectResourceModel) FromApiModel ¶
func (o *CatalogEntityWizProjectResourceModel) FromApiModel(entity *cortex.CatalogEntityWizProject) CatalogEntityWizProjectResourceModel
func (*CatalogEntityWizProjectResourceModel) ToApiModel ¶
func (o *CatalogEntityWizProjectResourceModel) ToApiModel() cortex.CatalogEntityWizProject
type CatalogEntityWizResourceModel ¶
type CatalogEntityWizResourceModel struct {
Projects []CatalogEntityWizProjectResourceModel `tfsdk:"projects"`
}
func (*CatalogEntityWizResourceModel) AttrTypes ¶
func (o *CatalogEntityWizResourceModel) AttrTypes() map[string]attr.Type
func (*CatalogEntityWizResourceModel) FromApiModel ¶
func (o *CatalogEntityWizResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.CatalogEntityWiz) types.Object
func (*CatalogEntityWizResourceModel) ToApiModel ¶
func (o *CatalogEntityWizResourceModel) ToApiModel() cortex.CatalogEntityWiz
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(entity 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 NewDepartmentResourceModel ¶
func NewDepartmentResourceModel() DepartmentResourceModel
func (*DepartmentResourceModel) FromApiModel ¶
func (r *DepartmentResourceModel) FromApiModel(entity cortex.Department)
func (*DepartmentResourceModel) ToApiModel ¶
func (r *DepartmentResourceModel) ToApiModel() cortex.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.String `tfsdk:"schema"` }
ResourceDefinitionDataSourceModel describes the data source data model.
func NewResourceDefinitionDataSourceModel ¶
func NewResourceDefinitionDataSourceModel() ResourceDefinitionDataSourceModel
func (*ResourceDefinitionDataSourceModel) FromApiModel ¶
func (r *ResourceDefinitionDataSourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.ResourceDefinition)
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.String `tfsdk:"schema"` }
ResourceDefinitionResourceModel describes the department data model within Terraform.
func NewResourceDefinitionResourceModel ¶
func NewResourceDefinitionResourceModel() ResourceDefinitionResourceModel
func (*ResourceDefinitionResourceModel) FromApiModel ¶
func (r *ResourceDefinitionResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity cortex.ResourceDefinition)
func (*ResourceDefinitionResourceModel) ToApiModel ¶
func (r *ResourceDefinitionResourceModel) ToApiModel(diagnostics *diag.Diagnostics) cortex.ResourceDefinition
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"` Draft types.Bool `tfsdk:"draft"` Ladder types.Object `tfsdk:"ladder"` Rules []ScorecardRuleResourceModel `tfsdk:"rules"` Filter types.Object `tfsdk:"filter"` Evaluation types.Object `tfsdk:"evaluation"` }
ScorecardDataSourceModel describes the data source data model.
func (*ScorecardDataSourceModel) FromApiModel ¶
func (o *ScorecardDataSourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.Scorecard)
type ScorecardEvaluationResourceModel ¶
func (*ScorecardEvaluationResourceModel) AttrTypes ¶
func (o *ScorecardEvaluationResourceModel) AttrTypes() map[string]attr.Type
func (*ScorecardEvaluationResourceModel) FromApiModel ¶
func (o *ScorecardEvaluationResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.ScorecardEvaluation) types.Object
func (*ScorecardEvaluationResourceModel) ToApiModel ¶
func (o *ScorecardEvaluationResourceModel) ToApiModel() cortex.ScorecardEvaluation
type ScorecardFilterResourceModel ¶
type ScorecardFilterResourceModel struct { Category types.String `tfsdk:"category"` Query types.String `tfsdk:"query"` }
func (*ScorecardFilterResourceModel) AttrTypes ¶
func (o *ScorecardFilterResourceModel) AttrTypes() map[string]attr.Type
func (*ScorecardFilterResourceModel) FromApiModel ¶
func (o *ScorecardFilterResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.ScorecardFilter) types.Object
func (*ScorecardFilterResourceModel) ToApiModel ¶
func (o *ScorecardFilterResourceModel) ToApiModel() cortex.ScorecardFilter
type ScorecardLadderResourceModel ¶
type ScorecardLadderResourceModel struct {
Levels []ScorecardLevelResourceModel `tfsdk:"levels"`
}
func (*ScorecardLadderResourceModel) AttrTypes ¶
func (o *ScorecardLadderResourceModel) AttrTypes() map[string]attr.Type
func (*ScorecardLadderResourceModel) FromApiModel ¶
func (o *ScorecardLadderResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity *cortex.ScorecardLadder) types.Object
func (*ScorecardLadderResourceModel) ToApiModel ¶
func (o *ScorecardLadderResourceModel) ToApiModel() cortex.ScorecardLadder
type ScorecardLevelResourceModel ¶
type ScorecardLevelResourceModel struct { Name types.String `tfsdk:"name"` Rank types.Int64 `tfsdk:"rank"` Description types.String `tfsdk:"description"` Color types.String `tfsdk:"color"` }
func (*ScorecardLevelResourceModel) AttrTypes ¶
func (o *ScorecardLevelResourceModel) AttrTypes() map[string]attr.Type
func (*ScorecardLevelResourceModel) FromApiModel ¶
func (o *ScorecardLevelResourceModel) FromApiModel(entity *cortex.ScorecardLevel) ScorecardLevelResourceModel
func (*ScorecardLevelResourceModel) ToApiModel ¶
func (o *ScorecardLevelResourceModel) ToApiModel() cortex.ScorecardLevel
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"` Draft types.Bool `tfsdk:"draft"` Ladder types.Object `tfsdk:"ladder"` Rules []ScorecardRuleResourceModel `tfsdk:"rules"` Filter types.Object `tfsdk:"filter"` Evaluation types.Object `tfsdk:"evaluation"` }
ScorecardResourceModel describes the scorecard data model within Terraform.
func NewScorecardResourceModel ¶
func NewScorecardResourceModel() ScorecardResourceModel
func (*ScorecardResourceModel) FromApiModel ¶
func (o *ScorecardResourceModel) FromApiModel(ctx context.Context, diagnostics *diag.Diagnostics, entity cortex.Scorecard)
func (*ScorecardResourceModel) ToApiModel ¶
func (o *ScorecardResourceModel) ToApiModel(ctx context.Context, diagnostics *diag.Diagnostics) cortex.Scorecard
type ScorecardRuleResourceModel ¶
type ScorecardRuleResourceModel struct { Title types.String `tfsdk:"title"` Expression types.String `tfsdk:"expression"` Weight types.Int64 `tfsdk:"weight"` Level types.String `tfsdk:"level"` Description types.String `tfsdk:"description"` FailureMessage types.String `tfsdk:"failure_message"` }
func (*ScorecardRuleResourceModel) FromApiModel ¶
func (o *ScorecardRuleResourceModel) FromApiModel(entity *cortex.ScorecardRule) ScorecardRuleResourceModel
func (*ScorecardRuleResourceModel) ToApiModel ¶
func (o *ScorecardRuleResourceModel) ToApiModel() cortex.ScorecardRule
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)
Source Files ¶
- catalog_entity_custom_data_data_source.go
- catalog_entity_custom_data_data_source_models.go
- catalog_entity_custom_data_models.go
- catalog_entity_custom_data_resource.go
- catalog_entity_data_source.go
- catalog_entity_resource.go
- catalog_entity_resource_models.go
- catalog_entity_resource_team_models.go
- department_data_source.go
- department_resource.go
- department_resource_models.go
- provider.go
- resource_definition_data_source.go
- resource_definition_data_source_models.go
- resource_definition_models.go
- resource_definition_resource.go
- scorecard_data_source.go
- scorecard_data_source_models.go
- scorecard_resource.go
- scorecard_resource_models.go
- team_data_source.go