Documentation
¶
Index ¶
- Constants
- Variables
- 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() map[string]resourceSchema.Attribute
- func GetArtifactoryGenericFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetAwsElasticContainerRegistryFeedResourceSchema() map[string]resourceSchema.Attribute
- 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 GetDatasourceLifecycleSchema() datasourceSchema.Schema
- func GetDatasourceScriptModuleSchema() datasourceSchema.Schema
- func GetDefaultConnectivityPolicy() *core.ConnectivityPolicy
- func GetDefaultRunbookRetentionPeriod() *runbooks.RunbookRetentionPeriod
- func GetDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute
- func GetDescriptionResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetDockerContainerRegistryFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetEnvironmentDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetEnvironmentResourceSchema() resourceSchema.Schema
- func GetFeedDataSourceSchema() map[string]datasourceSchema.Attribute
- func GetFeedsDataSourceSchema() map[string]datasourceSchema.Attribute
- func GetGitCredentialDataSourceSchema() datasourceSchema.Schema
- func GetGitCredentialDatasourceAttributes() map[string]datasourceSchema.Attribute
- func GetGitCredentialResourceSchema() resourceSchema.Schema
- func GetGitHubRepositoryFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetHelmFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetIdDatasourceSchema(isReadOnly bool) datasourceSchema.Attribute
- func GetIdResourceSchema() resourceSchema.Attribute
- func GetIds(ids types.List) []string
- func GetLibraryVariableSetDataSourceSchema() datasourceSchema.Schema
- func GetLibraryVariableSetObjectDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetLibraryVariableSetObjectType() map[string]attr.Type
- func GetLibraryVariableSetResourceSchema() resourceSchema.Schema
- func GetMavenFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetNameDatasourceSchema(isRequired bool) datasourceSchema.Attribute
- func GetNameDatasourceWithMaxLengthSchema(isRequired bool, maxLength int) datasourceSchema.Attribute
- func GetNameResourceSchema(isRequired bool) resourceSchema.Attribute
- func GetNugetFeedResourceSchema() map[string]resourceSchema.Attribute
- func GetNumber(val types.Int64) int
- func GetProjectDataSourceSchema() datasourceSchema.Schema
- func GetProjectGroupDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetProjectGroupResourceSchema() map[string]resourceSchema.Attribute
- func GetProjectResourceSchema() resourceSchema.Schema
- func GetQueryIDsDatasourceSchema() 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 GetResourceLifecycleSchema() resourceSchema.Schema
- func GetRunbookResourceSchema() resourceSchema.Schema
- func GetRunbookRetentionPeriodObjectType() map[string]attr.Type
- func GetScriptModuleDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetScriptModuleResourceSchema() map[string]resourceSchema.Attribute
- func GetScriptModuleSchemaBlock() map[string]resourceSchema.Block
- func GetSlugDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
- func GetSlugResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetSpaceDatasourceSchema() map[string]datasourceSchema.Attribute
- func GetSpaceIdDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
- func GetSpaceIdResourceSchema(resourceDescription string) resourceSchema.Attribute
- func GetSpaceResourceSchema() map[string]resourceSchema.Attribute
- func GetSpaceTypeAttributes() attr.Type
- func GetTagResourceSchema() resourceSchema.Schema
- func GetTagSetAttrTypes() map[string]attr.Type
- func GetTagSetDataSourceSchema() datasourceSchema.Schema
- func GetTagSetResourceSchema() resourceSchema.Schema
- func GetTenantCommonVariableResourceSchema() schema.Schema
- func GetTenantDataSourceSchema() map[string]datasourceSchema.Attribute
- func GetTenantProjectVariableResourceSchema() schema.Schema
- func GetTenantResourceSchema() map[string]resourceSchema.Attribute
- func GetTenantsDataSourceSchema() map[string]datasourceSchema.Attribute
- func GetTentacleCertificateSchema() resourceSchema.Schema
- func GetUsernamePasswordAccountResourceSchema() schema.Schema
- func GetVariableDatasourceSchema() datasourceSchema.Schema
- func GetVariableResourceSchema() resourceSchema.Schema
- 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 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 VariableDisplaySettingsObjectType() map[string]attr.Type
- func VariablePromptOptionsObjectType() map[string]attr.Type
- func VariableScopeObjectType() map[string]attr.Type
- func VariableSelectOptionsObjectType() map[string]attr.Type
- type ArtifactoryGenericFeedTypeResourceModel
- type AwsElasticContainerRegistryFeedTypeResourceModel
- type DockerContainerRegistryFeedTypeResourceModel
- type EnvironmentTypeResourceModel
- type FeedsDataSourceModel
- type GitHubRepositoryFeedTypeResourceModel
- type HelmFeedTypeResourceModel
- type IResourceModel
- type LibraryVariableSetResourceModel
- type MavenFeedTypeResourceModel
- type NugetFeedTypeResourceModel
- type ProjectGroupTypeResourceModel
- type ResourceModel
- type RunbookConnectivityPolicyModel
- type RunbookRetentionPeriodModel
- type RunbookTypeResourceModel
- type ScriptModuleDataSourceModel
- type ScriptModuleResourceModel
- type SpaceModel
- type TagResourceModel
- type TagSetDataSourceModel
- type TagSetResourceModel
- type TenantModel
- type TenantsModel
- type TentacleCertificateResourceModel
- type UsernamePasswordAccountResourceModel
- 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 EncryptedValue string KeyFingerprint string PgpKey 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", EncryptedValue: "encrypted_value", KeyFingerprint: "key_fingerprint", PgpKey: "pgp_key", }
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 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() map[string]resourceSchema.Attribute
func GetArtifactoryGenericFeedResourceSchema ¶
func GetArtifactoryGenericFeedResourceSchema() map[string]resourceSchema.Attribute
func GetAwsElasticContainerRegistryFeedResourceSchema ¶
func GetAwsElasticContainerRegistryFeedResourceSchema() map[string]resourceSchema.Attribute
func GetBooleanDatasourceAttribute ¶
func GetBooleanDatasourceAttribute(description string, isOptional bool) datasourceSchema.Attribute
func GetBooleanResourceAttribute ¶
func GetBooleanResourceAttribute(description string, defaultValue bool, isOptional bool) resourceSchema.Attribute
func GetDatasourceLifecycleSchema ¶
func GetDatasourceLifecycleSchema() datasourceSchema.Schema
func GetDatasourceScriptModuleSchema ¶
func GetDatasourceScriptModuleSchema() datasourceSchema.Schema
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 GetDockerContainerRegistryFeedResourceSchema ¶
func GetDockerContainerRegistryFeedResourceSchema() map[string]resourceSchema.Attribute
func GetEnvironmentDatasourceSchema ¶
func GetEnvironmentDatasourceSchema() map[string]datasourceSchema.Attribute
func GetEnvironmentResourceSchema ¶
func GetEnvironmentResourceSchema() resourceSchema.Schema
func GetFeedDataSourceSchema ¶
func GetFeedDataSourceSchema() map[string]datasourceSchema.Attribute
func GetFeedsDataSourceSchema ¶
func GetFeedsDataSourceSchema() map[string]datasourceSchema.Attribute
func GetGitCredentialDataSourceSchema ¶
func GetGitCredentialDataSourceSchema() datasourceSchema.Schema
func GetGitCredentialDatasourceAttributes ¶
func GetGitCredentialDatasourceAttributes() map[string]datasourceSchema.Attribute
func GetGitCredentialResourceSchema ¶
func GetGitCredentialResourceSchema() resourceSchema.Schema
func GetGitHubRepositoryFeedResourceSchema ¶
func GetGitHubRepositoryFeedResourceSchema() map[string]resourceSchema.Attribute
func GetHelmFeedResourceSchema ¶
func GetHelmFeedResourceSchema() map[string]resourceSchema.Attribute
func GetIdDatasourceSchema ¶
func GetIdDatasourceSchema(isReadOnly bool) datasourceSchema.Attribute
func GetIdResourceSchema ¶
func GetIdResourceSchema() resourceSchema.Attribute
func GetLibraryVariableSetDataSourceSchema ¶
func GetLibraryVariableSetDataSourceSchema() datasourceSchema.Schema
func GetLibraryVariableSetObjectDatasourceSchema ¶
func GetLibraryVariableSetObjectDatasourceSchema() map[string]datasourceSchema.Attribute
func GetLibraryVariableSetResourceSchema ¶
func GetLibraryVariableSetResourceSchema() resourceSchema.Schema
func GetMavenFeedResourceSchema ¶
func GetMavenFeedResourceSchema() map[string]resourceSchema.Attribute
func GetNameDatasourceSchema ¶
func GetNameDatasourceSchema(isRequired bool) datasourceSchema.Attribute
func GetNameDatasourceWithMaxLengthSchema ¶
func GetNameDatasourceWithMaxLengthSchema(isRequired bool, maxLength int) datasourceSchema.Attribute
func GetNameResourceSchema ¶
func GetNameResourceSchema(isRequired bool) resourceSchema.Attribute
func GetNugetFeedResourceSchema ¶
func GetNugetFeedResourceSchema() map[string]resourceSchema.Attribute
func GetProjectDataSourceSchema ¶
func GetProjectDataSourceSchema() datasourceSchema.Schema
func GetProjectGroupDatasourceSchema ¶
func GetProjectGroupDatasourceSchema() map[string]datasourceSchema.Attribute
func GetProjectGroupResourceSchema ¶
func GetProjectGroupResourceSchema() map[string]resourceSchema.Attribute
func GetProjectResourceSchema ¶
func GetProjectResourceSchema() resourceSchema.Schema
func GetQueryIDsDatasourceSchema ¶
func GetQueryIDsDatasourceSchema() 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 GetResourceLifecycleSchema ¶
func GetResourceLifecycleSchema() resourceSchema.Schema
func GetRunbookResourceSchema ¶
func GetRunbookResourceSchema() resourceSchema.Schema
func GetScriptModuleDatasourceSchema ¶
func GetScriptModuleDatasourceSchema() map[string]datasourceSchema.Attribute
func GetScriptModuleResourceSchema ¶
func GetScriptModuleResourceSchema() map[string]resourceSchema.Attribute
func GetScriptModuleSchemaBlock ¶
func GetScriptModuleSchemaBlock() map[string]resourceSchema.Block
func GetSlugDatasourceSchema ¶
func GetSlugDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
func GetSlugResourceSchema ¶
func GetSlugResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetSpaceDatasourceSchema ¶
func GetSpaceDatasourceSchema() map[string]datasourceSchema.Attribute
func GetSpaceIdDatasourceSchema ¶
func GetSpaceIdDatasourceSchema(resourceDescription string, isReadOnly bool) datasourceSchema.Attribute
func GetSpaceIdResourceSchema ¶
func GetSpaceIdResourceSchema(resourceDescription string) resourceSchema.Attribute
func GetSpaceResourceSchema ¶
func GetSpaceResourceSchema() map[string]resourceSchema.Attribute
func GetSpaceTypeAttributes ¶
func GetTagResourceSchema ¶
func GetTagResourceSchema() resourceSchema.Schema
func GetTagSetAttrTypes ¶
func GetTagSetDataSourceSchema ¶
func GetTagSetDataSourceSchema() datasourceSchema.Schema
func GetTagSetResourceSchema ¶
func GetTagSetResourceSchema() resourceSchema.Schema
func GetTenantDataSourceSchema ¶
func GetTenantDataSourceSchema() map[string]datasourceSchema.Attribute
func GetTenantResourceSchema ¶
func GetTenantResourceSchema() map[string]resourceSchema.Attribute
func GetTenantsDataSourceSchema ¶
func GetTenantsDataSourceSchema() map[string]datasourceSchema.Attribute
func GetTentacleCertificateSchema ¶
func GetTentacleCertificateSchema() resourceSchema.Schema
func GetVariableDatasourceSchema ¶
func GetVariableDatasourceSchema() datasourceSchema.Schema
func GetVariableResourceSchema ¶
func GetVariableResourceSchema() resourceSchema.Schema
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 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 VariableScopeObjectType ¶
Types ¶
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 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 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 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 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 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 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 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 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 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 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 TagSetDataSourceModel ¶
type TagSetResourceModel ¶
type TenantModel ¶
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 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"`
PgpKey types.String `tfsdk:"pgp_key"`
KeyFingerprint types.String `tfsdk:"key_fingerprint"`
EncryptedValue types.String `tfsdk:"encrypted_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
- environment.go
- feed.go
- gitCredential.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
- tag.go
- tag_set.go
- tenant.go
- tenant_common_variable.go
- tenant_project_variable.go
- username_password_account.go
- variable.go
- variable_prompt_options.go
- variable_scope.go
Click to show internal directories.
Click to hide internal directories.