schemas

package
v0.30.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 (
	GitCredentialResourceDescription = "Git Credential"
	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"
)

Variables

This section is empty.

Functions

func ExpandActionTemplateParameters

func ExpandActionTemplateParameters(actionTemplateParameters types.List) []actiontemplates.ActionTemplateParameter

func FeedObjectType

func FeedObjectType() map[string]attr.Type

func FlattenFeed

func FlattenFeed(feed *feeds.FeedResource) 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 GetDatasourceLifecycleSchema

func GetDatasourceLifecycleSchema() datasourceSchema.Schema

func GetDescriptionDatasourceSchema

func GetDescriptionDatasourceSchema(resourceDescription string) datasourceSchema.Attribute

func GetDescriptionResourceSchema

func GetDescriptionResourceSchema(resourceDescription 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 GetGitCredentialAttributes

func GetGitCredentialAttributes() map[string]datasourceSchema.Attribute

func GetGitCredentialDataSourceSchema

func GetGitCredentialDataSourceSchema() 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() datasourceSchema.Attribute

func GetIdResourceSchema

func GetIdResourceSchema() resourceSchema.Attribute

func GetIds

func GetIds(ids types.List) []string

func GetLibraryVariableSetDataSourceSchema

func GetLibraryVariableSetDataSourceSchema() datasourceSchema.Schema

func GetLibraryVariableSetObjectDatasourceSchema

func GetLibraryVariableSetObjectDatasourceSchema() map[string]datasourceSchema.Attribute

func GetLibraryVariableSetObjectType

func GetLibraryVariableSetObjectType() map[string]attr.Type

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 GetNumber

func GetNumber(val types.Int64) int

func GetProjectGroupDatasourceSchema

func GetProjectGroupDatasourceSchema() map[string]datasourceSchema.Attribute

func GetProjectGroupResourceSchema

func GetProjectGroupResourceSchema() map[string]resourceSchema.Attribute

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 GetResourceLifecycleSchema

func GetResourceLifecycleSchema() resourceSchema.Schema

func GetSlugDatasourceSchema

func GetSlugDatasourceSchema(resourceDescription string) datasourceSchema.Attribute

func GetSlugResourceSchema

func GetSlugResourceSchema(resourceDescription string) resourceSchema.Attribute

func GetSpaceDatasourceSchema

func GetSpaceDatasourceSchema() map[string]datasourceSchema.Attribute

func GetSpaceIdDatasourceSchema

func GetSpaceIdDatasourceSchema(resourceDescription string) datasourceSchema.Attribute

func GetSpaceIdResourceSchema

func GetSpaceIdResourceSchema(resourceDescription string) resourceSchema.Attribute

func GetSpaceResourceSchema

func GetSpaceResourceSchema() map[string]resourceSchema.Attribute

func GetSpaceTypeAttributes

func GetSpaceTypeAttributes() attr.Type

func GetTenantCommonVariableResourceSchema

func GetTenantCommonVariableResourceSchema() schema.Schema

func GetTenantProjectVariableResourceSchema

func GetTenantProjectVariableResourceSchema() schema.Schema

func JiraExtensionSettingsObjectType

func JiraExtensionSettingsObjectType() map[string]attr.Type

func JiraServiceManagementExtensionSettingsObjectType

func JiraServiceManagementExtensionSettingsObjectType() map[string]attr.Type

func MapFromLibraryVariableSet

func MapFromLibraryVariableSet(data *LibraryVariableSetResourceModel, spaceId string, libraryVariableSet *variables.LibraryVariableSet)

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 ServiceNowExtensionSettingsObjectType

func ServiceNowExtensionSettingsObjectType() map[string]attr.Type

func TemplateObjectType

func TemplateObjectType() map[string]attr.Type

Types

type ArtifactoryGenericFeedTypeResourceModel

type ArtifactoryGenericFeedTypeResourceModel struct {
	FeedUri                           types.String `tfsdk:"feed_uri"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

type AwsElasticContainerRegistryFeedTypeResourceModel

type AwsElasticContainerRegistryFeedTypeResourceModel struct {
	AccessKey                         types.String `tfsdk:"access_key"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

type EnvironmentTypeResourceModel

type EnvironmentTypeResourceModel struct {
	ID                                     types.String `tfsdk:"id"`
	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"`
}

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"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

type HelmFeedTypeResourceModel

type HelmFeedTypeResourceModel struct {
	FeedUri                           types.String `tfsdk:"feed_uri"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

type LibraryVariableSetResourceModel

type LibraryVariableSetResourceModel struct {
	Description   types.String `tfsdk:"description"`
	ID            types.String `tfsdk:"id"`
	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"`
}

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"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

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"`
	ID                                types.String `tfsdk:"id"`
	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"`
}

type ProjectGroupTypeResourceModel

type ProjectGroupTypeResourceModel struct {
	ID                types.String `tfsdk:"id"`
	Name              types.String `tfsdk:"name"`
	SpaceID           types.String `tfsdk:"space_id"`
	Description       types.String `tfsdk:"description"`
	RetentionPolicyID types.String `tfsdk:"retention_policy_id"`
}

type SpaceModel

type SpaceModel struct {
	ID                       types.String `tfsdk:"id"`
	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"`
}

Jump to

Keyboard shortcuts

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