Documentation ¶
Index ¶
- Constants
- Variables
- func BuildTenantProjectID(spaceID string, tenantID string, projectID string) string
- func EnvironmentObjectType() map[string]attr.Type
- func ExpandActionTemplateParameters(actionTemplateParameters types.List) []actiontemplates.ActionTemplateParameter
- func FeedObjectType() map[string]attr.Type
- func FlattenFeed(feed *feeds.FeedResource) attr.Value
- func FlattenScriptModule(scriptModule *variables.ScriptModule) attr.Value
- func FlattenTemplateIds(actionTemplateParameters []actiontemplates.ActionTemplateParameter) types.Map
- func FlattenTemplates(actionTemplateParameters []actiontemplates.ActionTemplateParameter) types.List
- func FlattenTenant(tenant *tenants.Tenant) attr.Value
- func GetActionTemplateParameterSchema() resourceSchema.ListNestedBlock
- func GetBooleanDatasourceAttribute(description string, isOptional bool) datasourceSchema.Attribute
- func GetBooleanResourceAttribute(description string, defaultValue bool, isOptional bool) resourceSchema.Attribute
- func GetConnectivityPolicyObjectType() map[string]attr.Type
- func GetDefaultConnectivityPolicy() *core.ConnectivityPolicy
- func GetDefaultRunbookRetentionPeriod() *runbooks.RunbookRetentionPeriod
- func GetDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
- func GetDescriptionResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetDownloadAttemptsResourceSchema() resourceSchema.Attribute
- func GetDownloadRetryBackoffSecondsResourceSchema() resourceSchema.Attribute
- func GetFeedUriResourceSchema() resourceSchema.Attribute
- func GetGitCredentialDatasourceAttributes() map[string]datasourceSchema.Attribute
- func GetIdDatasourceSchema(isReadOnly bool) datasourceSchema.Attribute
- func GetIdResourceSchema() resourceSchema.Attribute
- func GetLibraryVariableSetObjectType() map[string]attr.Type
- func GetNameDatasourceSchema(isRequired bool) datasourceSchema.Attribute
- func GetNameResourceSchema(isRequired bool) resourceSchema.Attribute
- func GetNumber(val types.Int64) int
- func GetPackageAcquisitionLocationOptionsResourceSchema() resourceSchema.Attribute
- func GetPasswordResourceSchema(isRequired bool) resourceSchema.Attribute
- func GetQueryDatasourceTags() datasourceSchema.Attribute
- func GetQueryIDsDatasourceSchema() datasourceSchema.Attribute
- func GetQueryNameDatasourceSchema() datasourceSchema.Attribute
- func GetQueryPartialNameDatasourceSchema() datasourceSchema.Attribute
- func GetQuerySkipDatasourceSchema() datasourceSchema.Attribute
- func GetQueryTakeDatasourceSchema() datasourceSchema.Attribute
- func GetReadonlyDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
- func GetReadonlyNameDatasourceSchema() datasourceSchema.Attribute
- func GetRequiredStringResourceSchema(description string) resourceSchema.StringAttribute
- func GetRunbookRetentionPeriodObjectType() map[string]attr.Type
- func GetScriptModuleDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetSlugDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
- func GetSlugResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetSortOrderDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
- func GetSortOrderResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetSpaceIdDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
- func GetSpaceIdResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetSpaceTypeAttributes() attr.Type
- func GetTagSetAttrTypes() map[string]attr.Type
- func GetTenantCommonVariableResourceSchema() schema.Schema
- func GetTentacleCertificateSchema() resourceSchema.Schema
- func GetUsernameResourceSchema(isRequired bool) resourceSchema.Attribute
- func JiraExtensionSettingsObjectType() map[string]attr.Type
- func JiraServiceManagementExtensionSettingsObjectType() map[string]attr.Type
- func MapFromConnectivityPolicy(connectivityPolicy *core.ConnectivityPolicy) attr.Value
- func MapFromDisplaySettings(displaySettings *resources.DisplaySettings) attr.Value
- func MapFromLibraryVariableSet(data *LibraryVariableSetResourceModel, spaceId string, ...)
- func MapFromRunbookRetentionPeriod(retentionPeriod *runbooks.RunbookRetentionPeriod) attr.Value
- func MapFromScriptModuleToState(data *ScriptModuleResourceModel) *variables.ScriptModule
- func MapFromSelectOptions(selectOptions []*resources.SelectOption) []attr.Value
- func MapFromStateToTag(data *TagResourceModel) *tagsets.Tag
- func MapFromTagToState(data *TagResourceModel, tag *tagsets.Tag, tagSet *tagsets.TagSet)
- func MapFromVariablePromptOptions(variablePromptOptions *variables.VariablePromptOptions) attr.Value
- func MapFromVariableScope(variableScope variables.VariableScope) attr.Value
- func MapJiraExtensionSettings(jiraExtensionSettings *environments.JiraExtensionSettings) attr.Value
- func MapJiraServiceManagementExtensionSettings(...) attr.Value
- func MapServiceNowExtensionSettings(serviceNowExtensionSettings *environments.ServiceNowExtensionSettings) attr.Value
- func MapTenantToTenantProject(tenant *tenants.Tenant, projectID string) attr.Value
- func MapToConnectivityPolicy(flattenedConnectivityPolicy types.List) *core.ConnectivityPolicy
- func MapToDisplaySettings(displaySettings types.List) *resources.DisplaySettings
- func MapToLibraryVariableSet(data *LibraryVariableSetResourceModel) *variables.LibraryVariableSet
- func MapToRunbookRetentionPeriod(flattenedRunbookRetentionPeriod types.List) *runbooks.RunbookRetentionPeriod
- func MapToScriptModuleFromState(data *ScriptModuleResourceModel, scriptModule *variables.ScriptModule)
- func MapToSelectOptions(selectOptions types.List) []*resources.SelectOption
- func MapToVariablePromptOptions(flattenedVariablePromptOptions types.List) *variables.VariablePromptOptions
- func MapToVariableScope(variableScope types.List) variables.VariableScope
- func ScriptModuleObjectType() map[string]attr.Type
- func ScriptObjectType() types.ObjectType
- func ServiceNowExtensionSettingsObjectType() map[string]attr.Type
- func TemplateObjectType() map[string]attr.Type
- func TenantObjectType() map[string]attr.Type
- func TenantProjectType() map[string]attr.Type
- func VariableDisplaySettingsObjectType() map[string]attr.Type
- func VariablePromptOptionsObjectType() map[string]attr.Type
- func VariableScopeObjectType() map[string]attr.Type
- func VariableSelectOptionsObjectType() map[string]attr.Type
- type ActionTemplateParameterSchema
- type ArtifactoryGenericFeedSchema
- type ArtifactoryGenericFeedTypeResourceModel
- type AwsElasticContainerRegistryFeedTypeResourceModel
- type AwsElasticContainerRegistrySchema
- type DockerContainerRegistryFeedSchema
- type DockerContainerRegistryFeedTypeResourceModel
- type EntitySchema
- type EnvironmentSchema
- type EnvironmentTypeResourceModel
- type FeedsDataSourceModel
- type FeedsSchema
- type GitCredentialSchema
- type GitHubRepositoryFeedSchema
- type GitHubRepositoryFeedTypeResourceModel
- type HelmFeedSchema
- type HelmFeedTypeResourceModel
- type IResourceModel
- type LibraryVariableSetResourceModel
- type LibraryVariableSetSchema
- type LifecycleSchema
- type MavenFeedSchema
- type MavenFeedTypeResourceModel
- type NugetFeedSchema
- type NugetFeedTypeResourceModel
- type ProjectGroupSchema
- type ProjectGroupTypeResourceModel
- type ProjectSchema
- type ResourceModel
- type RunbookConnectivityPolicyModel
- type RunbookRetentionPeriodModel
- type RunbookSchema
- type RunbookTypeResourceModel
- type ScriptModuleDataSourceModel
- type ScriptModuleResourceModel
- type ScriptModuleSchema
- type SpaceModel
- type SpaceSchema
- type SpacesSchema
- type TagResourceModel
- type TagSchema
- type TagSetDataSourceModel
- type TagSetResourceModel
- type TagSetSchema
- type TenantModel
- type TenantProjectResourceModel
- type TenantProjectVariableSchema
- type TenantProjectsDataModel
- type TenantProjectsSchema
- type TenantSchema
- type TenantsModel
- type TentacleCertificateResourceModel
- type UsernamePasswordAccountResourceModel
- type UsernamePasswordAccountSchema
- type VariableSchema
- type VariableTypeResourceModel
- type VariablesDataSourceModel
Constants ¶
View Source
const ( EnvironmentResourceDescription = "environment" EnvironmentSortOrder = "sort_order" EnvironmentAllowDynamicInfrastructure = "allow_dynamic_infrastructure" EnvironmentUseGuidedFailure = "use_guided_failure" EnvironmentJiraExtensionSettings = "jira_extension_settings" EnvironmentJiraServiceManagementExtensionSettings = "jira_service_management_extension_settings" EnvironmentServiceNowExtensionSettings = "servicenow_extension_settings" EnvironmentJiraExtensionSettingsEnvironmentType = "environment_type" EnvironmentJiraServiceManagementExtensionSettingsIsEnabled = "is_enabled" EnvironmentServiceNowExtensionSettingsIsEnabled = "is_enabled" )
View Source
const ( GitCredentialResourceName = "git_credential" GitCredentialDatasourceName = "git_credentials" )
View Source
const ( TenantCommonVariableResourceDescription = "Tenant Common Variable" TenantCommonVariableResourceName = "tenant_common_variable" )
View Source
const ( TenantProjectVariableResourceDescription = "Tenant Project Variable" TenantProjectVariableResourceName = "tenant_project_variable" )
View Source
const ( VariableResourceDescription = "variable" VariablesDataSourceDescription = "variables" )
View Source
const ProjectDataSourceName = "projects"
View Source
const ProjectResourceName = "project"
View Source
const RunbookResourceDescription = "runbook"
View Source
const TagResourceName = "tag"
View Source
const TagSetDataSourceName = "tag_sets"
View Source
const TagSetResourceName = "tag_set"
Variables ¶
View Source
var RunbookSchemaAttributeNames = struct { ID string Name string Description string ProjectID string RunbookProcessID string PublishedRunbookSnapshotID string SpaceID string MultiTenancyMode string ConnectivityPolicy string EnvironmentScope string Environments string DefaultGuidedFailureMode string RetentionPolicy string ForcePackageDownload string }{ ID: "id", Name: "name", Description: "description", ProjectID: "project_id", RunbookProcessID: "runbook_process_id", PublishedRunbookSnapshotID: "published_runbook_snapshot_id", SpaceID: "space_id", MultiTenancyMode: "multi_tenancy_mode", ConnectivityPolicy: "connectivity_policy", EnvironmentScope: "environment_scope", Environments: "environments", DefaultGuidedFailureMode: "default_guided_failure_mode", RetentionPolicy: "retention_policy", ForcePackageDownload: "force_package_download", }
View Source
var SchemaAttributeNames = struct { ID string Name string Description string SpaceID string }{ ID: "id", Name: "name", Description: "description", SpaceID: "space_id", }
View Source
var VariableSchemaAttributeNames = struct { Prompt string OwnerID string ProjectID string Value string SensitiveValue string Scope string IsEditable string IsSensitive string Type string DisplaySettings string ControlType string SelectOption string DisplayName string IsRequired string Label string }{ Prompt: "prompt", OwnerID: "owner_id", ProjectID: "project_id", Value: "value", SensitiveValue: "sensitive_value", Scope: "scope", IsEditable: "is_editable", IsSensitive: "is_sensitive", Type: "type", DisplaySettings: "display_settings", ControlType: "control_type", SelectOption: "select_option", DisplayName: "display_name", IsRequired: "is_required", Label: "label", }
View Source
var VariableTypeNames = struct { AmazonWebServicesAccount string AzureAccount string GoogleCloudAccount string UsernamePasswordAccount string Certificate string Sensitive string String string WorkerPool string }{ AmazonWebServicesAccount: "AmazonWebServicesAccount", AzureAccount: "AzureAccount", GoogleCloudAccount: "GoogleCloudAccount", UsernamePasswordAccount: "UsernamePasswordAccount", Certificate: "Certificate", Sensitive: "Sensitive", String: "String", WorkerPool: "WorkerPool", }
View Source
var VariableTypes = []string{ VariableTypeNames.AmazonWebServicesAccount, VariableTypeNames.AzureAccount, VariableTypeNames.GoogleCloudAccount, VariableTypeNames.UsernamePasswordAccount, VariableTypeNames.Certificate, VariableTypeNames.Sensitive, VariableTypeNames.String, VariableTypeNames.WorkerPool, }
Functions ¶
func BuildTenantProjectID ¶ added in v0.30.0
func EnvironmentObjectType ¶
func ExpandActionTemplateParameters ¶
func ExpandActionTemplateParameters(actionTemplateParameters types.List) []actiontemplates.ActionTemplateParameter
func FeedObjectType ¶
func FlattenFeed ¶
func FlattenFeed(feed *feeds.FeedResource) attr.Value
func FlattenScriptModule ¶
func FlattenScriptModule(scriptModule *variables.ScriptModule) attr.Value
func FlattenTemplateIds ¶
func FlattenTemplateIds(actionTemplateParameters []actiontemplates.ActionTemplateParameter) types.Map
func FlattenTemplates ¶
func FlattenTemplates(actionTemplateParameters []actiontemplates.ActionTemplateParameter) types.List
func GetActionTemplateParameterSchema ¶
func GetActionTemplateParameterSchema() resourceSchema.ListNestedBlock
func GetBooleanDatasourceAttribute ¶
func GetBooleanDatasourceAttribute(description string, isOptional bool) datasourceSchema.Attribute
func GetBooleanResourceAttribute ¶
func GetBooleanResourceAttribute(description string, defaultValue bool, isOptional bool) resourceSchema.Attribute
func GetDefaultConnectivityPolicy ¶
func GetDefaultConnectivityPolicy() *core.ConnectivityPolicy
func GetDefaultRunbookRetentionPeriod ¶
func GetDefaultRunbookRetentionPeriod() *runbooks.RunbookRetentionPeriod
func GetDescriptionDatasourceSchema ¶
func GetDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
func GetDescriptionResourceSchema ¶
func GetDescriptionResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetDownloadAttemptsResourceSchema ¶ added in v0.30.0
func GetDownloadAttemptsResourceSchema() resourceSchema.Attribute
func GetDownloadRetryBackoffSecondsResourceSchema ¶ added in v0.30.0
func GetDownloadRetryBackoffSecondsResourceSchema() resourceSchema.Attribute
func GetFeedUriResourceSchema ¶ added in v0.30.0
func GetFeedUriResourceSchema() resourceSchema.Attribute
func GetGitCredentialDatasourceAttributes ¶
func GetGitCredentialDatasourceAttributes() map[string]datasourceSchema.Attribute
func GetIdDatasourceSchema ¶
func GetIdDatasourceSchema(isReadOnly bool) datasourceSchema.Attribute
func GetIdResourceSchema ¶
func GetIdResourceSchema() resourceSchema.Attribute
func GetNameDatasourceSchema ¶
func GetNameDatasourceSchema(isRequired bool) datasourceSchema.Attribute
func GetNameResourceSchema ¶
func GetNameResourceSchema(isRequired bool) resourceSchema.Attribute
func GetPackageAcquisitionLocationOptionsResourceSchema ¶ added in v0.30.0
func GetPackageAcquisitionLocationOptionsResourceSchema() resourceSchema.Attribute
func GetPasswordResourceSchema ¶ added in v0.30.0
func GetPasswordResourceSchema(isRequired bool) resourceSchema.Attribute
func GetQueryDatasourceTags ¶ added in v0.30.0
func GetQueryDatasourceTags() datasourceSchema.Attribute
func GetQueryIDsDatasourceSchema ¶
func GetQueryIDsDatasourceSchema() datasourceSchema.Attribute
func GetQueryNameDatasourceSchema ¶ added in v0.30.0
func GetQueryNameDatasourceSchema() datasourceSchema.Attribute
func GetQueryPartialNameDatasourceSchema ¶
func GetQueryPartialNameDatasourceSchema() datasourceSchema.Attribute
func GetQuerySkipDatasourceSchema ¶
func GetQuerySkipDatasourceSchema() datasourceSchema.Attribute
func GetQueryTakeDatasourceSchema ¶
func GetQueryTakeDatasourceSchema() datasourceSchema.Attribute
func GetReadonlyDescriptionDatasourceSchema ¶
func GetReadonlyDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
func GetReadonlyNameDatasourceSchema ¶
func GetReadonlyNameDatasourceSchema() datasourceSchema.Attribute
func GetRequiredStringResourceSchema ¶ added in v0.30.0
func GetRequiredStringResourceSchema(description string) resourceSchema.StringAttribute
func GetScriptModuleDatasourceSchema ¶
func GetScriptModuleDatasourceSchema() map[string]datasourceSchema.Attribute
func GetSlugDatasourceSchema ¶
func GetSlugDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
func GetSlugResourceSchema ¶
func GetSlugResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetSortOrderDatasourceSchema ¶ added in v0.30.0
func GetSortOrderDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
func GetSortOrderResourceSchema ¶ added in v0.30.0
func GetSortOrderResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetSpaceIdDatasourceSchema ¶
func GetSpaceIdDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
func GetSpaceIdResourceSchema ¶
func GetSpaceIdResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetSpaceTypeAttributes ¶
func GetTagSetAttrTypes ¶
func GetTentacleCertificateSchema ¶
func GetTentacleCertificateSchema() resourceSchema.Schema
func GetUsernameResourceSchema ¶ added in v0.30.0
func GetUsernameResourceSchema(isRequired bool) resourceSchema.Attribute
func MapFromConnectivityPolicy ¶
func MapFromConnectivityPolicy(connectivityPolicy *core.ConnectivityPolicy) attr.Value
func MapFromDisplaySettings ¶
func MapFromDisplaySettings(displaySettings *resources.DisplaySettings) attr.Value
func MapFromLibraryVariableSet ¶
func MapFromLibraryVariableSet(data *LibraryVariableSetResourceModel, spaceId string, libraryVariableSet *variables.LibraryVariableSet)
func MapFromRunbookRetentionPeriod ¶
func MapFromRunbookRetentionPeriod(retentionPeriod *runbooks.RunbookRetentionPeriod) attr.Value
func MapFromScriptModuleToState ¶
func MapFromScriptModuleToState(data *ScriptModuleResourceModel) *variables.ScriptModule
func MapFromSelectOptions ¶
func MapFromSelectOptions(selectOptions []*resources.SelectOption) []attr.Value
func MapFromStateToTag ¶
func MapFromStateToTag(data *TagResourceModel) *tagsets.Tag
func MapFromTagToState ¶
func MapFromTagToState(data *TagResourceModel, tag *tagsets.Tag, tagSet *tagsets.TagSet)
func MapFromVariablePromptOptions ¶
func MapFromVariablePromptOptions(variablePromptOptions *variables.VariablePromptOptions) attr.Value
func MapFromVariableScope ¶
func MapFromVariableScope(variableScope variables.VariableScope) attr.Value
func MapJiraExtensionSettings ¶
func MapJiraExtensionSettings(jiraExtensionSettings *environments.JiraExtensionSettings) attr.Value
func MapJiraServiceManagementExtensionSettings ¶
func MapJiraServiceManagementExtensionSettings(jiraServiceManagementExtensionSettings *environments.JiraServiceManagementExtensionSettings) attr.Value
func MapServiceNowExtensionSettings ¶
func MapServiceNowExtensionSettings(serviceNowExtensionSettings *environments.ServiceNowExtensionSettings) attr.Value
func MapTenantToTenantProject ¶ added in v0.30.0
func MapToConnectivityPolicy ¶
func MapToConnectivityPolicy(flattenedConnectivityPolicy types.List) *core.ConnectivityPolicy
func MapToDisplaySettings ¶
func MapToDisplaySettings(displaySettings types.List) *resources.DisplaySettings
func MapToLibraryVariableSet ¶
func MapToLibraryVariableSet(data *LibraryVariableSetResourceModel) *variables.LibraryVariableSet
func MapToRunbookRetentionPeriod ¶
func MapToRunbookRetentionPeriod(flattenedRunbookRetentionPeriod types.List) *runbooks.RunbookRetentionPeriod
func MapToScriptModuleFromState ¶
func MapToScriptModuleFromState(data *ScriptModuleResourceModel, scriptModule *variables.ScriptModule)
func MapToSelectOptions ¶
func MapToSelectOptions(selectOptions types.List) []*resources.SelectOption
func MapToVariablePromptOptions ¶
func MapToVariablePromptOptions(flattenedVariablePromptOptions types.List) *variables.VariablePromptOptions
func MapToVariableScope ¶
func MapToVariableScope(variableScope types.List) variables.VariableScope
func ScriptModuleObjectType ¶
func ScriptObjectType ¶
func ScriptObjectType() types.ObjectType
func TemplateObjectType ¶
func TenantObjectType ¶
func TenantProjectType ¶ added in v0.30.0
func VariableScopeObjectType ¶
Types ¶
type ActionTemplateParameterSchema ¶ added in v0.30.0
type ActionTemplateParameterSchema struct{}
func (ActionTemplateParameterSchema) GetDatasourceSchema ¶ added in v0.30.0
func (a ActionTemplateParameterSchema) GetDatasourceSchema() datasourceSchema.Schema
func (ActionTemplateParameterSchema) GetResourceSchema ¶ added in v0.30.0
func (a ActionTemplateParameterSchema) GetResourceSchema() resourceSchema.Schema
type ArtifactoryGenericFeedSchema ¶ added in v0.30.0
type ArtifactoryGenericFeedSchema struct{}
func (ArtifactoryGenericFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (a ArtifactoryGenericFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (ArtifactoryGenericFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (a ArtifactoryGenericFeedSchema) GetResourceSchema() resourceSchema.Schema
type ArtifactoryGenericFeedTypeResourceModel ¶
type ArtifactoryGenericFeedTypeResourceModel struct { FeedUri types.String `tfsdk:"feed_uri"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` Repository types.String `tfsdk:"repository"` LayoutRegex types.String `tfsdk:"layout_regex"` ResourceModel }
type AwsElasticContainerRegistryFeedTypeResourceModel ¶
type AwsElasticContainerRegistryFeedTypeResourceModel struct { AccessKey types.String `tfsdk:"access_key"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Region types.String `tfsdk:"region"` SecretKey types.String `tfsdk:"secret_key"` SpaceID types.String `tfsdk:"space_id"` ResourceModel }
type AwsElasticContainerRegistrySchema ¶ added in v0.30.0
type AwsElasticContainerRegistrySchema struct{}
func (AwsElasticContainerRegistrySchema) GetDatasourceSchema ¶ added in v0.30.0
func (a AwsElasticContainerRegistrySchema) GetDatasourceSchema() datasourceSchema.Schema
func (AwsElasticContainerRegistrySchema) GetResourceSchema ¶ added in v0.30.0
func (a AwsElasticContainerRegistrySchema) GetResourceSchema() resourceSchema.Schema
type DockerContainerRegistryFeedSchema ¶ added in v0.30.0
type DockerContainerRegistryFeedSchema struct{}
func (DockerContainerRegistryFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (d DockerContainerRegistryFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (DockerContainerRegistryFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (d DockerContainerRegistryFeedSchema) GetResourceSchema() resourceSchema.Schema
type DockerContainerRegistryFeedTypeResourceModel ¶
type DockerContainerRegistryFeedTypeResourceModel struct { APIVersion types.String `tfsdk:"api_version"` FeedUri types.String `tfsdk:"feed_uri"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` RegistryPath types.String `tfsdk:"registry_path"` ResourceModel }
type EntitySchema ¶ added in v0.30.0
type EntitySchema interface { GetResourceSchema() resourceSchema.Schema GetDatasourceSchema() datasourceSchema.Schema }
type EnvironmentSchema ¶ added in v0.30.0
type EnvironmentSchema struct{}
func (EnvironmentSchema) GetDatasourceSchema ¶ added in v0.30.0
func (e EnvironmentSchema) GetDatasourceSchema() datasourceSchema.Schema
func (EnvironmentSchema) GetDatasourceSchemaAttributes ¶ added in v0.30.0
func (e EnvironmentSchema) GetDatasourceSchemaAttributes() map[string]datasourceSchema.Attribute
func (EnvironmentSchema) GetResourceSchema ¶ added in v0.30.0
func (e EnvironmentSchema) GetResourceSchema() resourceSchema.Schema
type EnvironmentTypeResourceModel ¶
type EnvironmentTypeResourceModel struct { Slug types.String `tfsdk:"slug"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` AllowDynamicInfrastructure types.Bool `tfsdk:"allow_dynamic_infrastructure"` SortOrder types.Int64 `tfsdk:"sort_order"` UseGuidedFailure types.Bool `tfsdk:"use_guided_failure"` SpaceID types.String `tfsdk:"space_id"` JiraExtensionSettings types.List `tfsdk:"jira_extension_settings"` JiraServiceManagementExtensionSettings types.List `tfsdk:"jira_service_management_extension_settings"` ServiceNowExtensionSettings types.List `tfsdk:"servicenow_extension_settings"` ResourceModel }
func MapFromEnvironment ¶
func MapFromEnvironment(ctx context.Context, environment *environments.Environment) EnvironmentTypeResourceModel
type FeedsDataSourceModel ¶
type FeedsDataSourceModel struct { ID types.String `tfsdk:"id"` Feeds types.List `tfsdk:"feeds"` FeedType types.String `tfsdk:"feed_type"` IDs types.List `tfsdk:"ids"` Name types.String `tfsdk:"name"` PartialName types.String `tfsdk:"partial_name"` Skip types.Int64 `tfsdk:"skip"` Take types.Int64 `tfsdk:"take"` SpaceID types.String `tfsdk:"space_id"` }
type FeedsSchema ¶ added in v0.30.0
type FeedsSchema struct{}
func (FeedsSchema) GetDatasourceSchema ¶ added in v0.30.0
func (f FeedsSchema) GetDatasourceSchema() datasourceSchema.Schema
func (FeedsSchema) GetResourceSchema ¶ added in v0.30.0
func (f FeedsSchema) GetResourceSchema() resourceSchema.Schema
type GitCredentialSchema ¶ added in v0.30.0
type GitCredentialSchema struct{}
func (GitCredentialSchema) GetDatasourceSchema ¶ added in v0.30.0
func (g GitCredentialSchema) GetDatasourceSchema() datasourceSchema.Schema
func (GitCredentialSchema) GetResourceSchema ¶ added in v0.30.0
func (g GitCredentialSchema) GetResourceSchema() resourceSchema.Schema
type GitHubRepositoryFeedSchema ¶ added in v0.30.0
type GitHubRepositoryFeedSchema struct{}
func (GitHubRepositoryFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (g GitHubRepositoryFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (GitHubRepositoryFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (g GitHubRepositoryFeedSchema) GetResourceSchema() resourceSchema.Schema
type GitHubRepositoryFeedTypeResourceModel ¶
type GitHubRepositoryFeedTypeResourceModel struct { DownloadAttempts types.Int64 `tfsdk:"download_attempts"` DownloadRetryBackoffSeconds types.Int64 `tfsdk:"download_retry_backoff_seconds"` FeedUri types.String `tfsdk:"feed_uri"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` ResourceModel }
type HelmFeedSchema ¶ added in v0.30.0
type HelmFeedSchema struct{}
func (HelmFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (h HelmFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (HelmFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (h HelmFeedSchema) GetResourceSchema() resourceSchema.Schema
type HelmFeedTypeResourceModel ¶
type HelmFeedTypeResourceModel struct { FeedUri types.String `tfsdk:"feed_uri"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` ResourceModel }
type IResourceModel ¶
type IResourceModel interface {
GetID() string
}
type LibraryVariableSetResourceModel ¶
type LibraryVariableSetResourceModel struct { Description types.String `tfsdk:"description"` Name types.String `tfsdk:"name"` SpaceID types.String `tfsdk:"space_id"` Template types.List `tfsdk:"template"` TemplateIds types.Map `tfsdk:"template_ids"` VariableSetId types.String `tfsdk:"variable_set_id"` ResourceModel }
type LibraryVariableSetSchema ¶ added in v0.30.0
type LibraryVariableSetSchema struct{}
func (LibraryVariableSetSchema) GetDatasourceSchema ¶ added in v0.30.0
func (l LibraryVariableSetSchema) GetDatasourceSchema() datasourceSchema.Schema
func (LibraryVariableSetSchema) GetResourceSchema ¶ added in v0.30.0
func (l LibraryVariableSetSchema) GetResourceSchema() resourceSchema.Schema
type LifecycleSchema ¶ added in v0.30.0
type LifecycleSchema struct{}
func (LifecycleSchema) GetDatasourceSchema ¶ added in v0.30.0
func (l LifecycleSchema) GetDatasourceSchema() datasourceSchema.Schema
func (LifecycleSchema) GetResourceSchema ¶ added in v0.30.0
func (l LifecycleSchema) GetResourceSchema() resourceSchema.Schema
type MavenFeedSchema ¶ added in v0.30.0
type MavenFeedSchema struct{}
func (MavenFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (m MavenFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (MavenFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (m MavenFeedSchema) GetResourceSchema() resourceSchema.Schema
type MavenFeedTypeResourceModel ¶
type MavenFeedTypeResourceModel struct { DownloadAttempts types.Int64 `tfsdk:"download_attempts"` DownloadRetryBackoffSeconds types.Int64 `tfsdk:"download_retry_backoff_seconds"` FeedUri types.String `tfsdk:"feed_uri"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` ResourceModel }
type NugetFeedSchema ¶ added in v0.30.0
type NugetFeedSchema struct{}
func (NugetFeedSchema) GetDatasourceSchema ¶ added in v0.30.0
func (n NugetFeedSchema) GetDatasourceSchema() datasourceSchema.Schema
func (NugetFeedSchema) GetResourceSchema ¶ added in v0.30.0
func (n NugetFeedSchema) GetResourceSchema() resourceSchema.Schema
type NugetFeedTypeResourceModel ¶
type NugetFeedTypeResourceModel struct { DownloadAttempts types.Int64 `tfsdk:"download_attempts"` DownloadRetryBackoffSeconds types.Int64 `tfsdk:"download_retry_backoff_seconds"` FeedUri types.String `tfsdk:"feed_uri"` IsEnhancedMode types.Bool `tfsdk:"is_enhanced_mode"` Name types.String `tfsdk:"name"` PackageAcquisitionLocationOptions types.List `tfsdk:"package_acquisition_location_options"` Password types.String `tfsdk:"password"` SpaceID types.String `tfsdk:"space_id"` Username types.String `tfsdk:"username"` ResourceModel }
type ProjectGroupSchema ¶ added in v0.30.0
type ProjectGroupSchema struct{}
func (ProjectGroupSchema) GetDatasourceSchema ¶ added in v0.30.0
func (p ProjectGroupSchema) GetDatasourceSchema() datasourceSchema.Schema
func (ProjectGroupSchema) GetResourceSchema ¶ added in v0.30.0
func (p ProjectGroupSchema) GetResourceSchema() resourceSchema.Schema
type ProjectSchema ¶ added in v0.30.0
type ProjectSchema struct{}
func (ProjectSchema) GetDatasourceSchema ¶ added in v0.30.0
func (p ProjectSchema) GetDatasourceSchema() datasourceSchema.Schema
func (ProjectSchema) GetResourceSchema ¶ added in v0.30.0
func (p ProjectSchema) GetResourceSchema() resourceSchema.Schema
type ResourceModel ¶
type ResourceModel struct { ID types.String `tfsdk:"id"` IResourceModel `tfsdk:"-"` // Ignore resource model interface in object conversion }
func (ResourceModel) GetID ¶
func (r ResourceModel) GetID() string
type RunbookConnectivityPolicyModel ¶
type RunbookConnectivityPolicyModel struct { AllowDeploymentsToNoTargets types.Bool `tfsdk:"allow_deployments_to_no_targets"` ExcludeUnhealthyTargets types.Bool `tfsdk:"exclude_unhealthy_targets"` SkipMachineBehavior types.String `tfsdk:"skip_machine_behaviour"` TargetRoles types.List `tfsdk:"target_roles"` }
type RunbookSchema ¶ added in v0.30.0
type RunbookSchema struct{}
func (RunbookSchema) GetDatasourceSchema ¶ added in v0.30.0
func (r RunbookSchema) GetDatasourceSchema() datasourceSchema.Schema
func (RunbookSchema) GetResourceSchema ¶ added in v0.30.0
func (r RunbookSchema) GetResourceSchema() resourceSchema.Schema
type RunbookTypeResourceModel ¶
type RunbookTypeResourceModel struct { Name types.String `tfsdk:"name"` ProjectID types.String `tfsdk:"project_id"` Description types.String `tfsdk:"description"` RunbookProcessID types.String `tfsdk:"runbook_process_id"` PublishedRunbookSnapshotID types.String `tfsdk:"published_runbook_snapshot_id"` SpaceID types.String `tfsdk:"space_id"` MultiTenancyMode types.String `tfsdk:"multi_tenancy_mode"` ConnectivityPolicy types.List `tfsdk:"connectivity_policy"` EnvironmentScope types.String `tfsdk:"environment_scope"` Environments types.List `tfsdk:"environments"` DefaultGuidedFailureMode types.String `tfsdk:"default_guided_failure_mode"` RunRetentionPolicy types.List `tfsdk:"retention_policy"` ForcePackageDownload types.Bool `tfsdk:"force_package_download"` ResourceModel }
func (*RunbookTypeResourceModel) RefreshFromApiResponse ¶
func (data *RunbookTypeResourceModel) RefreshFromApiResponse(ctx context.Context, runbook *runbooks.Runbook) diag.Diagnostics
type ScriptModuleDataSourceModel ¶
type ScriptModuleDataSourceModel struct { ID types.String `tfsdk:"id"` SpaceID types.String `tfsdk:"space_id"` IDs types.List `tfsdk:"ids"` PartialName types.String `tfsdk:"partial_name"` Skip types.Int64 `tfsdk:"skip"` Take types.Int64 `tfsdk:"take"` ScriptModules types.List `tfsdk:"script_modules"` }
type ScriptModuleSchema ¶ added in v0.30.0
type ScriptModuleSchema struct{}
func (ScriptModuleSchema) GetDatasourceSchema ¶ added in v0.30.0
func (s ScriptModuleSchema) GetDatasourceSchema() datasourceSchema.Schema
func (ScriptModuleSchema) GetResourceSchema ¶ added in v0.30.0
func (s ScriptModuleSchema) GetResourceSchema() resourceSchema.Schema
type SpaceModel ¶
type SpaceModel struct { Name types.String `tfsdk:"name"` Slug types.String `tfsdk:"slug"` Description types.String `tfsdk:"description"` IsDefault types.Bool `tfsdk:"is_default"` SpaceManagersTeams types.Set `tfsdk:"space_managers_teams"` SpaceManagersTeamMembers types.Set `tfsdk:"space_managers_team_members"` IsTaskQueueStopped types.Bool `tfsdk:"is_task_queue_stopped"` ResourceModel }
type SpaceSchema ¶ added in v0.30.0
type SpaceSchema struct{}
func (SpaceSchema) GetDatasourceSchema ¶ added in v0.30.0
func (s SpaceSchema) GetDatasourceSchema() datasourceSchema.Schema
func (SpaceSchema) GetResourceSchema ¶ added in v0.30.0
func (s SpaceSchema) GetResourceSchema() resourceSchema.Schema
type SpacesSchema ¶ added in v0.30.0
type SpacesSchema struct{}
func (SpacesSchema) GetDatasourceSchema ¶ added in v0.30.0
func (s SpacesSchema) GetDatasourceSchema() datasourceSchema.Schema
func (SpacesSchema) GetResourceSchema ¶ added in v0.30.0
func (s SpacesSchema) GetResourceSchema() resourceSchema.Schema
type TagResourceModel ¶
type TagResourceModel struct { CanonicalTagName types.String `tfsdk:"canonical_tag_name"` Color types.String `tfsdk:"color"` Description types.String `tfsdk:"description"` Name types.String `tfsdk:"name"` SortOrder types.Int64 `tfsdk:"sort_order"` TagSetId types.String `tfsdk:"tag_set_id"` TagSetSpaceId types.String `tfsdk:"tag_set_space_id"` ResourceModel }
type TagSchema ¶ added in v0.30.0
type TagSchema struct{}
func (TagSchema) GetDatasourceSchema ¶ added in v0.30.0
func (t TagSchema) GetDatasourceSchema() datasourceSchema.Schema
func (TagSchema) GetResourceSchema ¶ added in v0.30.0
func (t TagSchema) GetResourceSchema() resourceSchema.Schema
type TagSetDataSourceModel ¶
type TagSetResourceModel ¶
type TagSetSchema ¶ added in v0.30.0
type TagSetSchema struct{}
func (TagSetSchema) GetDatasourceSchema ¶ added in v0.30.0
func (t TagSetSchema) GetDatasourceSchema() datasourceSchema.Schema
func (TagSetSchema) GetResourceSchema ¶ added in v0.30.0
func (t TagSetSchema) GetResourceSchema() resourceSchema.Schema
type TenantModel ¶
type TenantProjectResourceModel ¶ added in v0.30.0
type TenantProjectVariableSchema ¶ added in v0.30.0
type TenantProjectVariableSchema struct{}
func (TenantProjectVariableSchema) GetDatasourceSchema ¶ added in v0.30.0
func (t TenantProjectVariableSchema) GetDatasourceSchema() datasourceSchema.Schema
func (TenantProjectVariableSchema) GetResourceSchema ¶ added in v0.30.0
func (t TenantProjectVariableSchema) GetResourceSchema() schema.Schema
type TenantProjectsDataModel ¶ added in v0.30.0
type TenantProjectsSchema ¶ added in v0.30.0
type TenantProjectsSchema struct{}
func (TenantProjectsSchema) GetDatasourceSchema ¶ added in v0.30.0
func (t TenantProjectsSchema) GetDatasourceSchema() datasourceSchema.Schema
func (TenantProjectsSchema) GetResourceSchema ¶ added in v0.30.0
func (t TenantProjectsSchema) GetResourceSchema() resourceSchema.Schema
type TenantSchema ¶ added in v0.30.0
type TenantSchema struct{}
func (TenantSchema) GetDatasourceSchema ¶ added in v0.30.0
func (t TenantSchema) GetDatasourceSchema() datasourceSchema.Schema
func (TenantSchema) GetResourceSchema ¶ added in v0.30.0
func (t TenantSchema) GetResourceSchema() resourceSchema.Schema
type TenantsModel ¶
type TenantsModel struct { ClonedFromTenantId types.String `tfsdk:"cloned_from_tenant_id"` ID types.String `tfsdk:"id"` IDs types.List `tfsdk:"ids"` IsClone types.Bool `tfsdk:"is_clone"` Name types.String `tfsdk:"name"` PartialName types.String `tfsdk:"partial_name"` ProjectId types.String `tfsdk:"project_id"` Skip types.Int64 `tfsdk:"skip"` Tags types.List `tfsdk:"tags"` SpaceID types.String `tfsdk:"space_id"` Tenants types.List `tfsdk:"tenants"` Take types.Int64 `tfsdk:"take"` }
type UsernamePasswordAccountResourceModel ¶
type UsernamePasswordAccountResourceModel struct { SpaceID types.String `tfsdk:"space_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Environments types.List `tfsdk:"environments"` Password types.String `tfsdk:"password"` TenantedDeploymentParticipation types.String `tfsdk:"tenanted_deployment_participation"` Tenants types.List `tfsdk:"tenants"` TenantTags types.List `tfsdk:"tenant_tags"` Username types.String `tfsdk:"username"` ResourceModel }
type UsernamePasswordAccountSchema ¶ added in v0.30.0
type UsernamePasswordAccountSchema struct{}
func (UsernamePasswordAccountSchema) GetDatasourceSchema ¶ added in v0.30.0
func (u UsernamePasswordAccountSchema) GetDatasourceSchema() datasourceSchema.Schema
func (UsernamePasswordAccountSchema) GetResourceSchema ¶ added in v0.30.0
func (u UsernamePasswordAccountSchema) GetResourceSchema() schema.Schema
type VariableSchema ¶ added in v0.30.0
type VariableSchema struct{}
func (VariableSchema) GetDatasourceSchema ¶ added in v0.30.0
func (v VariableSchema) GetDatasourceSchema() datasourceSchema.Schema
func (VariableSchema) GetResourceSchema ¶ added in v0.30.0
func (v VariableSchema) GetResourceSchema() resourceSchema.Schema
type VariableTypeResourceModel ¶
type VariableTypeResourceModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` OwnerID types.String `tfsdk:"owner_id"` ProjectID types.String `tfsdk:"project_id"` IsEditable types.Bool `tfsdk:"is_editable"` IsSensitive types.Bool `tfsdk:"is_sensitive"` Type types.String `tfsdk:"type"` SensitiveValue types.String `tfsdk:"sensitive_value"` Value types.String `tfsdk:"value"` Prompt types.List `tfsdk:"prompt"` Scope types.List `tfsdk:"scope"` SpaceID types.String `tfsdk:"space_id"` ResourceModel }
type VariablesDataSourceModel ¶
type VariablesDataSourceModel struct { OwnerID types.String `tfsdk:"owner_id"` Name types.String `tfsdk:"name"` Scope types.List `tfsdk:"scope"` SpaceID types.String `tfsdk:"space_id"` Description types.String `tfsdk:"description"` IsEditable types.Bool `tfsdk:"is_editable"` IsSensitive types.Bool `tfsdk:"is_sensitive"` Prompt types.List `tfsdk:"prompt"` SensitiveValue types.String `tfsdk:"sensitive_value"` Type types.String `tfsdk:"type"` Value types.String `tfsdk:"value"` ResourceModel }
Source Files ¶
- action_template_parameter.go
- artifactory_generic_feed.go
- aws_elastic_container_registry.go
- connectivity_policy.go
- docker_container_registry_feed.go
- entity_schema.go
- environment.go
- feed.go
- feeds.go
- git_credential.go
- github_repository_feed.go
- helm_feed.go
- library_variable_set.go
- lifecycle.go
- maven_feed.go
- nuget_feed.go
- project.go
- project_group.go
- resource.go
- runbook.go
- runbook_retention_period.go
- schema.go
- schema_tentacle_certificate.go
- script_modules.go
- space.go
- spaces.go
- tag.go
- tag_set.go
- tenant.go
- tenant_common_variable.go
- tenant_project_variable.go
- tenant_projects.go
- username_password_account.go
- variable.go
- variable_prompt_options.go
- variable_scope.go
Click to show internal directories.
Click to hide internal directories.