Documentation
¶
Index ¶
- Constants
- Variables
- func SetLogger(logger Logger)
- type AksMeteringConfig
- type AksPlatformConfig
- type AksPlatformProperties
- type AksReplicationConfig
- type AksServicePrincipalConfig
- type AwsAccessConfig
- type AwsAuth
- type AwsEnrollmentConfiguration
- type AwsMeteringConfig
- type AwsPlatformConfig
- type AwsPlatformProperties
- type AwsReplicationConfig
- type AwsRoleMapping
- type AwsServiceUserCredential
- type AwsSsoConfig
- type AwsSsoRoleMapping
- type AwsWorkloadIdentityCredential
- type AzureAuthConfig
- type AzureCustomerAgreementConfig
- type AzureEnterpriseEnrollmentConfig
- type AzureFunction
- type AzureGraphApiCredentials
- type AzureInviteB2BUserConfig
- type AzureMeteringConfig
- type AzurePlatformConfig
- type AzurePlatformProperties
- type AzurePreProvisionedSubscriptionConfig
- type AzureReplicationConfig
- type AzureRgPlatformConfig
- type AzureRgPlatformProperties
- type AzureRgReplicationConfig
- type AzureRgRoleMapping
- type AzureRole
- type AzureRoleDefinition
- type AzureRoleMapping
- type AzureRoleMappingProperty
- type AzureServicePrincipalConfig
- type AzureSubscriptionProvisioningConfig
- type BuildingBlockRunnerRef
- type Client
- type GcpMeteringConfig
- type GcpPlatformConfig
- type GcpPlatformProperties
- type GcpPlatformRoleMapping
- type GcpReplicationConfig
- type GcpRoleMapping
- type GcpServiceAccountConfig
- type GcpServiceAccountWorkloadIdentityConfig
- type KubernetesClientConfig
- type KubernetesMeteringConfig
- type KubernetesPlatformConfig
- type KubernetesPlatformProperties
- type KubernetesReplicationConfig
- type KubernetesRoleMapping
- type LocationRef
- type Logger
- type MeshAwsWifProvider
- type MeshBuildingBlock
- type MeshBuildingBlockClient
- type MeshBuildingBlockCreate
- type MeshBuildingBlockCreateMetadata
- type MeshBuildingBlockDefinitionRef
- type MeshBuildingBlockIO
- type MeshBuildingBlockMetadata
- type MeshBuildingBlockParent
- type MeshBuildingBlockSpec
- type MeshBuildingBlockStatus
- type MeshBuildingBlockV2
- type MeshBuildingBlockV2Client
- func (c MeshBuildingBlockV2Client) Create(ctx context.Context, bb *MeshBuildingBlockV2Create) (*MeshBuildingBlockV2, error)
- func (c MeshBuildingBlockV2Client) Delete(ctx context.Context, uuid string) error
- func (c MeshBuildingBlockV2Client) Read(ctx context.Context, uuid string) (*MeshBuildingBlockV2, error)
- func (c MeshBuildingBlockV2Client) ReadFunc(uuid string) func(ctx context.Context) (*MeshBuildingBlockV2, error)
- type MeshBuildingBlockV2Create
- type MeshBuildingBlockV2DefinitionVersionRef
- type MeshBuildingBlockV2Metadata
- type MeshBuildingBlockV2Spec
- type MeshBuildingBlockV2Status
- type MeshBuildingBlockV2TargetRef
- type MeshIntegration
- type MeshIntegrationAzureDevopsConfig
- type MeshIntegrationClient
- type MeshIntegrationConfig
- type MeshIntegrationGithubConfig
- type MeshIntegrationGitlabConfig
- type MeshIntegrationMetadata
- type MeshIntegrationSpec
- type MeshIntegrationStatus
- type MeshLandingZone
- type MeshLandingZoneClient
- func (c MeshLandingZoneClient) Create(ctx context.Context, landingZone *MeshLandingZoneCreate) (*MeshLandingZone, error)
- func (c MeshLandingZoneClient) Delete(ctx context.Context, name string) error
- func (c MeshLandingZoneClient) Read(ctx context.Context, name string) (*MeshLandingZone, error)
- func (c MeshLandingZoneClient) Update(ctx context.Context, name string, landingZone *MeshLandingZoneCreate) (*MeshLandingZone, error)
- type MeshLandingZoneCreate
- type MeshLandingZoneMetadata
- type MeshLandingZonePlatformProperties
- type MeshLandingZonePlatformRef
- type MeshLandingZoneQuota
- type MeshLandingZoneSpec
- type MeshLandingZoneStatus
- type MeshLocation
- type MeshLocationClient
- func (c MeshLocationClient) Create(ctx context.Context, location *MeshLocationCreate) (*MeshLocation, error)
- func (c MeshLocationClient) Delete(ctx context.Context, name string) error
- func (c MeshLocationClient) Read(ctx context.Context, name string) (*MeshLocation, error)
- func (c MeshLocationClient) Update(ctx context.Context, name string, location *MeshLocationCreate) (*MeshLocation, error)
- type MeshLocationCreate
- type MeshLocationCreateMetadata
- type MeshLocationMetadata
- type MeshLocationSpec
- type MeshLocationStatus
- type MeshPaymentMethod
- type MeshPaymentMethodClient
- func (c MeshPaymentMethodClient) Create(ctx context.Context, paymentMethod *MeshPaymentMethodCreate) (*MeshPaymentMethod, error)
- func (c MeshPaymentMethodClient) Delete(ctx context.Context, identifier string) error
- func (c MeshPaymentMethodClient) Read(ctx context.Context, workspace string, identifier string) (*MeshPaymentMethod, error)
- func (c MeshPaymentMethodClient) Update(ctx context.Context, identifier string, paymentMethod *MeshPaymentMethodCreate) (*MeshPaymentMethod, error)
- type MeshPaymentMethodCreate
- type MeshPaymentMethodCreateMetadata
- type MeshPaymentMethodMetadata
- type MeshPaymentMethodSpec
- type MeshPlatform
- type MeshPlatformClient
- func (c MeshPlatformClient) Create(ctx context.Context, platform *MeshPlatformCreate) (*MeshPlatform, error)
- func (c MeshPlatformClient) Delete(ctx context.Context, uuid string) error
- func (c MeshPlatformClient) Read(ctx context.Context, uuid string) (*MeshPlatform, error)
- func (c MeshPlatformClient) Update(ctx context.Context, uuid string, platform *MeshPlatformUpdate) (*MeshPlatform, error)
- type MeshPlatformCreate
- type MeshPlatformCreateMetadata
- type MeshPlatformMetadata
- type MeshPlatformMeteringProcessingConfig
- type MeshPlatformSpec
- type MeshPlatformType
- type MeshPlatformTypeClient
- func (c MeshPlatformTypeClient) Create(ctx context.Context, platformType *MeshPlatformTypeCreate) (*MeshPlatformType, error)
- func (c MeshPlatformTypeClient) Delete(ctx context.Context, name string) error
- func (c MeshPlatformTypeClient) List(ctx context.Context, category *string, lifecycleStatus *string) ([]MeshPlatformType, error)
- func (c MeshPlatformTypeClient) Read(ctx context.Context, identifier string) (*MeshPlatformType, error)
- func (c MeshPlatformTypeClient) Update(ctx context.Context, name string, platformType *MeshPlatformTypeCreate) (*MeshPlatformType, error)
- type MeshPlatformTypeCreate
- type MeshPlatformTypeCreateMetadata
- type MeshPlatformTypeLifecycle
- type MeshPlatformTypeMetadata
- type MeshPlatformTypeSpec
- type MeshPlatformTypeStatus
- type MeshPlatformUpdate
- type MeshPlatformUpdateMetadata
- type MeshProject
- type MeshProjectBinding
- type MeshProjectBindingMetadata
- type MeshProjectClient
- func (c MeshProjectClient) Create(ctx context.Context, project *MeshProjectCreate) (*MeshProject, error)
- func (c MeshProjectClient) Delete(ctx context.Context, workspace string, name string) error
- func (c MeshProjectClient) List(ctx context.Context, workspaceIdentifier string, ...) ([]MeshProject, error)
- func (c MeshProjectClient) Read(ctx context.Context, workspace string, name string) (*MeshProject, error)
- func (c MeshProjectClient) Update(ctx context.Context, project *MeshProjectCreate) (*MeshProject, error)
- type MeshProjectCreate
- type MeshProjectCreateMetadata
- type MeshProjectGroupBinding
- type MeshProjectGroupBindingClient
- func (c MeshProjectGroupBindingClient) Create(ctx context.Context, binding *MeshProjectGroupBinding) (*MeshProjectGroupBinding, error)
- func (c MeshProjectGroupBindingClient) Delete(ctx context.Context, name string) error
- func (c MeshProjectGroupBindingClient) Read(ctx context.Context, name string) (*MeshProjectGroupBinding, error)
- type MeshProjectMetadata
- type MeshProjectRoleRefdeprecated
- type MeshProjectRoleRefV2
- type MeshProjectSpec
- type MeshProjectTargetRef
- type MeshProjectUserBinding
- type MeshProjectUserBindingClient
- func (c MeshProjectUserBindingClient) Create(ctx context.Context, binding *MeshProjectUserBinding) (*MeshProjectUserBinding, error)
- func (c MeshProjectUserBindingClient) Delete(ctx context.Context, name string) error
- func (c MeshProjectUserBindingClient) Read(ctx context.Context, name string) (*MeshProjectUserBinding, error)
- type MeshSubject
- type MeshTagDefinition
- type MeshTagDefinitionClient
- func (c MeshTagDefinitionClient) Create(ctx context.Context, tagDefinition *MeshTagDefinition) (*MeshTagDefinition, error)
- func (c MeshTagDefinitionClient) Delete(ctx context.Context, name string) error
- func (c MeshTagDefinitionClient) List(ctx context.Context) ([]MeshTagDefinition, error)
- func (c MeshTagDefinitionClient) Read(ctx context.Context, name string) (*MeshTagDefinition, error)
- func (c MeshTagDefinitionClient) Update(ctx context.Context, tagDefinition *MeshTagDefinition) (*MeshTagDefinition, error)
- type MeshTagDefinitionMetadata
- type MeshTagDefinitionSpec
- type MeshTagDefinitionValueType
- type MeshTenant
- type MeshTenantClient
- func (c MeshTenantClient) Create(ctx context.Context, tenant *MeshTenantCreate) (*MeshTenant, error)
- func (c MeshTenantClient) Delete(ctx context.Context, workspace string, project string, platform string) error
- func (c MeshTenantClient) Read(ctx context.Context, workspace string, project string, platform string) (*MeshTenant, error)
- type MeshTenantCreate
- type MeshTenantCreateMetadata
- type MeshTenantCreateSpec
- type MeshTenantMetadata
- type MeshTenantQuota
- type MeshTenantSpec
- type MeshTenantTags
- type MeshTenantV4
- type MeshTenantV4Client
- func (c MeshTenantV4Client) Create(ctx context.Context, tenant *MeshTenantV4Create) (*MeshTenantV4, error)
- func (c MeshTenantV4Client) Delete(ctx context.Context, uuid string) error
- func (c MeshTenantV4Client) Read(ctx context.Context, uuid string) (*MeshTenantV4, error)
- func (c MeshTenantV4Client) ReadFunc(uuid string) func(ctx context.Context) (*MeshTenantV4, error)
- type MeshTenantV4Create
- type MeshTenantV4CreateMetadata
- type MeshTenantV4CreateSpec
- type MeshTenantV4Metadata
- type MeshTenantV4Spec
- type MeshTenantV4Status
- type MeshWifProvider
- type MeshWorkloadIdentityFederation
- type MeshWorkspace
- type MeshWorkspaceBinding
- type MeshWorkspaceBindingMetadata
- type MeshWorkspaceClient
- func (c MeshWorkspaceClient) Create(ctx context.Context, workspace *MeshWorkspaceCreate) (*MeshWorkspace, error)
- func (c MeshWorkspaceClient) Delete(ctx context.Context, name string) error
- func (c MeshWorkspaceClient) Read(ctx context.Context, name string) (*MeshWorkspace, error)
- func (c MeshWorkspaceClient) Update(ctx context.Context, name string, workspace *MeshWorkspaceCreate) (*MeshWorkspace, error)
- type MeshWorkspaceCreate
- type MeshWorkspaceCreateMetadata
- type MeshWorkspaceGroupBinding
- type MeshWorkspaceGroupBindingClient
- func (c MeshWorkspaceGroupBindingClient) Create(ctx context.Context, binding *MeshWorkspaceGroupBinding) (*MeshWorkspaceGroupBinding, error)
- func (c MeshWorkspaceGroupBindingClient) Delete(ctx context.Context, name string) error
- func (c MeshWorkspaceGroupBindingClient) Read(ctx context.Context, name string) (*MeshWorkspaceGroupBinding, error)
- type MeshWorkspaceMetadata
- type MeshWorkspaceRoleRef
- type MeshWorkspaceSpec
- type MeshWorkspaceSubject
- type MeshWorkspaceTargetRef
- type MeshWorkspaceUserBinding
- type MeshWorkspaceUserBindingClient
- func (c MeshWorkspaceUserBindingClient) Create(ctx context.Context, binding *MeshWorkspaceUserBinding) (*MeshWorkspaceUserBinding, error)
- func (c MeshWorkspaceUserBindingClient) Delete(ctx context.Context, name string) error
- func (c MeshWorkspaceUserBindingClient) Read(ctx context.Context, name string) (*MeshWorkspaceUserBinding, error)
- type OpenShiftMeteringConfig
- type OpenShiftPlatformConfig
- type OpenShiftPlatformProperties
- type OpenShiftPlatformRoleMapping
- type OpenShiftReplicationConfig
- type PlatformAvailability
- type PlatformConfig
- type QuotaDefinition
- type SecretEmbedded
- type TagMapper
- type TagValueEmail
- type TagValueInteger
- type TagValueMultiSelect
- type TagValueNumber
- type TagValueSingleSelect
- type TagValueString
Constants ¶
View Source
const ( MESH_BUILDING_BLOCK_IO_TYPE_STRING = "STRING" MESH_BUILDING_BLOCK_IO_TYPE_INTEGER = "INTEGER" MESH_BUILDING_BLOCK_IO_TYPE_BOOLEAN = "BOOLEAN" MESH_BUILDING_BLOCK_IO_TYPE_SINGLE_SELECT = "SINGLE_SELECT" MESH_BUILDING_BLOCK_IO_TYPE_MULTI_SELECT = "MULTI_SELECT" MESH_BUILDING_BLOCK_IO_TYPE_FILE = "FILE" MESH_BUILDING_BLOCK_IO_TYPE_LIST = "LIST" MESH_BUILDING_BLOCK_IO_TYPE_CODE = "CODE" )
View Source
const ( // Building Block Status Constants. BUILDING_BLOCK_STATUS_WAITING_FOR_DEPENDENT_INPUT = "WAITING_FOR_DEPENDENT_INPUT" BUILDING_BLOCK_STATUS_WAITING_FOR_OPERATOR_INPUT = "WAITING_FOR_OPERATOR_INPUT" BUILDING_BLOCK_STATUS_PENDING = "PENDING" BUILDING_BLOCK_STATUS_IN_PROGRESS = "IN_PROGRESS" BUILDING_BLOCK_STATUS_SUCCEEDED = "SUCCEEDED" BUILDING_BLOCK_STATUS_FAILED = "FAILED" )
View Source
const API_VERSION_TAG_DEFINITION = "v1"
Variables ¶
View Source
var MinMeshStackVersion = version.MustParse("2026.2.0")
Functions ¶
Types ¶
type AksMeteringConfig ¶ added in v0.13.0
type AksMeteringConfig struct {
ClientConfig KubernetesClientConfig `json:"clientConfig" tfsdk:"client_config"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type AksPlatformConfig ¶ added in v0.12.0
type AksPlatformConfig struct {
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
DisableSslValidation bool `json:"disableSslValidation" tfsdk:"disable_ssl_validation"`
Replication *AksReplicationConfig `json:"replication" tfsdk:"replication"`
Metering *AksMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type AksPlatformProperties ¶ added in v0.11.0
type AksPlatformProperties struct {
KubernetesRoleMappings []KubernetesRoleMapping `json:"kubernetesRoleMappings" tfsdk:"kubernetes_role_mappings"`
}
type AksReplicationConfig ¶ added in v0.12.0
type AksReplicationConfig struct {
AccessToken SecretEmbedded `json:"accessToken" tfsdk:"access_token"`
NamespaceNamePattern string `json:"namespaceNamePattern" tfsdk:"namespace_name_pattern"`
GroupNamePattern string `json:"groupNamePattern" tfsdk:"group_name_pattern"`
ServicePrincipal AksServicePrincipalConfig `json:"servicePrincipal" tfsdk:"service_principal"`
AksSubscriptionId string `json:"aksSubscriptionId" tfsdk:"aks_subscription_id"`
AksClusterName string `json:"aksClusterName" tfsdk:"aks_cluster_name"`
AksResourceGroup string `json:"aksResourceGroup" tfsdk:"aks_resource_group"`
RedirectUrl *string `json:"redirectUrl,omitempty" tfsdk:"redirect_url"`
SendAzureInvitationMail bool `json:"sendAzureInvitationMail" tfsdk:"send_azure_invitation_mail"`
UserLookupStrategy string `json:"userLookUpStrategy" tfsdk:"user_lookup_strategy"`
AdministrativeUnitId *string `json:"administrativeUnitId,omitempty" tfsdk:"administrative_unit_id"`
}
type AksServicePrincipalConfig ¶ added in v0.13.0
type AksServicePrincipalConfig struct {
EntraTenant string `json:"entraTenant" tfsdk:"entra_tenant"`
ObjectId string `json:"objectId" tfsdk:"object_id"`
ClientId string `json:"clientId" tfsdk:"client_id"`
Auth AzureAuthConfig `json:"auth" tfsdk:"auth"`
}
type AwsAccessConfig ¶ added in v0.12.0
type AwsAccessConfig struct {
OrganizationRootAccountRole string `json:"organizationRootAccountRole" tfsdk:"organization_root_account_role"`
OrganizationRootAccountExternalId *string `json:"organizationRootAccountExternalId,omitempty" tfsdk:"organization_root_account_external_id"`
Auth AwsAuth `json:"auth" tfsdk:"auth"`
}
type AwsAuth ¶ added in v0.16.0
type AwsAuth struct {
Type string `json:"type" tfsdk:"type"`
Credential *AwsServiceUserCredential `json:"credential,omitempty" tfsdk:"credential"`
WorkloadIdentity *AwsWorkloadIdentityCredential `json:"workloadIdentity,omitempty" tfsdk:"workload_identity"`
}
type AwsEnrollmentConfiguration ¶ added in v0.12.0
type AwsMeteringConfig ¶ added in v0.13.0
type AwsMeteringConfig struct {
AccessConfig AwsAccessConfig `json:"accessConfig" tfsdk:"access_config"`
Filter string `json:"filter" tfsdk:"filter"`
ReservedInstanceFairChargeback bool `json:"reservedInstanceFairChargeback" tfsdk:"reserved_instance_fair_chargeback"`
SavingsPlanFairChargeback bool `json:"savingsPlanFairChargeback" tfsdk:"savings_plan_fair_chargeback"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type AwsPlatformConfig ¶ added in v0.12.0
type AwsPlatformConfig struct {
Region string `json:"region,omitempty" tfsdk:"region"`
Replication *AwsReplicationConfig `json:"replication,omitempty" tfsdk:"replication"`
Metering *AwsMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type AwsPlatformProperties ¶ added in v0.11.0
type AwsPlatformProperties struct {
AwsTargetOrgUnitId string `json:"awsTargetOrgUnitId" tfsdk:"aws_target_org_unit_id"`
AwsEnrollAccount bool `json:"awsEnrollAccount" tfsdk:"aws_enroll_account"`
AwsLambdaArn *string `json:"awsLambdaArn" tfsdk:"aws_lambda_arn"`
AwsRoleMappings []AwsRoleMapping `json:"awsRoleMappings" tfsdk:"aws_role_mappings"`
}
type AwsReplicationConfig ¶ added in v0.12.0
type AwsReplicationConfig struct {
AccessConfig AwsAccessConfig `json:"accessConfig" tfsdk:"access_config"`
WaitForExternalAvm bool `json:"waitForExternalAvm" tfsdk:"wait_for_external_avm"`
AutomationAccountRole string `json:"automationAccountRole" tfsdk:"automation_account_role"`
AutomationAccountExternalId *string `json:"automationAccountExternalId,omitempty" tfsdk:"automation_account_external_id"`
AccountAccessRole string `json:"accountAccessRole" tfsdk:"account_access_role"`
AccountAliasPattern string `json:"accountAliasPattern" tfsdk:"account_alias_pattern"`
EnforceAccountAlias bool `json:"enforceAccountAlias" tfsdk:"enforce_account_alias"`
AccountEmailPattern string `json:"accountEmailPattern" tfsdk:"account_email_pattern"`
TenantTags *MeshTenantTags `json:"tenantTags,omitempty" tfsdk:"tenant_tags"`
AwsSso *AwsSsoConfig `json:"awsSso,omitempty" tfsdk:"aws_sso"`
EnrollmentConfiguration *AwsEnrollmentConfiguration `json:"enrollmentConfiguration,omitempty" tfsdk:"enrollment_configuration"`
SelfDowngradeAccessRole bool `json:"selfDowngradeAccessRole" tfsdk:"self_downgrade_access_role"`
SkipUserGroupPermissionCleanup bool `json:"skipUserGroupPermissionCleanup" tfsdk:"skip_user_group_permission_cleanup"`
AllowHierarchicalOrganizationalUnitAssignment bool `json:"allowHierarchicalOrganizationalUnitAssignment" tfsdk:"allow_hierarchical_organizational_unit_assignment"`
}
type AwsRoleMapping ¶ added in v0.11.0
type AwsRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
PlatformRole string `json:"platformRole" tfsdk:"platform_role"`
Policies []string `json:"policies" tfsdk:"policies"`
}
type AwsServiceUserCredential ¶ added in v0.16.0
type AwsServiceUserCredential struct {
AccessKey string `json:"accessKey" tfsdk:"access_key"`
SecretKey SecretEmbedded `json:"secretKey" tfsdk:"secret_key"`
}
type AwsSsoConfig ¶ added in v0.12.0
type AwsSsoConfig struct {
ScimEndpoint string `json:"scimEndpoint" tfsdk:"scim_endpoint"`
Arn string `json:"arn" tfsdk:"arn"`
GroupNamePattern string `json:"groupNamePattern" tfsdk:"group_name_pattern"`
SsoAccessToken SecretEmbedded `json:"ssoAccessToken" tfsdk:"sso_access_token"`
AwsRoleMappings []AwsSsoRoleMapping `json:"awsRoleMappings" tfsdk:"aws_role_mappings"`
SignInUrl string `json:"signInUrl" tfsdk:"sign_in_url"`
}
type AwsSsoRoleMapping ¶ added in v0.12.0
type AwsSsoRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
AwsRole string `json:"awsRole" tfsdk:"aws_role"`
PermissionSetArns []string `json:"permissionSetArns" tfsdk:"permission_set_arns"`
}
type AwsWorkloadIdentityCredential ¶ added in v0.16.0
type AwsWorkloadIdentityCredential struct {
RoleArn string `json:"roleArn" tfsdk:"role_arn"`
}
type AzureAuthConfig ¶ added in v0.16.0
type AzureAuthConfig struct {
Type string `json:"type" tfsdk:"type"`
Credential *SecretEmbedded `json:"credential,omitempty" tfsdk:"credential"`
}
type AzureCustomerAgreementConfig ¶ added in v0.13.0
type AzureCustomerAgreementConfig struct {
SourceServicePrincipal AzureGraphApiCredentials `json:"sourceServicePrincipal" tfsdk:"source_service_principal"`
DestinationEntraId string `json:"destinationEntraId" tfsdk:"destination_entra_id"`
SourceEntraTenant string `json:"sourceEntraTenant" tfsdk:"source_entra_tenant"`
BillingScope string `json:"billingScope" tfsdk:"billing_scope"`
SubscriptionCreationErrorCooldownSec int64 `json:"subscriptionCreationErrorCooldownSec" tfsdk:"subscription_creation_error_cooldown_sec"`
}
type AzureEnterpriseEnrollmentConfig ¶ added in v0.13.0
type AzureEnterpriseEnrollmentConfig struct {
EnrollmentAccountId string `json:"enrollmentAccountId" tfsdk:"enrollment_account_id"`
SubscriptionOfferType string `json:"subscriptionOfferType" tfsdk:"subscription_offer_type"`
UseLegacySubscriptionEnrollment bool `json:"useLegacySubscriptionEnrollment" tfsdk:"use_legacy_subscription_enrollment"`
SubscriptionCreationErrorCooldownSec int64 `json:"subscriptionCreationErrorCooldownSec" tfsdk:"subscription_creation_error_cooldown_sec"`
}
type AzureFunction ¶ added in v0.11.0
type AzureGraphApiCredentials ¶ added in v0.13.0
type AzureGraphApiCredentials struct {
ClientId string `json:"clientId" tfsdk:"client_id"`
Auth AzureAuthConfig `json:"auth" tfsdk:"auth"`
}
type AzureInviteB2BUserConfig ¶ added in v0.13.0
type AzureMeteringConfig ¶ added in v0.13.0
type AzureMeteringConfig struct {
ServicePrincipal AzureServicePrincipalConfig `json:"servicePrincipal" tfsdk:"service_principal"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type AzurePlatformConfig ¶ added in v0.12.0
type AzurePlatformConfig struct {
EntraTenant string `json:"entraTenant" tfsdk:"entra_tenant"`
Replication *AzureReplicationConfig `json:"replication,omitempty" tfsdk:"replication"`
Metering *AzureMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type AzurePlatformProperties ¶ added in v0.11.0
type AzurePlatformProperties struct {
AzureRoleMappings []AzureRoleMappingProperty `json:"azureRoleMappings" tfsdk:"azure_role_mappings"`
AzureManagementGroupId string `json:"azureManagementGroupId" tfsdk:"azure_management_group_id"`
}
type AzurePreProvisionedSubscriptionConfig ¶ added in v0.13.0
type AzurePreProvisionedSubscriptionConfig struct {
UnusedSubscriptionNamePrefix string `json:"unusedSubscriptionNamePrefix" tfsdk:"unused_subscription_name_prefix"`
}
type AzureReplicationConfig ¶ added in v0.12.0
type AzureReplicationConfig struct {
ServicePrincipal AzureServicePrincipalConfig `json:"servicePrincipal" tfsdk:"service_principal"`
Provisioning *AzureSubscriptionProvisioningConfig `json:"provisioning,omitempty" tfsdk:"provisioning"`
B2bUserInvitation *AzureInviteB2BUserConfig `json:"b2bUserInvitation,omitempty" tfsdk:"b2b_user_invitation"`
SubscriptionNamePattern string `json:"subscriptionNamePattern" tfsdk:"subscription_name_pattern"`
GroupNamePattern string `json:"groupNamePattern" tfsdk:"group_name_pattern"`
BlueprintServicePrincipal string `json:"blueprintServicePrincipal" tfsdk:"blueprint_service_principal"`
BlueprintLocation string `json:"blueprintLocation" tfsdk:"blueprint_location"`
AzureRoleMappings []AzureRoleMapping `json:"azureRoleMappings" tfsdk:"azure_role_mappings"`
TenantTags *MeshTenantTags `json:"tenantTags,omitempty" tfsdk:"tenant_tags"`
UserLookUpStrategy string `json:"userLookUpStrategy" tfsdk:"user_lookup_strategy"`
SkipUserGroupPermissionCleanup bool `json:"skipUserGroupPermissionCleanup" tfsdk:"skip_user_group_permission_cleanup"`
AdministrativeUnitId *string `json:"administrativeUnitId,omitempty" tfsdk:"administrative_unit_id"`
AllowHierarchicalManagementGroupAssignment bool `json:"allowHierarchicalManagementGroupAssignment" tfsdk:"allow_hierarchical_management_group_assignment"`
}
type AzureRgPlatformConfig ¶ added in v0.12.0
type AzureRgPlatformConfig struct {
EntraTenant string `json:"entraTenant" tfsdk:"entra_tenant"`
Replication *AzureRgReplicationConfig `json:"replication,omitempty" tfsdk:"replication"`
}
type AzureRgPlatformProperties ¶ added in v0.11.0
type AzureRgPlatformProperties struct {
AzureRgLocation string `json:"azureRgLocation" tfsdk:"azure_rg_location"`
AzureRgRoleMappings []AzureRgRoleMapping `json:"azureRgRoleMappings" tfsdk:"azure_rg_role_mappings"`
AzureFunction *AzureFunction `json:"azureFunction,omitempty" tfsdk:"azure_function"`
}
type AzureRgReplicationConfig ¶ added in v0.12.0
type AzureRgReplicationConfig struct {
ServicePrincipal AzureServicePrincipalConfig `json:"servicePrincipal" tfsdk:"service_principal"`
Subscription string `json:"subscription" tfsdk:"subscription"`
ResourceGroupNamePattern string `json:"resourceGroupNamePattern" tfsdk:"resource_group_name_pattern"`
UserGroupNamePattern string `json:"userGroupNamePattern" tfsdk:"user_group_name_pattern"`
B2bUserInvitation *AzureInviteB2BUserConfig `json:"b2bUserInvitation,omitempty" tfsdk:"b2b_user_invitation"`
UserLookUpStrategy string `json:"userLookUpStrategy" tfsdk:"user_lookup_strategy"`
TenantTags *MeshTenantTags `json:"tenantTags,omitempty" tfsdk:"tenant_tags"`
SkipUserGroupPermissionCleanup bool `json:"skipUserGroupPermissionCleanup" tfsdk:"skip_user_group_permission_cleanup"`
AdministrativeUnitId *string `json:"administrativeUnitId,omitempty" tfsdk:"administrative_unit_id"`
AllowHierarchicalManagementGroupAssignment bool `json:"allowHierarchicalManagementGroupAssignment" tfsdk:"allow_hierarchical_management_group_assignment"`
}
type AzureRgRoleMapping ¶ added in v0.11.0
type AzureRgRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
AzureGroupSuffix string `json:"azureGroupSuffix" tfsdk:"azure_group_suffix"`
AzureRoleDefinitionIds []string `json:"azureRoleDefinitionIds" tfsdk:"azure_role_definition_ids"`
}
type AzureRoleDefinition ¶ added in v0.11.0
type AzureRoleMapping ¶ added in v0.11.0
type AzureRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
AzureRole AzureRole `json:"azureRole" tfsdk:"azure_role"`
}
type AzureRoleMappingProperty ¶ added in v0.13.0
type AzureRoleMappingProperty struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
AzureGroupSuffix string `json:"azureGroupSuffix" tfsdk:"azure_group_suffix"`
AzureRoleDefinitions []AzureRoleDefinition `json:"azureRoleDefinitions" tfsdk:"azure_role_definitions"`
}
type AzureServicePrincipalConfig ¶ added in v0.12.0
type AzureServicePrincipalConfig struct {
ClientId string `json:"clientId" tfsdk:"client_id"`
ObjectId string `json:"objectId" tfsdk:"object_id"`
Auth AzureAuthConfig `json:"auth" tfsdk:"auth"`
}
type AzureSubscriptionProvisioningConfig ¶ added in v0.13.0
type AzureSubscriptionProvisioningConfig struct {
SubscriptionOwnerObjectIds []string `json:"subscriptionOwnerObjectIds" tfsdk:"subscription_owner_object_ids"`
EnterpriseEnrollment *AzureEnterpriseEnrollmentConfig `json:"enterpriseEnrollment,omitempty" tfsdk:"enterprise_enrollment"`
CustomerAgreement *AzureCustomerAgreementConfig `json:"customerAgreement,omitempty" tfsdk:"customer_agreement"`
PreProvisioned *AzurePreProvisionedSubscriptionConfig `json:"preProvisioned,omitempty" tfsdk:"pre_provisioned"`
}
type BuildingBlockRunnerRef ¶ added in v0.16.0
type BuildingBlockRunnerRef struct {
Uuid string `json:"uuid" tfsdk:"uuid"`
Kind string `json:"kind" tfsdk:"kind"`
}
Building Block Runner Reference.
type Client ¶ added in v0.17.0
type Client struct {
BuildingBlock MeshBuildingBlockClient
BuildingBlockV2 MeshBuildingBlockV2Client
Integration MeshIntegrationClient
LandingZone MeshLandingZoneClient
Location MeshLocationClient
PaymentMethod MeshPaymentMethodClient
Platform MeshPlatformClient
Project MeshProjectClient
ProjectGroupBinding MeshProjectGroupBindingClient
ProjectUserBinding MeshProjectUserBindingClient
TagDefinition MeshTagDefinitionClient
Tenant MeshTenantClient
TenantV4 MeshTenantV4Client
Workspace MeshWorkspaceClient
WorkspaceGroupBinding MeshWorkspaceGroupBindingClient
WorkspaceUserBinding MeshWorkspaceUserBindingClient
PlatformType MeshPlatformTypeClient
}
type GcpMeteringConfig ¶ added in v0.13.0
type GcpMeteringConfig struct {
ServiceAccount GcpServiceAccountConfig `json:"serviceAccount" tfsdk:"service_account"`
BigqueryTable string `json:"bigqueryTable" tfsdk:"bigquery_table"`
BigqueryTableForCarbonFootprint *string `json:"bigqueryTableForCarbonFootprint,omitempty" tfsdk:"bigquery_table_for_carbon_footprint"`
CarbonFootprintDataCollectionStartMonth *string `json:"carbonFootprintDataCollectionStartMonth,omitempty" tfsdk:"carbon_footprint_data_collection_start_month"`
PartitionTimeColumn string `json:"partitionTimeColumn" tfsdk:"partition_time_column"`
AdditionalFilter *string `json:"additionalFilter,omitempty" tfsdk:"additional_filter"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type GcpPlatformConfig ¶ added in v0.12.0
type GcpPlatformConfig struct {
Replication *GcpReplicationConfig `json:"replication,omitempty" tfsdk:"replication"`
Metering *GcpMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type GcpPlatformProperties ¶ added in v0.11.0
type GcpPlatformProperties struct {
GcpCloudFunctionUrl *string `json:"gcpCloudFunctionUrl,omitempty" tfsdk:"gcp_cloud_function_url"`
GcpFolderId *string `json:"gcpFolderId,omitempty" tfsdk:"gcp_folder_id"`
GcpRoleMappings []GcpRoleMapping `json:"gcpRoleMappings" tfsdk:"gcp_role_mappings"`
}
type GcpPlatformRoleMapping ¶ added in v0.12.0
type GcpPlatformRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
GcpRole string `json:"gcpRole" tfsdk:"gcp_role"`
}
type GcpReplicationConfig ¶ added in v0.12.0
type GcpReplicationConfig struct {
ServiceAccount GcpServiceAccountConfig `json:"serviceAccount" tfsdk:"service_account"`
Domain string `json:"domain" tfsdk:"domain"`
CustomerId string `json:"customerId" tfsdk:"customer_id"`
GroupNamePattern string `json:"groupNamePattern" tfsdk:"group_name_pattern"`
ProjectNamePattern string `json:"projectNamePattern" tfsdk:"project_name_pattern"`
ProjectIdPattern string `json:"projectIdPattern" tfsdk:"project_id_pattern"`
BillingAccountId string `json:"billingAccountId" tfsdk:"billing_account_id"`
UserLookupStrategy string `json:"userLookupStrategy" tfsdk:"user_lookup_strategy"`
UsedExternalIdType *string `json:"usedExternalIdType,omitempty" tfsdk:"used_external_id_type"`
GcpRoleMappings []GcpPlatformRoleMapping `json:"gcpRoleMappings" tfsdk:"gcp_role_mappings"`
AllowHierarchicalFolderAssignment bool `json:"allowHierarchicalFolderAssignment" tfsdk:"allow_hierarchical_folder_assignment"`
TenantTags *MeshTenantTags `json:"tenantTags,omitempty" tfsdk:"tenant_tags"`
SkipUserGroupPermissionCleanup bool `json:"skipUserGroupPermissionCleanup" tfsdk:"skip_user_group_permission_cleanup"`
}
type GcpRoleMapping ¶ added in v0.11.0
type GcpRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
PlatformRoles []string `json:"platformRoles" tfsdk:"platform_roles"`
}
type GcpServiceAccountConfig ¶ added in v0.12.0
type GcpServiceAccountConfig struct {
Type string `json:"type" tfsdk:"type"`
Credential *SecretEmbedded `json:"credential,omitempty" tfsdk:"credential"`
WorkloadIdentity *GcpServiceAccountWorkloadIdentityConfig `json:"workloadIdentity,omitempty" tfsdk:"workload_identity"`
}
type GcpServiceAccountWorkloadIdentityConfig ¶ added in v0.12.0
type KubernetesClientConfig ¶ added in v0.12.0
type KubernetesClientConfig struct {
AccessToken SecretEmbedded `json:"accessToken" tfsdk:"access_token"`
}
type KubernetesMeteringConfig ¶ added in v0.13.0
type KubernetesMeteringConfig struct {
ClientConfig KubernetesClientConfig `json:"clientConfig" tfsdk:"client_config"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type KubernetesPlatformConfig ¶ added in v0.12.0
type KubernetesPlatformConfig struct {
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
DisableSslValidation bool `json:"disableSslValidation" tfsdk:"disable_ssl_validation"`
Replication *KubernetesReplicationConfig `json:"replication" tfsdk:"replication"`
Metering *KubernetesMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type KubernetesPlatformProperties ¶ added in v0.11.0
type KubernetesPlatformProperties struct {
KubernetesRoleMappings []KubernetesRoleMapping `json:"kubernetesRoleMappings" tfsdk:"kubernetes_role_mappings"`
}
type KubernetesReplicationConfig ¶ added in v0.12.0
type KubernetesReplicationConfig struct {
ClientConfig KubernetesClientConfig `json:"clientConfig" tfsdk:"client_config"`
NamespaceNamePattern string `json:"namespaceNamePattern" tfsdk:"namespace_name_pattern"`
}
type KubernetesRoleMapping ¶ added in v0.11.0
type KubernetesRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
PlatformRoles []string `json:"platformRoles" tfsdk:"platform_roles"`
}
type LocationRef ¶ added in v0.12.0
type Logger ¶ added in v0.17.0
Logger exposes logging for client operations within this package (including internal).
type MeshAwsWifProvider ¶ added in v0.16.0
type MeshBuildingBlock ¶
type MeshBuildingBlock struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshBuildingBlockMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshBuildingBlockSpec `json:"spec" tfsdk:"spec"`
Status MeshBuildingBlockStatus `json:"status" tfsdk:"status"`
}
type MeshBuildingBlockClient ¶ added in v0.17.0
type MeshBuildingBlockClient struct {
// contains filtered or unexported fields
}
func (MeshBuildingBlockClient) Create ¶ added in v0.17.0
func (c MeshBuildingBlockClient) Create(ctx context.Context, bb *MeshBuildingBlockCreate) (*MeshBuildingBlock, error)
func (MeshBuildingBlockClient) Delete ¶ added in v0.17.0
func (c MeshBuildingBlockClient) Delete(ctx context.Context, uuid string) error
func (MeshBuildingBlockClient) Read ¶ added in v0.17.0
func (c MeshBuildingBlockClient) Read(ctx context.Context, uuid string) (*MeshBuildingBlock, error)
type MeshBuildingBlockCreate ¶ added in v0.5.0
type MeshBuildingBlockCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshBuildingBlockCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshBuildingBlockSpec `json:"spec" tfsdk:"spec"`
}
type MeshBuildingBlockCreateMetadata ¶ added in v0.5.0
type MeshBuildingBlockDefinitionRef ¶ added in v0.16.6
type MeshBuildingBlockIO ¶
type MeshBuildingBlockMetadata ¶
type MeshBuildingBlockMetadata struct {
Uuid string `json:"uuid" tfsdk:"uuid"`
DefinitionUuid string `json:"definitionUuid" tfsdk:"definition_uuid"`
DefinitionVersion int64 `json:"definitionVersion" tfsdk:"definition_version"`
TenantIdentifier string `json:"tenantIdentifier" tfsdk:"tenant_identifier"`
ForcePurge bool `json:"forcePurge" tfsdk:"force_purge"`
CreatedOn string `json:"createdOn" tfsdk:"created_on"`
MarkedForDeletionOn *string `json:"markedForDeletionOn" tfsdk:"marked_for_deletion_on"`
MarkedForDeletionBy *string `json:"markedForDeletionBy" tfsdk:"marked_for_deletion_by"`
}
type MeshBuildingBlockParent ¶
type MeshBuildingBlockSpec ¶
type MeshBuildingBlockSpec struct {
DisplayName string `json:"displayName" tfsdk:"display_name"`
Inputs []MeshBuildingBlockIO `json:"inputs" tfsdk:"inputs"`
ParentBuildingBlocks []MeshBuildingBlockParent `json:"parentBuildingBlocks" tfsdk:"parent_building_blocks"`
}
type MeshBuildingBlockStatus ¶
type MeshBuildingBlockStatus struct {
Status string `json:"status" tfsdk:"status"`
Outputs []MeshBuildingBlockIO `json:"outputs" tfsdk:"outputs"`
}
type MeshBuildingBlockV2 ¶ added in v0.7.0
type MeshBuildingBlockV2 struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshBuildingBlockV2Metadata `json:"metadata" tfsdk:"metadata"`
Spec MeshBuildingBlockV2Spec `json:"spec" tfsdk:"spec"`
Status MeshBuildingBlockV2Status `json:"status" tfsdk:"status"`
}
func (*MeshBuildingBlockV2) CreateSuccessful ¶ added in v0.17.0
func (bb *MeshBuildingBlockV2) CreateSuccessful() (done bool, err error)
func (*MeshBuildingBlockV2) DeletionSuccessful ¶ added in v0.17.0
func (bb *MeshBuildingBlockV2) DeletionSuccessful() (done bool, err error)
type MeshBuildingBlockV2Client ¶ added in v0.17.0
type MeshBuildingBlockV2Client struct {
// contains filtered or unexported fields
}
func (MeshBuildingBlockV2Client) Create ¶ added in v0.17.0
func (c MeshBuildingBlockV2Client) Create(ctx context.Context, bb *MeshBuildingBlockV2Create) (*MeshBuildingBlockV2, error)
func (MeshBuildingBlockV2Client) Delete ¶ added in v0.17.0
func (c MeshBuildingBlockV2Client) Delete(ctx context.Context, uuid string) error
func (MeshBuildingBlockV2Client) Read ¶ added in v0.17.0
func (c MeshBuildingBlockV2Client) Read(ctx context.Context, uuid string) (*MeshBuildingBlockV2, error)
func (MeshBuildingBlockV2Client) ReadFunc ¶ added in v0.17.0
func (c MeshBuildingBlockV2Client) ReadFunc(uuid string) func(ctx context.Context) (*MeshBuildingBlockV2, error)
type MeshBuildingBlockV2Create ¶ added in v0.7.0
type MeshBuildingBlockV2Create struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Spec MeshBuildingBlockV2Spec `json:"spec" tfsdk:"spec"`
}
type MeshBuildingBlockV2DefinitionVersionRef ¶ added in v0.7.0
type MeshBuildingBlockV2DefinitionVersionRef struct {
Uuid string `json:"uuid" tfsdk:"uuid"`
}
type MeshBuildingBlockV2Metadata ¶ added in v0.7.0
type MeshBuildingBlockV2Metadata struct {
Uuid string `json:"uuid" tfsdk:"uuid"`
OwnedByWorkspace string `json:"ownedByWorkspace" tfsdk:"owned_by_workspace"`
CreatedOn string `json:"createdOn" tfsdk:"created_on"`
MarkedForDeletionOn *string `json:"markedForDeletionOn" tfsdk:"marked_for_deletion_on"`
MarkedForDeletionBy *string `json:"markedForDeletionBy" tfsdk:"marked_for_deletion_by"`
}
type MeshBuildingBlockV2Spec ¶ added in v0.7.0
type MeshBuildingBlockV2Spec struct {
BuildingBlockDefinitionVersionRef MeshBuildingBlockV2DefinitionVersionRef `json:"buildingBlockDefinitionVersionRef" tfsdk:"building_block_definition_version_ref"`
TargetRef MeshBuildingBlockV2TargetRef `json:"targetRef" tfsdk:"target_ref"`
DisplayName string `json:"displayName" tfsdk:"display_name"`
Inputs []MeshBuildingBlockIO `json:"inputs" tfsdk:"inputs"`
ParentBuildingBlocks []MeshBuildingBlockParent `json:"parentBuildingBlocks" tfsdk:"parent_building_blocks"`
}
type MeshBuildingBlockV2Status ¶ added in v0.7.0
type MeshBuildingBlockV2Status struct {
Status string `json:"status" tfsdk:"status"`
Outputs []MeshBuildingBlockIO `json:"outputs" tfsdk:"outputs"`
ForcePurge bool `json:"forcePurge" tfsdk:"force_purge"`
}
type MeshBuildingBlockV2TargetRef ¶ added in v0.7.0
type MeshIntegration ¶ added in v0.16.0
type MeshIntegration struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshIntegrationMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshIntegrationSpec `json:"spec" tfsdk:"spec"`
Status *MeshIntegrationStatus `json:"status,omitempty" tfsdk:"status"`
}
type MeshIntegrationAzureDevopsConfig ¶ added in v0.16.0
type MeshIntegrationAzureDevopsConfig struct {
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
Organization string `json:"organization" tfsdk:"organization"`
PersonalAccessToken string `json:"personalAccessToken" tfsdk:"personal_access_token"`
RunnerRef BuildingBlockRunnerRef `json:"runnerRef" tfsdk:"runner_ref"`
}
Azure DevOps Integration.
type MeshIntegrationClient ¶ added in v0.17.0
type MeshIntegrationClient struct {
// contains filtered or unexported fields
}
func (MeshIntegrationClient) List ¶ added in v0.17.0
func (c MeshIntegrationClient) List(ctx context.Context) ([]MeshIntegration, error)
func (MeshIntegrationClient) Read ¶ added in v0.17.0
func (c MeshIntegrationClient) Read(ctx context.Context, workspace string, uuid string) (*MeshIntegration, error)
type MeshIntegrationConfig ¶ added in v0.16.0
type MeshIntegrationConfig struct {
Type string `json:"type" tfsdk:"type"`
Github *MeshIntegrationGithubConfig `json:"github,omitempty" tfsdk:"github"`
Gitlab *MeshIntegrationGitlabConfig `json:"gitlab,omitempty" tfsdk:"gitlab"`
AzureDevops *MeshIntegrationAzureDevopsConfig `json:"azuredevops,omitempty" tfsdk:"azuredevops"`
}
Integration Config wrapper with type discrimination.
type MeshIntegrationGithubConfig ¶ added in v0.16.0
type MeshIntegrationGithubConfig struct {
Owner string `json:"owner" tfsdk:"owner"`
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
AppId string `json:"appId" tfsdk:"app_id"`
AppPrivateKey string `json:"appPrivateKey" tfsdk:"app_private_key"`
RunnerRef BuildingBlockRunnerRef `json:"runnerRef" tfsdk:"runner_ref"`
}
GitHub Integration.
type MeshIntegrationGitlabConfig ¶ added in v0.16.0
type MeshIntegrationGitlabConfig struct {
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
RunnerRef BuildingBlockRunnerRef `json:"runnerRef" tfsdk:"runner_ref"`
}
GitLab Integration.
type MeshIntegrationMetadata ¶ added in v0.16.0
type MeshIntegrationSpec ¶ added in v0.16.0
type MeshIntegrationSpec struct {
DisplayName string `json:"displayName" tfsdk:"display_name"`
Config MeshIntegrationConfig `json:"config" tfsdk:"config"`
}
type MeshIntegrationStatus ¶ added in v0.16.0
type MeshIntegrationStatus struct {
IsBuiltIn bool `json:"isBuiltIn" tfsdk:"is_built_in"`
WorkloadIdentityFederation *MeshWorkloadIdentityFederation `json:"workloadIdentityFederation,omitempty" tfsdk:"workload_identity_federation"`
}
type MeshLandingZone ¶ added in v0.11.0
type MeshLandingZone struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshLandingZoneMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshLandingZoneSpec `json:"spec" tfsdk:"spec"`
Status MeshLandingZoneStatus `json:"status" tfsdk:"status"`
}
type MeshLandingZoneClient ¶ added in v0.17.0
type MeshLandingZoneClient struct {
// contains filtered or unexported fields
}
func (MeshLandingZoneClient) Create ¶ added in v0.17.0
func (c MeshLandingZoneClient) Create(ctx context.Context, landingZone *MeshLandingZoneCreate) (*MeshLandingZone, error)
func (MeshLandingZoneClient) Delete ¶ added in v0.17.0
func (c MeshLandingZoneClient) Delete(ctx context.Context, name string) error
func (MeshLandingZoneClient) Read ¶ added in v0.17.0
func (c MeshLandingZoneClient) Read(ctx context.Context, name string) (*MeshLandingZone, error)
func (MeshLandingZoneClient) Update ¶ added in v0.17.0
func (c MeshLandingZoneClient) Update(ctx context.Context, name string, landingZone *MeshLandingZoneCreate) (*MeshLandingZone, error)
type MeshLandingZoneCreate ¶ added in v0.11.0
type MeshLandingZoneCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshLandingZoneMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshLandingZoneSpec `json:"spec" tfsdk:"spec"`
}
type MeshLandingZoneMetadata ¶ added in v0.11.0
type MeshLandingZonePlatformProperties ¶ added in v0.13.0
type MeshLandingZonePlatformProperties struct {
Type string `json:"type" tfsdk:"type"`
Aws *AwsPlatformProperties `json:"aws" tfsdk:"aws"`
Aks *AksPlatformProperties `json:"aks" tfsdk:"aks"`
Azure *AzurePlatformProperties `json:"azure" tfsdk:"azure"`
AzureRg *AzureRgPlatformProperties `json:"azurerg" tfsdk:"azurerg"`
Gcp *GcpPlatformProperties `json:"gcp" tfsdk:"gcp"`
Kubernetes *KubernetesPlatformProperties `json:"kubernetes" tfsdk:"kubernetes"`
OpenShift *OpenShiftPlatformProperties `json:"openshift" tfsdk:"openshift"`
}
type MeshLandingZonePlatformRef ¶ added in v0.13.0
type MeshLandingZoneQuota ¶ added in v0.13.0
type MeshLandingZoneSpec ¶ added in v0.11.0
type MeshLandingZoneSpec struct {
DisplayName string `json:"displayName" tfsdk:"display_name"`
Description string `json:"description" tfsdk:"description"`
AutomateDeletionApproval bool `json:"automateDeletionApproval" tfsdk:"automate_deletion_approval"`
AutomateDeletionReplication bool `json:"automateDeletionReplication" tfsdk:"automate_deletion_replication"`
InfoLink *string `json:"infoLink,omitempty" tfsdk:"info_link"`
PlatformRef MeshLandingZonePlatformRef `json:"platformRef" tfsdk:"platform_ref"`
PlatformProperties *MeshLandingZonePlatformProperties `json:"platformProperties,omitempty" tfsdk:"platform_properties"`
Quotas []MeshLandingZoneQuota `json:"quotas" tfsdk:"quotas"`
MandatoryBuildingBlockRefs []MeshBuildingBlockDefinitionRef `json:"mandatoryBuildingBlockRefs" tfsdk:"mandatory_building_block_refs"`
RecommendedBuildingBlockRefs []MeshBuildingBlockDefinitionRef `json:"recommendedBuildingBlockRefs" tfsdk:"recommended_building_block_refs"`
}
type MeshLandingZoneStatus ¶ added in v0.11.0
type MeshLocation ¶ added in v0.16.4
type MeshLocation struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshLocationMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshLocationSpec `json:"spec" tfsdk:"spec"`
Status MeshLocationStatus `json:"status" tfsdk:"status"`
}
type MeshLocationClient ¶ added in v0.17.0
type MeshLocationClient struct {
// contains filtered or unexported fields
}
func (MeshLocationClient) Create ¶ added in v0.17.0
func (c MeshLocationClient) Create(ctx context.Context, location *MeshLocationCreate) (*MeshLocation, error)
func (MeshLocationClient) Delete ¶ added in v0.17.0
func (c MeshLocationClient) Delete(ctx context.Context, name string) error
func (MeshLocationClient) Read ¶ added in v0.17.0
func (c MeshLocationClient) Read(ctx context.Context, name string) (*MeshLocation, error)
func (MeshLocationClient) Update ¶ added in v0.17.0
func (c MeshLocationClient) Update(ctx context.Context, name string, location *MeshLocationCreate) (*MeshLocation, error)
type MeshLocationCreate ¶ added in v0.16.4
type MeshLocationCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshLocationCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshLocationSpec `json:"spec" tfsdk:"spec"`
}
type MeshLocationCreateMetadata ¶ added in v0.16.4
type MeshLocationCreateMetadata struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshLocationMetadata ¶ added in v0.16.4
type MeshLocationSpec ¶ added in v0.16.4
type MeshLocationStatus ¶ added in v0.16.4
type MeshLocationStatus struct {
IsPublic bool `json:"isPublic" tfsdk:"is_public"`
}
type MeshPaymentMethod ¶ added in v0.14.0
type MeshPaymentMethod struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshPaymentMethodMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPaymentMethodSpec `json:"spec" tfsdk:"spec"`
}
type MeshPaymentMethodClient ¶ added in v0.17.0
type MeshPaymentMethodClient struct {
// contains filtered or unexported fields
}
func (MeshPaymentMethodClient) Create ¶ added in v0.17.0
func (c MeshPaymentMethodClient) Create(ctx context.Context, paymentMethod *MeshPaymentMethodCreate) (*MeshPaymentMethod, error)
func (MeshPaymentMethodClient) Delete ¶ added in v0.17.0
func (c MeshPaymentMethodClient) Delete(ctx context.Context, identifier string) error
func (MeshPaymentMethodClient) Read ¶ added in v0.17.0
func (c MeshPaymentMethodClient) Read(ctx context.Context, workspace string, identifier string) (*MeshPaymentMethod, error)
func (MeshPaymentMethodClient) Update ¶ added in v0.17.0
func (c MeshPaymentMethodClient) Update(ctx context.Context, identifier string, paymentMethod *MeshPaymentMethodCreate) (*MeshPaymentMethod, error)
type MeshPaymentMethodCreate ¶ added in v0.14.0
type MeshPaymentMethodCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshPaymentMethodCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPaymentMethodSpec `json:"spec" tfsdk:"spec"`
}
type MeshPaymentMethodCreateMetadata ¶ added in v0.14.0
type MeshPaymentMethodMetadata ¶ added in v0.14.0
type MeshPaymentMethodSpec ¶ added in v0.14.0
type MeshPlatform ¶ added in v0.12.0
type MeshPlatform struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshPlatformMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPlatformSpec `json:"spec" tfsdk:"spec"`
}
type MeshPlatformClient ¶ added in v0.17.0
type MeshPlatformClient struct {
// contains filtered or unexported fields
}
func (MeshPlatformClient) Create ¶ added in v0.17.0
func (c MeshPlatformClient) Create(ctx context.Context, platform *MeshPlatformCreate) (*MeshPlatform, error)
func (MeshPlatformClient) Delete ¶ added in v0.17.0
func (c MeshPlatformClient) Delete(ctx context.Context, uuid string) error
func (MeshPlatformClient) Read ¶ added in v0.17.0
func (c MeshPlatformClient) Read(ctx context.Context, uuid string) (*MeshPlatform, error)
func (MeshPlatformClient) Update ¶ added in v0.17.0
func (c MeshPlatformClient) Update(ctx context.Context, uuid string, platform *MeshPlatformUpdate) (*MeshPlatform, error)
type MeshPlatformCreate ¶ added in v0.12.0
type MeshPlatformCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshPlatformCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPlatformSpec `json:"spec" tfsdk:"spec"`
}
type MeshPlatformCreateMetadata ¶ added in v0.12.0
type MeshPlatformMetadata ¶ added in v0.12.0
type MeshPlatformMetadata struct {
Name string `json:"name" tfsdk:"name"`
OwnedByWorkspace string `json:"ownedByWorkspace" tfsdk:"owned_by_workspace"`
Uuid string `json:"uuid" tfsdk:"uuid"`
CreatedOn string `json:"createdOn" tfsdk:"created_on"`
DeletedOn *string `json:"deletedOn" tfsdk:"deleted_on"`
}
type MeshPlatformMeteringProcessingConfig ¶ added in v0.13.0
type MeshPlatformSpec ¶ added in v0.12.0
type MeshPlatformSpec struct {
DisplayName string `json:"displayName" tfsdk:"display_name"`
Description string `json:"description" tfsdk:"description"`
Endpoint string `json:"endpoint" tfsdk:"endpoint"`
SupportUrl *string `json:"supportUrl,omitempty" tfsdk:"support_url"`
DocumentationUrl *string `json:"documentationUrl,omitempty" tfsdk:"documentation_url"`
LocationRef LocationRef `json:"locationRef" tfsdk:"location_ref"`
ContributingWorkspaces []string `json:"contributingWorkspaces" tfsdk:"contributing_workspaces"`
Availability PlatformAvailability `json:"availability" tfsdk:"availability"`
Config PlatformConfig `json:"config" tfsdk:"config"`
QuotaDefinitions []QuotaDefinition `json:"quotaDefinitions" tfsdk:"quota_definitions"`
}
type MeshPlatformType ¶ added in v0.17.0
type MeshPlatformType struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshPlatformTypeMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPlatformTypeSpec `json:"spec" tfsdk:"spec"`
Status MeshPlatformTypeStatus `json:"status" tfsdk:"status"`
}
type MeshPlatformTypeClient ¶ added in v0.17.0
type MeshPlatformTypeClient struct {
// contains filtered or unexported fields
}
func (MeshPlatformTypeClient) Create ¶ added in v0.17.0
func (c MeshPlatformTypeClient) Create(ctx context.Context, platformType *MeshPlatformTypeCreate) (*MeshPlatformType, error)
func (MeshPlatformTypeClient) Delete ¶ added in v0.17.0
func (c MeshPlatformTypeClient) Delete(ctx context.Context, name string) error
func (MeshPlatformTypeClient) List ¶ added in v0.17.0
func (c MeshPlatformTypeClient) List(ctx context.Context, category *string, lifecycleStatus *string) ([]MeshPlatformType, error)
func (MeshPlatformTypeClient) Read ¶ added in v0.17.0
func (c MeshPlatformTypeClient) Read(ctx context.Context, identifier string) (*MeshPlatformType, error)
func (MeshPlatformTypeClient) Update ¶ added in v0.17.0
func (c MeshPlatformTypeClient) Update(ctx context.Context, name string, platformType *MeshPlatformTypeCreate) (*MeshPlatformType, error)
type MeshPlatformTypeCreate ¶ added in v0.17.0
type MeshPlatformTypeCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshPlatformTypeCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPlatformTypeSpec `json:"spec" tfsdk:"spec"`
}
type MeshPlatformTypeCreateMetadata ¶ added in v0.17.0
type MeshPlatformTypeCreateMetadata struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshPlatformTypeLifecycle ¶ added in v0.17.0
type MeshPlatformTypeLifecycle struct {
State string `json:"state" tfsdk:"state"`
}
type MeshPlatformTypeMetadata ¶ added in v0.17.0
type MeshPlatformTypeSpec ¶ added in v0.17.0
type MeshPlatformTypeStatus ¶ added in v0.17.0
type MeshPlatformTypeStatus struct {
Lifecycle MeshPlatformTypeLifecycle `json:"lifecycle" tfsdk:"lifecycle"`
}
type MeshPlatformUpdate ¶ added in v0.12.0
type MeshPlatformUpdate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshPlatformUpdateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshPlatformSpec `json:"spec" tfsdk:"spec"`
}
type MeshPlatformUpdateMetadata ¶ added in v0.12.0
type MeshProject ¶
type MeshProject struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshProjectMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshProjectSpec `json:"spec" tfsdk:"spec"`
}
type MeshProjectBinding ¶ added in v0.4.0
type MeshProjectBinding struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshProjectBindingMetadata `json:"metadata" tfsdk:"metadata"`
RoleRef MeshProjectRoleRef `json:"roleRef" tfsdk:"role_ref"`
TargetRef MeshProjectTargetRef `json:"targetRef" tfsdk:"target_ref"`
Subject MeshSubject `json:"subject" tfsdk:"subject"`
}
type MeshProjectBindingMetadata ¶ added in v0.4.0
type MeshProjectBindingMetadata struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshProjectClient ¶ added in v0.17.0
type MeshProjectClient struct {
// contains filtered or unexported fields
}
func (MeshProjectClient) Create ¶ added in v0.17.0
func (c MeshProjectClient) Create(ctx context.Context, project *MeshProjectCreate) (*MeshProject, error)
func (MeshProjectClient) List ¶ added in v0.17.0
func (c MeshProjectClient) List(ctx context.Context, workspaceIdentifier string, paymentMethodIdentifier *string) ([]MeshProject, error)
func (MeshProjectClient) Read ¶ added in v0.17.0
func (c MeshProjectClient) Read(ctx context.Context, workspace string, name string) (*MeshProject, error)
func (MeshProjectClient) Update ¶ added in v0.17.0
func (c MeshProjectClient) Update(ctx context.Context, project *MeshProjectCreate) (*MeshProject, error)
type MeshProjectCreate ¶
type MeshProjectCreate struct {
Metadata MeshProjectCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshProjectSpec `json:"spec" tfsdk:"spec"`
}
type MeshProjectGroupBinding ¶ added in v0.4.0
type MeshProjectGroupBinding struct {
MeshProjectBinding
}
type MeshProjectGroupBindingClient ¶ added in v0.17.0
type MeshProjectGroupBindingClient struct {
// contains filtered or unexported fields
}
func (MeshProjectGroupBindingClient) Create ¶ added in v0.17.0
func (c MeshProjectGroupBindingClient) Create(ctx context.Context, binding *MeshProjectGroupBinding) (*MeshProjectGroupBinding, error)
func (MeshProjectGroupBindingClient) Delete ¶ added in v0.17.0
func (c MeshProjectGroupBindingClient) Delete(ctx context.Context, name string) error
func (MeshProjectGroupBindingClient) Read ¶ added in v0.17.0
func (c MeshProjectGroupBindingClient) Read(ctx context.Context, name string) (*MeshProjectGroupBinding, error)
type MeshProjectMetadata ¶
type MeshProjectRoleRef
deprecated
type MeshProjectRoleRef struct {
Name string `json:"name" tfsdk:"name"`
}
Deprecated: Use MeshProjectRoleRefV2 if possible. The convention is to also provide the `kind`, so this struct should only be used for meshobjects that violate our API conventions.
type MeshProjectRoleRefV2 ¶ added in v0.11.0
type MeshProjectSpec ¶
type MeshProjectSpec struct {
DisplayName string `json:"displayName" tfsdk:"display_name"`
Tags map[string][]string `json:"tags" tfsdk:"tags"`
PaymentMethodIdentifier *string `json:"paymentMethodIdentifier" tfsdk:"payment_method_identifier"`
SubstitutePaymentMethodIdentifier *string `json:"substitutePaymentMethodIdentifier" tfsdk:"substitute_payment_method_identifier"`
}
type MeshProjectTargetRef ¶
type MeshProjectUserBinding ¶
type MeshProjectUserBinding struct {
MeshProjectBinding
}
type MeshProjectUserBindingClient ¶ added in v0.17.0
type MeshProjectUserBindingClient struct {
// contains filtered or unexported fields
}
func (MeshProjectUserBindingClient) Create ¶ added in v0.17.0
func (c MeshProjectUserBindingClient) Create(ctx context.Context, binding *MeshProjectUserBinding) (*MeshProjectUserBinding, error)
func (MeshProjectUserBindingClient) Delete ¶ added in v0.17.0
func (c MeshProjectUserBindingClient) Delete(ctx context.Context, name string) error
func (MeshProjectUserBindingClient) Read ¶ added in v0.17.0
func (c MeshProjectUserBindingClient) Read(ctx context.Context, name string) (*MeshProjectUserBinding, error)
type MeshSubject ¶
type MeshSubject struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshTagDefinition ¶ added in v0.6.0
type MeshTagDefinition struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshTagDefinitionMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshTagDefinitionSpec `json:"spec" tfsdk:"spec"`
}
type MeshTagDefinitionClient ¶ added in v0.17.0
type MeshTagDefinitionClient struct {
// contains filtered or unexported fields
}
func (MeshTagDefinitionClient) Create ¶ added in v0.17.0
func (c MeshTagDefinitionClient) Create(ctx context.Context, tagDefinition *MeshTagDefinition) (*MeshTagDefinition, error)
func (MeshTagDefinitionClient) Delete ¶ added in v0.17.0
func (c MeshTagDefinitionClient) Delete(ctx context.Context, name string) error
func (MeshTagDefinitionClient) List ¶ added in v0.17.0
func (c MeshTagDefinitionClient) List(ctx context.Context) ([]MeshTagDefinition, error)
func (MeshTagDefinitionClient) Read ¶ added in v0.17.0
func (c MeshTagDefinitionClient) Read(ctx context.Context, name string) (*MeshTagDefinition, error)
func (MeshTagDefinitionClient) Update ¶ added in v0.17.0
func (c MeshTagDefinitionClient) Update(ctx context.Context, tagDefinition *MeshTagDefinition) (*MeshTagDefinition, error)
type MeshTagDefinitionMetadata ¶ added in v0.6.0
type MeshTagDefinitionMetadata struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshTagDefinitionSpec ¶ added in v0.6.0
type MeshTagDefinitionSpec struct {
TargetKind string `json:"targetKind" tfsdk:"target_kind"`
Key string `json:"key" tfsdk:"key"`
ValueType MeshTagDefinitionValueType `json:"valueType" tfsdk:"value_type"`
Description string `json:"description" tfsdk:"description"`
DisplayName string `json:"displayName" tfsdk:"display_name"`
SortOrder int64 `json:"sortOrder" tfsdk:"sort_order"`
Mandatory bool `json:"mandatory" tfsdk:"mandatory"`
Immutable bool `json:"immutable" tfsdk:"immutable"`
Restricted bool `json:"restricted" tfsdk:"restricted"`
ReplicationKey *string `json:"replicationKey,omitempty" tfsdk:"replication_key"`
}
type MeshTagDefinitionValueType ¶ added in v0.6.0
type MeshTagDefinitionValueType struct {
String *TagValueString `json:"string,omitempty" tfsdk:"string"`
Email *TagValueEmail `json:"email,omitempty" tfsdk:"email"`
Integer *TagValueInteger `json:"integer,omitempty" tfsdk:"integer"`
Number *TagValueNumber `json:"number,omitempty" tfsdk:"number"`
SingleSelect *TagValueSingleSelect `json:"singleSelect,omitempty" tfsdk:"single_select"`
MultiSelect *TagValueMultiSelect `json:"multiSelect,omitempty" tfsdk:"multi_select"`
}
type MeshTenant ¶
type MeshTenant struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshTenantMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshTenantSpec `json:"spec" tfsdk:"spec"`
}
type MeshTenantClient ¶ added in v0.17.0
type MeshTenantClient struct {
// contains filtered or unexported fields
}
func (MeshTenantClient) Create ¶ added in v0.17.0
func (c MeshTenantClient) Create(ctx context.Context, tenant *MeshTenantCreate) (*MeshTenant, error)
func (MeshTenantClient) Read ¶ added in v0.17.0
func (c MeshTenantClient) Read(ctx context.Context, workspace string, project string, platform string) (*MeshTenant, error)
type MeshTenantCreate ¶
type MeshTenantCreate struct {
Metadata MeshTenantCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshTenantCreateSpec `json:"spec" tfsdk:"spec"`
}
type MeshTenantCreateSpec ¶
type MeshTenantCreateSpec struct {
LocalId *string `json:"localId" tfsdk:"local_id"`
LandingZoneIdentifier *string `json:"landingZoneIdentifier" tfsdk:"landing_zone_identifier"`
Quotas *[]MeshTenantQuota `json:"quotas" tfsdk:"quotas"`
}
type MeshTenantMetadata ¶
type MeshTenantMetadata struct {
OwnedByProject string `json:"ownedByProject" tfsdk:"owned_by_project"`
OwnedByWorkspace string `json:"ownedByWorkspace" tfsdk:"owned_by_workspace"`
PlatformIdentifier string `json:"platformIdentifier" tfsdk:"platform_identifier"`
AssignedTags map[string][]string `json:"assignedTags" tfsdk:"assigned_tags"`
DeletedOn *string `json:"deletedOn" tfsdk:"deleted_on"`
}
type MeshTenantQuota ¶
type MeshTenantSpec ¶
type MeshTenantSpec struct {
LocalId *string `json:"localId" tfsdk:"local_id"`
LandingZoneIdentifier string `json:"landingZoneIdentifier" tfsdk:"landing_zone_identifier"`
Quotas []MeshTenantQuota `json:"quotas" tfsdk:"quotas"`
}
type MeshTenantTags ¶ added in v0.13.0
type MeshTenantV4 ¶ added in v0.8.0
type MeshTenantV4 struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshTenantV4Metadata `json:"metadata" tfsdk:"metadata"`
Spec MeshTenantV4Spec `json:"spec" tfsdk:"spec"`
Status MeshTenantV4Status `json:"status" tfsdk:"status"`
}
func (*MeshTenantV4) CreationSuccessful ¶ added in v0.17.0
func (tenant *MeshTenantV4) CreationSuccessful() (done bool, err error)
func (*MeshTenantV4) DeletionSuccessful ¶ added in v0.17.0
func (tenant *MeshTenantV4) DeletionSuccessful() (done bool, err error)
type MeshTenantV4Client ¶ added in v0.17.0
type MeshTenantV4Client struct {
// contains filtered or unexported fields
}
func (MeshTenantV4Client) Create ¶ added in v0.17.0
func (c MeshTenantV4Client) Create(ctx context.Context, tenant *MeshTenantV4Create) (*MeshTenantV4, error)
func (MeshTenantV4Client) Delete ¶ added in v0.17.0
func (c MeshTenantV4Client) Delete(ctx context.Context, uuid string) error
func (MeshTenantV4Client) Read ¶ added in v0.17.0
func (c MeshTenantV4Client) Read(ctx context.Context, uuid string) (*MeshTenantV4, error)
func (MeshTenantV4Client) ReadFunc ¶ added in v0.17.0
func (c MeshTenantV4Client) ReadFunc(uuid string) func(ctx context.Context) (*MeshTenantV4, error)
type MeshTenantV4Create ¶ added in v0.8.0
type MeshTenantV4Create struct {
Metadata MeshTenantV4CreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshTenantV4CreateSpec `json:"spec" tfsdk:"spec"`
}
type MeshTenantV4CreateMetadata ¶ added in v0.8.0
type MeshTenantV4CreateSpec ¶ added in v0.8.0
type MeshTenantV4CreateSpec struct {
PlatformIdentifier string `json:"platformIdentifier" tfsdk:"platform_identifier"`
LandingZoneIdentifier *string `json:"landingZoneIdentifier" tfsdk:"landing_zone_identifier"`
PlatformTenantId *string `json:"platformTenantId" tfsdk:"platform_tenant_id"`
Quotas *[]MeshTenantQuota `json:"quotas" tfsdk:"quotas"`
}
type MeshTenantV4Metadata ¶ added in v0.8.0
type MeshTenantV4Metadata struct {
Uuid string `json:"uuid" tfsdk:"uuid"`
OwnedByProject string `json:"ownedByProject" tfsdk:"owned_by_project"`
OwnedByWorkspace string `json:"ownedByWorkspace" tfsdk:"owned_by_workspace"`
CreatedOn string `json:"createdOn" tfsdk:"created_on"`
MarkedForDeletionOn *string `json:"markedForDeletionOn" tfsdk:"marked_for_deletion_on"`
DeletedOn *string `json:"deletedOn" tfsdk:"deleted_on"`
}
type MeshTenantV4Spec ¶ added in v0.8.0
type MeshTenantV4Spec struct {
PlatformIdentifier string `json:"platformIdentifier" tfsdk:"platform_identifier"`
PlatformTenantId *string `json:"platformTenantId" tfsdk:"platform_tenant_id"`
LandingZoneIdentifier *string `json:"landingZoneIdentifier" tfsdk:"landing_zone_identifier"`
Quotas *[]MeshTenantQuota `json:"quotas" tfsdk:"quotas"`
}
type MeshTenantV4Status ¶ added in v0.8.0
type MeshTenantV4Status struct {
TenantName string `json:"tenantName" tfsdk:"tenant_name"`
PlatformTypeIdentifier string `json:"platformTypeIdentifier" tfsdk:"platform_type_identifier"`
PlatformWorkspaceIdentifier *string `json:"platformWorkspaceIdentifier" tfsdk:"platform_workspace_identifier"`
Tags map[string][]string `json:"tags" tfsdk:"tags"`
}
type MeshWifProvider ¶ added in v0.16.0
type MeshWifProvider struct {
Audience string `json:"audience" tfsdk:"audience"`
}
type MeshWorkloadIdentityFederation ¶ added in v0.16.0
type MeshWorkloadIdentityFederation struct {
Issuer string `json:"issuer" tfsdk:"issuer"`
Subject string `json:"subject" tfsdk:"subject"`
Gcp *MeshWifProvider `json:"gcp,omitempty" tfsdk:"gcp"`
Aws *MeshAwsWifProvider `json:"aws,omitempty" tfsdk:"aws"`
Azure *MeshWifProvider `json:"azure,omitempty" tfsdk:"azure"`
}
Workload Identity Federation.
type MeshWorkspace ¶ added in v0.8.0
type MeshWorkspace struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshWorkspaceMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshWorkspaceSpec `json:"spec" tfsdk:"spec"`
}
type MeshWorkspaceBinding ¶ added in v0.10.0
type MeshWorkspaceBinding struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Kind string `json:"kind" tfsdk:"kind"`
Metadata MeshWorkspaceBindingMetadata `json:"metadata" tfsdk:"metadata"`
RoleRef MeshWorkspaceRoleRef `json:"roleRef" tfsdk:"role_ref"`
TargetRef MeshWorkspaceTargetRef `json:"targetRef" tfsdk:"target_ref"`
Subject MeshWorkspaceSubject `json:"subject" tfsdk:"subject"`
}
type MeshWorkspaceBindingMetadata ¶ added in v0.10.0
type MeshWorkspaceBindingMetadata struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshWorkspaceClient ¶ added in v0.17.0
type MeshWorkspaceClient struct {
// contains filtered or unexported fields
}
func (MeshWorkspaceClient) Create ¶ added in v0.17.0
func (c MeshWorkspaceClient) Create(ctx context.Context, workspace *MeshWorkspaceCreate) (*MeshWorkspace, error)
func (MeshWorkspaceClient) Delete ¶ added in v0.17.0
func (c MeshWorkspaceClient) Delete(ctx context.Context, name string) error
func (MeshWorkspaceClient) Read ¶ added in v0.17.0
func (c MeshWorkspaceClient) Read(ctx context.Context, name string) (*MeshWorkspace, error)
func (MeshWorkspaceClient) Update ¶ added in v0.17.0
func (c MeshWorkspaceClient) Update(ctx context.Context, name string, workspace *MeshWorkspaceCreate) (*MeshWorkspace, error)
type MeshWorkspaceCreate ¶ added in v0.8.0
type MeshWorkspaceCreate struct {
ApiVersion string `json:"apiVersion" tfsdk:"api_version"`
Metadata MeshWorkspaceCreateMetadata `json:"metadata" tfsdk:"metadata"`
Spec MeshWorkspaceSpec `json:"spec" tfsdk:"spec"`
}
type MeshWorkspaceCreateMetadata ¶ added in v0.8.0
type MeshWorkspaceGroupBinding ¶ added in v0.10.0
type MeshWorkspaceGroupBinding struct {
MeshWorkspaceBinding
}
type MeshWorkspaceGroupBindingClient ¶ added in v0.17.0
type MeshWorkspaceGroupBindingClient struct {
// contains filtered or unexported fields
}
func (MeshWorkspaceGroupBindingClient) Create ¶ added in v0.17.0
func (c MeshWorkspaceGroupBindingClient) Create(ctx context.Context, binding *MeshWorkspaceGroupBinding) (*MeshWorkspaceGroupBinding, error)
func (MeshWorkspaceGroupBindingClient) Delete ¶ added in v0.17.0
func (c MeshWorkspaceGroupBindingClient) Delete(ctx context.Context, name string) error
func (MeshWorkspaceGroupBindingClient) Read ¶ added in v0.17.0
func (c MeshWorkspaceGroupBindingClient) Read(ctx context.Context, name string) (*MeshWorkspaceGroupBinding, error)
type MeshWorkspaceMetadata ¶ added in v0.8.0
type MeshWorkspaceRoleRef ¶ added in v0.10.0
type MeshWorkspaceRoleRef struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshWorkspaceSpec ¶ added in v0.8.0
type MeshWorkspaceSubject ¶ added in v0.10.0
type MeshWorkspaceSubject struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshWorkspaceTargetRef ¶ added in v0.10.0
type MeshWorkspaceTargetRef struct {
Name string `json:"name" tfsdk:"name"`
}
type MeshWorkspaceUserBinding ¶ added in v0.10.0
type MeshWorkspaceUserBinding struct {
MeshWorkspaceBinding
}
type MeshWorkspaceUserBindingClient ¶ added in v0.17.0
type MeshWorkspaceUserBindingClient struct {
// contains filtered or unexported fields
}
func (MeshWorkspaceUserBindingClient) Create ¶ added in v0.17.0
func (c MeshWorkspaceUserBindingClient) Create(ctx context.Context, binding *MeshWorkspaceUserBinding) (*MeshWorkspaceUserBinding, error)
func (MeshWorkspaceUserBindingClient) Delete ¶ added in v0.17.0
func (c MeshWorkspaceUserBindingClient) Delete(ctx context.Context, name string) error
func (MeshWorkspaceUserBindingClient) Read ¶ added in v0.17.0
func (c MeshWorkspaceUserBindingClient) Read(ctx context.Context, name string) (*MeshWorkspaceUserBinding, error)
type OpenShiftMeteringConfig ¶ added in v0.13.0
type OpenShiftMeteringConfig struct {
ClientConfig KubernetesClientConfig `json:"clientConfig" tfsdk:"client_config"`
Processing MeshPlatformMeteringProcessingConfig `json:"processing" tfsdk:"processing"`
}
type OpenShiftPlatformConfig ¶ added in v0.12.0
type OpenShiftPlatformConfig struct {
BaseUrl string `json:"baseUrl" tfsdk:"base_url"`
DisableSslValidation bool `json:"disableSslValidation" tfsdk:"disable_ssl_validation"`
Replication *OpenShiftReplicationConfig `json:"replication" tfsdk:"replication"`
Metering *OpenShiftMeteringConfig `json:"metering,omitempty" tfsdk:"metering"`
}
type OpenShiftPlatformProperties ¶ added in v0.11.0
type OpenShiftPlatformProperties struct {
OpenShiftTemplate *string `json:"openShiftTemplate,omitempty" tfsdk:"openshift_template"`
}
type OpenShiftPlatformRoleMapping ¶ added in v0.12.0
type OpenShiftPlatformRoleMapping struct {
MeshProjectRoleRef MeshProjectRoleRefV2 `json:"projectRoleRef" tfsdk:"project_role_ref"`
OpenshiftRole string `json:"openshiftRole" tfsdk:"openshift_role"`
}
type OpenShiftReplicationConfig ¶ added in v0.12.0
type OpenShiftReplicationConfig struct {
ClientConfig KubernetesClientConfig `json:"clientConfig" tfsdk:"client_config"`
WebConsoleUrl *string `json:"webConsoleUrl,omitempty" tfsdk:"web_console_url"`
ProjectNamePattern string `json:"projectNamePattern" tfsdk:"project_name_pattern"`
EnableTemplateInstantiation bool `json:"enableTemplateInstantiation" tfsdk:"enable_template_instantiation"`
OpenshiftRoleMappings []OpenShiftPlatformRoleMapping `json:"openshiftRoleMappings" tfsdk:"openshift_role_mappings"`
IdentityProviderName string `json:"identityProviderName" tfsdk:"identity_provider_name"`
TenantTags *MeshTenantTags `json:"tenantTags,omitempty" tfsdk:"tenant_tags"`
}
type PlatformAvailability ¶ added in v0.12.0
type PlatformConfig ¶ added in v0.12.0
type PlatformConfig struct {
Type string `json:"type" tfsdk:"type"`
Aws *AwsPlatformConfig `json:"aws,omitempty" tfsdk:"aws"`
Aks *AksPlatformConfig `json:"aks,omitempty" tfsdk:"aks"`
Azure *AzurePlatformConfig `json:"azure,omitempty" tfsdk:"azure"`
AzureRg *AzureRgPlatformConfig `json:"azurerg,omitempty" tfsdk:"azurerg"`
Gcp *GcpPlatformConfig `json:"gcp,omitempty" tfsdk:"gcp"`
Kubernetes *KubernetesPlatformConfig `json:"kubernetes,omitempty" tfsdk:"kubernetes"`
OpenShift *OpenShiftPlatformConfig `json:"openshift,omitempty" tfsdk:"openshift"`
}
type QuotaDefinition ¶ added in v0.12.4
type QuotaDefinition struct {
QuotaKey string `json:"quotaKey" tfsdk:"quota_key"`
MinValue int `json:"minValue" tfsdk:"min_value"`
MaxValue int `json:"maxValue" tfsdk:"max_value"`
Unit string `json:"unit" tfsdk:"unit"`
AutoApprovalThreshold int `json:"autoApprovalThreshold" tfsdk:"auto_approval_threshold"`
Description string `json:"description" tfsdk:"description"`
Label string `json:"label" tfsdk:"label"`
}
type SecretEmbedded ¶ added in v0.16.0
type SecretEmbedded struct {
Plaintext *string `json:"plaintext,omitempty" tfsdk:"plaintext"`
}
type TagValueEmail ¶ added in v0.6.0
type TagValueInteger ¶ added in v0.6.0
type TagValueInteger struct {
DefaultValue *int64 `json:"defaultValue,omitempty" tfsdk:"default_value"`
}
type TagValueMultiSelect ¶ added in v0.6.0
type TagValueNumber ¶ added in v0.6.0
type TagValueNumber struct {
DefaultValue *float64 `json:"defaultValue,omitempty" tfsdk:"default_value"`
}
type TagValueSingleSelect ¶ added in v0.6.0
type TagValueString ¶ added in v0.6.0
Source Files
¶
- buildingblock.go
- buildingblock_v2.go
- client.go
- client_logging.go
- integrations.go
- landingzone.go
- location.go
- payment_method.go
- platform.go
- platform_config_aks.go
- platform_config_aws.go
- platform_config_azure.go
- platform_config_azurerg.go
- platform_config_gcp.go
- platform_config_kubernetes.go
- platform_config_openshift.go
- platform_properties_aks.go
- platform_properties_aws.go
- platform_properties_azure.go
- platform_properties_azurerg.go
- platform_properties_gcp.go
- platform_properties_kubernetes.go
- platform_properties_openshift.go
- platform_type.go
- project.go
- project_binding.go
- project_group_binding.go
- project_user_binding.go
- tag_definition.go
- tenant.go
- tenant_v4.go
- workspace.go
- workspace_binding.go
- workspace_group_binding.go
- workspace_user_binding.go
Click to show internal directories.
Click to hide internal directories.