Documentation
¶
Index ¶
- Constants
- Variables
- func AccessControlListGVK() apiv1.GroupVersionKind
- func ApplicationGVK() apiv1.GroupVersionKind
- func ApplicationProfileDefinitionGVK() apiv1.GroupVersionKind
- func ApplicationProfileGVK() apiv1.GroupVersionKind
- func AssetGVK() apiv1.GroupVersionKind
- func AssetMappingGVK() apiv1.GroupVersionKind
- func AssetReleaseGVK() apiv1.GroupVersionKind
- func AssetRequestDefinitionGVK() apiv1.GroupVersionKind
- func AssetRequestGVK() apiv1.GroupVersionKind
- func AssetResourceGVK() apiv1.GroupVersionKind
- func AssistedSearchGVK() apiv1.GroupVersionKind
- func AuthorizationProfileGVK() apiv1.GroupVersionKind
- func CategoryGVK() apiv1.GroupVersionKind
- func CategoryVisibilityGVK() apiv1.GroupVersionKind
- func ConsumerProductPlanVisibilityGVK() apiv1.GroupVersionKind
- func ConsumerProductVisibilityGVK() apiv1.GroupVersionKind
- func ConsumerStageVisibilityGVK() apiv1.GroupVersionKind
- func CredentialGVK() apiv1.GroupVersionKind
- func CredentialRequestDefinitionGVK() apiv1.GroupVersionKind
- func DocumentGVK() apiv1.GroupVersionKind
- func DocumentResourceGVK() apiv1.GroupVersionKind
- func DocumentTemplateGVK() apiv1.GroupVersionKind
- func MarketplaceGVK() apiv1.GroupVersionKind
- func ProductGVK() apiv1.GroupVersionKind
- func ProductOverviewGVK() apiv1.GroupVersionKind
- func ProductPlanGVK() apiv1.GroupVersionKind
- func ProductPlanJobGVK() apiv1.GroupVersionKind
- func ProductPlanUnitGVK() apiv1.GroupVersionKind
- func ProductPlanVisibilityGVK() apiv1.GroupVersionKind
- func ProductReleaseGVK() apiv1.GroupVersionKind
- func ProductReviewGVK() apiv1.GroupVersionKind
- func ProductVisibilityGVK() apiv1.GroupVersionKind
- func PublishedDocumentResourceGVK() apiv1.GroupVersionKind
- func PublishedProductGVK() apiv1.GroupVersionKind
- func PublishedStageGVK() apiv1.GroupVersionKind
- func QuotaGVK() apiv1.GroupVersionKind
- func ReleaseTagGVK() apiv1.GroupVersionKind
- func ResourceGVK() apiv1.GroupVersionKind
- func SecretGVK() apiv1.GroupVersionKind
- func StageGVK() apiv1.GroupVersionKind
- func StageVisibilityGVK() apiv1.GroupVersionKind
- func SubscriptionGVK() apiv1.GroupVersionKind
- func SubscriptionInvoiceGVK() apiv1.GroupVersionKind
- func SubscriptionJobGVK() apiv1.GroupVersionKind
- func SubscriptionRequestDefinitionGVK() apiv1.GroupVersionKind
- func SupportContactGVK() apiv1.GroupVersionKind
- func WebhookGVK() apiv1.GroupVersionKind
- type AccessControlList
- func (res *AccessControlList) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AccessControlList) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AccessControlList) MarshalJSON() ([]byte, error)
- func (res *AccessControlList) PluralName() string
- func (res *AccessControlList) UnmarshalJSON(data []byte) error
- type AccessControlListSpec
- type AccessControlListSpecAccessLevelScope
- type AccessControlListSpecAccessLevelScopedKind
- type AccessControlListSpecAccessLevelScopedResource
- type AccessControlListSpecRules
- type AccessControlListSpecSubjects
- type AccessLevelScope
- type AccessRules
- type Application
- type ApplicationMarketplace
- type ApplicationMarketplaceResource
- type ApplicationMarketplaceResourceMetadata
- type ApplicationMarketplaceResourceOwner
- type ApplicationMarketplaceResourceOwnerOrganization
- type ApplicationProfile
- func (res *ApplicationProfile) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ApplicationProfile) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ApplicationProfile) MarshalJSON() ([]byte, error)
- func (res *ApplicationProfile) PluralName() string
- func (res *ApplicationProfile) UnmarshalJSON(data []byte) error
- type ApplicationProfileDefinition
- func (res *ApplicationProfileDefinition) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ApplicationProfileDefinition) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ApplicationProfileDefinition) MarshalJSON() ([]byte, error)
- func (res *ApplicationProfileDefinition) PluralName() string
- func (res *ApplicationProfileDefinition) UnmarshalJSON(data []byte) error
- type ApplicationProfileDefinitionReferences
- type ApplicationProfileDefinitionSpec
- type ApplicationProfileMarketplace
- type ApplicationProfileMarketplaceResource
- type ApplicationProfileMarketplaceResourceMetadata
- type ApplicationProfileMarketplaceResourceOwner
- type ApplicationProfileMarketplaceResourceOwnerOrganization
- type ApplicationProfileReferences
- type ApplicationProfileSpec
- type ApplicationProfileStatus
- type ApplicationProfileStatusReasons
- type ApplicationSpec
- type ApplicationSpecSecurity
- type ApplicationState
- type Asset
- type AssetAccess
- type AssetLatestrelease
- type AssetMapping
- func (res *AssetMapping) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssetMapping) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssetMapping) MarshalJSON() ([]byte, error)
- func (res *AssetMapping) PluralName() string
- func (res *AssetMapping) UnmarshalJSON(data []byte) error
- type AssetMappingSpec
- type AssetMappingSpecInputs
- type AssetMappingStatus
- type AssetMappingStatusOperationType
- type AssetMappingStatusOutputs
- type AssetMappingStatusResource
- type AssetMappingStatusResourceAssetResource
- type AssetMappingStatusResourceStage
- type AssetMappingStatusSource
- type AssetMappingStatusSourceResource
- type AssetMappingStatusSourceResourceApiService
- type AssetMappingStatusSourceResourceApiServiceInstance
- type AssetMappingStatusSourceResourceApiServiceRevision
- type AssetMappingStatusSourceResourceAssetMappingTemplate
- type AssetReferencesApiServiceRef
- type AssetReferencesAssetMappingRef
- type AssetReferencesAssetMappingTemplateRef
- type AssetReferencesEnvironmentRef
- type AssetReferencesStageRef
- type AssetRelease
- func (res *AssetRelease) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssetRelease) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssetRelease) MarshalJSON() ([]byte, error)
- func (res *AssetRelease) PluralName() string
- func (res *AssetRelease) UnmarshalJSON(data []byte) error
- type AssetReleaseReferencesApiServiceRef
- type AssetReleaseReferencesAssetMappingTemplateRef
- type AssetReleaseReferencesEnvironmentRef
- type AssetReleaseReferencesReleaseTagRef
- type AssetReleaseReferencesStageRef
- type AssetReleaseSpec
- type AssetReleaseStatus
- type AssetReleaseStatusMeta
- type AssetReleaseStatusReasons
- type AssetRequest
- func (res *AssetRequest) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssetRequest) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssetRequest) MarshalJSON() ([]byte, error)
- func (res *AssetRequest) PluralName() string
- func (res *AssetRequest) UnmarshalJSON(data []byte) error
- type AssetRequestApproval
- type AssetRequestApprovalState
- type AssetRequestDefinition
- func (res *AssetRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssetRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssetRequestDefinition) MarshalJSON() ([]byte, error)
- func (res *AssetRequestDefinition) PluralName() string
- func (res *AssetRequestDefinition) UnmarshalJSON(data []byte) error
- type AssetRequestDefinitionApplicationprofile
- type AssetRequestDefinitionAuthorization
- type AssetRequestDefinitionSpec
- type AssetRequestDefinitionSpecProvision
- type AssetRequestDefinitionSpecProvisionPolicies
- type AssetRequestMarketplace
- type AssetRequestMarketplaceResource
- type AssetRequestMarketplaceResourceMetadata
- type AssetRequestMarketplaceResourceOwner
- type AssetRequestMarketplaceResourceOwnerOrganization
- type AssetRequestReferences
- type AssetRequestSpec
- type AssetRequestStatus
- type AssetRequestStatusReasons
- type AssetResource
- func (res *AssetResource) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssetResource) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssetResource) MarshalJSON() ([]byte, error)
- func (res *AssetResource) PluralName() string
- func (res *AssetResource) UnmarshalJSON(data []byte) error
- type AssetResourceReferences
- type AssetResourceSpec
- type AssetResourceSpecAccessInfo
- type AssetResourceSpecSourceReleaseState
- type AssetSpec
- type AssetSpecAutoRelease
- type AssetSpecAutoReleasePreviousReleases
- type AssetState
- type AssetStatus
- type AssetStatusMeta
- type AssetStatusReasons
- type AssistedSearch
- func (res *AssistedSearch) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AssistedSearch) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AssistedSearch) MarshalJSON() ([]byte, error)
- func (res *AssistedSearch) PluralName() string
- func (res *AssistedSearch) UnmarshalJSON(data []byte) error
- type AssistedSearchSpec
- type AssistedSearchSpecEmbeddedIntegrationType
- type AssistedSearchSpecRemotelyHostedIntegrationType
- type AssistedSearchState
- type AuthorizationProfile
- func (res *AuthorizationProfile) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *AuthorizationProfile) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *AuthorizationProfile) MarshalJSON() ([]byte, error)
- func (res *AuthorizationProfile) PluralName() string
- func (res *AuthorizationProfile) UnmarshalJSON(data []byte) error
- type AuthorizationProfilePolicies
- type AuthorizationProfilePoliciesCredentials
- type AuthorizationProfilePoliciesCredentialsExpiry
- type AuthorizationProfilePoliciesCredentialsExpiryNotifications
- type AuthorizationProfileReferences
- type AuthorizationProfileSpec
- type Category
- type CategorySpec
- type CategorySpecApiServiceRestriction
- type CategorySpecAssetRestriction
- type CategorySpecProductRestriction
- type CategorySpecProductRestrictionMarketplace
- type CategoryVisibility
- func (res *CategoryVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *CategoryVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *CategoryVisibility) MarshalJSON() ([]byte, error)
- func (res *CategoryVisibility) PluralName() string
- func (res *CategoryVisibility) UnmarshalJSON(data []byte) error
- type CategoryVisibilitySpec
- type ConsumerProductPlanVisibility
- func (res *ConsumerProductPlanVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ConsumerProductPlanVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ConsumerProductPlanVisibility) MarshalJSON() ([]byte, error)
- func (res *ConsumerProductPlanVisibility) PluralName() string
- func (res *ConsumerProductPlanVisibility) UnmarshalJSON(data []byte) error
- type ConsumerProductPlanVisibilitySpec
- type ConsumerProductPlanVisibilitySpecAuthenticatedRef
- type ConsumerProductPlanVisibilitySpecOrgRef
- type ConsumerProductPlanVisibilitySpecPlans
- type ConsumerProductVisibility
- func (res *ConsumerProductVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ConsumerProductVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ConsumerProductVisibility) MarshalJSON() ([]byte, error)
- func (res *ConsumerProductVisibility) PluralName() string
- func (res *ConsumerProductVisibility) UnmarshalJSON(data []byte) error
- type ConsumerProductVisibilitySpec
- type ConsumerProductVisibilitySpecAuthenticatedRef
- type ConsumerProductVisibilitySpecOrgRef
- type ConsumerProductVisibilitySpecProducts
- type ConsumerStageVisibility
- func (res *ConsumerStageVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ConsumerStageVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ConsumerStageVisibility) MarshalJSON() ([]byte, error)
- func (res *ConsumerStageVisibility) PluralName() string
- func (res *ConsumerStageVisibility) UnmarshalJSON(data []byte) error
- type ConsumerStageVisibilitySpec
- type ConsumerStageVisibilitySpecAuthenticatedRef
- type ConsumerStageVisibilitySpecOrgRef
- type ConsumerStageVisibilitySpecStages
- type Credential
- type CredentialExpiration
- type CredentialExpirationNotification
- type CredentialMarketplace
- type CredentialMarketplaceResource
- type CredentialMarketplaceResourceMetadata
- type CredentialMarketplaceResourceOwner
- type CredentialMarketplaceResourceOwnerOrganization
- type CredentialPolicies
- type CredentialPoliciesExpiry
- type CredentialReferences
- type CredentialRequestDefinition
- func (res *CredentialRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *CredentialRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *CredentialRequestDefinition) MarshalJSON() ([]byte, error)
- func (res *CredentialRequestDefinition) PluralName() string
- func (res *CredentialRequestDefinition) UnmarshalJSON(data []byte) error
- type CredentialRequestDefinitionReferences
- type CredentialRequestDefinitionSpec
- type CredentialRequestDefinitionSpecProvision
- type CredentialRequestDefinitionSpecProvisionPolicies
- type CredentialRequestDefinitionSpecProvisionPoliciesExpiry
- type CredentialRequestDefinitionSpecProvisionPoliciesExpiryActions
- type CredentialSpec
- type CredentialSpecState
- type CredentialState
- type CredentialStatus
- type CredentialStatusReasons
- type Document
- type DocumentResource
- func (res *DocumentResource) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *DocumentResource) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *DocumentResource) MarshalJSON() ([]byte, error)
- func (res *DocumentResource) PluralName() string
- func (res *DocumentResource) UnmarshalJSON(data []byte) error
- type DocumentResourceReferences
- type DocumentResourceReferencesMarketplaceSettings
- type DocumentResourceReferencesPlatformSettings
- type DocumentResourceSpec
- type DocumentResourceSpecBinaryData
- type DocumentResourceSpecTextData
- type DocumentResourceSpecUrl
- type DocumentResourceSpecUsage
- type DocumentResourceSpecUsageMarketplaceSettings
- type DocumentResourceSpecUsageProducts
- type DocumentResourceState
- type DocumentSpec
- type DocumentSpecDocumentResourceRef
- type DocumentSpecResourceRef
- type DocumentSpecSections
- type DocumentStatus
- type DocumentStatusError
- type DocumentStatusSuccess
- type DocumentTemplate
- func (res *DocumentTemplate) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *DocumentTemplate) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *DocumentTemplate) MarshalJSON() ([]byte, error)
- func (res *DocumentTemplate) PluralName() string
- func (res *DocumentTemplate) UnmarshalJSON(data []byte) error
- type DocumentTemplateSpec
- type DocumentTemplateSpecUsage
- type Marketplace
- type MarketplaceBilling
- type MarketplaceBillingPayment
- type MarketplaceSpec
- type Product
- type ProductLatestrelease
- type ProductOverview
- func (res *ProductOverview) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductOverview) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductOverview) MarshalJSON() ([]byte, error)
- func (res *ProductOverview) PluralName() string
- func (res *ProductOverview) UnmarshalJSON(data []byte) error
- type ProductOverviewSpec
- type ProductOverviewSpecDocuments
- type ProductPlan
- type ProductPlanJob
- func (res *ProductPlanJob) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductPlanJob) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductPlanJob) MarshalJSON() ([]byte, error)
- func (res *ProductPlanJob) PluralName() string
- func (res *ProductPlanJob) UnmarshalJSON(data []byte) error
- type ProductPlanJobSpec
- type ProductPlanJobSpecSubscriptionsArchive
- type ProductPlanJobSpecSubscriptionsMigration
- type ProductPlanJobSpecSubscriptionsMigrationFilters
- type ProductPlanJobSpecWhen
- type ProductPlanJobStatus
- type ProductPlanJobStatusReasons
- type ProductPlanReferences
- type ProductPlanReferencesProduct
- type ProductPlanSpec
- type ProductPlanSpecBilling
- type ProductPlanSpecBillingInvoices
- type ProductPlanSpecBillingInvoicesActions
- type ProductPlanSpecBillingInvoicesWhen
- type ProductPlanSpecBillingSetup
- type ProductPlanSpecFeatures
- type ProductPlanSpecSubscription
- type ProductPlanSpecSubscriptionInterval
- type ProductPlanState
- type ProductPlanStatus
- type ProductPlanStatusReasons
- type ProductPlanUnit
- func (res *ProductPlanUnit) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductPlanUnit) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductPlanUnit) MarshalJSON() ([]byte, error)
- func (res *ProductPlanUnit) PluralName() string
- func (res *ProductPlanUnit) UnmarshalJSON(data []byte) error
- type ProductPlanUnitSpec
- type ProductPlanVisibility
- func (res *ProductPlanVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductPlanVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductPlanVisibility) MarshalJSON() ([]byte, error)
- func (res *ProductPlanVisibility) PluralName() string
- func (res *ProductPlanVisibility) UnmarshalJSON(data []byte) error
- type ProductPlanVisibilitySpec
- type ProductPlanVisibilitySpecAuthenticatedRef
- type ProductPlanVisibilitySpecPlans
- type ProductPlanVisibilitySpecTagRef
- type ProductPlanVisibilitySpecTeamRef
- type ProductReferences
- type ProductReferencesAssets
- type ProductReferencesMarketplaces
- type ProductReferencesRatings
- type ProductReferencesRatingsDistribution
- type ProductReferencesRelease
- type ProductRelease
- func (res *ProductRelease) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductRelease) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductRelease) MarshalJSON() ([]byte, error)
- func (res *ProductRelease) PluralName() string
- func (res *ProductRelease) UnmarshalJSON(data []byte) error
- type ProductReleaseReferences
- type ProductReleaseSpec
- type ProductReleaseSpecAssets
- type ProductReleaseSpecRelease
- type ProductReleaseSpecVersionProperties
- type ProductReleaseStatus
- type ProductReleaseStatusError
- type ProductReleaseStatusPending
- type ProductReleaseStatusPendingMeta
- type ProductReleaseStatusSuccess
- type ProductReview
- func (res *ProductReview) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductReview) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductReview) MarshalJSON() ([]byte, error)
- func (res *ProductReview) PluralName() string
- func (res *ProductReview) UnmarshalJSON(data []byte) error
- type ProductReviewMarketplace
- type ProductReviewMarketplaceResource
- type ProductReviewMarketplaceResourceMetadata
- type ProductReviewMarketplaceResourceOwner
- type ProductReviewMarketplaceResourceOwnerOrganization
- type ProductReviewSpec
- type ProductReviewState
- type ProductSpec
- type ProductSpecAssets
- type ProductSpecAutoRelease
- type ProductSpecAutoReleasePreviousReleases
- type ProductSpecAutoReleaseReleaseVersionProperties
- type ProductSpecFilters
- type ProductState
- type ProductStatus
- type ProductStatusMeta
- type ProductStatusReasons
- type ProductVisibility
- func (res *ProductVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *ProductVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *ProductVisibility) MarshalJSON() ([]byte, error)
- func (res *ProductVisibility) PluralName() string
- func (res *ProductVisibility) UnmarshalJSON(data []byte) error
- type ProductVisibilitySpec
- type ProductVisibilitySpecAuthenticatedRef
- type ProductVisibilitySpecProducts
- type ProductVisibilitySpecTagRef
- type ProductVisibilitySpecTeamRef
- type PublishedDocumentResource
- func (res *PublishedDocumentResource) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *PublishedDocumentResource) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *PublishedDocumentResource) MarshalJSON() ([]byte, error)
- func (res *PublishedDocumentResource) PluralName() string
- func (res *PublishedDocumentResource) UnmarshalJSON(data []byte) error
- type PublishedDocumentResourceSpec
- type PublishedDocumentResourceSpecDocumentResource
- type PublishedProduct
- func (res *PublishedProduct) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *PublishedProduct) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *PublishedProduct) MarshalJSON() ([]byte, error)
- func (res *PublishedProduct) PluralName() string
- func (res *PublishedProduct) UnmarshalJSON(data []byte) error
- type PublishedProductReferences
- type PublishedProductReferencesRelease
- type PublishedProductSpec
- type PublishedProductSpecGroupByAssetTitle
- type PublishedProductSpecProduct
- type PublishedProductSpecResources
- type PublishedProductStatus
- type PublishedProductStatusReasons
- type PublishedStage
- func (res *PublishedStage) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *PublishedStage) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *PublishedStage) MarshalJSON() ([]byte, error)
- func (res *PublishedStage) PluralName() string
- func (res *PublishedStage) UnmarshalJSON(data []byte) error
- type PublishedStageSpec
- type PublishedStageSpecStage
- type Quota
- type QuotaSpec
- type QuotaSpecAssetResourceRef
- type QuotaSpecFixedPricingType
- type QuotaSpecGraduatedPricingType
- type QuotaSpecLimitTypeLoose
- type QuotaSpecLimitTypeLooseOverages
- type QuotaSpecLimitTypeStrict
- type QuotaSpecLimitTypeTiered
- type QuotaSpecLimitTypeTieredTiers
- type QuotaSpecPerUnitPricingType
- type QuotaSpecUnlimitedPricingType
- type QuotaSpecUsage
- type QuotaSpecVolumePricingType
- type QuotaStatus
- type QuotaStatusError
- type QuotaStatusPending
- type QuotaStatusSuccess
- type ReleaseTag
- type ReleaseTagSpec
- type ReleaseTagSpecPreviousReleases
- type ReleaseTagSpecReleaseVersionProperties
- type ReleaseTagStatus
- type ReleaseTagStatusError
- type ReleaseTagStatusPending
- type ReleaseTagStatusReference
- type ReleaseTagStatusSuccess
- type ReleaseTagStatusSuccessMeta
- type Resource
- type ResourceSpec
- type ResourceSpecBinaryData
- type ResourceSpecTextData
- type Secret
- type SecretSpec
- type Stage
- type StageSpec
- type StageVisibility
- func (res *StageVisibility) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *StageVisibility) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *StageVisibility) MarshalJSON() ([]byte, error)
- func (res *StageVisibility) PluralName() string
- func (res *StageVisibility) UnmarshalJSON(data []byte) error
- type StageVisibilitySpec
- type StageVisibilitySpecAuthenticatedRef
- type StageVisibilitySpecStages
- type StageVisibilitySpecTagRef
- type StageVisibilitySpecTeamRef
- type Subscription
- func (res *Subscription) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *Subscription) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *Subscription) MarshalJSON() ([]byte, error)
- func (res *Subscription) PluralName() string
- func (res *Subscription) UnmarshalJSON(data []byte) error
- type SubscriptionApproval
- type SubscriptionBilling
- type SubscriptionBillingPaymentTypeCustom
- type SubscriptionBillingPaymentTypeMyFatoorah
- type SubscriptionBillingPaymentTypeStripe
- type SubscriptionInvoice
- func (res *SubscriptionInvoice) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *SubscriptionInvoice) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *SubscriptionInvoice) MarshalJSON() ([]byte, error)
- func (res *SubscriptionInvoice) PluralName() string
- func (res *SubscriptionInvoice) UnmarshalJSON(data []byte) error
- type SubscriptionInvoiceBilling
- type SubscriptionInvoiceBillingPaymentTypeCustom
- type SubscriptionInvoiceBillingPaymentTypeCustomAmount
- type SubscriptionInvoiceBillingPaymentTypeCustomCustomer
- type SubscriptionInvoiceBillingPaymentTypeMyFatoorah
- type SubscriptionInvoiceBillingPaymentTypeMyFatoorahAmount
- type SubscriptionInvoiceBillingPaymentTypeMyFatoorahCustomer
- type SubscriptionInvoiceBillingPaymentTypeStripe
- type SubscriptionInvoiceBillingPaymentTypeStripeAmount
- type SubscriptionInvoiceBillingPaymentTypeStripeCustomer
- type SubscriptionInvoiceInvoiced
- type SubscriptionInvoiceInvoicedAmount
- type SubscriptionInvoiceMarketplace
- type SubscriptionInvoiceMarketplaceResource
- type SubscriptionInvoiceMarketplaceResourceOwner
- type SubscriptionInvoiceMarketplaceResourceOwnerOrganization
- type SubscriptionInvoiceReferences
- type SubscriptionInvoiceSpec
- type SubscriptionInvoiceSpecCost
- type SubscriptionInvoiceSpecCostPlan
- type SubscriptionInvoiceSpecCostPlanItems
- type SubscriptionInvoiceSpecCostPlanQuotas
- type SubscriptionInvoiceSpecCostPlanSetup
- type SubscriptionInvoiceSpecIntervals
- type SubscriptionInvoiceSpecPeriod
- type SubscriptionInvoiceSpecQuotas
- type SubscriptionInvoiceState
- type SubscriptionInvoiceStatus
- type SubscriptionInvoiceStatusReasons
- type SubscriptionJob
- func (res *SubscriptionJob) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *SubscriptionJob) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *SubscriptionJob) MarshalJSON() ([]byte, error)
- func (res *SubscriptionJob) PluralName() string
- func (res *SubscriptionJob) UnmarshalJSON(data []byte) error
- type SubscriptionJobSpec
- type SubscriptionJobSpecApprovalStateChange
- type SubscriptionJobSpecArchive
- type SubscriptionJobSpecMigrateAssetRequests
- type SubscriptionJobSpecPlanMigration
- type SubscriptionJobSpecPostExecute
- type SubscriptionJobSpecWhen
- type SubscriptionJobStatus
- type SubscriptionJobStatusReasons
- type SubscriptionMarketplace
- type SubscriptionMarketplaceResource
- type SubscriptionMarketplaceResourceMetadata
- type SubscriptionMarketplaceResourceOwner
- type SubscriptionMarketplaceResourceOwnerOrganization
- type SubscriptionReferences
- type SubscriptionRequestDefinition
- func (res *SubscriptionRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *SubscriptionRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *SubscriptionRequestDefinition) MarshalJSON() ([]byte, error)
- func (res *SubscriptionRequestDefinition) PluralName() string
- func (res *SubscriptionRequestDefinition) UnmarshalJSON(data []byte) error
- type SubscriptionRequestDefinitionSpec
- type SubscriptionSpec
- type SubscriptionSpecPlan
- type SubscriptionState
- type SubscriptionStateWhen
- type SubscriptionStatus
- type SubscriptionStatusReasons
- type SupportContact
- func (res *SupportContact) AsInstance() (*apiv1.ResourceInstance, error)
- func (res *SupportContact) FromInstance(ri *apiv1.ResourceInstance) error
- func (res *SupportContact) MarshalJSON() ([]byte, error)
- func (res *SupportContact) PluralName() string
- func (res *SupportContact) UnmarshalJSON(data []byte) error
- type SupportContactSpec
- type SupportContactSpecAlternativeContacts
- type SupportContactSpecAlternativeContactsUrls
- type SupportContactSpecOfficeHours
- type SupportContactSpecOfficeHoursPeriods
- type Webhook
- type WebhookSpec
- type WebhookSpecAuth
- type WebhookSpecAuthSecret
- type WebhookSpecHeaderLocation
- type WebhookSpecQueryLocation
Constants ¶
const ( ApplicationResourceName = "applications" ApplicationMarketplaceSubResourceName = "marketplace" ApplicationStateSubResourceName = "state" )
const ( ApplicationProfileResourceName = "applicationprofiles" ApplicationProfileMarketplaceSubResourceName = "marketplace" ApplicationProfileReferencesSubResourceName = "references" ApplicationProfileStatusSubResourceName = "status" )
const ( ApplicationProfileDefinitionResourceName = "applicationprofiledefinitions" ApplicationProfileDefinitionReferencesSubResourceName = "references" )
const ( AssetResourceName = "assets" AssetAccessSubResourceName = "access" AssetIconSubResourceName = "icon" AssetLatestreleaseSubResourceName = "latestrelease" AssetReferencesSubResourceName = "references" AssetStateSubResourceName = "state" AssetStatusSubResourceName = "status" )
const ( AssetMappingResourceName = "assetmappings" AssetMappingStatusSubResourceName = "status" )
const ( AssetReleaseResourceName = "assetreleases" AssetReleaseIconSubResourceName = "icon" AssetReleaseReferencesSubResourceName = "references" AssetReleaseStatusSubResourceName = "status" )
const ( AssetRequestResourceName = "assetrequests" AssetRequestApprovalSubResourceName = "approval" AssetRequestDataSubResourceName = "data" AssetRequestMarketplaceSubResourceName = "marketplace" AssetRequestReferencesSubResourceName = "references" AssetRequestStatusSubResourceName = "status" )
const ( AssetRequestDefinitionResourceName = "assetrequestdefinitions" AssetRequestDefinitionApplicationprofileSubResourceName = "applicationprofile" AssetRequestDefinitionAuthorizationSubResourceName = "authorization" AssetRequestDefinitionReferencesSubResourceName = "references" AssetRequestDefinitionWebhooksSubResourceName = "webhooks" )
const ( AssetResourceResourceName = "assetresources" AssetResourceReferencesSubResourceName = "references" AssetResourceReleasehashSubResourceName = "releasehash" )
const ( AssistedSearchResourceName = "assistedsearch" AssistedSearchStateSubResourceName = "state" )
const ( AuthorizationProfileResourceName = "authprofiles" AuthorizationProfilePoliciesSubResourceName = "policies" AuthorizationProfileReferencesSubResourceName = "references" )
const ( CategoryResourceName = "categories" CategoryIconSubResourceName = "icon" )
const ( CredentialResourceName = "credentials" CredentialDataSubResourceName = "data" CredentialExpirationSubResourceName = "expiration" CredentialMarketplaceSubResourceName = "marketplace" CredentialPoliciesSubResourceName = "policies" CredentialReferencesSubResourceName = "references" CredentialStateSubResourceName = "state" CredentialStatusSubResourceName = "status" )
const ( CredentialRequestDefinitionResourceName = "credentialrequestdefinitions" CredentialRequestDefinitionReferencesSubResourceName = "references" CredentialRequestDefinitionWebhooksSubResourceName = "webhooks" )
const ( DocumentResourceName = "documents" DocumentIconSubResourceName = "icon" DocumentStatusSubResourceName = "status" )
const ( DocumentResourceResourceName = "documentresources" DocumentResourceIconSubResourceName = "icon" DocumentResourceReferencesSubResourceName = "references" DocumentResourceStateSubResourceName = "state" )
const ( MarketplaceResourceName = "marketplaces" MarketplaceBillingSubResourceName = "billing" )
const ( ProductResourceName = "products" ProductIconSubResourceName = "icon" ProductLatestreleaseSubResourceName = "latestrelease" ProductReferencesSubResourceName = "references" ProductStateSubResourceName = "state" ProductStatusSubResourceName = "status" )
const ( ProductPlanResourceName = "productplans" ProductPlanReferencesSubResourceName = "references" ProductPlanStateSubResourceName = "state" ProductPlanStatusSubResourceName = "status" )
const ( ProductPlanJobResourceName = "productplanjobs" ProductPlanJobStatusSubResourceName = "status" )
const ( ProductReleaseResourceName = "productreleases" ProductReleaseIconSubResourceName = "icon" ProductReleaseReferencesSubResourceName = "references" ProductReleaseStatusSubResourceName = "status" )
const ( ProductReviewResourceName = "productreviews" ProductReviewMarketplaceSubResourceName = "marketplace" ProductReviewStateSubResourceName = "state" )
const ( PublishedProductResourceName = "publishedproducts" PublishedProductReferencesSubResourceName = "references" PublishedProductStatusSubResourceName = "status" )
const ( QuotaResourceName = "quotas" QuotaStatusSubResourceName = "status" )
const ( ReleaseTagResourceName = "releasetags" ReleaseTagStateSubResourceName = "state" ReleaseTagStatusSubResourceName = "status" )
const ( StageResourceName = "stages" StageIconSubResourceName = "icon" )
const ( SubscriptionResourceName = "subscriptions" SubscriptionApprovalSubResourceName = "approval" SubscriptionBillingSubResourceName = "billing" SubscriptionMarketplaceSubResourceName = "marketplace" SubscriptionReferencesSubResourceName = "references" SubscriptionStateSubResourceName = "state" SubscriptionStatusSubResourceName = "status" )
const ( SubscriptionInvoiceResourceName = "subscriptioninvoices" SubscriptionInvoiceBillingSubResourceName = "billing" SubscriptionInvoiceInvoicedSubResourceName = "invoiced" SubscriptionInvoiceMarketplaceSubResourceName = "marketplace" SubscriptionInvoiceReferencesSubResourceName = "references" SubscriptionInvoiceStateSubResourceName = "state" SubscriptionInvoiceStatusSubResourceName = "status" )
const ( SubscriptionJobResourceName = "subscriptionjobs" SubscriptionJobStatusSubResourceName = "status" )
const (
AccessControlListResourceName = "accesscontrollists"
)
const (
CategoryVisibilityResourceName = "categoryvisibility"
)
const (
ConsumerProductPlanVisibilityResourceName = "consumerproductplanvisibility"
)
const (
ConsumerProductVisibilityResourceName = "consumerproductvisibility"
)
const (
ConsumerStageVisibilityResourceName = "consumerstagevisibility"
)
const (
DocumentTemplateResourceName = "documenttemplates"
)
const (
ProductOverviewResourceName = "productoverviews"
)
const (
ProductPlanUnitResourceName = "productplanunits"
)
const (
ProductPlanVisibilityResourceName = "productplanvisibility"
)
const (
ProductVisibilityResourceName = "productvisibility"
)
const (
PublishedDocumentResourceResourceName = "publisheddocumentresources"
)
const (
PublishedStageResourceName = "publishedstages"
)
const (
ResourceResourceName = "resources"
)
const (
SecretResourceName = "secrets"
)
const (
StageVisibilityResourceName = "stagevisibility"
)
const (
SubscriptionRequestDefinitionResourceName = "subscriptionrequestdefinitions"
)
const (
SupportContactResourceName = "supportcontacts"
)
const (
WebhookResourceName = "webhooks"
)
Variables ¶
var ( AccessControlListCtx log.ContextField = "accessControlList" AccessControlListScopes = []string{"Application", "Asset", "AssetRelease", "AuthorizationProfile", "Category", "DocumentResource", "DocumentTemplate", "Marketplace", "Product", "ProductPlan", "ProductPlanUnit", "ProductRelease", "Stage", "Subscription", "SubscriptionRequestDefinition", "SupportContact"} )
var ( ApplicationCtx log.ContextField = "application" ApplicationScopes = []string{""} )
var ( ApplicationProfileCtx log.ContextField = "applicationProfile" ApplicationProfileScopes = []string{"Application"} )
var ( ApplicationProfileDefinitionCtx log.ContextField = "applicationProfileDefinition" ApplicationProfileDefinitionScopes = []string{"AuthorizationProfile"} )
var ( AssetCtx log.ContextField = "asset" AssetScopes = []string{""} )
var ( AssetMappingCtx log.ContextField = "assetMapping" AssetMappingScopes = []string{"Asset"} )
var ( AssetReleaseCtx log.ContextField = "assetRelease" AssetReleaseScopes = []string{""} )
var ( AssetRequestCtx log.ContextField = "assetRequest" AssetRequestScopes = []string{"Application"} )
var ( AssetRequestDefinitionCtx log.ContextField = "assetRequestDefinition" AssetRequestDefinitionScopes = []string{"AuthorizationProfile"} )
var ( AssetResourceCtx log.ContextField = "assetResource" AssetResourceScopes = []string{"Asset", "AssetRelease"} )
var ( AssistedSearchCtx log.ContextField = "assistedSearch" AssistedSearchScopes = []string{"Marketplace"} )
var ( AuthorizationProfileCtx log.ContextField = "authorizationProfile" AuthorizationProfileScopes = []string{""} )
var ( CategoryCtx log.ContextField = "category" CategoryScopes = []string{""} )
var ( CategoryVisibilityCtx log.ContextField = "categoryVisibility" CategoryVisibilityScopes = []string{"Marketplace"} )
var ( ConsumerProductPlanVisibilityCtx log.ContextField = "consumerProductPlanVisibility" ConsumerProductPlanVisibilityScopes = []string{"Marketplace"} )
var ( ConsumerProductVisibilityCtx log.ContextField = "consumerProductVisibility" ConsumerProductVisibilityScopes = []string{"Marketplace"} )
var ( ConsumerStageVisibilityCtx log.ContextField = "consumerStageVisibility" ConsumerStageVisibilityScopes = []string{"Marketplace"} )
var ( CredentialCtx log.ContextField = "credential" CredentialScopes = []string{"Application"} )
var ( CredentialRequestDefinitionCtx log.ContextField = "credentialRequestDefinition" CredentialRequestDefinitionScopes = []string{"AuthorizationProfile"} )
var ( DocumentCtx log.ContextField = "document" DocumentScopes = []string{"DocumentTemplate", "Product", "ProductRelease"} )
var ( DocumentResourceCtx log.ContextField = "documentResource" DocumentResourceScopes = []string{""} )
var ( DocumentTemplateCtx log.ContextField = "documentTemplate" DocumentTemplateScopes = []string{""} )
var ( MarketplaceCtx log.ContextField = "marketplace" MarketplaceScopes = []string{""} )
var ( ProductCtx log.ContextField = "product" ProductScopes = []string{""} )
var ( ProductOverviewCtx log.ContextField = "productOverview" ProductOverviewScopes = []string{"Product", "ProductRelease"} )
var ( ProductPlanCtx log.ContextField = "productPlan" ProductPlanScopes = []string{""} )
var ( ProductPlanJobCtx log.ContextField = "productPlanJob" ProductPlanJobScopes = []string{"ProductPlan"} )
var ( ProductPlanUnitCtx log.ContextField = "productPlanUnit" ProductPlanUnitScopes = []string{""} )
var ( ProductPlanVisibilityCtx log.ContextField = "productPlanVisibility" ProductPlanVisibilityScopes = []string{"Marketplace"} )
var ( ProductReleaseCtx log.ContextField = "productRelease" ProductReleaseScopes = []string{""} )
var ( ProductReviewCtx log.ContextField = "productReview" ProductReviewScopes = []string{"Product"} )
var ( ProductVisibilityCtx log.ContextField = "productVisibility" ProductVisibilityScopes = []string{"Marketplace"} )
var ( PublishedDocumentResourceCtx log.ContextField = "publishedDocumentResource" PublishedDocumentResourceScopes = []string{"Marketplace"} )
var ( PublishedProductCtx log.ContextField = "publishedProduct" PublishedProductScopes = []string{"Marketplace"} )
var ( PublishedStageCtx log.ContextField = "publishedStage" PublishedStageScopes = []string{"Marketplace"} )
var ( QuotaCtx log.ContextField = "quota" QuotaScopes = []string{"ProductPlan"} )
var ( ReleaseTagCtx log.ContextField = "releaseTag" ReleaseTagScopes = []string{"Asset", "Product"} )
var ( ResourceCtx log.ContextField = "resource" ResourceScopes = []string{"DocumentTemplate", "Product", "ProductRelease"} )
var ( SecretCtx log.ContextField = "secret" SecretScopes = []string{"AuthorizationProfile"} )
var ( StageCtx log.ContextField = "stage" StageScopes = []string{""} )
var ( StageVisibilityCtx log.ContextField = "stageVisibility" StageVisibilityScopes = []string{"Marketplace"} )
var ( SubscriptionCtx log.ContextField = "subscription" SubscriptionScopes = []string{""} )
var ( SubscriptionInvoiceCtx log.ContextField = "subscriptionInvoice" SubscriptionInvoiceScopes = []string{"Subscription"} )
var ( SubscriptionJobCtx log.ContextField = "subscriptionJob" SubscriptionJobScopes = []string{"Subscription"} )
var ( SubscriptionRequestDefinitionCtx log.ContextField = "subscriptionRequestDefinition" SubscriptionRequestDefinitionScopes = []string{""} )
var ( SupportContactCtx log.ContextField = "supportContact" SupportContactScopes = []string{""} )
var ( WebhookCtx log.ContextField = "webhook" WebhookScopes = []string{"AuthorizationProfile"} )
Functions ¶
func AccessControlListGVK ¶
func AccessControlListGVK() apiv1.GroupVersionKind
func ApplicationGVK ¶
func ApplicationGVK() apiv1.GroupVersionKind
func ApplicationProfileDefinitionGVK ¶ added in v1.1.109
func ApplicationProfileDefinitionGVK() apiv1.GroupVersionKind
func ApplicationProfileGVK ¶ added in v1.1.109
func ApplicationProfileGVK() apiv1.GroupVersionKind
func AssetGVK ¶
func AssetGVK() apiv1.GroupVersionKind
func AssetMappingGVK ¶
func AssetMappingGVK() apiv1.GroupVersionKind
func AssetReleaseGVK ¶
func AssetReleaseGVK() apiv1.GroupVersionKind
func AssetRequestDefinitionGVK ¶
func AssetRequestDefinitionGVK() apiv1.GroupVersionKind
func AssetRequestGVK ¶
func AssetRequestGVK() apiv1.GroupVersionKind
func AssetResourceGVK ¶
func AssetResourceGVK() apiv1.GroupVersionKind
func AssistedSearchGVK ¶ added in v1.1.88
func AssistedSearchGVK() apiv1.GroupVersionKind
func AuthorizationProfileGVK ¶
func AuthorizationProfileGVK() apiv1.GroupVersionKind
func CategoryGVK ¶
func CategoryGVK() apiv1.GroupVersionKind
func CategoryVisibilityGVK ¶ added in v1.1.49
func CategoryVisibilityGVK() apiv1.GroupVersionKind
func ConsumerProductPlanVisibilityGVK ¶ added in v1.1.109
func ConsumerProductPlanVisibilityGVK() apiv1.GroupVersionKind
func ConsumerProductVisibilityGVK ¶ added in v1.1.44
func ConsumerProductVisibilityGVK() apiv1.GroupVersionKind
func ConsumerStageVisibilityGVK ¶ added in v1.1.78
func ConsumerStageVisibilityGVK() apiv1.GroupVersionKind
func CredentialGVK ¶
func CredentialGVK() apiv1.GroupVersionKind
func CredentialRequestDefinitionGVK ¶
func CredentialRequestDefinitionGVK() apiv1.GroupVersionKind
func DocumentGVK ¶
func DocumentGVK() apiv1.GroupVersionKind
func DocumentResourceGVK ¶ added in v1.1.62
func DocumentResourceGVK() apiv1.GroupVersionKind
func DocumentTemplateGVK ¶ added in v1.1.107
func DocumentTemplateGVK() apiv1.GroupVersionKind
func MarketplaceGVK ¶
func MarketplaceGVK() apiv1.GroupVersionKind
func ProductGVK ¶
func ProductGVK() apiv1.GroupVersionKind
func ProductOverviewGVK ¶
func ProductOverviewGVK() apiv1.GroupVersionKind
func ProductPlanGVK ¶
func ProductPlanGVK() apiv1.GroupVersionKind
func ProductPlanJobGVK ¶ added in v1.1.49
func ProductPlanJobGVK() apiv1.GroupVersionKind
func ProductPlanUnitGVK ¶
func ProductPlanUnitGVK() apiv1.GroupVersionKind
func ProductPlanVisibilityGVK ¶ added in v1.1.109
func ProductPlanVisibilityGVK() apiv1.GroupVersionKind
func ProductReleaseGVK ¶
func ProductReleaseGVK() apiv1.GroupVersionKind
func ProductReviewGVK ¶ added in v1.1.78
func ProductReviewGVK() apiv1.GroupVersionKind
func ProductVisibilityGVK ¶
func ProductVisibilityGVK() apiv1.GroupVersionKind
func PublishedDocumentResourceGVK ¶ added in v1.1.62
func PublishedDocumentResourceGVK() apiv1.GroupVersionKind
func PublishedProductGVK ¶
func PublishedProductGVK() apiv1.GroupVersionKind
func PublishedStageGVK ¶ added in v1.1.78
func PublishedStageGVK() apiv1.GroupVersionKind
func QuotaGVK ¶
func QuotaGVK() apiv1.GroupVersionKind
func ReleaseTagGVK ¶
func ReleaseTagGVK() apiv1.GroupVersionKind
func ResourceGVK ¶
func ResourceGVK() apiv1.GroupVersionKind
func SecretGVK ¶
func SecretGVK() apiv1.GroupVersionKind
func StageGVK ¶
func StageGVK() apiv1.GroupVersionKind
func StageVisibilityGVK ¶ added in v1.1.78
func StageVisibilityGVK() apiv1.GroupVersionKind
func SubscriptionGVK ¶
func SubscriptionGVK() apiv1.GroupVersionKind
func SubscriptionInvoiceGVK ¶ added in v1.1.52
func SubscriptionInvoiceGVK() apiv1.GroupVersionKind
func SubscriptionJobGVK ¶ added in v1.1.49
func SubscriptionJobGVK() apiv1.GroupVersionKind
func SubscriptionRequestDefinitionGVK ¶ added in v1.1.64
func SubscriptionRequestDefinitionGVK() apiv1.GroupVersionKind
func SupportContactGVK ¶ added in v1.1.41
func SupportContactGVK() apiv1.GroupVersionKind
func WebhookGVK ¶
func WebhookGVK() apiv1.GroupVersionKind
Types ¶
type AccessControlList ¶
type AccessControlList struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec AccessControlListSpec `json:"spec"`
}
AccessControlList Resource
func AccessControlListFromInstanceArray ¶
func AccessControlListFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AccessControlList, error)
AccessControlListFromInstanceArray converts a []*ResourceInstance to a []*AccessControlList
func NewAccessControlList ¶
func NewAccessControlList(name, scopeKind, scopeName string) (*AccessControlList, error)
NewAccessControlList creates an empty *AccessControlList
func (*AccessControlList) AsInstance ¶
func (res *AccessControlList) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AccessControlList to a ResourceInstance
func (*AccessControlList) FromInstance ¶
func (res *AccessControlList) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AccessControlList
func (*AccessControlList) MarshalJSON ¶
func (res *AccessControlList) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AccessControlList) PluralName ¶
func (res *AccessControlList) PluralName() string
PluralName returns the plural name of the resource
func (*AccessControlList) UnmarshalJSON ¶
func (res *AccessControlList) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AccessControlListSpec ¶
type AccessControlListSpec struct {
Rules []AccessRules `json:"rules,omitempty"`
Subjects []apiv1.Owner `json:"subjects,omitempty"`
}
AccessControlListSpec struct for AccessControlListSpec
type AccessControlListSpecAccessLevelScope ¶
type AccessControlListSpecAccessLevelScope struct {
// Resource level at which access is being granted.
Level string `json:"level,omitempty"`
// Set true to allow users to create scoped resources.
AllowCreateScoped bool `json:"allowCreateScoped,omitempty"`
// Set true to allow users to delete the unscoped resource.
AllowDelete bool `json:"allowDelete,omitempty"`
// Set true to allow users to update the unscoped resource.
AllowWrite bool `json:"allowWrite,omitempty"`
}
AccessControlListSpecAccessLevelScope struct for AccessControlListSpecAccessLevelScope
type AccessControlListSpecAccessLevelScopedKind ¶ added in v1.1.35
type AccessControlListSpecAccessLevelScopedKind struct {
// Resource level at which access is being granted.
Level string `json:"level,omitempty"`
// The kind of scoped resources to provide access to or \"*\" for all kinds.
Kind string `json:"kind"`
// Set true to allow users to create scoped resources of the specified kind.
AllowCreate bool `json:"allowCreate,omitempty"`
// Set true to allow users to delete scoped resources of the specified kind.
AllowDelete bool `json:"allowDelete,omitempty"`
// Set true to allow users to update scoped resources of the specified kind.
AllowWrite bool `json:"allowWrite,omitempty"`
}
AccessControlListSpecAccessLevelScopedKind struct for AccessControlListSpecAccessLevelScopedKind
type AccessControlListSpecAccessLevelScopedResource ¶ added in v1.1.35
type AccessControlListSpecAccessLevelScopedResource struct {
// Resource level at which access is being granted.
Level string `json:"level,omitempty"`
// The kind of scoped resources to provide access.
Kind string `json:"kind"`
// The name of the scoped resource to provide access to.
Name string `json:"name"`
// Set true to allow users to delete the referenced scoped resource.
AllowDelete bool `json:"allowDelete,omitempty"`
// Set true to allow users to update the referenced scoped resource.
AllowWrite bool `json:"allowWrite,omitempty"`
}
AccessControlListSpecAccessLevelScopedResource struct for AccessControlListSpecAccessLevelScopedResource
type AccessControlListSpecRules ¶
type AccessControlListSpecRules struct {
// GENERATE: The following code has been modified after code generation
Access []interface{} `json:"access,omitempty"`
}
AccessControlListSpecRules (catalog.v1alpha1.AccessControlList)
type AccessControlListSpecSubjects ¶
type AccessControlListSpecSubjects struct {
// Type of the subject
Type string `json:"type,omitempty"`
// ID of the subject
Id string `json:"id,omitempty"`
}
AccessControlListSpecSubjects (catalog.v1alpha1.AccessControlList)
type AccessLevelScope ¶
type AccessLevelScope struct {
// Resource level at which access is being granted.
Level string `json:"level,omitempty"`
}
AccessLevelScope struct for AccessLevelScope
type AccessRules ¶
type AccessRules struct {
// Resource level at which access is being granted.
Access []AccessLevelScope `json:"access,omitempty"`
}
AccessRules struct for AccessRules
type Application ¶
type Application struct {
apiv1.ResourceMeta
Marketplace ApplicationMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
Spec ApplicationSpec `json:"spec"`
State ApplicationState `json:"state"`
}
Application Resource
func ApplicationFromInstanceArray ¶
func ApplicationFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Application, error)
ApplicationFromInstanceArray converts a []*ResourceInstance to a []*Application
func NewApplication ¶
func NewApplication(name string) *Application
NewApplication creates an empty *Application
func (*Application) AsInstance ¶
func (res *Application) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Application to a ResourceInstance
func (*Application) FromInstance ¶
func (res *Application) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Application
func (*Application) MarshalJSON ¶
func (res *Application) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*Application) PluralName ¶
func (res *Application) PluralName() string
PluralName returns the plural name of the resource
func (*Application) UnmarshalJSON ¶
func (res *Application) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ApplicationMarketplace ¶
type ApplicationMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource ApplicationMarketplaceResource `json:"resource"`
}
ApplicationMarketplace Details about marketplace in Application. (catalog.v1alpha1.Application)
type ApplicationMarketplaceResource ¶
type ApplicationMarketplaceResource struct {
Metadata ApplicationMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
ApplicationMarketplaceResource The Marketplace Application resource details. (catalog.v1alpha1.Application)
type ApplicationMarketplaceResourceMetadata ¶
type ApplicationMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that created the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
ApplicationMarketplaceResourceMetadata Marketplace Application metadata. (catalog.v1alpha1.Application)
type ApplicationMarketplaceResourceOwner ¶
type ApplicationMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization ApplicationMarketplaceResourceOwnerOrganization `json:"organization"`
}
ApplicationMarketplaceResourceOwner Owner of the Application. (catalog.v1alpha1.Application)
type ApplicationMarketplaceResourceOwnerOrganization ¶
type ApplicationMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
ApplicationMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.Application)
type ApplicationProfile ¶ added in v1.1.109
type ApplicationProfile struct {
apiv1.ResourceMeta
Marketplace ApplicationProfileMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
References ApplicationProfileReferences `json:"references"`
Spec ApplicationProfileSpec `json:"spec"`
// Status ApplicationProfileStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
ApplicationProfile Resource
func ApplicationProfileFromInstanceArray ¶ added in v1.1.109
func ApplicationProfileFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ApplicationProfile, error)
ApplicationProfileFromInstanceArray converts a []*ResourceInstance to a []*ApplicationProfile
func NewApplicationProfile ¶ added in v1.1.109
func NewApplicationProfile(name, scopeName string) *ApplicationProfile
NewApplicationProfile creates an empty *ApplicationProfile
func (*ApplicationProfile) AsInstance ¶ added in v1.1.109
func (res *ApplicationProfile) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ApplicationProfile to a ResourceInstance
func (*ApplicationProfile) FromInstance ¶ added in v1.1.109
func (res *ApplicationProfile) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ApplicationProfile
func (*ApplicationProfile) MarshalJSON ¶ added in v1.1.109
func (res *ApplicationProfile) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ApplicationProfile) PluralName ¶ added in v1.1.109
func (res *ApplicationProfile) PluralName() string
PluralName returns the plural name of the resource
func (*ApplicationProfile) UnmarshalJSON ¶ added in v1.1.109
func (res *ApplicationProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ApplicationProfileDefinition ¶ added in v1.1.109
type ApplicationProfileDefinition struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
References ApplicationProfileDefinitionReferences `json:"references"`
Spec ApplicationProfileDefinitionSpec `json:"spec"`
}
ApplicationProfileDefinition Resource
func ApplicationProfileDefinitionFromInstanceArray ¶ added in v1.1.109
func ApplicationProfileDefinitionFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ApplicationProfileDefinition, error)
ApplicationProfileDefinitionFromInstanceArray converts a []*ResourceInstance to a []*ApplicationProfileDefinition
func NewApplicationProfileDefinition ¶ added in v1.1.109
func NewApplicationProfileDefinition(name, scopeName string) *ApplicationProfileDefinition
NewApplicationProfileDefinition creates an empty *ApplicationProfileDefinition
func (*ApplicationProfileDefinition) AsInstance ¶ added in v1.1.109
func (res *ApplicationProfileDefinition) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ApplicationProfileDefinition to a ResourceInstance
func (*ApplicationProfileDefinition) FromInstance ¶ added in v1.1.109
func (res *ApplicationProfileDefinition) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ApplicationProfileDefinition
func (*ApplicationProfileDefinition) MarshalJSON ¶ added in v1.1.109
func (res *ApplicationProfileDefinition) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ApplicationProfileDefinition) PluralName ¶ added in v1.1.109
func (res *ApplicationProfileDefinition) PluralName() string
PluralName returns the plural name of the resource
func (*ApplicationProfileDefinition) UnmarshalJSON ¶ added in v1.1.109
func (res *ApplicationProfileDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ApplicationProfileDefinitionReferences ¶ added in v1.1.109
type ApplicationProfileDefinitionReferences struct {
// The name of the ApplicationProfileDefinition from an Environment.
ManagedApplicationProfileReqDef string `json:"managedApplicationProfileReqDef,omitempty"`
}
ApplicationProfileDefinitionReferences (catalog.v1alpha1.ApplicationProfileDefinition)
type ApplicationProfileDefinitionSpec ¶ added in v1.1.109
type ApplicationProfileDefinitionSpec struct {
// JSON Schema draft \\#7 (catalog.v1alpha1.ApplicationProfileDefinition)
Schema map[string]interface{} `json:"schema"`
}
ApplicationProfileDefinitionSpec (catalog.v1alpha1.ApplicationProfileDefinition)
type ApplicationProfileMarketplace ¶ added in v1.1.113
type ApplicationProfileMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource ApplicationProfileMarketplaceResource `json:"resource"`
}
ApplicationProfileMarketplace Details about the marketplace Application Profile. (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileMarketplaceResource ¶ added in v1.1.113
type ApplicationProfileMarketplaceResource struct {
Metadata ApplicationProfileMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
ApplicationProfileMarketplaceResource The Marketplace Application profile resource details. (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileMarketplaceResourceMetadata ¶ added in v1.1.113
type ApplicationProfileMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that updated the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
ApplicationProfileMarketplaceResourceMetadata Marketplace Application Profile metadata. (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileMarketplaceResourceOwner ¶ added in v1.1.113
type ApplicationProfileMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization ApplicationProfileMarketplaceResourceOwnerOrganization `json:"organization"`
}
ApplicationProfileMarketplaceResourceOwner Owner of the Application Profile. (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileMarketplaceResourceOwnerOrganization ¶ added in v1.1.113
type ApplicationProfileMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
ApplicationProfileMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileReferences ¶ added in v1.1.109
type ApplicationProfileReferences struct {
// Name of the related ManagedApplicationProfile.
ManagedApplicationProfile string `json:"managedApplicationProfile,omitempty"`
}
ApplicationProfileReferences (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileSpec ¶ added in v1.1.109
type ApplicationProfileSpec struct {
// The name of an application profile definition.
ApplicationProfileDefinition string `json:"applicationProfileDefinition"`
// The value that matches the ApplicationProfileDefinition schema. (catalog.v1alpha1.ApplicationProfile)
Data map[string]interface{} `json:"data"`
}
ApplicationProfileSpec (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileStatus ¶ added in v1.1.109
type ApplicationProfileStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []ApplicationProfileStatusReasons `json:"reasons,omitempty"`
}
ApplicationProfileStatus (catalog.v1alpha1.ApplicationProfile)
type ApplicationProfileStatusReasons ¶ added in v1.1.109
type ApplicationProfileStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.ApplicationProfile)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
ApplicationProfileStatusReasons (catalog.v1alpha1.ApplicationProfile)
type ApplicationSpec ¶
type ApplicationSpec struct {
Security ApplicationSpecSecurity `json:"security"`
}
ApplicationSpec (catalog.v1alpha1.Application)
type ApplicationSpecSecurity ¶
type ApplicationSpecSecurity struct {
// public key to be used to encrypt the credentials linked to this Application.
EncryptionKey string `json:"encryptionKey"`
EncryptionAlgorithm string `json:"encryptionAlgorithm,omitempty"`
EncryptionHash string `json:"encryptionHash,omitempty"`
}
ApplicationSpecSecurity (catalog.v1alpha1.Application)
type ApplicationState ¶ added in v1.1.52
type ApplicationState string
ApplicationState the model 'ApplicationState'
const ( // GENERATE: The following code has been modified after code generation ApplicationStateARCHIVED ApplicationState = "archived" // GENERATE: The following code has been modified after code generation ApplicationStateARCHIVING ApplicationState = "archiving" )
List of ApplicationState
type Asset ¶
type Asset struct {
apiv1.ResourceMeta
Access AssetAccess `json:"access"`
Icon interface{} `json:"icon"`
Latestrelease AssetLatestrelease `json:"latestrelease"`
Owner *apiv1.Owner `json:"owner"`
References interface{} `json:"references"`
Spec AssetSpec `json:"spec"`
State AssetState `json:"state"`
// Status AssetStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Asset Resource
func AssetFromInstanceArray ¶
func AssetFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Asset, error)
AssetFromInstanceArray converts a []*ResourceInstance to a []*Asset
func (*Asset) AsInstance ¶
func (res *Asset) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Asset to a ResourceInstance
func (*Asset) FromInstance ¶
func (res *Asset) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Asset
func (*Asset) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Asset) PluralName ¶
PluralName returns the plural name of the resource
func (*Asset) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetAccess ¶ added in v1.1.35
type AssetAccess struct {
Approval string `json:"approval"`
}
AssetAccess Defines how an asset should handle access requests received from marketplace consumers. (catalog.v1alpha1.Asset)
type AssetLatestrelease ¶ added in v1.1.49
type AssetLatestrelease struct {
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
}
AssetLatestrelease Provides newest non-archived release and version. Will be unassigned if no releases exist. (catalog.v1alpha1.Asset)
type AssetMapping ¶
type AssetMapping struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec AssetMappingSpec `json:"spec"`
Status AssetMappingStatus `json:"status"`
}
AssetMapping Resource
func AssetMappingFromInstanceArray ¶
func AssetMappingFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssetMapping, error)
AssetMappingFromInstanceArray converts a []*ResourceInstance to a []*AssetMapping
func NewAssetMapping ¶
func NewAssetMapping(name, scopeName string) *AssetMapping
NewAssetMapping creates an empty *AssetMapping
func (*AssetMapping) AsInstance ¶
func (res *AssetMapping) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssetMapping to a ResourceInstance
func (*AssetMapping) FromInstance ¶
func (res *AssetMapping) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssetMapping
func (*AssetMapping) MarshalJSON ¶
func (res *AssetMapping) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssetMapping) PluralName ¶
func (res *AssetMapping) PluralName() string
PluralName returns the plural name of the resource
func (*AssetMapping) UnmarshalJSON ¶
func (res *AssetMapping) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetMappingSpec ¶
type AssetMappingSpec struct {
// Reference to the executed AssetMappingTemplate.
AssetMappingTemplate string `json:"assetMappingTemplate,omitempty"`
Inputs AssetMappingSpecInputs `json:"inputs"`
}
AssetMappingSpec (catalog.v1alpha1.AssetMapping)
type AssetMappingSpecInputs ¶
type AssetMappingSpecInputs struct {
ApiService string `json:"apiService"`
ApiServiceRevision string `json:"apiServiceRevision,omitempty"`
ApiServiceInstance string `json:"apiServiceInstance,omitempty"`
// This property is deprecated and will be ignored.
Stage string `json:"stage,omitempty"`
// list of categories for the asset.
Categories []string `json:"categories,omitempty"`
// title for generated asset resource.
AssetResourceTitle string `json:"assetResourceTitle,omitempty"`
}
AssetMappingSpecInputs The list of the inputs provided to the template. (catalog.v1alpha1.AssetMapping)
type AssetMappingStatus ¶
type AssetMappingStatus struct {
Level string `json:"level,omitempty"`
Source AssetMappingStatusSource `json:"source,omitempty"`
// Generated catalog resources.
Outputs []AssetMappingStatusOutputs `json:"outputs,omitempty"`
}
AssetMappingStatus (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusOperationType ¶
type AssetMappingStatusOperationType string
AssetMappingStatusOperationType The type of the operation executed on the resource that triggered the Asset Mapping.
const ( CREATED AssetMappingStatusOperationType = "created" UPDATED AssetMappingStatusOperationType = "updated" DELETED AssetMappingStatusOperationType = "deleted" )
List of AssetMappingStatus.OperationType
type AssetMappingStatusOutputs ¶
type AssetMappingStatusOutputs struct {
Resource AssetMappingStatusResource `json:"resource,omitempty"`
}
AssetMappingStatusOutputs (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusResource ¶
type AssetMappingStatusResource struct {
AssetResource AssetMappingStatusResourceAssetResource `json:"assetResource,omitempty"`
Stage AssetMappingStatusResourceStage `json:"stage,omitempty"`
}
AssetMappingStatusResource The resources that were impacted with the trigger of asset mapping. (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusResourceAssetResource ¶
type AssetMappingStatusResourceAssetResource struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusResourceAssetResource (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusResourceStage ¶
type AssetMappingStatusResourceStage struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusResourceStage (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSource ¶
type AssetMappingStatusSource struct {
Resource AssetMappingStatusSourceResource `json:"resource,omitempty"`
}
AssetMappingStatusSource (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSourceResource ¶
type AssetMappingStatusSourceResource struct {
ApiService AssetMappingStatusSourceResourceApiService `json:"apiService,omitempty"`
ApiServiceRevision AssetMappingStatusSourceResourceApiServiceRevision `json:"apiServiceRevision,omitempty"`
ApiServiceInstance AssetMappingStatusSourceResourceApiServiceInstance `json:"apiServiceInstance,omitempty"`
AssetMappingTemplate AssetMappingStatusSourceResourceAssetMappingTemplate `json:"assetMappingTemplate,omitempty"`
}
AssetMappingStatusSourceResource The resource that triggered the Asset Mapping. (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSourceResourceApiService ¶
type AssetMappingStatusSourceResourceApiService struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusSourceResourceApiService (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSourceResourceApiServiceInstance ¶
type AssetMappingStatusSourceResourceApiServiceInstance struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusSourceResourceApiServiceInstance (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSourceResourceApiServiceRevision ¶
type AssetMappingStatusSourceResourceApiServiceRevision struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusSourceResourceApiServiceRevision (catalog.v1alpha1.AssetMapping)
type AssetMappingStatusSourceResourceAssetMappingTemplate ¶
type AssetMappingStatusSourceResourceAssetMappingTemplate struct {
Ref string `json:"ref,omitempty"`
OperationType AssetMappingStatusOperationType `json:"operationType,omitempty"`
}
AssetMappingStatusSourceResourceAssetMappingTemplate (catalog.v1alpha1.AssetMapping)
type AssetReferencesApiServiceRef ¶
type AssetReferencesApiServiceRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReferencesApiServiceRef struct for AssetReferencesApiServiceRef
type AssetReferencesAssetMappingRef ¶
type AssetReferencesAssetMappingRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReferencesAssetMappingRef struct for AssetReferencesAssetMappingRef
type AssetReferencesAssetMappingTemplateRef ¶
type AssetReferencesAssetMappingTemplateRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReferencesAssetMappingTemplateRef struct for AssetReferencesAssetMappingTemplateRef
type AssetReferencesEnvironmentRef ¶
type AssetReferencesEnvironmentRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReferencesEnvironmentRef struct for AssetReferencesEnvironmentRef
type AssetReferencesStageRef ¶
type AssetReferencesStageRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReferencesStageRef struct for AssetReferencesStageRef
type AssetRelease ¶
type AssetRelease struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
References interface{} `json:"references"`
Spec AssetReleaseSpec `json:"spec"`
// Status AssetReleaseStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
AssetRelease Resource
func AssetReleaseFromInstanceArray ¶
func AssetReleaseFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssetRelease, error)
AssetReleaseFromInstanceArray converts a []*ResourceInstance to a []*AssetRelease
func NewAssetRelease ¶
func NewAssetRelease(name string) *AssetRelease
NewAssetRelease creates an empty *AssetRelease
func (*AssetRelease) AsInstance ¶
func (res *AssetRelease) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssetRelease to a ResourceInstance
func (*AssetRelease) FromInstance ¶
func (res *AssetRelease) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssetRelease
func (*AssetRelease) MarshalJSON ¶
func (res *AssetRelease) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssetRelease) PluralName ¶
func (res *AssetRelease) PluralName() string
PluralName returns the plural name of the resource
func (*AssetRelease) UnmarshalJSON ¶
func (res *AssetRelease) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetReleaseReferencesApiServiceRef ¶
type AssetReleaseReferencesApiServiceRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReleaseReferencesApiServiceRef struct for AssetReleaseReferencesApiServiceRef
type AssetReleaseReferencesAssetMappingTemplateRef ¶
type AssetReleaseReferencesAssetMappingTemplateRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReleaseReferencesAssetMappingTemplateRef struct for AssetReleaseReferencesAssetMappingTemplateRef
type AssetReleaseReferencesEnvironmentRef ¶
type AssetReleaseReferencesEnvironmentRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReleaseReferencesEnvironmentRef struct for AssetReleaseReferencesEnvironmentRef
type AssetReleaseReferencesReleaseTagRef ¶
type AssetReleaseReferencesReleaseTagRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReleaseReferencesReleaseTagRef struct for AssetReleaseReferencesReleaseTagRef
type AssetReleaseReferencesStageRef ¶
type AssetReleaseReferencesStageRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
AssetReleaseReferencesStageRef struct for AssetReleaseReferencesStageRef
type AssetReleaseSpec ¶
type AssetReleaseSpec struct {
// Description of the asset release.
Description string `json:"description,omitempty"`
Type string `json:"type"`
// version of the asset release.
Version string `json:"version"`
Asset string `json:"asset"`
State string `json:"state,omitempty"`
// list of categories for the released asset.
Categories []string `json:"categories,omitempty"`
}
AssetReleaseSpec (catalog.v1alpha1.AssetRelease)
type AssetReleaseStatus ¶
type AssetReleaseStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []AssetReleaseStatusReasons `json:"reasons,omitempty"`
}
AssetReleaseStatus (catalog.v1alpha1.AssetRelease)
type AssetReleaseStatusMeta ¶
type AssetReleaseStatusMeta struct {
AssetResource string `json:"assetResource,omitempty"`
}
AssetReleaseStatusMeta (catalog.v1alpha1.AssetRelease)
type AssetReleaseStatusReasons ¶
type AssetReleaseStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta AssetReleaseStatusMeta `json:"meta,omitempty"`
}
AssetReleaseStatusReasons (catalog.v1alpha1.AssetRelease)
type AssetRequest ¶
type AssetRequest struct {
apiv1.ResourceMeta
Approval AssetRequestApproval `json:"approval"`
Data interface{} `json:"data"`
Marketplace AssetRequestMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
References AssetRequestReferences `json:"references"`
Spec AssetRequestSpec `json:"spec"`
// Status AssetRequestStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
AssetRequest Resource
func AssetRequestFromInstanceArray ¶
func AssetRequestFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssetRequest, error)
AssetRequestFromInstanceArray converts a []*ResourceInstance to a []*AssetRequest
func NewAssetRequest ¶
func NewAssetRequest(name, scopeName string) *AssetRequest
NewAssetRequest creates an empty *AssetRequest
func (*AssetRequest) AsInstance ¶
func (res *AssetRequest) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssetRequest to a ResourceInstance
func (*AssetRequest) FromInstance ¶
func (res *AssetRequest) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssetRequest
func (*AssetRequest) MarshalJSON ¶
func (res *AssetRequest) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssetRequest) PluralName ¶
func (res *AssetRequest) PluralName() string
PluralName returns the plural name of the resource
func (*AssetRequest) UnmarshalJSON ¶
func (res *AssetRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetRequestApproval ¶
type AssetRequestApproval struct {
State AssetRequestApprovalState `json:"state"`
}
AssetRequestApproval (catalog.v1alpha1.AssetRequest)
type AssetRequestApprovalState ¶
type AssetRequestApprovalState struct {
Name string `json:"name"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
}
AssetRequestApprovalState (catalog.v1alpha1.AssetRequest)
type AssetRequestDefinition ¶
type AssetRequestDefinition struct {
apiv1.ResourceMeta
Applicationprofile AssetRequestDefinitionApplicationprofile `json:"applicationprofile"`
Authorization AssetRequestDefinitionAuthorization `json:"authorization"`
Owner *apiv1.Owner `json:"owner"`
References interface{} `json:"references"`
Spec AssetRequestDefinitionSpec `json:"spec"`
Webhooks interface{} `json:"webhooks"`
}
AssetRequestDefinition Resource
func AssetRequestDefinitionFromInstanceArray ¶
func AssetRequestDefinitionFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssetRequestDefinition, error)
AssetRequestDefinitionFromInstanceArray converts a []*ResourceInstance to a []*AssetRequestDefinition
func NewAssetRequestDefinition ¶
func NewAssetRequestDefinition(name, scopeName string) *AssetRequestDefinition
NewAssetRequestDefinition creates an empty *AssetRequestDefinition
func (*AssetRequestDefinition) AsInstance ¶
func (res *AssetRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssetRequestDefinition to a ResourceInstance
func (*AssetRequestDefinition) FromInstance ¶
func (res *AssetRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssetRequestDefinition
func (*AssetRequestDefinition) MarshalJSON ¶
func (res *AssetRequestDefinition) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssetRequestDefinition) PluralName ¶
func (res *AssetRequestDefinition) PluralName() string
PluralName returns the plural name of the resource
func (*AssetRequestDefinition) UnmarshalJSON ¶
func (res *AssetRequestDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetRequestDefinitionApplicationprofile ¶ added in v1.1.109
type AssetRequestDefinitionApplicationprofile struct {
// The name of the application profile definition.
Name string `json:"name,omitempty"`
}
AssetRequestDefinitionApplicationprofile A reference to the application profile defined as a requirement for provisioned asset requests. (catalog.v1alpha1.AssetRequestDefinition)
type AssetRequestDefinitionAuthorization ¶
type AssetRequestDefinitionAuthorization struct {
Approval string `json:"approval"`
}
AssetRequestDefinitionAuthorization (catalog.v1alpha1.AssetRequestDefinition)
type AssetRequestDefinitionSpec ¶
type AssetRequestDefinitionSpec struct {
// JSON Schema draft \\#7 for defining the AssetRequest properties needed to get access to an AssetResource. (catalog.v1alpha1.AssetRequestDefinition)
Schema map[string]interface{} `json:"schema"`
Provision AssetRequestDefinitionSpecProvision `json:"provision,omitempty"`
}
AssetRequestDefinitionSpec (catalog.v1alpha1.AssetRequestDefinition)
type AssetRequestDefinitionSpecProvision ¶
type AssetRequestDefinitionSpecProvision struct {
// JSON Schema draft \\#7 for describing the data to be sent back after access has been provisioned. (catalog.v1alpha1.AssetRequestDefinition)
Schema map[string]interface{} `json:"schema,omitempty"`
Policies AssetRequestDefinitionSpecProvisionPolicies `json:"policies,omitempty"`
}
AssetRequestDefinitionSpecProvision (catalog.v1alpha1.AssetRequestDefinition)
type AssetRequestDefinitionSpecProvisionPolicies ¶ added in v1.1.49
type AssetRequestDefinitionSpecProvisionPolicies struct {
// Defines on if AssetRequests using this definition can be moved from their current Subscription to a new one.
Transferable bool `json:"transferable,omitempty"`
}
AssetRequestDefinitionSpecProvisionPolicies Defines the policies applied on the AccessRequests generated using this definition. (catalog.v1alpha1.AssetRequestDefinition)
type AssetRequestMarketplace ¶ added in v1.1.41
type AssetRequestMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource AssetRequestMarketplaceResource `json:"resource"`
}
AssetRequestMarketplace Details about the marketplace Access Request. (catalog.v1alpha1.AssetRequest)
type AssetRequestMarketplaceResource ¶ added in v1.1.41
type AssetRequestMarketplaceResource struct {
Metadata AssetRequestMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
AssetRequestMarketplaceResource The Marketplace Access Request resource details. (catalog.v1alpha1.AssetRequest)
type AssetRequestMarketplaceResourceMetadata ¶ added in v1.1.41
type AssetRequestMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that created the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
AssetRequestMarketplaceResourceMetadata Marketplace Access Request metadata. (catalog.v1alpha1.AssetRequest)
type AssetRequestMarketplaceResourceOwner ¶ added in v1.1.41
type AssetRequestMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization AssetRequestMarketplaceResourceOwnerOrganization `json:"organization"`
}
AssetRequestMarketplaceResourceOwner Owner of the Access Request. (catalog.v1alpha1.AssetRequest)
type AssetRequestMarketplaceResourceOwnerOrganization ¶ added in v1.1.41
type AssetRequestMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
AssetRequestMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.AssetRequest)
type AssetRequestReferences ¶
type AssetRequestReferences struct {
AssetRequestDefinition string `json:"assetRequestDefinition,omitempty"`
// Reference to Release that got created from this asset request.
AssetRelease string `json:"assetRelease,omitempty"`
// Reference to Release that got created from this asset request.
Asset string `json:"asset,omitempty"`
CredentialRequestDefinitions []string `json:"credentialRequestDefinitions,omitempty"`
// Reference to the application profile definition used for this asset request.
ApplicationProfileDefinition string `json:"applicationProfileDefinition,omitempty"`
// Reference to Access Request resource
AccessRequest string `json:"accessRequest,omitempty"`
}
AssetRequestReferences (catalog.v1alpha1.AssetRequest)
type AssetRequestSpec ¶
type AssetRequestSpec struct {
// (catalog.v1alpha1.AssetRequest)
Data map[string]interface{} `json:"data"`
AssetResource string `json:"assetResource"`
// reference to the Subscription to be used to access the Asset Resource.
Subscription string `json:"subscription,omitempty"`
// The AssetRequest from which this resource is being migrated from. Reference must be in the same Application.
AssetRequest string `json:"assetRequest,omitempty"`
// A reference to the Product for which the request was done.
Product string `json:"product,omitempty"`
// A reference to the ProductRelease that contained the asset resource for which the request was done.
ProductRelease string `json:"productRelease,omitempty"`
}
AssetRequestSpec (catalog.v1alpha1.AssetRequest)
type AssetRequestStatus ¶
type AssetRequestStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []AssetRequestStatusReasons `json:"reasons,omitempty"`
}
AssetRequestStatus (catalog.v1alpha1.AssetRequest)
type AssetRequestStatusReasons ¶
type AssetRequestStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.AssetRequest)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
AssetRequestStatusReasons (catalog.v1alpha1.AssetRequest)
type AssetResource ¶
type AssetResource struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
References AssetResourceReferences `json:"references"`
Releasehash interface{} `json:"releasehash"`
Spec AssetResourceSpec `json:"spec"`
}
AssetResource Resource
func AssetResourceFromInstanceArray ¶
func AssetResourceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssetResource, error)
AssetResourceFromInstanceArray converts a []*ResourceInstance to a []*AssetResource
func NewAssetResource ¶
func NewAssetResource(name, scopeKind, scopeName string) (*AssetResource, error)
NewAssetResource creates an empty *AssetResource
func (*AssetResource) AsInstance ¶
func (res *AssetResource) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssetResource to a ResourceInstance
func (*AssetResource) FromInstance ¶
func (res *AssetResource) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssetResource
func (*AssetResource) MarshalJSON ¶
func (res *AssetResource) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssetResource) PluralName ¶
func (res *AssetResource) PluralName() string
PluralName returns the plural name of the resource
func (*AssetResource) UnmarshalJSON ¶
func (res *AssetResource) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssetResourceReferences ¶
type AssetResourceReferences struct {
// Reference to API Service Revision resource
ApiServiceRevision string `json:"apiServiceRevision,omitempty"`
// Reference to API Service Instance resource
ApiServiceInstance string `json:"apiServiceInstance,omitempty"`
}
AssetResourceReferences (catalog.v1alpha1.AssetResource)
type AssetResourceSpec ¶
type AssetResourceSpec struct {
// The Stage this Asset Resource is deployed on.
Stage string `json:"stage,omitempty"`
AssetRequestDefinition string `json:"assetRequestDefinition,omitempty"`
CredentialRequestDefinitions []string `json:"credentialRequestDefinitions,omitempty"`
Type string `json:"type"`
// content-type of the spec.
ContentType string `json:"contentType,omitempty"`
// The version of referenced resource.
Version string `json:"version,omitempty"`
// Base64 encoded value of the api specification.
Definition string `json:"definition"`
// Resource availability
Status string `json:"status"`
// information to access the definition.
AccessInfo []AssetResourceSpecAccessInfo `json:"accessInfo,omitempty"`
SourceReleaseState AssetResourceSpecSourceReleaseState `json:"sourceReleaseState,omitempty"`
}
AssetResourceSpec (catalog.v1alpha1.AssetResource)
type AssetResourceSpecAccessInfo ¶
type AssetResourceSpecAccessInfo struct {
// url where the definition can be accessed.
Url string `json:"url,omitempty"`
// description of the access information.
Description string `json:"description,omitempty"`
}
AssetResourceSpecAccessInfo (catalog.v1alpha1.AssetResource)
type AssetResourceSpecSourceReleaseState ¶ added in v1.1.78
type AssetResourceSpecSourceReleaseState struct {
// Current release state of the source such as stable or deprecated.
Name string `json:"name"`
// Optional info to be associated with the current state. If state is deprecated, then this is intended to indicate when the source will become archived/decommissioned.
Message string `json:"message,omitempty"`
}
AssetResourceSpecSourceReleaseState Copy of APIServiceInstance lifecycle releaseState info. (catalog.v1alpha1.AssetResource)
type AssetSpec ¶
type AssetSpec struct {
// description of the asset.
Description string `json:"description,omitempty"`
Type string `json:"type"`
// list of categories for the asset.
Categories []string `json:"categories,omitempty"`
AutoRelease AssetSpecAutoRelease `json:"autoRelease,omitempty"`
}
AssetSpec (catalog.v1alpha1.Asset)
type AssetSpecAutoRelease ¶ added in v1.1.41
type AssetSpecAutoRelease struct {
ReleaseType string `json:"releaseType"`
// Set true to suspend auto-release until asset state changes to active or deprecated. This property will be automatically removed once activated.
RequiresInitialActivation bool `json:"requiresInitialActivation,omitempty"`
PreviousReleases AssetSpecAutoReleasePreviousReleases `json:"previousReleases,omitempty"`
}
AssetSpecAutoRelease Defines if an asset should create releases everytime there is an update to the resources. (catalog.v1alpha1.Asset)
type AssetSpecAutoReleasePreviousReleases ¶ added in v1.1.44
type AssetSpecAutoReleasePreviousReleases struct {
// Updates all prior non-archived releases to the desired state.
UpdateState string `json:"updateState,omitempty"`
}
AssetSpecAutoReleasePreviousReleases (catalog.v1alpha1.Asset)
type AssetState ¶
type AssetState string
AssetState the model 'AssetState'
const ( // GENERATE: The following code has been modified after code generation AssetStateDRAFT AssetState = "draft" // GENERATE: The following code has been modified after code generation AssetStateACTIVE AssetState = "active" // GENERATE: The following code has been modified after code generation AssetStateDEPRECATED AssetState = "deprecated" // GENERATE: The following code has been modified after code generation AssetStateARCHIVED AssetState = "archived" )
List of AssetState
type AssetStatus ¶
type AssetStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []AssetStatusReasons `json:"reasons,omitempty"`
}
AssetStatus (catalog.v1alpha1.Asset)
type AssetStatusMeta ¶
type AssetStatusMeta struct {
AssetResource string `json:"assetResource,omitempty"`
}
AssetStatusMeta (catalog.v1alpha1.Asset)
type AssetStatusReasons ¶
type AssetStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta AssetStatusMeta `json:"meta,omitempty"`
}
AssetStatusReasons (catalog.v1alpha1.Asset)
type AssistedSearch ¶ added in v1.1.88
type AssistedSearch struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec AssistedSearchSpec `json:"spec"`
State AssistedSearchState `json:"state"`
}
AssistedSearch Resource
func AssistedSearchFromInstanceArray ¶ added in v1.1.88
func AssistedSearchFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AssistedSearch, error)
AssistedSearchFromInstanceArray converts a []*ResourceInstance to a []*AssistedSearch
func NewAssistedSearch ¶ added in v1.1.88
func NewAssistedSearch(name, scopeName string) *AssistedSearch
NewAssistedSearch creates an empty *AssistedSearch
func (*AssistedSearch) AsInstance ¶ added in v1.1.88
func (res *AssistedSearch) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AssistedSearch to a ResourceInstance
func (*AssistedSearch) FromInstance ¶ added in v1.1.88
func (res *AssistedSearch) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AssistedSearch
func (*AssistedSearch) MarshalJSON ¶ added in v1.1.88
func (res *AssistedSearch) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AssistedSearch) PluralName ¶ added in v1.1.88
func (res *AssistedSearch) PluralName() string
PluralName returns the plural name of the resource
func (*AssistedSearch) UnmarshalJSON ¶ added in v1.1.88
func (res *AssistedSearch) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AssistedSearchSpec ¶ added in v1.1.88
type AssistedSearchSpec struct {
// GENERATE: The following code has been modified after code generation
Integration interface{} `json:"integration,omitempty"`
}
AssistedSearchSpec (catalog.v1alpha1.AssistedSearch)
type AssistedSearchSpecEmbeddedIntegrationType ¶ added in v1.1.88
type AssistedSearchSpecEmbeddedIntegrationType struct {
Type string `json:"type"`
}
AssistedSearchSpecEmbeddedIntegrationType Assisted Search is managed by Marketplace service.
type AssistedSearchSpecRemotelyHostedIntegrationType ¶ added in v1.1.88
type AssistedSearchSpecRemotelyHostedIntegrationType struct {
Type string `json:"type"`
}
AssistedSearchSpecRemotelyHostedIntegrationType Assisted Search service is remotely hosted.
type AssistedSearchState ¶ added in v1.1.88
type AssistedSearchState struct {
Name string `json:"name,omitempty"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
}
AssistedSearchState Current state of the integration. The integration can get to be disabled if resources quota is reached. (catalog.v1alpha1.AssistedSearch)
type AuthorizationProfile ¶
type AuthorizationProfile struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Policies AuthorizationProfilePolicies `json:"policies"`
References AuthorizationProfileReferences `json:"references"`
Spec AuthorizationProfileSpec `json:"spec"`
}
AuthorizationProfile Resource
func AuthorizationProfileFromInstanceArray ¶
func AuthorizationProfileFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*AuthorizationProfile, error)
AuthorizationProfileFromInstanceArray converts a []*ResourceInstance to a []*AuthorizationProfile
func NewAuthorizationProfile ¶
func NewAuthorizationProfile(name string) *AuthorizationProfile
NewAuthorizationProfile creates an empty *AuthorizationProfile
func (*AuthorizationProfile) AsInstance ¶
func (res *AuthorizationProfile) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a AuthorizationProfile to a ResourceInstance
func (*AuthorizationProfile) FromInstance ¶
func (res *AuthorizationProfile) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a AuthorizationProfile
func (*AuthorizationProfile) MarshalJSON ¶
func (res *AuthorizationProfile) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*AuthorizationProfile) PluralName ¶
func (res *AuthorizationProfile) PluralName() string
PluralName returns the plural name of the resource
func (*AuthorizationProfile) UnmarshalJSON ¶
func (res *AuthorizationProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type AuthorizationProfilePolicies ¶ added in v1.1.52
type AuthorizationProfilePolicies struct {
Credentials AuthorizationProfilePoliciesCredentials `json:"credentials,omitempty"`
}
AuthorizationProfilePolicies (catalog.v1alpha1.AuthorizationProfile)
type AuthorizationProfilePoliciesCredentials ¶ added in v1.1.52
type AuthorizationProfilePoliciesCredentials struct {
Expiry AuthorizationProfilePoliciesCredentialsExpiry `json:"expiry,omitempty"`
}
AuthorizationProfilePoliciesCredentials Defines the policies for the AuthorizationProfile's Credentials generated with the profiles CredentialRequestDefinitions. (catalog.v1alpha1.AuthorizationProfile)
type AuthorizationProfilePoliciesCredentialsExpiry ¶ added in v1.1.52
type AuthorizationProfilePoliciesCredentialsExpiry struct {
Notifications AuthorizationProfilePoliciesCredentialsExpiryNotifications `json:"notifications,omitempty"`
}
AuthorizationProfilePoliciesCredentialsExpiry Expiry properties for Credentials linked to this definition. (catalog.v1alpha1.AuthorizationProfile)
type AuthorizationProfilePoliciesCredentialsExpiryNotifications ¶ added in v1.1.52
type AuthorizationProfilePoliciesCredentialsExpiryNotifications struct {
// The days interval at which to send notifications before the Credentials are to expire.
DaysBefore []int32 `json:"daysBefore,omitempty"`
}
AuthorizationProfilePoliciesCredentialsExpiryNotifications Notifications properties for Credentials expiry. (catalog.v1alpha1.AuthorizationProfile)
type AuthorizationProfileReferences ¶
type AuthorizationProfileReferences struct {
Environment string `json:"environment,omitempty"`
}
AuthorizationProfileReferences (catalog.v1alpha1.AuthorizationProfile)
type AuthorizationProfileSpec ¶
type AuthorizationProfileSpec struct {
// Description of AuthorizationProfile that can be used to access Asset.
Description string `json:"description,omitempty"`
}
AuthorizationProfileSpec (catalog.v1alpha1.AuthorizationProfile)
type Category ¶
type Category struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
Spec CategorySpec `json:"spec"`
}
Category Resource
func CategoryFromInstanceArray ¶
func CategoryFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Category, error)
CategoryFromInstanceArray converts a []*ResourceInstance to a []*Category
func (*Category) AsInstance ¶
func (res *Category) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Category to a ResourceInstance
func (*Category) FromInstance ¶
func (res *Category) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Category
func (*Category) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Category) PluralName ¶
PluralName returns the plural name of the resource
func (*Category) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type CategorySpec ¶
type CategorySpec struct {
// Markdown representing the category description.
Description string `json:"description,omitempty"`
// Defines a parent category reference. Write access needed on the parent category to allow referencing it.
ParentCategory string `json:"parentCategory,omitempty"`
// GENERATE: The following code has been modified after code generation
Restriction interface{} `json:"restriction,omitempty"`
}
CategorySpec (catalog.v1alpha1.Category)
type CategorySpecApiServiceRestriction ¶ added in v1.1.35
type CategorySpecApiServiceRestriction struct {
Type string `json:"type"`
}
CategorySpecApiServiceRestriction struct for CategorySpecApiServiceRestriction
type CategorySpecAssetRestriction ¶ added in v1.1.35
type CategorySpecAssetRestriction struct {
Type string `json:"type"`
}
CategorySpecAssetRestriction struct for CategorySpecAssetRestriction
type CategorySpecProductRestriction ¶ added in v1.1.35
type CategorySpecProductRestriction struct {
Type string `json:"type"`
Marketplace CategorySpecProductRestrictionMarketplace `json:"marketplace,omitempty"`
}
CategorySpecProductRestriction struct for CategorySpecProductRestriction
type CategorySpecProductRestrictionMarketplace ¶ added in v1.1.35
type CategorySpecProductRestrictionMarketplace struct {
// Property not used anymore. CategoryVisibility resource to be used to control the featured property of the Category in a specific Marketplace.
Featured bool `json:"featured,omitempty"`
// Defines if the Category is visible in the marketplace.
Visible bool `json:"visible"`
}
CategorySpecProductRestrictionMarketplace Defines properties to be applied to all marketplaces.
type CategoryVisibility ¶ added in v1.1.49
type CategoryVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec CategoryVisibilitySpec `json:"spec"`
}
CategoryVisibility Resource
func CategoryVisibilityFromInstanceArray ¶ added in v1.1.49
func CategoryVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*CategoryVisibility, error)
CategoryVisibilityFromInstanceArray converts a []*ResourceInstance to a []*CategoryVisibility
func NewCategoryVisibility ¶ added in v1.1.49
func NewCategoryVisibility(name, scopeName string) *CategoryVisibility
NewCategoryVisibility creates an empty *CategoryVisibility
func (*CategoryVisibility) AsInstance ¶ added in v1.1.49
func (res *CategoryVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a CategoryVisibility to a ResourceInstance
func (*CategoryVisibility) FromInstance ¶ added in v1.1.49
func (res *CategoryVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a CategoryVisibility
func (*CategoryVisibility) MarshalJSON ¶ added in v1.1.49
func (res *CategoryVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*CategoryVisibility) PluralName ¶ added in v1.1.49
func (res *CategoryVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*CategoryVisibility) UnmarshalJSON ¶ added in v1.1.49
func (res *CategoryVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type CategoryVisibilitySpec ¶ added in v1.1.49
type CategoryVisibilitySpec struct {
Category string `json:"category"`
// Defines if the Category is featured in the marketplace.
Featured bool `json:"featured"`
}
CategoryVisibilitySpec (catalog.v1alpha1.CategoryVisibility)
type ConsumerProductPlanVisibility ¶ added in v1.1.109
type ConsumerProductPlanVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ConsumerProductPlanVisibilitySpec `json:"spec"`
}
ConsumerProductPlanVisibility Resource
func ConsumerProductPlanVisibilityFromInstanceArray ¶ added in v1.1.109
func ConsumerProductPlanVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ConsumerProductPlanVisibility, error)
ConsumerProductPlanVisibilityFromInstanceArray converts a []*ResourceInstance to a []*ConsumerProductPlanVisibility
func NewConsumerProductPlanVisibility ¶ added in v1.1.109
func NewConsumerProductPlanVisibility(name, scopeName string) *ConsumerProductPlanVisibility
NewConsumerProductPlanVisibility creates an empty *ConsumerProductPlanVisibility
func (*ConsumerProductPlanVisibility) AsInstance ¶ added in v1.1.109
func (res *ConsumerProductPlanVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ConsumerProductPlanVisibility to a ResourceInstance
func (*ConsumerProductPlanVisibility) FromInstance ¶ added in v1.1.109
func (res *ConsumerProductPlanVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ConsumerProductPlanVisibility
func (*ConsumerProductPlanVisibility) MarshalJSON ¶ added in v1.1.109
func (res *ConsumerProductPlanVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ConsumerProductPlanVisibility) PluralName ¶ added in v1.1.109
func (res *ConsumerProductPlanVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*ConsumerProductPlanVisibility) UnmarshalJSON ¶ added in v1.1.109
func (res *ConsumerProductPlanVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ConsumerProductPlanVisibilitySpec ¶ added in v1.1.109
type ConsumerProductPlanVisibilitySpec struct {
// Defines where the visibility settings apply.
Plans []ConsumerProductPlanVisibilitySpecPlans `json:"plans"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
ConsumerProductPlanVisibilitySpec (catalog.v1alpha1.ConsumerProductPlanVisibility)
type ConsumerProductPlanVisibilitySpecAuthenticatedRef ¶ added in v1.1.109
type ConsumerProductPlanVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
ConsumerProductPlanVisibilitySpecAuthenticatedRef struct for ConsumerProductPlanVisibilitySpecAuthenticatedRef
type ConsumerProductPlanVisibilitySpecOrgRef ¶ added in v1.1.109
type ConsumerProductPlanVisibilitySpecOrgRef struct {
Type string `json:"type"`
// ID of the consumer organization.
Id string `json:"id"`
}
ConsumerProductPlanVisibilitySpecOrgRef struct for ConsumerProductPlanVisibilitySpecOrgRef
type ConsumerProductPlanVisibilitySpecPlans ¶ added in v1.1.109
type ConsumerProductPlanVisibilitySpecPlans struct {
Name string `json:"name"`
}
ConsumerProductPlanVisibilitySpecPlans (catalog.v1alpha1.ConsumerProductPlanVisibility)
type ConsumerProductVisibility ¶ added in v1.1.44
type ConsumerProductVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ConsumerProductVisibilitySpec `json:"spec"`
}
ConsumerProductVisibility Resource
func ConsumerProductVisibilityFromInstanceArray ¶ added in v1.1.44
func ConsumerProductVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ConsumerProductVisibility, error)
ConsumerProductVisibilityFromInstanceArray converts a []*ResourceInstance to a []*ConsumerProductVisibility
func NewConsumerProductVisibility ¶ added in v1.1.44
func NewConsumerProductVisibility(name, scopeName string) *ConsumerProductVisibility
NewConsumerProductVisibility creates an empty *ConsumerProductVisibility
func (*ConsumerProductVisibility) AsInstance ¶ added in v1.1.44
func (res *ConsumerProductVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ConsumerProductVisibility to a ResourceInstance
func (*ConsumerProductVisibility) FromInstance ¶ added in v1.1.44
func (res *ConsumerProductVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ConsumerProductVisibility
func (*ConsumerProductVisibility) MarshalJSON ¶ added in v1.1.44
func (res *ConsumerProductVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ConsumerProductVisibility) PluralName ¶ added in v1.1.44
func (res *ConsumerProductVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*ConsumerProductVisibility) UnmarshalJSON ¶ added in v1.1.44
func (res *ConsumerProductVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ConsumerProductVisibilitySpec ¶ added in v1.1.44
type ConsumerProductVisibilitySpec struct {
// Defines where the visibility settings apply.
Products []ConsumerProductVisibilitySpecProducts `json:"products"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
ConsumerProductVisibilitySpec (catalog.v1alpha1.ConsumerProductVisibility)
type ConsumerProductVisibilitySpecAuthenticatedRef ¶ added in v1.1.52
type ConsumerProductVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
ConsumerProductVisibilitySpecAuthenticatedRef struct for ConsumerProductVisibilitySpecAuthenticatedRef
type ConsumerProductVisibilitySpecOrgRef ¶ added in v1.1.44
type ConsumerProductVisibilitySpecOrgRef struct {
Type string `json:"type"`
// ID of the consumer organization.
Id string `json:"id"`
}
ConsumerProductVisibilitySpecOrgRef struct for ConsumerProductVisibilitySpecOrgRef
type ConsumerProductVisibilitySpecProducts ¶ added in v1.1.44
type ConsumerProductVisibilitySpecProducts struct {
Name string `json:"name"`
}
ConsumerProductVisibilitySpecProducts (catalog.v1alpha1.ConsumerProductVisibility)
type ConsumerStageVisibility ¶ added in v1.1.78
type ConsumerStageVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ConsumerStageVisibilitySpec `json:"spec"`
}
ConsumerStageVisibility Resource
func ConsumerStageVisibilityFromInstanceArray ¶ added in v1.1.78
func ConsumerStageVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ConsumerStageVisibility, error)
ConsumerStageVisibilityFromInstanceArray converts a []*ResourceInstance to a []*ConsumerStageVisibility
func NewConsumerStageVisibility ¶ added in v1.1.78
func NewConsumerStageVisibility(name, scopeName string) *ConsumerStageVisibility
NewConsumerStageVisibility creates an empty *ConsumerStageVisibility
func (*ConsumerStageVisibility) AsInstance ¶ added in v1.1.78
func (res *ConsumerStageVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ConsumerStageVisibility to a ResourceInstance
func (*ConsumerStageVisibility) FromInstance ¶ added in v1.1.78
func (res *ConsumerStageVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ConsumerStageVisibility
func (*ConsumerStageVisibility) MarshalJSON ¶ added in v1.1.78
func (res *ConsumerStageVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ConsumerStageVisibility) PluralName ¶ added in v1.1.78
func (res *ConsumerStageVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*ConsumerStageVisibility) UnmarshalJSON ¶ added in v1.1.78
func (res *ConsumerStageVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ConsumerStageVisibilitySpec ¶ added in v1.1.78
type ConsumerStageVisibilitySpec struct {
// Defines where the visibility settings apply.
Stages []ConsumerStageVisibilitySpecStages `json:"stages"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
ConsumerStageVisibilitySpec (catalog.v1alpha1.ConsumerStageVisibility)
type ConsumerStageVisibilitySpecAuthenticatedRef ¶ added in v1.1.78
type ConsumerStageVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
ConsumerStageVisibilitySpecAuthenticatedRef struct for ConsumerStageVisibilitySpecAuthenticatedRef
type ConsumerStageVisibilitySpecOrgRef ¶ added in v1.1.78
type ConsumerStageVisibilitySpecOrgRef struct {
Type string `json:"type"`
// ID of the consumer organization.
Id string `json:"id"`
}
ConsumerStageVisibilitySpecOrgRef struct for ConsumerStageVisibilitySpecOrgRef
type ConsumerStageVisibilitySpecStages ¶ added in v1.1.79
type ConsumerStageVisibilitySpecStages struct {
Name string `json:"name"`
}
ConsumerStageVisibilitySpecStages (catalog.v1alpha1.ConsumerStageVisibility)
type Credential ¶
type Credential struct {
apiv1.ResourceMeta
Data interface{} `json:"data"`
Expiration CredentialExpiration `json:"expiration"`
Marketplace CredentialMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
Policies CredentialPolicies `json:"policies"`
References CredentialReferences `json:"references"`
Spec CredentialSpec `json:"spec"`
State CredentialState `json:"state"`
// Status CredentialStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Credential Resource
func CredentialFromInstanceArray ¶
func CredentialFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Credential, error)
CredentialFromInstanceArray converts a []*ResourceInstance to a []*Credential
func NewCredential ¶
func NewCredential(name, scopeName string) *Credential
NewCredential creates an empty *Credential
func (*Credential) AsInstance ¶
func (res *Credential) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Credential to a ResourceInstance
func (*Credential) FromInstance ¶
func (res *Credential) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Credential
func (*Credential) MarshalJSON ¶
func (res *Credential) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*Credential) PluralName ¶
func (res *Credential) PluralName() string
PluralName returns the plural name of the resource
func (*Credential) UnmarshalJSON ¶
func (res *Credential) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type CredentialExpiration ¶ added in v1.1.49
type CredentialExpiration struct {
Notification CredentialExpirationNotification `json:"notification,omitempty"`
}
CredentialExpiration Credential expiration properties. (catalog.v1alpha1.Credential)
type CredentialExpirationNotification ¶ added in v1.1.49
type CredentialExpirationNotification struct {
// Latest scheduled command id for sending notifications.
CommandId string `json:"commandId,omitempty"`
// Expiration command action. Set to 'notify' to trigger a credential expiration notification.
Action string `json:"action,omitempty"`
}
CredentialExpirationNotification Details about the scheduled notification job. (catalog.v1alpha1.Credential)
type CredentialMarketplace ¶ added in v1.1.35
type CredentialMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource CredentialMarketplaceResource `json:"resource"`
}
CredentialMarketplace Details about the marketplace Application. (catalog.v1alpha1.Credential)
type CredentialMarketplaceResource ¶ added in v1.1.35
type CredentialMarketplaceResource struct {
Metadata CredentialMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
CredentialMarketplaceResource The Marketplace Credential resource details. (catalog.v1alpha1.Credential)
type CredentialMarketplaceResourceMetadata ¶ added in v1.1.35
type CredentialMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that created the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
CredentialMarketplaceResourceMetadata Marketplace Application metadata. (catalog.v1alpha1.Credential)
type CredentialMarketplaceResourceOwner ¶ added in v1.1.35
type CredentialMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization CredentialMarketplaceResourceOwnerOrganization `json:"organization"`
}
CredentialMarketplaceResourceOwner Owner of the Credential. (catalog.v1alpha1.Credential)
type CredentialMarketplaceResourceOwnerOrganization ¶ added in v1.1.35
type CredentialMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
CredentialMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.Credential)
type CredentialPolicies ¶ added in v1.1.35
type CredentialPolicies struct {
Expiry CredentialPoliciesExpiry `json:"expiry,omitempty"`
}
CredentialPolicies (catalog.v1alpha1.Credential)
type CredentialPoliciesExpiry ¶ added in v1.1.35
type CredentialPoliciesExpiry struct {
// Time when the Credential is set to be expired.
Timestamp time.Time `json:"timestamp"`
}
CredentialPoliciesExpiry (catalog.v1alpha1.Credential)
type CredentialReferences ¶
type CredentialReferences struct {
// Reference to the Credential for managed app that got created from this catalog credential.
Credential string `json:"credential,omitempty"`
}
CredentialReferences (catalog.v1alpha1.Credential)
type CredentialRequestDefinition ¶
type CredentialRequestDefinition struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
References CredentialRequestDefinitionReferences `json:"references"`
Spec CredentialRequestDefinitionSpec `json:"spec"`
Webhooks interface{} `json:"webhooks"`
}
CredentialRequestDefinition Resource
func CredentialRequestDefinitionFromInstanceArray ¶
func CredentialRequestDefinitionFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*CredentialRequestDefinition, error)
CredentialRequestDefinitionFromInstanceArray converts a []*ResourceInstance to a []*CredentialRequestDefinition
func NewCredentialRequestDefinition ¶
func NewCredentialRequestDefinition(name, scopeName string) *CredentialRequestDefinition
NewCredentialRequestDefinition creates an empty *CredentialRequestDefinition
func (*CredentialRequestDefinition) AsInstance ¶
func (res *CredentialRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a CredentialRequestDefinition to a ResourceInstance
func (*CredentialRequestDefinition) FromInstance ¶
func (res *CredentialRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a CredentialRequestDefinition
func (*CredentialRequestDefinition) MarshalJSON ¶
func (res *CredentialRequestDefinition) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*CredentialRequestDefinition) PluralName ¶
func (res *CredentialRequestDefinition) PluralName() string
PluralName returns the plural name of the resource
func (*CredentialRequestDefinition) UnmarshalJSON ¶
func (res *CredentialRequestDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type CredentialRequestDefinitionReferences ¶
type CredentialRequestDefinitionReferences struct {
// The name of the CredentialRequestDefinition from an Environment.
CredentialReqDef string `json:"credentialReqDef,omitempty"`
}
CredentialRequestDefinitionReferences (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialRequestDefinitionSpec ¶
type CredentialRequestDefinitionSpec struct {
// JSON Schema draft \\#7 for describing the fields needed to provision Credentials of that type. (catalog.v1alpha1.CredentialRequestDefinition)
Schema map[string]interface{} `json:"schema"`
Provision CredentialRequestDefinitionSpecProvision `json:"provision"`
// The name of the IdentityProvider.
IdentityProvider string `json:"identityProvider,omitempty"`
}
CredentialRequestDefinitionSpec (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialRequestDefinitionSpecProvision ¶
type CredentialRequestDefinitionSpecProvision struct {
// JSON Schema draft \\#7 for describing the generated credentials format. (catalog.v1alpha1.CredentialRequestDefinition)
Schema map[string]interface{} `json:"schema"`
Policies CredentialRequestDefinitionSpecProvisionPolicies `json:"policies,omitempty"`
}
CredentialRequestDefinitionSpecProvision (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialRequestDefinitionSpecProvisionPolicies ¶ added in v1.1.35
type CredentialRequestDefinitionSpecProvisionPolicies struct {
// Defines on if Credentials using this definitions can be renewed.
Renewable bool `json:"renewable,omitempty"`
// Defines on if Credentials can be suspended.
Suspendable bool `json:"suspendable,omitempty"`
Expiry CredentialRequestDefinitionSpecProvisionPoliciesExpiry `json:"expiry,omitempty"`
}
CredentialRequestDefinitionSpecProvisionPolicies Defines the policies applied on the Credentials generated using this definition. (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialRequestDefinitionSpecProvisionPoliciesExpiry ¶ added in v1.1.35
type CredentialRequestDefinitionSpecProvisionPoliciesExpiry struct {
// The number of days after the Credentials are considered to be expired.
Period int32 `json:"period"`
// The actions taken when the Credentials expire.
Actions []CredentialRequestDefinitionSpecProvisionPoliciesExpiryActions `json:"actions,omitempty"`
}
CredentialRequestDefinitionSpecProvisionPoliciesExpiry Expiry properties for Credentials linked to this definition. (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialRequestDefinitionSpecProvisionPoliciesExpiryActions ¶ added in v1.1.35
type CredentialRequestDefinitionSpecProvisionPoliciesExpiryActions struct {
// The type of the action taken when the Credential using this definition expires.
Type string `json:"type,omitempty"`
}
CredentialRequestDefinitionSpecProvisionPoliciesExpiryActions (catalog.v1alpha1.CredentialRequestDefinition)
type CredentialSpec ¶
type CredentialSpec struct {
// Reference to Credential Request Definition resource
CredentialRequestDefinition string `json:"credentialRequestDefinition"`
// data matching the credential request definition schema. (catalog.v1alpha1.Credential)
Data map[string]interface{} `json:"data"`
State CredentialSpecState `json:"state,omitempty"`
}
CredentialSpec (catalog.v1alpha1.Credential)
type CredentialSpecState ¶ added in v1.1.35
type CredentialSpecState struct {
Name string `json:"name"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
// Defines if credential needs to be rotated.
Rotate bool `json:"rotate,omitempty"`
}
CredentialSpecState Desired state of the Credential. (catalog.v1alpha1.Credential)
type CredentialState ¶ added in v1.1.35
type CredentialState struct {
Name string `json:"name"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
}
CredentialState Current state of the Credential. (catalog.v1alpha1.Credential)
type CredentialStatus ¶
type CredentialStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated credential status.
Reasons []CredentialStatusReasons `json:"reasons,omitempty"`
}
CredentialStatus (catalog.v1alpha1.Credential)
type CredentialStatusReasons ¶
type CredentialStatusReasons struct {
// type of the reason.
Type string `json:"type"`
// Details of the type.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.Credential)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
CredentialStatusReasons (catalog.v1alpha1.Credential)
type Document ¶
type Document struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
Spec DocumentSpec `json:"spec"`
// Status DocumentStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Document Resource
func DocumentFromInstanceArray ¶
func DocumentFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Document, error)
DocumentFromInstanceArray converts a []*ResourceInstance to a []*Document
func NewDocument ¶
NewDocument creates an empty *Document
func (*Document) AsInstance ¶
func (res *Document) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Document to a ResourceInstance
func (*Document) FromInstance ¶
func (res *Document) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Document
func (*Document) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Document) PluralName ¶
PluralName returns the plural name of the resource
func (*Document) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type DocumentResource ¶ added in v1.1.62
type DocumentResource struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
References DocumentResourceReferences `json:"references"`
Spec DocumentResourceSpec `json:"spec"`
State DocumentResourceState `json:"state"`
}
DocumentResource Resource
func DocumentResourceFromInstanceArray ¶ added in v1.1.62
func DocumentResourceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*DocumentResource, error)
DocumentResourceFromInstanceArray converts a []*ResourceInstance to a []*DocumentResource
func NewDocumentResource ¶ added in v1.1.62
func NewDocumentResource(name string) *DocumentResource
NewDocumentResource creates an empty *DocumentResource
func (*DocumentResource) AsInstance ¶ added in v1.1.62
func (res *DocumentResource) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a DocumentResource to a ResourceInstance
func (*DocumentResource) FromInstance ¶ added in v1.1.62
func (res *DocumentResource) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a DocumentResource
func (*DocumentResource) MarshalJSON ¶ added in v1.1.62
func (res *DocumentResource) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*DocumentResource) PluralName ¶ added in v1.1.62
func (res *DocumentResource) PluralName() string
PluralName returns the plural name of the resource
func (*DocumentResource) UnmarshalJSON ¶ added in v1.1.62
func (res *DocumentResource) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type DocumentResourceReferences ¶ added in v1.1.62
type DocumentResourceReferences struct {
// The marketplaces this DocumentResource is being used in as part of the marketplace settings.
MarketplaceSettings []DocumentResourceReferencesMarketplaceSettings `json:"marketplaceSettings,omitempty"`
PlatformSettings DocumentResourceReferencesPlatformSettings `json:"platformSettings,omitempty"`
}
DocumentResourceReferences (catalog.v1alpha1.DocumentResource)
type DocumentResourceReferencesMarketplaceSettings ¶ added in v1.1.62
type DocumentResourceReferencesMarketplaceSettings struct {
// The Marketplace reference.
Name string `json:"name,omitempty"`
}
DocumentResourceReferencesMarketplaceSettings (catalog.v1alpha1.DocumentResource)
type DocumentResourceReferencesPlatformSettings ¶ added in v1.1.78
type DocumentResourceReferencesPlatformSettings struct {
// Defines the DocumentResource used in the platform settings or not.
Used bool `json:"used"`
}
DocumentResourceReferencesPlatformSettings (catalog.v1alpha1.DocumentResource)
type DocumentResourceSpec ¶ added in v1.1.62
type DocumentResourceSpec struct {
// Document description.
Description string `json:"description,omitempty"`
// Version of the DocumentResource.
Version string `json:"version"`
Usage DocumentResourceSpecUsage `json:"usage"`
// GENERATE: The following code has been modified after code generation
Data interface{} `json:"data"`
}
DocumentResourceSpec (catalog.v1alpha1.DocumentResource)
type DocumentResourceSpecBinaryData ¶ added in v1.1.62
type DocumentResourceSpecBinaryData struct {
Type string `json:"type"`
// Base64 encoded value of the file.
Content string `json:"content"`
// The name of the file.
FileName string `json:"fileName,omitempty"`
// The type of the resource, example: pdf, markdown
FileType string `json:"fileType"`
// The content type
ContentType string `json:"contentType"`
}
DocumentResourceSpecBinaryData struct for DocumentResourceSpecBinaryData
type DocumentResourceSpecTextData ¶ added in v1.1.62
type DocumentResourceSpecTextData struct {
Type string `json:"type"`
// Resource content.
Content string `json:"content"`
// The name of the file.
FileName string `json:"fileName,omitempty"`
// The type of the resource, example: pdf
FileType string `json:"fileType"`
// The content type
ContentType string `json:"contentType"`
}
DocumentResourceSpecTextData struct for DocumentResourceSpecTextData
type DocumentResourceSpecUrl ¶ added in v1.1.62
type DocumentResourceSpecUrl struct {
Type string `json:"type"`
// URL value.
Value string `json:"value"`
}
DocumentResourceSpecUrl struct for DocumentResourceSpecUrl
type DocumentResourceSpecUsage ¶ added in v1.1.62
type DocumentResourceSpecUsage struct {
MarketplaceSettings DocumentResourceSpecUsageMarketplaceSettings `json:"marketplaceSettings"`
Products DocumentResourceSpecUsageProducts `json:"products"`
}
DocumentResourceSpecUsage Defines where the DocumentResource can be used. (catalog.v1alpha1.DocumentResource)
type DocumentResourceSpecUsageMarketplaceSettings ¶ added in v1.1.62
type DocumentResourceSpecUsageMarketplaceSettings struct {
// Defines if the DocumentResource can be used in the platform marketplace settings. Create PublishedDocumentResources to indicate in which marketplaces the document is available.
Available bool `json:"available"`
}
DocumentResourceSpecUsageMarketplaceSettings (catalog.v1alpha1.DocumentResource)
type DocumentResourceSpecUsageProducts ¶ added in v1.1.62
type DocumentResourceSpecUsageProducts struct {
// Defines if the DocumentResource is available to be used in Products.
Available bool `json:"available"`
}
DocumentResourceSpecUsageProducts (catalog.v1alpha1.DocumentResource)
type DocumentResourceState ¶ added in v1.1.62
type DocumentResourceState struct {
// The name of the state of the DocumentResource. If the state is \"final\" it means that the DocumentResource can be used in Products or Marketplace settings.
Name string `json:"name,omitempty"`
}
DocumentResourceState Current state of the DocumentResource. (catalog.v1alpha1.DocumentResource)
type DocumentSpec ¶
type DocumentSpec struct {
// Document description.
Description string `json:"description,omitempty"`
// Rank of document.
// GENERATE: The following code has been modified after code generation
Rank float64 `json:"rank,omitempty"`
Sections []DocumentSpecSections `json:"sections,omitempty"`
}
DocumentSpec (catalog.v1alpha1.Document)
type DocumentSpecDocumentResourceRef ¶ added in v1.1.62
type DocumentSpecDocumentResourceRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
// Title for the article. Marketplace will source/use the title from the linked DocumentResource.
Title string `json:"title,omitempty"`
}
DocumentSpecDocumentResourceRef struct for DocumentSpecDocumentResourceRef
type DocumentSpecResourceRef ¶
type DocumentSpecResourceRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
// Title for the article. Marketplace will source/use the title from the linked Resource.
Title string `json:"title,omitempty"`
}
DocumentSpecResourceRef struct for DocumentSpecResourceRef
type DocumentSpecSections ¶
type DocumentSpecSections struct {
// Title for the section.
Title string `json:"title"`
// Description for the section.
Description string `json:"description,omitempty"`
// Section articles.
// GENERATE: The following code has been modified after code generation
Articles []interface{} `json:"articles,omitempty"`
}
DocumentSpecSections (catalog.v1alpha1.Document)
type DocumentStatus ¶
type DocumentStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
// GENERATE: The following code has been modified after code generation
Reasons []interface{} `json:"reasons,omitempty"`
}
DocumentStatus (catalog.v1alpha1.Document)
type DocumentStatusError ¶
type DocumentStatusError struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta map[string]interface{} `json:"meta,omitempty"`
}
DocumentStatusError struct for DocumentStatusError
type DocumentStatusSuccess ¶
type DocumentStatusSuccess struct {
Type string `json:"type"`
// Time when the change occured.
Timestamp time.Time `json:"timestamp"`
// message of the result
Detail string `json:"detail"`
Meta map[string]interface{} `json:"meta,omitempty"`
}
DocumentStatusSuccess struct for DocumentStatusSuccess
type DocumentTemplate ¶ added in v1.1.107
type DocumentTemplate struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec DocumentTemplateSpec `json:"spec"`
}
DocumentTemplate Resource
func DocumentTemplateFromInstanceArray ¶ added in v1.1.107
func DocumentTemplateFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*DocumentTemplate, error)
DocumentTemplateFromInstanceArray converts a []*ResourceInstance to a []*DocumentTemplate
func NewDocumentTemplate ¶ added in v1.1.107
func NewDocumentTemplate(name string) *DocumentTemplate
NewDocumentTemplate creates an empty *DocumentTemplate
func (*DocumentTemplate) AsInstance ¶ added in v1.1.107
func (res *DocumentTemplate) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a DocumentTemplate to a ResourceInstance
func (*DocumentTemplate) FromInstance ¶ added in v1.1.107
func (res *DocumentTemplate) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a DocumentTemplate
func (*DocumentTemplate) MarshalJSON ¶ added in v1.1.107
func (res *DocumentTemplate) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*DocumentTemplate) PluralName ¶ added in v1.1.107
func (res *DocumentTemplate) PluralName() string
PluralName returns the plural name of the resource
func (*DocumentTemplate) UnmarshalJSON ¶ added in v1.1.107
func (res *DocumentTemplate) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type DocumentTemplateSpec ¶ added in v1.1.107
type DocumentTemplateSpec struct {
// Document Template description.
Description string `json:"description,omitempty"`
// Version of the Document Template.
Version string `json:"version,omitempty"`
Usage DocumentTemplateSpecUsage `json:"usage,omitempty"`
}
DocumentTemplateSpec (catalog.v1alpha1.DocumentTemplate)
type DocumentTemplateSpecUsage ¶ added in v1.1.113
type DocumentTemplateSpecUsage struct {
// Defines if the DocumentTemplate should be used as the default one.
UseAsDefault bool `json:"useAsDefault,omitempty"`
// Defines if users should not be allowed to create free style documents.
Enforced bool `json:"enforced,omitempty"`
}
DocumentTemplateSpecUsage (catalog.v1alpha1.DocumentTemplate)
type Marketplace ¶
type Marketplace struct {
apiv1.ResourceMeta
Billing MarketplaceBilling `json:"billing"`
Owner *apiv1.Owner `json:"owner"`
Spec MarketplaceSpec `json:"spec"`
}
Marketplace Resource
func MarketplaceFromInstanceArray ¶
func MarketplaceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Marketplace, error)
MarketplaceFromInstanceArray converts a []*ResourceInstance to a []*Marketplace
func NewMarketplace ¶
func NewMarketplace(name string) *Marketplace
NewMarketplace creates an empty *Marketplace
func (*Marketplace) AsInstance ¶
func (res *Marketplace) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Marketplace to a ResourceInstance
func (*Marketplace) FromInstance ¶
func (res *Marketplace) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Marketplace
func (*Marketplace) MarshalJSON ¶
func (res *Marketplace) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*Marketplace) PluralName ¶
func (res *Marketplace) PluralName() string
PluralName returns the plural name of the resource
func (*Marketplace) UnmarshalJSON ¶
func (res *Marketplace) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type MarketplaceBilling ¶ added in v1.1.52
type MarketplaceBilling struct {
Payment MarketplaceBillingPayment `json:"payment,omitempty"`
}
MarketplaceBilling Billing options for the Marketplace. (catalog.v1alpha1.Marketplace)
type MarketplaceBillingPayment ¶ added in v1.1.52
type MarketplaceBillingPayment struct {
// The billing system type used for this Marketplace.
Type string `json:"type"`
}
MarketplaceBillingPayment Supported payment properties. (catalog.v1alpha1.Marketplace)
type MarketplaceSpec ¶
type MarketplaceSpec struct {
// description of the Marketplace.
Description string `json:"description,omitempty"`
}
MarketplaceSpec (catalog.v1alpha1.Marketplace)
type Product ¶
type Product struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Latestrelease ProductLatestrelease `json:"latestrelease"`
Owner *apiv1.Owner `json:"owner"`
References ProductReferences `json:"references"`
Spec ProductSpec `json:"spec"`
State ProductState `json:"state"`
// Status ProductStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Product Resource
func ProductFromInstanceArray ¶
func ProductFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Product, error)
ProductFromInstanceArray converts a []*ResourceInstance to a []*Product
func (*Product) AsInstance ¶
func (res *Product) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Product to a ResourceInstance
func (*Product) FromInstance ¶
func (res *Product) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Product
func (*Product) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Product) PluralName ¶
PluralName returns the plural name of the resource
func (*Product) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductLatestrelease ¶ added in v1.1.52
type ProductLatestrelease struct {
Name string `json:"name,omitempty"`
TagName string `json:"tagName,omitempty"`
Version string `json:"version,omitempty"`
}
ProductLatestrelease Provides newest non-archived release and version. Will be unassigned if no releases exist. (catalog.v1alpha1.Product)
type ProductOverview ¶
type ProductOverview struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ProductOverviewSpec `json:"spec"`
}
ProductOverview Resource
func NewProductOverview ¶
func NewProductOverview(name, scopeKind, scopeName string) (*ProductOverview, error)
NewProductOverview creates an empty *ProductOverview
func ProductOverviewFromInstanceArray ¶
func ProductOverviewFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductOverview, error)
ProductOverviewFromInstanceArray converts a []*ResourceInstance to a []*ProductOverview
func (*ProductOverview) AsInstance ¶
func (res *ProductOverview) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductOverview to a ResourceInstance
func (*ProductOverview) FromInstance ¶
func (res *ProductOverview) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductOverview
func (*ProductOverview) MarshalJSON ¶
func (res *ProductOverview) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductOverview) PluralName ¶
func (res *ProductOverview) PluralName() string
PluralName returns the plural name of the resource
func (*ProductOverview) UnmarshalJSON ¶
func (res *ProductOverview) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductOverviewSpec ¶
type ProductOverviewSpec struct {
// Defines all the documents and order for marketplace.
Documents []ProductOverviewSpecDocuments `json:"documents,omitempty"`
}
ProductOverviewSpec (catalog.v1alpha1.ProductOverview)
type ProductOverviewSpecDocuments ¶
type ProductOverviewSpecDocuments struct {
Name string `json:"name"`
}
ProductOverviewSpecDocuments (catalog.v1alpha1.ProductOverview)
type ProductPlan ¶
type ProductPlan struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
References ProductPlanReferences `json:"references"`
Spec ProductPlanSpec `json:"spec"`
State ProductPlanState `json:"state"`
// Status ProductPlanStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
ProductPlan Resource
func NewProductPlan ¶
func NewProductPlan(name string) *ProductPlan
NewProductPlan creates an empty *ProductPlan
func ProductPlanFromInstanceArray ¶
func ProductPlanFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductPlan, error)
ProductPlanFromInstanceArray converts a []*ResourceInstance to a []*ProductPlan
func (*ProductPlan) AsInstance ¶
func (res *ProductPlan) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductPlan to a ResourceInstance
func (*ProductPlan) FromInstance ¶
func (res *ProductPlan) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductPlan
func (*ProductPlan) MarshalJSON ¶
func (res *ProductPlan) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductPlan) PluralName ¶
func (res *ProductPlan) PluralName() string
PluralName returns the plural name of the resource
func (*ProductPlan) UnmarshalJSON ¶
func (res *ProductPlan) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductPlanJob ¶ added in v1.1.49
type ProductPlanJob struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ProductPlanJobSpec `json:"spec"`
// Status ProductPlanJobStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
ProductPlanJob Resource
func NewProductPlanJob ¶ added in v1.1.49
func NewProductPlanJob(name, scopeName string) *ProductPlanJob
NewProductPlanJob creates an empty *ProductPlanJob
func ProductPlanJobFromInstanceArray ¶ added in v1.1.49
func ProductPlanJobFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductPlanJob, error)
ProductPlanJobFromInstanceArray converts a []*ResourceInstance to a []*ProductPlanJob
func (*ProductPlanJob) AsInstance ¶ added in v1.1.49
func (res *ProductPlanJob) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductPlanJob to a ResourceInstance
func (*ProductPlanJob) FromInstance ¶ added in v1.1.49
func (res *ProductPlanJob) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductPlanJob
func (*ProductPlanJob) MarshalJSON ¶ added in v1.1.49
func (res *ProductPlanJob) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductPlanJob) PluralName ¶ added in v1.1.49
func (res *ProductPlanJob) PluralName() string
PluralName returns the plural name of the resource
func (*ProductPlanJob) UnmarshalJSON ¶ added in v1.1.49
func (res *ProductPlanJob) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductPlanJobSpec ¶ added in v1.1.49
type ProductPlanJobSpec struct {
// GENERATE: The following code has been modified after code generation
Action interface{} `json:"action"`
When ProductPlanJobSpecWhen `json:"when,omitempty"`
}
ProductPlanJobSpec (catalog.v1alpha1.ProductPlanJob)
type ProductPlanJobSpecSubscriptionsArchive ¶ added in v1.1.49
type ProductPlanJobSpecSubscriptionsArchive struct {
Type string `json:"type"`
// Description on why the subscriptions are being archived.
Reason string `json:"reason,omitempty"`
}
ProductPlanJobSpecSubscriptionsArchive struct for ProductPlanJobSpecSubscriptionsArchive
type ProductPlanJobSpecSubscriptionsMigration ¶ added in v1.1.49
type ProductPlanJobSpecSubscriptionsMigration struct {
Type string `json:"type"`
// The Product Plan to which to migrate the existing Product Subscriptions.
ProductPlan string `json:"productPlan"`
// Description on why the subscriptions was migrated.
Reason string `json:"reason,omitempty"`
// Filter the subscriptions that are wanted to be migrated.
Filters []ProductPlanJobSpecSubscriptionsMigrationFilters `json:"filters,omitempty"`
}
ProductPlanJobSpecSubscriptionsMigration struct for ProductPlanJobSpecSubscriptionsMigration
type ProductPlanJobSpecSubscriptionsMigrationFilters ¶ added in v1.1.57
type ProductPlanJobSpecSubscriptionsMigrationFilters struct {
// Reference to the Subscription wanted to be migrated.
Subscription string `json:"subscription,omitempty"`
}
ProductPlanJobSpecSubscriptionsMigrationFilters struct for ProductPlanJobSpecSubscriptionsMigrationFilters
type ProductPlanJobSpecWhen ¶ added in v1.1.49
type ProductPlanJobSpecWhen struct {
// Time when the migration should execute.
Timestamp time.Time `json:"timestamp,omitempty"`
}
ProductPlanJobSpecWhen Describes when to execute the action. (catalog.v1alpha1.ProductPlanJob)
type ProductPlanJobStatus ¶ added in v1.1.49
type ProductPlanJobStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []ProductPlanJobStatusReasons `json:"reasons,omitempty"`
}
ProductPlanJobStatus (catalog.v1alpha1.ProductPlanJob)
type ProductPlanJobStatusReasons ¶ added in v1.1.49
type ProductPlanJobStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.ProductPlanJob)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
ProductPlanJobStatusReasons (catalog.v1alpha1.ProductPlanJob)
type ProductPlanReferences ¶
type ProductPlanReferences struct {
Product ProductPlanReferencesProduct `json:"product,omitempty"`
}
ProductPlanReferences (catalog.v1alpha1.ProductPlan)
type ProductPlanReferencesProduct ¶
type ProductPlanReferencesProduct struct {
// The latest active Product Release that corresponds to the Product referenced in the Plan.
Release string `json:"release,omitempty"`
}
ProductPlanReferencesProduct (catalog.v1alpha1.ProductPlan)
type ProductPlanSpec ¶
type ProductPlanSpec struct {
Product string `json:"product"`
// description of the Plan.
Description string `json:"description,omitempty"`
// The type of the Plan.
Type string `json:"type"`
Billing ProductPlanSpecBilling `json:"billing,omitempty"`
// Defines all features supported by the Plan.
Features []ProductPlanSpecFeatures `json:"features,omitempty"`
Subscription ProductPlanSpecSubscription `json:"subscription,omitempty"`
}
ProductPlanSpec (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecBilling ¶
type ProductPlanSpecBilling struct {
Currency string `json:"currency"`
// The base price for the plan.
Price float64 `json:"price,omitempty"`
// The billing cycle type.
Cycle string `json:"cycle,omitempty"`
Interval string `json:"interval"`
Setup ProductPlanSpecBillingSetup `json:"setup,omitempty"`
Invoices ProductPlanSpecBillingInvoices `json:"invoices,omitempty"`
}
ProductPlanSpecBilling Paid plan billing details. (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecBillingInvoices ¶ added in v1.1.100
type ProductPlanSpecBillingInvoices struct {
// Actions on paid subscription to be performed based on invoices.
Actions []ProductPlanSpecBillingInvoicesActions `json:"actions"`
}
ProductPlanSpecBillingInvoices Invoice actions to be performed. (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecBillingInvoicesActions ¶ added in v1.1.100
type ProductPlanSpecBillingInvoicesActions struct {
When ProductPlanSpecBillingInvoicesWhen `json:"when,omitempty"`
}
ProductPlanSpecBillingInvoicesActions (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecBillingInvoicesWhen ¶ added in v1.1.100
type ProductPlanSpecBillingInvoicesWhen struct {
State string `json:"state,omitempty"`
Trigger string `json:"trigger,omitempty"`
}
ProductPlanSpecBillingInvoicesWhen Describes when to execute which action for a state of an invoice. (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecBillingSetup ¶ added in v1.1.78
type ProductPlanSpecBillingSetup struct {
// One time charge for the setup of the subscription.
Price float64 `json:"price"`
}
ProductPlanSpecBillingSetup Defines the properties for the setup of the plan's subscriptions. (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecFeatures ¶
type ProductPlanSpecFeatures struct {
Name string `json:"name"`
}
ProductPlanSpecFeatures (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecSubscription ¶
type ProductPlanSpecSubscription struct {
// Defines properties required from a consumer to subscribe to the plan.
Definition string `json:"definition,omitempty"`
Interval ProductPlanSpecSubscriptionInterval `json:"interval,omitempty"`
Renewal string `json:"renewal,omitempty"`
Approval string `json:"approval,omitempty"`
// Optional number of cycles after which the subscription will be archived. Cycles start once the subscription has been approved.
Cycles int32 `json:"cycles,omitempty"`
}
ProductPlanSpecSubscription Defines Plan's subscription information (catalog.v1alpha1.ProductPlan)
type ProductPlanSpecSubscriptionInterval ¶
type ProductPlanSpecSubscriptionInterval struct {
// The type of the interval
Type string `json:"type,omitempty"`
// The subscription interval length
// GENERATE: The following code has been modified after code generation
Length float64 `json:"length,omitempty"`
}
ProductPlanSpecSubscriptionInterval The subscription interval (catalog.v1alpha1.ProductPlan)
type ProductPlanState ¶
type ProductPlanState string
ProductPlanState the model 'ProductPlanState'
const ( // GENERATE: The following code has been modified after code generation ProductPlanStateDRAFT ProductPlanState = "draft" // GENERATE: The following code has been modified after code generation ProductPlanStateACTIVE ProductPlanState = "active" // GENERATE: The following code has been modified after code generation ProductPlanStateDEPRECATED ProductPlanState = "deprecated" // GENERATE: The following code has been modified after code generation ProductPlanStateARCHIVED ProductPlanState = "archived" )
List of ProductPlanState
type ProductPlanStatus ¶
type ProductPlanStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []ProductPlanStatusReasons `json:"reasons,omitempty"`
}
ProductPlanStatus (catalog.v1alpha1.ProductPlan)
type ProductPlanStatusReasons ¶
type ProductPlanStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.ProductPlan)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
ProductPlanStatusReasons (catalog.v1alpha1.ProductPlan)
type ProductPlanUnit ¶
type ProductPlanUnit struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ProductPlanUnitSpec `json:"spec"`
}
ProductPlanUnit Resource
func NewProductPlanUnit ¶
func NewProductPlanUnit(name string) *ProductPlanUnit
NewProductPlanUnit creates an empty *ProductPlanUnit
func ProductPlanUnitFromInstanceArray ¶
func ProductPlanUnitFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductPlanUnit, error)
ProductPlanUnitFromInstanceArray converts a []*ResourceInstance to a []*ProductPlanUnit
func (*ProductPlanUnit) AsInstance ¶
func (res *ProductPlanUnit) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductPlanUnit to a ResourceInstance
func (*ProductPlanUnit) FromInstance ¶
func (res *ProductPlanUnit) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductPlanUnit
func (*ProductPlanUnit) MarshalJSON ¶
func (res *ProductPlanUnit) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductPlanUnit) PluralName ¶
func (res *ProductPlanUnit) PluralName() string
PluralName returns the plural name of the resource
func (*ProductPlanUnit) UnmarshalJSON ¶
func (res *ProductPlanUnit) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductPlanUnitSpec ¶
type ProductPlanUnitSpec struct {
// description of the Product Plan Unit.
Description string `json:"description,omitempty"`
}
ProductPlanUnitSpec (catalog.v1alpha1.ProductPlanUnit)
type ProductPlanVisibility ¶ added in v1.1.109
type ProductPlanVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ProductPlanVisibilitySpec `json:"spec"`
}
ProductPlanVisibility Resource
func NewProductPlanVisibility ¶ added in v1.1.109
func NewProductPlanVisibility(name, scopeName string) *ProductPlanVisibility
NewProductPlanVisibility creates an empty *ProductPlanVisibility
func ProductPlanVisibilityFromInstanceArray ¶ added in v1.1.109
func ProductPlanVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductPlanVisibility, error)
ProductPlanVisibilityFromInstanceArray converts a []*ResourceInstance to a []*ProductPlanVisibility
func (*ProductPlanVisibility) AsInstance ¶ added in v1.1.109
func (res *ProductPlanVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductPlanVisibility to a ResourceInstance
func (*ProductPlanVisibility) FromInstance ¶ added in v1.1.109
func (res *ProductPlanVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductPlanVisibility
func (*ProductPlanVisibility) MarshalJSON ¶ added in v1.1.109
func (res *ProductPlanVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductPlanVisibility) PluralName ¶ added in v1.1.109
func (res *ProductPlanVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*ProductPlanVisibility) UnmarshalJSON ¶ added in v1.1.109
func (res *ProductPlanVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductPlanVisibilitySpec ¶ added in v1.1.109
type ProductPlanVisibilitySpec struct {
// Defines where the visibility settings apply.
Plans []ProductPlanVisibilitySpecPlans `json:"plans"`
// Determines if the list of subjects should be excluded from the product plan visibility.
Exclude bool `json:"exclude,omitempty"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
ProductPlanVisibilitySpec (catalog.v1alpha1.ProductPlanVisibility)
type ProductPlanVisibilitySpecAuthenticatedRef ¶ added in v1.1.109
type ProductPlanVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
ProductPlanVisibilitySpecAuthenticatedRef struct for ProductPlanVisibilitySpecAuthenticatedRef
type ProductPlanVisibilitySpecPlans ¶ added in v1.1.109
type ProductPlanVisibilitySpecPlans struct {
Name string `json:"name"`
}
ProductPlanVisibilitySpecPlans (catalog.v1alpha1.ProductPlanVisibility)
type ProductPlanVisibilitySpecTagRef ¶ added in v1.1.109
type ProductPlanVisibilitySpecTagRef struct {
Type string `json:"type"`
// Value of a platform team tag.
Value string `json:"value"`
}
ProductPlanVisibilitySpecTagRef struct for ProductPlanVisibilitySpecTagRef
type ProductPlanVisibilitySpecTeamRef ¶ added in v1.1.109
type ProductPlanVisibilitySpecTeamRef struct {
Type string `json:"type"`
// ID of the subject
Id string `json:"id"`
}
ProductPlanVisibilitySpecTeamRef struct for ProductPlanVisibilitySpecTeamRef
type ProductReferences ¶
type ProductReferences struct {
// Computed DocumentResources used in all Product's Documents articles.
DocumentResources []string `json:"documentResources,omitempty"`
// Computed latest AssetReleases for each Asset reference in the Product.
Assets []ProductReferencesAssets `json:"assets,omitempty"`
// The marketplaces this product has been published to.
Marketplaces []ProductReferencesMarketplaces `json:"marketplaces,omitempty"`
}
ProductReferences (catalog.v1alpha1.Product)
type ProductReferencesAssets ¶
type ProductReferencesAssets struct {
// The Asset reference.
Name string `json:"name,omitempty"`
Release ProductReferencesRelease `json:"release,omitempty"`
}
ProductReferencesAssets (catalog.v1alpha1.Product)
type ProductReferencesMarketplaces ¶ added in v1.1.49
type ProductReferencesMarketplaces struct {
// The Marketplace reference.
Name string `json:"name,omitempty"`
Ratings ProductReferencesRatings `json:"ratings,omitempty"`
// The PublishedProduct reference.
PublishedProduct string `json:"publishedProduct,omitempty"`
}
ProductReferencesMarketplaces (catalog.v1alpha1.Product)
type ProductReferencesRatings ¶ added in v1.1.78
type ProductReferencesRatings struct {
Total int32 `json:"total,omitempty"`
// GENERATE: The following code has been modified after code generation
Average float64 `json:"average,omitempty"`
// The ratings distribution per value.
Distribution []ProductReferencesRatingsDistribution `json:"distribution,omitempty"`
}
ProductReferencesRatings (catalog.v1alpha1.Product)
type ProductReferencesRatingsDistribution ¶ added in v1.1.78
type ProductReferencesRatingsDistribution struct {
Rating int32 `json:"rating,omitempty"`
Total int32 `json:"total,omitempty"`
}
ProductReferencesRatingsDistribution (catalog.v1alpha1.Product)
type ProductReferencesRelease ¶
type ProductReferencesRelease struct {
// The latest AssetRelease computed based on the provided Asset filters.
Name string `json:"name,omitempty"`
// The AssetRelease version that the Product currently points to.
Version string `json:"version,omitempty"`
// The AssetRelease state.
State string `json:"state,omitempty"`
// APIService references belonging to referenced AssetReleases.
ApiServices []string `json:"apiServices,omitempty"`
}
ProductReferencesRelease (catalog.v1alpha1.Product)
type ProductRelease ¶
type ProductRelease struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
References ProductReleaseReferences `json:"references"`
Spec ProductReleaseSpec `json:"spec"`
// Status ProductReleaseStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
ProductRelease Resource
func NewProductRelease ¶
func NewProductRelease(name string) *ProductRelease
NewProductRelease creates an empty *ProductRelease
func ProductReleaseFromInstanceArray ¶
func ProductReleaseFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductRelease, error)
ProductReleaseFromInstanceArray converts a []*ResourceInstance to a []*ProductRelease
func (*ProductRelease) AsInstance ¶
func (res *ProductRelease) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductRelease to a ResourceInstance
func (*ProductRelease) FromInstance ¶
func (res *ProductRelease) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductRelease
func (*ProductRelease) MarshalJSON ¶
func (res *ProductRelease) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductRelease) PluralName ¶
func (res *ProductRelease) PluralName() string
PluralName returns the plural name of the resource
func (*ProductRelease) UnmarshalJSON ¶
func (res *ProductRelease) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductReleaseReferences ¶ added in v1.1.62
type ProductReleaseReferences struct {
// Computed DocumentResources used in all ProductRelease's Documents articles.
DocumentResources []string `json:"documentResources,omitempty"`
}
ProductReleaseReferences (catalog.v1alpha1.ProductRelease)
type ProductReleaseSpec ¶
type ProductReleaseSpec struct {
// Description of the product when the release was generated.
Description string `json:"description,omitempty"`
// Version of the release.
Version string `json:"version"`
VersionProperties ProductReleaseSpecVersionProperties `json:"versionProperties,omitempty"`
Product string `json:"product"`
Assets []ProductReleaseSpecAssets `json:"assets,omitempty"`
ReleaseTag string `json:"releaseTag"`
State string `json:"state,omitempty"`
// list of categories for the released product.
Categories []string `json:"categories,omitempty"`
}
ProductReleaseSpec (catalog.v1alpha1.ProductRelease)
type ProductReleaseSpecAssets ¶
type ProductReleaseSpecAssets struct {
// The Asset name
Name string `json:"name,omitempty"`
Release ProductReleaseSpecRelease `json:"release,omitempty"`
}
ProductReleaseSpecAssets (catalog.v1alpha1.ProductRelease)
type ProductReleaseSpecRelease ¶
type ProductReleaseSpecRelease struct {
Name string `json:"name,omitempty"`
// The AssetRelease version.
Version string `json:"version,omitempty"`
// The AssetRelease state.
State string `json:"state,omitempty"`
}
ProductReleaseSpecRelease (catalog.v1alpha1.ProductRelease)
type ProductReleaseSpecVersionProperties ¶ added in v1.1.78
type ProductReleaseSpecVersionProperties struct {
// Label for the generated version.
Label string `json:"label,omitempty"`
// Description of the version.
Description string `json:"description,omitempty"`
}
ProductReleaseSpecVersionProperties Defines version related properties. (catalog.v1alpha1.ProductRelease)
type ProductReleaseStatus ¶
type ProductReleaseStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level,omitempty"`
// Reasons for the generated status.
// GENERATE: The following code has been modified after code generation
Reasons []interface{} `json:"reasons,omitempty"`
}
ProductReleaseStatus (catalog.v1alpha1.ProductRelease)
type ProductReleaseStatusError ¶
type ProductReleaseStatusError struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta ProductReleaseStatusPendingMeta `json:"meta,omitempty"`
}
ProductReleaseStatusError struct for ProductReleaseStatusError
type ProductReleaseStatusPending ¶
type ProductReleaseStatusPending struct {
Type string `json:"type"`
// Time when the change occured.
Timestamp time.Time `json:"timestamp"`
// Reason for being in Pending.
Detail string `json:"detail"`
Meta ProductReleaseStatusPendingMeta `json:"meta,omitempty"`
}
ProductReleaseStatusPending struct for ProductReleaseStatusPending
type ProductReleaseStatusPendingMeta ¶ added in v1.1.35
type ProductReleaseStatusPendingMeta struct {
Asset string `json:"asset,omitempty"`
AssetRelease string `json:"assetRelease,omitempty"`
}
ProductReleaseStatusPendingMeta struct for ProductReleaseStatusPendingMeta
type ProductReleaseStatusSuccess ¶
type ProductReleaseStatusSuccess struct {
Type string `json:"type"`
// Time when the change occured.
Timestamp time.Time `json:"timestamp"`
// message of the result
Detail string `json:"detail"`
Meta ProductReleaseStatusPendingMeta `json:"meta,omitempty"`
}
ProductReleaseStatusSuccess struct for ProductReleaseStatusSuccess
type ProductReview ¶ added in v1.1.78
type ProductReview struct {
apiv1.ResourceMeta
Marketplace ProductReviewMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
Spec ProductReviewSpec `json:"spec"`
State ProductReviewState `json:"state"`
}
ProductReview Resource
func NewProductReview ¶ added in v1.1.78
func NewProductReview(name, scopeName string) *ProductReview
NewProductReview creates an empty *ProductReview
func ProductReviewFromInstanceArray ¶ added in v1.1.78
func ProductReviewFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductReview, error)
ProductReviewFromInstanceArray converts a []*ResourceInstance to a []*ProductReview
func (*ProductReview) AsInstance ¶ added in v1.1.78
func (res *ProductReview) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductReview to a ResourceInstance
func (*ProductReview) FromInstance ¶ added in v1.1.78
func (res *ProductReview) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductReview
func (*ProductReview) MarshalJSON ¶ added in v1.1.78
func (res *ProductReview) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductReview) PluralName ¶ added in v1.1.78
func (res *ProductReview) PluralName() string
PluralName returns the plural name of the resource
func (*ProductReview) UnmarshalJSON ¶ added in v1.1.78
func (res *ProductReview) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductReviewMarketplace ¶ added in v1.1.78
type ProductReviewMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource ProductReviewMarketplaceResource `json:"resource"`
}
ProductReviewMarketplace Details about the marketplace ratings. (catalog.v1alpha1.ProductReview)
type ProductReviewMarketplaceResource ¶ added in v1.1.78
type ProductReviewMarketplaceResource struct {
Metadata ProductReviewMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
ProductReviewMarketplaceResource The Marketplace Ratings resource details. (catalog.v1alpha1.ProductReview)
type ProductReviewMarketplaceResourceMetadata ¶ added in v1.1.78
type ProductReviewMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that modified the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
ProductReviewMarketplaceResourceMetadata Marketplace Subscription metadata. (catalog.v1alpha1.ProductReview)
type ProductReviewMarketplaceResourceOwner ¶ added in v1.1.78
type ProductReviewMarketplaceResourceOwner struct {
Organization ProductReviewMarketplaceResourceOwnerOrganization `json:"organization"`
}
ProductReviewMarketplaceResourceOwner Owner of the Subscription. (catalog.v1alpha1.ProductReview)
type ProductReviewMarketplaceResourceOwnerOrganization ¶ added in v1.1.79
type ProductReviewMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
ProductReviewMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.ProductReview)
type ProductReviewSpec ¶ added in v1.1.78
type ProductReviewSpec struct {
Rating int32 `json:"rating"`
Comment string `json:"comment,omitempty"`
}
ProductReviewSpec (catalog.v1alpha1.ProductReview)
type ProductReviewState ¶ added in v1.1.78
type ProductReviewState struct {
Name string `json:"name,omitempty"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
}
ProductReviewState (catalog.v1alpha1.ProductReview)
type ProductSpec ¶
type ProductSpec struct {
// Description of the Product.
Description string `json:"description,omitempty"`
SupportContact string `json:"supportContact,omitempty"`
Categories []string `json:"categories,omitempty"`
// Defines all the Assets that the Product will be built from.
Assets []ProductSpecAssets `json:"assets,omitempty"`
AutoRelease ProductSpecAutoRelease `json:"autoRelease,omitempty"`
}
ProductSpec (catalog.v1alpha1.Product)
type ProductSpecAssets ¶
type ProductSpecAssets struct {
Name string `json:"name"`
Filters ProductSpecFilters `json:"filters,omitempty"`
}
ProductSpecAssets (catalog.v1alpha1.Product)
type ProductSpecAutoRelease ¶ added in v1.1.41
type ProductSpecAutoRelease struct {
// Description of the generated release tag.
Description string `json:"description,omitempty"`
ReleaseType string `json:"releaseType"`
ReleaseVersionProperties ProductSpecAutoReleaseReleaseVersionProperties `json:"releaseVersionProperties,omitempty"`
// Set true to suspend auto-release until product state changes to active or deprecated. This property will be automatically removed once activated.
RequiresInitialActivation bool `json:"requiresInitialActivation,omitempty"`
PreviousReleases ProductSpecAutoReleasePreviousReleases `json:"previousReleases,omitempty"`
}
ProductSpecAutoRelease Defines if a product should create releases everytime there is an update to the product references. (catalog.v1alpha1.Product)
type ProductSpecAutoReleasePreviousReleases ¶ added in v1.1.44
type ProductSpecAutoReleasePreviousReleases struct {
// Updates all prior non-archived releases to the desired state.
UpdateState string `json:"updateState,omitempty"`
}
ProductSpecAutoReleasePreviousReleases (catalog.v1alpha1.Product)
type ProductSpecAutoReleaseReleaseVersionProperties ¶ added in v1.1.78
type ProductSpecAutoReleaseReleaseVersionProperties struct {
// Label for the generated release version.
Label string `json:"label,omitempty"`
// Description of the generated release version.
Description string `json:"description,omitempty"`
}
ProductSpecAutoReleaseReleaseVersionProperties Version properties for the product releases generated as part of auto release. (catalog.v1alpha1.Product)
type ProductSpecFilters ¶
type ProductSpecFilters struct {
// The AssetRelease version to use. Examples: - 1.0.1 for a specific asset release version - 1.* for all minor and patch versions of version 1 - 1.2.* for all the patch version for version 1.2
Version string `json:"version,omitempty"`
}
ProductSpecFilters Filters what AssetRelease the Product points to. (catalog.v1alpha1.Product)
type ProductState ¶
type ProductState string
ProductState the model 'ProductState'
const ( // GENERATE: The following code has been modified after code generation ProductStateDRAFT ProductState = "draft" // GENERATE: The following code has been modified after code generation ProductStateACTIVE ProductState = "active" // GENERATE: The following code has been modified after code generation ProductStateDEPRECATED ProductState = "deprecated" // GENERATE: The following code has been modified after code generation ProductStateARCHIVED ProductState = "archived" )
List of ProductState
type ProductStatus ¶ added in v1.1.35
type ProductStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []ProductStatusReasons `json:"reasons,omitempty"`
}
ProductStatus (catalog.v1alpha1.Product)
type ProductStatusMeta ¶ added in v1.1.35
type ProductStatusMeta struct {
Asset string `json:"asset,omitempty"`
AssetRelease string `json:"assetRelease,omitempty"`
}
ProductStatusMeta (catalog.v1alpha1.Product)
type ProductStatusReasons ¶ added in v1.1.35
type ProductStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta ProductStatusMeta `json:"meta,omitempty"`
}
ProductStatusReasons (catalog.v1alpha1.Product)
type ProductVisibility ¶
type ProductVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ProductVisibilitySpec `json:"spec"`
}
ProductVisibility Resource
func NewProductVisibility ¶
func NewProductVisibility(name, scopeName string) *ProductVisibility
NewProductVisibility creates an empty *ProductVisibility
func ProductVisibilityFromInstanceArray ¶
func ProductVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ProductVisibility, error)
ProductVisibilityFromInstanceArray converts a []*ResourceInstance to a []*ProductVisibility
func (*ProductVisibility) AsInstance ¶
func (res *ProductVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ProductVisibility to a ResourceInstance
func (*ProductVisibility) FromInstance ¶
func (res *ProductVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ProductVisibility
func (*ProductVisibility) MarshalJSON ¶
func (res *ProductVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ProductVisibility) PluralName ¶
func (res *ProductVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*ProductVisibility) UnmarshalJSON ¶
func (res *ProductVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ProductVisibilitySpec ¶
type ProductVisibilitySpec struct {
// Defines where the visibility settings apply.
Products []ProductVisibilitySpecProducts `json:"products"`
// Determines if the list of subjects should be excluded from the product visibility.
Exclude bool `json:"exclude,omitempty"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
ProductVisibilitySpec (catalog.v1alpha1.ProductVisibility)
type ProductVisibilitySpecAuthenticatedRef ¶ added in v1.1.52
type ProductVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
ProductVisibilitySpecAuthenticatedRef struct for ProductVisibilitySpecAuthenticatedRef
type ProductVisibilitySpecProducts ¶
type ProductVisibilitySpecProducts struct {
Name string `json:"name"`
}
ProductVisibilitySpecProducts (catalog.v1alpha1.ProductVisibility)
type ProductVisibilitySpecTagRef ¶ added in v1.1.35
type ProductVisibilitySpecTagRef struct {
Type string `json:"type"`
// Value of a platform team tag.
Value string `json:"value"`
}
ProductVisibilitySpecTagRef struct for ProductVisibilitySpecTagRef
type ProductVisibilitySpecTeamRef ¶ added in v1.1.35
type ProductVisibilitySpecTeamRef struct {
Type string `json:"type"`
// ID of the subject
Id string `json:"id"`
}
ProductVisibilitySpecTeamRef struct for ProductVisibilitySpecTeamRef
type PublishedDocumentResource ¶ added in v1.1.62
type PublishedDocumentResource struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec PublishedDocumentResourceSpec `json:"spec"`
}
PublishedDocumentResource Resource
func NewPublishedDocumentResource ¶ added in v1.1.62
func NewPublishedDocumentResource(name, scopeName string) *PublishedDocumentResource
NewPublishedDocumentResource creates an empty *PublishedDocumentResource
func PublishedDocumentResourceFromInstanceArray ¶ added in v1.1.62
func PublishedDocumentResourceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*PublishedDocumentResource, error)
PublishedDocumentResourceFromInstanceArray converts a []*ResourceInstance to a []*PublishedDocumentResource
func (*PublishedDocumentResource) AsInstance ¶ added in v1.1.62
func (res *PublishedDocumentResource) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a PublishedDocumentResource to a ResourceInstance
func (*PublishedDocumentResource) FromInstance ¶ added in v1.1.62
func (res *PublishedDocumentResource) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a PublishedDocumentResource
func (*PublishedDocumentResource) MarshalJSON ¶ added in v1.1.62
func (res *PublishedDocumentResource) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*PublishedDocumentResource) PluralName ¶ added in v1.1.62
func (res *PublishedDocumentResource) PluralName() string
PluralName returns the plural name of the resource
func (*PublishedDocumentResource) UnmarshalJSON ¶ added in v1.1.62
func (res *PublishedDocumentResource) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type PublishedDocumentResourceSpec ¶ added in v1.1.62
type PublishedDocumentResourceSpec struct {
DocumentResource PublishedDocumentResourceSpecDocumentResource `json:"documentResource"`
}
PublishedDocumentResourceSpec (catalog.v1alpha1.PublishedDocumentResource)
type PublishedDocumentResourceSpecDocumentResource ¶ added in v1.1.62
type PublishedDocumentResourceSpecDocumentResource struct {
Name string `json:"name"`
}
PublishedDocumentResourceSpecDocumentResource (catalog.v1alpha1.PublishedDocumentResource)
type PublishedProduct ¶
type PublishedProduct struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
References PublishedProductReferences `json:"references"`
Spec PublishedProductSpec `json:"spec"`
// Status PublishedProductStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
PublishedProduct Resource
func NewPublishedProduct ¶
func NewPublishedProduct(name, scopeName string) *PublishedProduct
NewPublishedProduct creates an empty *PublishedProduct
func PublishedProductFromInstanceArray ¶
func PublishedProductFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*PublishedProduct, error)
PublishedProductFromInstanceArray converts a []*ResourceInstance to a []*PublishedProduct
func (*PublishedProduct) AsInstance ¶
func (res *PublishedProduct) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a PublishedProduct to a ResourceInstance
func (*PublishedProduct) FromInstance ¶
func (res *PublishedProduct) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a PublishedProduct
func (*PublishedProduct) MarshalJSON ¶
func (res *PublishedProduct) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*PublishedProduct) PluralName ¶
func (res *PublishedProduct) PluralName() string
PluralName returns the plural name of the resource
func (*PublishedProduct) UnmarshalJSON ¶
func (res *PublishedProduct) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type PublishedProductReferences ¶
type PublishedProductReferences struct {
Release PublishedProductReferencesRelease `json:"release"`
}
PublishedProductReferences (catalog.v1alpha1.PublishedProduct)
type PublishedProductReferencesRelease ¶
type PublishedProductReferencesRelease struct {
// Reference to product release
Name string `json:"name,omitempty"`
// Product release version
Version string `json:"version,omitempty"`
// Product release state
State string `json:"state,omitempty"`
}
PublishedProductReferencesRelease The Product release that was published to the marketplace (catalog.v1alpha1.PublishedProduct)
type PublishedProductSpec ¶
type PublishedProductSpec struct {
Product PublishedProductSpecProduct `json:"product,omitempty"`
Resources PublishedProductSpecResources `json:"resources,omitempty"`
}
PublishedProductSpec (catalog.v1alpha1.PublishedProduct)
type PublishedProductSpecGroupByAssetTitle ¶ added in v1.1.57
type PublishedProductSpecGroupByAssetTitle struct {
Type string `json:"type"`
}
PublishedProductSpecGroupByAssetTitle struct for PublishedProductSpecGroupByAssetTitle
type PublishedProductSpecProduct ¶
type PublishedProductSpecProduct struct {
Name string `json:"name,omitempty"`
}
PublishedProductSpecProduct (catalog.v1alpha1.PublishedProduct)
type PublishedProductSpecResources ¶ added in v1.1.57
type PublishedProductSpecResources struct {
// GENERATE: The following code has been modified after code generation
GroupBy interface{} `json:"groupBy,omitempty"`
}
PublishedProductSpecResources (catalog.v1alpha1.PublishedProduct)
type PublishedProductStatus ¶ added in v1.1.88
type PublishedProductStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []PublishedProductStatusReasons `json:"reasons,omitempty"`
}
PublishedProductStatus (catalog.v1alpha1.PublishedProduct)
type PublishedProductStatusReasons ¶ added in v1.1.88
type PublishedProductStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.PublishedProduct)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
PublishedProductStatusReasons (catalog.v1alpha1.PublishedProduct)
type PublishedStage ¶ added in v1.1.78
type PublishedStage struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec PublishedStageSpec `json:"spec"`
}
PublishedStage Resource
func NewPublishedStage ¶ added in v1.1.78
func NewPublishedStage(name, scopeName string) *PublishedStage
NewPublishedStage creates an empty *PublishedStage
func PublishedStageFromInstanceArray ¶ added in v1.1.78
func PublishedStageFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*PublishedStage, error)
PublishedStageFromInstanceArray converts a []*ResourceInstance to a []*PublishedStage
func (*PublishedStage) AsInstance ¶ added in v1.1.78
func (res *PublishedStage) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a PublishedStage to a ResourceInstance
func (*PublishedStage) FromInstance ¶ added in v1.1.78
func (res *PublishedStage) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a PublishedStage
func (*PublishedStage) MarshalJSON ¶ added in v1.1.78
func (res *PublishedStage) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*PublishedStage) PluralName ¶ added in v1.1.78
func (res *PublishedStage) PluralName() string
PluralName returns the plural name of the resource
func (*PublishedStage) UnmarshalJSON ¶ added in v1.1.78
func (res *PublishedStage) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type PublishedStageSpec ¶ added in v1.1.78
type PublishedStageSpec struct {
Stage PublishedStageSpecStage `json:"stage"`
}
PublishedStageSpec (catalog.v1alpha1.PublishedStage)
type PublishedStageSpecStage ¶ added in v1.1.78
type PublishedStageSpecStage struct {
Name string `json:"name"`
}
PublishedStageSpecStage (catalog.v1alpha1.PublishedStage)
type Quota ¶
type Quota struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec QuotaSpec `json:"spec"`
// Status QuotaStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Quota Resource
func QuotaFromInstanceArray ¶
func QuotaFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Quota, error)
QuotaFromInstanceArray converts a []*ResourceInstance to a []*Quota
func (*Quota) AsInstance ¶
func (res *Quota) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Quota to a ResourceInstance
func (*Quota) FromInstance ¶
func (res *Quota) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Quota
func (*Quota) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Quota) PluralName ¶
PluralName returns the plural name of the resource
func (*Quota) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type QuotaSpec ¶
type QuotaSpec struct {
// description of the quota.
Description string `json:"description,omitempty"`
// The unit used to measure the access to the resource.
Unit string `json:"unit"`
// GENERATE: The following code has been modified after code generation
Pricing interface{} `json:"pricing"`
// The resources that the access is being granted to.
// GENERATE: The following code has been modified after code generation
Resources []interface{} `json:"resources"`
Usage QuotaSpecUsage `json:"usage,omitempty"`
}
QuotaSpec (catalog.v1alpha1.Quota)
type QuotaSpecAssetResourceRef ¶
type QuotaSpecAssetResourceRef struct {
Kind string `json:"kind"`
Name string `json:"name,omitempty"`
}
QuotaSpecAssetResourceRef struct for QuotaSpecAssetResourceRef
type QuotaSpecFixedPricingType ¶
type QuotaSpecFixedPricingType struct {
Type string `json:"type"`
Interval string `json:"interval"`
// GENERATE: The following code has been modified after code generation
Limit interface{} `json:"limit"`
}
QuotaSpecFixedPricingType struct for QuotaSpecFixedPricingType
type QuotaSpecGraduatedPricingType ¶ added in v1.1.35
type QuotaSpecGraduatedPricingType struct {
Type string `json:"type"`
// The tiered limits to set.
// GENERATE: The following code has been modified after code generation
Limit interface{} `json:"limit"`
}
QuotaSpecGraduatedPricingType struct for QuotaSpecGraduatedPricingType
type QuotaSpecLimitTypeLoose ¶
type QuotaSpecLimitTypeLoose struct {
Type string `json:"type"`
// The limit of the unit that is provided.
Value int32 `json:"value"`
Overages QuotaSpecLimitTypeLooseOverages `json:"overages"`
}
QuotaSpecLimitTypeLoose struct for QuotaSpecLimitTypeLoose
type QuotaSpecLimitTypeLooseOverages ¶
type QuotaSpecLimitTypeLooseOverages struct {
// The overage price per unit.
Value float64 `json:"value,omitempty"`
}
QuotaSpecLimitTypeLooseOverages struct for QuotaSpecLimitTypeLooseOverages
type QuotaSpecLimitTypeStrict ¶
type QuotaSpecLimitTypeStrict struct {
Type string `json:"type"`
// The limit of the unit that is provided.
Value int32 `json:"value"`
}
QuotaSpecLimitTypeStrict struct for QuotaSpecLimitTypeStrict
type QuotaSpecLimitTypeTiered ¶ added in v1.1.35
type QuotaSpecLimitTypeTiered struct {
Type string `json:"type"`
Tiers []QuotaSpecLimitTypeTieredTiers `json:"tiers"`
}
QuotaSpecLimitTypeTiered struct for QuotaSpecLimitTypeTiered
type QuotaSpecLimitTypeTieredTiers ¶ added in v1.1.35
type QuotaSpecLimitTypeTieredTiers struct {
// The limit start of the tier provided.
From int32 `json:"from"`
// The limit end of the tier provided.
To int32 `json:"to"`
// The tier price.
Cost float64 `json:"cost"`
// The flat fee for the tier.
FlatFee float64 `json:"flatFee"`
}
QuotaSpecLimitTypeTieredTiers struct for QuotaSpecLimitTypeTieredTiers
type QuotaSpecPerUnitPricingType ¶ added in v1.1.44
type QuotaSpecPerUnitPricingType struct {
Type string `json:"type"`
// The cost per unit of usage.
Cost float64 `json:"cost"`
}
QuotaSpecPerUnitPricingType struct for QuotaSpecPerUnitPricingType
type QuotaSpecUnlimitedPricingType ¶
type QuotaSpecUnlimitedPricingType struct {
Type string `json:"type"`
}
QuotaSpecUnlimitedPricingType struct for QuotaSpecUnlimitedPricingType
type QuotaSpecUsage ¶ added in v1.1.107
type QuotaSpecUsage struct {
// The maximum allowable access to a quota resource within the specified interval.
Limit int32 `json:"limit"`
// The time period over which the quota limit is applied (e.g., daily, monthly, etc.).
Interval string `json:"interval"`
}
QuotaSpecUsage Defines usage restrictions for the quota resources. (catalog.v1alpha1.Quota)
type QuotaSpecVolumePricingType ¶ added in v1.1.35
type QuotaSpecVolumePricingType struct {
Type string `json:"type"`
// The tiered limits set.
// GENERATE: The following code has been modified after code generation
Limit interface{} `json:"limit"`
}
QuotaSpecVolumePricingType struct for QuotaSpecVolumePricingType
type QuotaStatus ¶
type QuotaStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
// GENERATE: The following code has been modified after code generation
Reasons []interface{} `json:"reasons,omitempty"`
}
QuotaStatus (catalog.v1alpha1.Quota)
type QuotaStatusError ¶
type QuotaStatusError struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
QuotaStatusError struct for QuotaStatusError
type QuotaStatusPending ¶
type QuotaStatusPending struct {
Type string `json:"type"`
// Details of the Pending status.
Detail string `json:"detail"`
// Time when the resource moved to Pending.
Timestamp time.Time `json:"timestamp"`
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
QuotaStatusPending struct for QuotaStatusPending
type QuotaStatusSuccess ¶
type QuotaStatusSuccess struct {
Type string `json:"type"`
// Time when the change occured.
Timestamp time.Time `json:"timestamp"`
// Details of the result.
Detail string `json:"detail"`
Meta map[string]interface{} `json:"meta,omitempty"`
}
QuotaStatusSuccess struct for QuotaStatusSuccess
type ReleaseTag ¶
type ReleaseTag struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ReleaseTagSpec `json:"spec"`
State interface{} `json:"state"`
// Status ReleaseTagStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
ReleaseTag Resource
func NewReleaseTag ¶
func NewReleaseTag(name, scopeKind, scopeName string) (*ReleaseTag, error)
NewReleaseTag creates an empty *ReleaseTag
func ReleaseTagFromInstanceArray ¶
func ReleaseTagFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*ReleaseTag, error)
ReleaseTagFromInstanceArray converts a []*ResourceInstance to a []*ReleaseTag
func (*ReleaseTag) AsInstance ¶
func (res *ReleaseTag) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a ReleaseTag to a ResourceInstance
func (*ReleaseTag) FromInstance ¶
func (res *ReleaseTag) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a ReleaseTag
func (*ReleaseTag) MarshalJSON ¶
func (res *ReleaseTag) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*ReleaseTag) PluralName ¶
func (res *ReleaseTag) PluralName() string
PluralName returns the plural name of the resource
func (*ReleaseTag) UnmarshalJSON ¶
func (res *ReleaseTag) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type ReleaseTagSpec ¶
type ReleaseTagSpec struct {
// Description of the Release Tag.
Description string `json:"description,omitempty"`
ReleaseType string `json:"releaseType"`
ReleaseVersionProperties ReleaseTagSpecReleaseVersionProperties `json:"releaseVersionProperties,omitempty"`
PreviousReleases ReleaseTagSpecPreviousReleases `json:"previousReleases,omitempty"`
}
ReleaseTagSpec (catalog.v1alpha1.ReleaseTag)
type ReleaseTagSpecPreviousReleases ¶ added in v1.1.44
type ReleaseTagSpecPreviousReleases struct {
// Updates all prior non-archived releases to the desired state. The 'archived' state is currently available only for Product ReleaseTags.
UpdateState string `json:"updateState,omitempty"`
}
ReleaseTagSpecPreviousReleases (catalog.v1alpha1.ReleaseTag)
type ReleaseTagSpecReleaseVersionProperties ¶ added in v1.1.78
type ReleaseTagSpecReleaseVersionProperties struct {
// Label for the generated release version.
Label string `json:"label,omitempty"`
// Description of the generated release version.
Description string `json:"description,omitempty"`
}
ReleaseTagSpecReleaseVersionProperties Version properties for the generated releases. Currently supported only for Products. (catalog.v1alpha1.ReleaseTag)
type ReleaseTagStatus ¶
type ReleaseTagStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
// GENERATE: The following code has been modified after code generation
Reasons []interface{} `json:"reasons,omitempty"`
}
ReleaseTagStatus (catalog.v1alpha1.ReleaseTag)
type ReleaseTagStatusError ¶
type ReleaseTagStatusError struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
ReleaseTagStatusError struct for ReleaseTagStatusError
type ReleaseTagStatusPending ¶
type ReleaseTagStatusPending struct {
Type string `json:"type"`
// Time when the change occurred.
Timestamp time.Time `json:"timestamp"`
// message of the pending status
Detail string `json:"detail"`
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
ReleaseTagStatusPending struct for ReleaseTagStatusPending
type ReleaseTagStatusReference ¶
type ReleaseTagStatusReference struct {
// message of the status of the reference
Message string `json:"message,omitempty"`
Kind string `json:"kind,omitempty"`
// The name of the resource that got created.
Name string `json:"name,omitempty"`
ScopeKind string `json:"scopeKind,omitempty"`
ScopeName string `json:"scopeName,omitempty"`
}
ReleaseTagStatusReference The resource reference that was created/updated.
type ReleaseTagStatusSuccess ¶
type ReleaseTagStatusSuccess struct {
Type string `json:"type"`
// Time when the change occurred.
Timestamp time.Time `json:"timestamp"`
// message of the result
Detail string `json:"detail"`
Meta ReleaseTagStatusSuccessMeta `json:"meta,omitempty"`
}
ReleaseTagStatusSuccess struct for ReleaseTagStatusSuccess
type ReleaseTagStatusSuccessMeta ¶
type ReleaseTagStatusSuccessMeta struct {
Reference []ReleaseTagStatusReference `json:"reference,omitempty"`
}
ReleaseTagStatusSuccessMeta struct for ReleaseTagStatusSuccessMeta
type Resource ¶
type Resource struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec ResourceSpec `json:"spec"`
}
Resource Resource
func NewResource ¶
NewResource creates an empty *Resource
func ResourceFromInstanceArray ¶
func ResourceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Resource, error)
ResourceFromInstanceArray converts a []*ResourceInstance to a []*Resource
func (*Resource) AsInstance ¶
func (res *Resource) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Resource to a ResourceInstance
func (*Resource) FromInstance ¶
func (res *Resource) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Resource
func (*Resource) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Resource) PluralName ¶
PluralName returns the plural name of the resource
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type ResourceSpec ¶
type ResourceSpec struct {
// Resource description.
Description string `json:"description,omitempty"`
// Version of the Resource.
Version string `json:"version,omitempty"`
// The type of the resource, example: pdf
FileType string `json:"fileType"`
// The content type
ContentType string `json:"contentType"`
// GENERATE: The following code has been modified after code generation
Data interface{} `json:"data"`
}
ResourceSpec (catalog.v1alpha1.Resource)
type ResourceSpecBinaryData ¶
type ResourceSpecBinaryData struct {
Type string `json:"type"`
// Base64 encoded value of the file.
Content string `json:"content"`
}
ResourceSpecBinaryData struct for ResourceSpecBinaryData
type ResourceSpecTextData ¶
type ResourceSpecTextData struct {
Type string `json:"type"`
// Resource content.
Content string `json:"content"`
}
ResourceSpecTextData struct for ResourceSpecTextData
type Secret ¶
type Secret struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec SecretSpec `json:"spec"`
}
Secret Resource
func SecretFromInstanceArray ¶
func SecretFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Secret, error)
SecretFromInstanceArray converts a []*ResourceInstance to a []*Secret
func (*Secret) AsInstance ¶
func (res *Secret) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Secret to a ResourceInstance
func (*Secret) FromInstance ¶
func (res *Secret) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Secret
func (*Secret) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Secret) PluralName ¶
PluralName returns the plural name of the resource
func (*Secret) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type SecretSpec ¶
type SecretSpec struct {
// Key value pairs. The value will be stored encrypted. (catalog.v1alpha1.Secret)
Data map[string]string `json:"data,omitempty"`
}
SecretSpec (catalog.v1alpha1.Secret)
type Stage ¶
type Stage struct {
apiv1.ResourceMeta
Icon interface{} `json:"icon"`
Owner *apiv1.Owner `json:"owner"`
Spec StageSpec `json:"spec"`
}
Stage Resource
func StageFromInstanceArray ¶
func StageFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Stage, error)
StageFromInstanceArray converts a []*ResourceInstance to a []*Stage
func (*Stage) AsInstance ¶
func (res *Stage) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Stage to a ResourceInstance
func (*Stage) FromInstance ¶
func (res *Stage) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Stage
func (*Stage) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Stage) PluralName ¶
PluralName returns the plural name of the resource
func (*Stage) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type StageSpec ¶
type StageSpec struct {
// description of the stage
Description string `json:"description,omitempty"`
}
StageSpec (catalog.v1alpha1.Stage)
type StageVisibility ¶ added in v1.1.78
type StageVisibility struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec StageVisibilitySpec `json:"spec"`
}
StageVisibility Resource
func NewStageVisibility ¶ added in v1.1.78
func NewStageVisibility(name, scopeName string) *StageVisibility
NewStageVisibility creates an empty *StageVisibility
func StageVisibilityFromInstanceArray ¶ added in v1.1.78
func StageVisibilityFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*StageVisibility, error)
StageVisibilityFromInstanceArray converts a []*ResourceInstance to a []*StageVisibility
func (*StageVisibility) AsInstance ¶ added in v1.1.78
func (res *StageVisibility) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a StageVisibility to a ResourceInstance
func (*StageVisibility) FromInstance ¶ added in v1.1.78
func (res *StageVisibility) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a StageVisibility
func (*StageVisibility) MarshalJSON ¶ added in v1.1.78
func (res *StageVisibility) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*StageVisibility) PluralName ¶ added in v1.1.78
func (res *StageVisibility) PluralName() string
PluralName returns the plural name of the resource
func (*StageVisibility) UnmarshalJSON ¶ added in v1.1.78
func (res *StageVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type StageVisibilitySpec ¶ added in v1.1.78
type StageVisibilitySpec struct {
// Defines where the visibility settings apply.
Stages []StageVisibilitySpecStages `json:"stages"`
// Determines if the list of subjects should be excluded from the stage visibility.
Exclude bool `json:"exclude,omitempty"`
// GENERATE: The following code has been modified after code generation
Subjects []interface{} `json:"subjects,omitempty"`
}
StageVisibilitySpec (catalog.v1alpha1.StageVisibility)
type StageVisibilitySpecAuthenticatedRef ¶ added in v1.1.78
type StageVisibilitySpecAuthenticatedRef struct {
Type string `json:"type"`
}
StageVisibilitySpecAuthenticatedRef struct for StageVisibilitySpecAuthenticatedRef
type StageVisibilitySpecStages ¶ added in v1.1.78
type StageVisibilitySpecStages struct {
Name string `json:"name"`
}
StageVisibilitySpecStages (catalog.v1alpha1.StageVisibility)
type StageVisibilitySpecTagRef ¶ added in v1.1.78
type StageVisibilitySpecTagRef struct {
Type string `json:"type"`
// Value of a platform team tag.
Value string `json:"value"`
}
StageVisibilitySpecTagRef struct for StageVisibilitySpecTagRef
type StageVisibilitySpecTeamRef ¶ added in v1.1.78
type StageVisibilitySpecTeamRef struct {
Type string `json:"type"`
// ID of the subject
Id string `json:"id"`
}
StageVisibilitySpecTeamRef struct for StageVisibilitySpecTeamRef
type Subscription ¶
type Subscription struct {
apiv1.ResourceMeta
Approval SubscriptionApproval `json:"approval"`
Billing SubscriptionBilling `json:"billing"`
Marketplace SubscriptionMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
References SubscriptionReferences `json:"references"`
Spec SubscriptionSpec `json:"spec"`
State SubscriptionState `json:"state"`
// Status SubscriptionStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
Subscription Resource
func NewSubscription ¶
func NewSubscription(name string) *Subscription
NewSubscription creates an empty *Subscription
func SubscriptionFromInstanceArray ¶
func SubscriptionFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Subscription, error)
SubscriptionFromInstanceArray converts a []*ResourceInstance to a []*Subscription
func (*Subscription) AsInstance ¶
func (res *Subscription) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Subscription to a ResourceInstance
func (*Subscription) FromInstance ¶
func (res *Subscription) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Subscription
func (*Subscription) MarshalJSON ¶
func (res *Subscription) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*Subscription) PluralName ¶
func (res *Subscription) PluralName() string
PluralName returns the plural name of the resource
func (*Subscription) UnmarshalJSON ¶
func (res *Subscription) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type SubscriptionApproval ¶
type SubscriptionApproval struct {
State string `json:"state"`
// Reason for the state.
Reason string `json:"reason,omitempty"`
// Id of the user that approved or reject the subscription.
UserId string `json:"userId,omitempty"`
}
SubscriptionApproval (catalog.v1alpha1.Subscription)
type SubscriptionBilling ¶ added in v1.1.52
type SubscriptionBilling struct {
// GENERATE: The following code has been modified after code generation
Payment interface{} `json:"payment,omitempty"`
}
SubscriptionBilling Details about the Subscription billing. (catalog.v1alpha1.Subscription)
type SubscriptionBillingPaymentTypeCustom ¶ added in v1.1.84
type SubscriptionBillingPaymentTypeCustom struct {
Type string `json:"type,omitempty"`
}
SubscriptionBillingPaymentTypeCustom struct for SubscriptionBillingPaymentTypeCustom
type SubscriptionBillingPaymentTypeMyFatoorah ¶ added in v1.1.98
type SubscriptionBillingPaymentTypeMyFatoorah struct {
Type string `json:"type,omitempty"`
}
SubscriptionBillingPaymentTypeMyFatoorah struct for SubscriptionBillingPaymentTypeMyFatoorah
type SubscriptionBillingPaymentTypeStripe ¶ added in v1.1.52
type SubscriptionBillingPaymentTypeStripe struct {
Type string `json:"type,omitempty"`
}
SubscriptionBillingPaymentTypeStripe struct for SubscriptionBillingPaymentTypeStripe
type SubscriptionInvoice ¶ added in v1.1.52
type SubscriptionInvoice struct {
apiv1.ResourceMeta
Billing SubscriptionInvoiceBilling `json:"billing"`
Invoiced SubscriptionInvoiceInvoiced `json:"invoiced"`
Marketplace SubscriptionInvoiceMarketplace `json:"marketplace"`
Owner *apiv1.Owner `json:"owner"`
References SubscriptionInvoiceReferences `json:"references"`
Spec SubscriptionInvoiceSpec `json:"spec"`
State SubscriptionInvoiceState `json:"state"`
// Status SubscriptionInvoiceStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
SubscriptionInvoice Resource
func NewSubscriptionInvoice ¶ added in v1.1.52
func NewSubscriptionInvoice(name, scopeName string) *SubscriptionInvoice
NewSubscriptionInvoice creates an empty *SubscriptionInvoice
func SubscriptionInvoiceFromInstanceArray ¶ added in v1.1.52
func SubscriptionInvoiceFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*SubscriptionInvoice, error)
SubscriptionInvoiceFromInstanceArray converts a []*ResourceInstance to a []*SubscriptionInvoice
func (*SubscriptionInvoice) AsInstance ¶ added in v1.1.52
func (res *SubscriptionInvoice) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a SubscriptionInvoice to a ResourceInstance
func (*SubscriptionInvoice) FromInstance ¶ added in v1.1.52
func (res *SubscriptionInvoice) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a SubscriptionInvoice
func (*SubscriptionInvoice) MarshalJSON ¶ added in v1.1.52
func (res *SubscriptionInvoice) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*SubscriptionInvoice) PluralName ¶ added in v1.1.52
func (res *SubscriptionInvoice) PluralName() string
PluralName returns the plural name of the resource
func (*SubscriptionInvoice) UnmarshalJSON ¶ added in v1.1.52
func (res *SubscriptionInvoice) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type SubscriptionInvoiceBilling ¶ added in v1.1.52
type SubscriptionInvoiceBilling struct {
// GENERATE: The following code has been modified after code generation
Payment interface{} `json:"payment,omitempty"`
}
SubscriptionInvoiceBilling (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceBillingPaymentTypeCustom ¶ added in v1.1.84
type SubscriptionInvoiceBillingPaymentTypeCustom struct {
Type string `json:"type"`
// Invoice id from the billing system.
Id string `json:"id,omitempty"`
// Custom Invoice number.
Number string `json:"number,omitempty"`
// Due date of the invoice.
DueDate time.Time `json:"dueDate,omitempty"`
// Issue date of the invoice.
IssueDate time.Time `json:"issueDate,omitempty"`
Amount SubscriptionInvoiceBillingPaymentTypeCustomAmount `json:"amount,omitempty"`
// Link where the payment can be done.
Link string `json:"link,omitempty"`
// Link from where the invoice can be downloaded.
DocumentLink string `json:"documentLink,omitempty"`
Customer SubscriptionInvoiceBillingPaymentTypeCustomCustomer `json:"customer,omitempty"`
}
SubscriptionInvoiceBillingPaymentTypeCustom Defines custom type invoice payment details.
type SubscriptionInvoiceBillingPaymentTypeCustomAmount ¶ added in v1.1.84
type SubscriptionInvoiceBillingPaymentTypeCustomAmount struct {
// Currency for the billed amount.
Currency string `json:"currency"`
// Total amount after discounts and taxes.
Total float64 `json:"total"`
// Final amount due at this time for this invoice.
Due float64 `json:"due"`
}
SubscriptionInvoiceBillingPaymentTypeCustomAmount Amount charged in the external billing system.
type SubscriptionInvoiceBillingPaymentTypeCustomCustomer ¶ added in v1.1.84
type SubscriptionInvoiceBillingPaymentTypeCustomCustomer struct {
Id string `json:"id"`
}
SubscriptionInvoiceBillingPaymentTypeCustomCustomer Customer information from the external billing system.
type SubscriptionInvoiceBillingPaymentTypeMyFatoorah ¶ added in v1.1.98
type SubscriptionInvoiceBillingPaymentTypeMyFatoorah struct {
Type string `json:"type"`
// Invoice id from the billing system.
Id string `json:"id,omitempty"`
// Custom Invoice number.
Number string `json:"number,omitempty"`
// Due date of the invoice.
DueDate time.Time `json:"dueDate,omitempty"`
// Issue date of the invoice.
IssueDate time.Time `json:"issueDate,omitempty"`
Amount SubscriptionInvoiceBillingPaymentTypeMyFatoorahAmount `json:"amount,omitempty"`
// Link where the payment can be done.
Link string `json:"link,omitempty"`
// Link from where the invoice can be downloaded.
DocumentLink string `json:"documentLink,omitempty"`
Customer SubscriptionInvoiceBillingPaymentTypeMyFatoorahCustomer `json:"customer,omitempty"`
}
SubscriptionInvoiceBillingPaymentTypeMyFatoorah Defines MyFatoorah type invoice payment details.
type SubscriptionInvoiceBillingPaymentTypeMyFatoorahAmount ¶ added in v1.1.98
type SubscriptionInvoiceBillingPaymentTypeMyFatoorahAmount struct {
// Currency for the billed amount.
Currency string `json:"currency"`
// Total amount after discounts and taxes.
Total float64 `json:"total"`
// Final amount due at this time for this invoice.
Due float64 `json:"due"`
}
SubscriptionInvoiceBillingPaymentTypeMyFatoorahAmount Amount charged in the MyFatoorah billing system.
type SubscriptionInvoiceBillingPaymentTypeMyFatoorahCustomer ¶ added in v1.1.98
type SubscriptionInvoiceBillingPaymentTypeMyFatoorahCustomer struct {
Id string `json:"id"`
}
SubscriptionInvoiceBillingPaymentTypeMyFatoorahCustomer Customer information from the MyFatoorah billing system.
type SubscriptionInvoiceBillingPaymentTypeStripe ¶ added in v1.1.52
type SubscriptionInvoiceBillingPaymentTypeStripe struct {
Type string `json:"type"`
// Stripe Invoice id.
Id string `json:"id,omitempty"`
// Stripe Invoice number.
Number string `json:"number,omitempty"`
// Due date of the invoice.
DueDate time.Time `json:"dueDate,omitempty"`
// Issue date of the invoice.
IssueDate time.Time `json:"issueDate,omitempty"`
Amount SubscriptionInvoiceBillingPaymentTypeStripeAmount `json:"amount,omitempty"`
// Link where the payment can be done.
Link string `json:"link,omitempty"`
// Link from where the invoice can be downloaded.
DocumentLink string `json:"documentLink,omitempty"`
Customer SubscriptionInvoiceBillingPaymentTypeStripeCustomer `json:"customer,omitempty"`
}
SubscriptionInvoiceBillingPaymentTypeStripe Defines Stripe type invoice payment details.
type SubscriptionInvoiceBillingPaymentTypeStripeAmount ¶ added in v1.1.52
type SubscriptionInvoiceBillingPaymentTypeStripeAmount struct {
// Currency for the billed amount.
Currency string `json:"currency"`
// Total amount after discounts and taxes.
Total float64 `json:"total"`
// Final amount due at this time for this invoice.
Due float64 `json:"due"`
}
SubscriptionInvoiceBillingPaymentTypeStripeAmount Amount billed in Stripe.
type SubscriptionInvoiceBillingPaymentTypeStripeCustomer ¶ added in v1.1.52
type SubscriptionInvoiceBillingPaymentTypeStripeCustomer struct {
Id string `json:"id"`
}
SubscriptionInvoiceBillingPaymentTypeStripeCustomer Customer information from Stripe billing system.
type SubscriptionInvoiceInvoiced ¶ added in v1.1.113
type SubscriptionInvoiceInvoiced struct {
Amount SubscriptionInvoiceInvoicedAmount `json:"amount,omitempty"`
}
SubscriptionInvoiceInvoiced (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceInvoicedAmount ¶ added in v1.1.113
type SubscriptionInvoiceInvoicedAmount struct {
// Currency for the billed amount.
Currency string `json:"currency"`
// Total amount after discounts and taxes.
Total float64 `json:"total"`
}
SubscriptionInvoiceInvoicedAmount Amount charged in the billing system. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceMarketplace ¶ added in v1.1.52
type SubscriptionInvoiceMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource SubscriptionInvoiceMarketplaceResource `json:"resource"`
}
SubscriptionInvoiceMarketplace Details about the marketplace Subscription invoice. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceMarketplaceResource ¶ added in v1.1.52
type SubscriptionInvoiceMarketplaceResource struct {
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
SubscriptionInvoiceMarketplaceResource The Marketplace Subscription Invoice resource details. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceMarketplaceResourceOwner ¶ added in v1.1.52
type SubscriptionInvoiceMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization SubscriptionInvoiceMarketplaceResourceOwnerOrganization `json:"organization"`
}
SubscriptionInvoiceMarketplaceResourceOwner Owner of the Subscription Invoice. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceMarketplaceResourceOwnerOrganization ¶ added in v1.1.52
type SubscriptionInvoiceMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
SubscriptionInvoiceMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceReferences ¶ added in v1.1.105
type SubscriptionInvoiceReferences struct {
// Reference to product.
Product string `json:"product,omitempty"`
}
SubscriptionInvoiceReferences (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpec ¶ added in v1.1.52
type SubscriptionInvoiceSpec struct {
Cost SubscriptionInvoiceSpecCost `json:"cost,omitempty"`
Period SubscriptionInvoiceSpecPeriod `json:"period,omitempty"`
Quotas []SubscriptionInvoiceSpecQuotas `json:"quotas,omitempty"`
}
SubscriptionInvoiceSpec (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecCost ¶ added in v1.1.84
type SubscriptionInvoiceSpecCost struct {
// The computed cost of the entire invoice, including plan and quota items costs.
Total float64 `json:"total,omitempty"`
Plan SubscriptionInvoiceSpecCostPlan `json:"plan,omitempty"`
}
SubscriptionInvoiceSpecCost The invoice generated cost (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecCostPlan ¶ added in v1.1.84
type SubscriptionInvoiceSpecCostPlan struct {
// The Product Plan to which to migrate the Subscription.
Name string `json:"name,omitempty"`
// The cost of the plan when the invoice was generated.
Cost float64 `json:"cost,omitempty"`
// Plan's currency.
Currency string `json:"currency,omitempty"`
Setup SubscriptionInvoiceSpecCostPlanSetup `json:"setup,omitempty"`
// Quotas for which there is cost associated.
Quotas []SubscriptionInvoiceSpecCostPlanQuotas `json:"quotas,omitempty"`
}
SubscriptionInvoiceSpecCostPlan Plan information. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecCostPlanItems ¶ added in v1.1.84
type SubscriptionInvoiceSpecCostPlanItems struct {
// The title of the quota invoice item.
Title string `json:"title,omitempty"`
// Number of billed units.
Units int32 `json:"units,omitempty"`
// The cost of a billed unit for the quota or specific quota interval.
ItemCost float64 `json:"itemCost,omitempty"`
// Start time of the invoice item.
From time.Time `json:"from,omitempty"`
// End time of the invoice item.
To time.Time `json:"to,omitempty"`
// The description of the invoice item for the quota.
Description string `json:"description,omitempty"`
}
SubscriptionInvoiceSpecCostPlanItems (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecCostPlanQuotas ¶ added in v1.1.84
type SubscriptionInvoiceSpecCostPlanQuotas struct {
Name string `json:"name,omitempty"`
// The cost associated with the quota.
Cost float64 `json:"cost,omitempty"`
// The items included in the quota cost.
Items []SubscriptionInvoiceSpecCostPlanItems `json:"items,omitempty"`
}
SubscriptionInvoiceSpecCostPlanQuotas (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecCostPlanSetup ¶ added in v1.1.84
type SubscriptionInvoiceSpecCostPlanSetup struct {
// One time charge for the setup of the subscription.
Cost float64 `json:"cost,omitempty"`
}
SubscriptionInvoiceSpecCostPlanSetup Defines the setup of the plan's subscriptions. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecIntervals ¶ added in v1.1.57
type SubscriptionInvoiceSpecIntervals struct {
// The start of the interval.
From time.Time `json:"from"`
// Number of consumed units in the interval.
Units int32 `json:"units"`
// In case the item is from a prior invoice for the same quota. Prior invoice items are included if the first item is not for the complete quota interval.
PreviousInvoiceItem bool `json:"previousInvoiceItem,omitempty"`
}
SubscriptionInvoiceSpecIntervals (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecPeriod ¶ added in v1.1.52
type SubscriptionInvoiceSpecPeriod struct {
// Start time of the invoice.
From time.Time `json:"from"`
// End time of the invoice.
To time.Time `json:"to"`
}
SubscriptionInvoiceSpecPeriod Describes the period for which the invoice was created. Initial invoice for a subscription does not contain a period. (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceSpecQuotas ¶ added in v1.1.52
type SubscriptionInvoiceSpecQuotas struct {
Name string `json:"name,omitempty"`
// Number of consumed units.
Units int32 `json:"units,omitempty"`
// Defined for quotas with overages per specific time period.
Intervals []SubscriptionInvoiceSpecIntervals `json:"intervals,omitempty"`
}
SubscriptionInvoiceSpecQuotas (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceState ¶ added in v1.1.52
type SubscriptionInvoiceState struct {
Name string `json:"name,omitempty"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
}
SubscriptionInvoiceState (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceStatus ¶ added in v1.1.52
type SubscriptionInvoiceStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []SubscriptionInvoiceStatusReasons `json:"reasons,omitempty"`
}
SubscriptionInvoiceStatus (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionInvoiceStatusReasons ¶ added in v1.1.52
type SubscriptionInvoiceStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.SubscriptionInvoice)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
SubscriptionInvoiceStatusReasons (catalog.v1alpha1.SubscriptionInvoice)
type SubscriptionJob ¶ added in v1.1.49
type SubscriptionJob struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec SubscriptionJobSpec `json:"spec"`
// Status SubscriptionJobStatus `json:"status"`
Status *apiv1.ResourceStatus `json:"status"`
}
SubscriptionJob Resource
func NewSubscriptionJob ¶ added in v1.1.49
func NewSubscriptionJob(name, scopeName string) *SubscriptionJob
NewSubscriptionJob creates an empty *SubscriptionJob
func SubscriptionJobFromInstanceArray ¶ added in v1.1.49
func SubscriptionJobFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*SubscriptionJob, error)
SubscriptionJobFromInstanceArray converts a []*ResourceInstance to a []*SubscriptionJob
func (*SubscriptionJob) AsInstance ¶ added in v1.1.49
func (res *SubscriptionJob) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a SubscriptionJob to a ResourceInstance
func (*SubscriptionJob) FromInstance ¶ added in v1.1.49
func (res *SubscriptionJob) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a SubscriptionJob
func (*SubscriptionJob) MarshalJSON ¶ added in v1.1.49
func (res *SubscriptionJob) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*SubscriptionJob) PluralName ¶ added in v1.1.49
func (res *SubscriptionJob) PluralName() string
PluralName returns the plural name of the resource
func (*SubscriptionJob) UnmarshalJSON ¶ added in v1.1.49
func (res *SubscriptionJob) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type SubscriptionJobSpec ¶ added in v1.1.49
type SubscriptionJobSpec struct {
// GENERATE: The following code has been modified after code generation
Action interface{} `json:"action"`
When SubscriptionJobSpecWhen `json:"when,omitempty"`
PostExecute SubscriptionJobSpecPostExecute `json:"postExecute,omitempty"`
}
SubscriptionJobSpec (catalog.v1alpha1.SubscriptionJob)
type SubscriptionJobSpecApprovalStateChange ¶ added in v1.1.49
type SubscriptionJobSpecApprovalStateChange struct {
Type string `json:"type"`
// Used to override the migrated Subscription approval state.
State string `json:"state"`
}
SubscriptionJobSpecApprovalStateChange struct for SubscriptionJobSpecApprovalStateChange
type SubscriptionJobSpecArchive ¶ added in v1.1.49
type SubscriptionJobSpecArchive struct {
Type string `json:"type"`
// Description on why the subscription was archived.
Reason string `json:"reason,omitempty"`
// The Product Plan Job which triggered the archival.
ProductPlanJob string `json:"productPlanJob,omitempty"`
}
SubscriptionJobSpecArchive struct for SubscriptionJobSpecArchive
type SubscriptionJobSpecMigrateAssetRequests ¶ added in v1.1.49
type SubscriptionJobSpecMigrateAssetRequests struct {
Type string `json:"type"`
}
SubscriptionJobSpecMigrateAssetRequests struct for SubscriptionJobSpecMigrateAssetRequests
type SubscriptionJobSpecPlanMigration ¶ added in v1.1.49
type SubscriptionJobSpecPlanMigration struct {
Type string `json:"type"`
// The Product Plan to which to migrate the Subscription.
ProductPlan string `json:"productPlan"`
// Description on why the subscription was migrated.
Reason string `json:"reason,omitempty"`
// The Product Plan Job which triggered the migration.
ProductPlanJob string `json:"productPlanJob,omitempty"`
}
SubscriptionJobSpecPlanMigration struct for SubscriptionJobSpecPlanMigration
type SubscriptionJobSpecPostExecute ¶ added in v1.1.49
type SubscriptionJobSpecPostExecute struct {
// Actions to be executed after the new Subscription was created.
OnSuccess []map[string]interface{} `json:"onSuccess,omitempty"`
}
SubscriptionJobSpecPostExecute (catalog.v1alpha1.SubscriptionJob)
type SubscriptionJobSpecWhen ¶ added in v1.1.49
type SubscriptionJobSpecWhen struct {
// Time when the migration should execute.
Timestamp time.Time `json:"timestamp,omitempty"`
}
SubscriptionJobSpecWhen Describes when to execute the action. (catalog.v1alpha1.SubscriptionJob)
type SubscriptionJobStatus ¶ added in v1.1.49
type SubscriptionJobStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []SubscriptionJobStatusReasons `json:"reasons,omitempty"`
}
SubscriptionJobStatus (catalog.v1alpha1.SubscriptionJob)
type SubscriptionJobStatusReasons ¶ added in v1.1.49
type SubscriptionJobStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.SubscriptionJob)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
SubscriptionJobStatusReasons (catalog.v1alpha1.SubscriptionJob)
type SubscriptionMarketplace ¶
type SubscriptionMarketplace struct {
// The name of the Marketplace.
Name string `json:"name"`
Resource SubscriptionMarketplaceResource `json:"resource"`
}
SubscriptionMarketplace Details about the marketplace Subscription. (catalog.v1alpha1.Subscription)
type SubscriptionMarketplaceResource ¶
type SubscriptionMarketplaceResource struct {
Metadata SubscriptionMarketplaceResourceMetadata `json:"metadata"`
// GENERATE: The following code has been modified after code generation
Owner *apiv1.Owner `json:"owner,omitempty"`
}
SubscriptionMarketplaceResource The Marketplace Subscription resource details. (catalog.v1alpha1.Subscription)
type SubscriptionMarketplaceResourceMetadata ¶
type SubscriptionMarketplaceResourceMetadata struct {
// Id of the user that created the entity.
CreateUserId string `json:"createUserId,omitempty"`
// Id of the user that created the entity.
ModifyUserId string `json:"modifyUserId,omitempty"`
}
SubscriptionMarketplaceResourceMetadata Marketplace Subscription metadata. (catalog.v1alpha1.Subscription)
type SubscriptionMarketplaceResourceOwner ¶
type SubscriptionMarketplaceResourceOwner struct {
// The type of the owner.
Type string `json:"type,omitempty"`
// Id of the owner of the resource.
Id string `json:"id,omitempty"`
Organization SubscriptionMarketplaceResourceOwnerOrganization `json:"organization"`
}
SubscriptionMarketplaceResourceOwner Owner of the Subscription. (catalog.v1alpha1.Subscription)
type SubscriptionMarketplaceResourceOwnerOrganization ¶
type SubscriptionMarketplaceResourceOwnerOrganization struct {
// Id of the organization.
Id string `json:"id"`
}
SubscriptionMarketplaceResourceOwnerOrganization Organization details. (catalog.v1alpha1.Subscription)
type SubscriptionReferences ¶ added in v1.1.49
type SubscriptionReferences struct {
// Reference a source Subscription if the Subscription was generated from a Subscription migration to a new Product Plan.
Subscription string `json:"subscription,omitempty"`
}
SubscriptionReferences (catalog.v1alpha1.Subscription)
type SubscriptionRequestDefinition ¶ added in v1.1.64
type SubscriptionRequestDefinition struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec SubscriptionRequestDefinitionSpec `json:"spec"`
}
SubscriptionRequestDefinition Resource
func NewSubscriptionRequestDefinition ¶ added in v1.1.64
func NewSubscriptionRequestDefinition(name string) *SubscriptionRequestDefinition
NewSubscriptionRequestDefinition creates an empty *SubscriptionRequestDefinition
func SubscriptionRequestDefinitionFromInstanceArray ¶ added in v1.1.64
func SubscriptionRequestDefinitionFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*SubscriptionRequestDefinition, error)
SubscriptionRequestDefinitionFromInstanceArray converts a []*ResourceInstance to a []*SubscriptionRequestDefinition
func (*SubscriptionRequestDefinition) AsInstance ¶ added in v1.1.64
func (res *SubscriptionRequestDefinition) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a SubscriptionRequestDefinition to a ResourceInstance
func (*SubscriptionRequestDefinition) FromInstance ¶ added in v1.1.64
func (res *SubscriptionRequestDefinition) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a SubscriptionRequestDefinition
func (*SubscriptionRequestDefinition) MarshalJSON ¶ added in v1.1.64
func (res *SubscriptionRequestDefinition) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*SubscriptionRequestDefinition) PluralName ¶ added in v1.1.64
func (res *SubscriptionRequestDefinition) PluralName() string
PluralName returns the plural name of the resource
func (*SubscriptionRequestDefinition) UnmarshalJSON ¶ added in v1.1.64
func (res *SubscriptionRequestDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type SubscriptionRequestDefinitionSpec ¶ added in v1.1.64
type SubscriptionRequestDefinitionSpec struct {
// JSON Schema draft \\#7 for defining the properties needed from a consumer to subscribe to a plan. (catalog.v1alpha1.SubscriptionRequestDefinition)
Schema map[string]interface{} `json:"schema"`
}
SubscriptionRequestDefinitionSpec (catalog.v1alpha1.SubscriptionRequestDefinition)
type SubscriptionSpec ¶
type SubscriptionSpec struct {
// Data matching the subscription definition schema set on the subscribed plan. (catalog.v1alpha1.Subscription)
Data map[string]interface{} `json:"data,omitempty"`
// Schema snapshot from the subscription definition when the subscription got created. (catalog.v1alpha1.Subscription)
Schema map[string]interface{} `json:"schema,omitempty"`
// Reference to Product resource
Product string `json:"product"`
Plan SubscriptionSpecPlan `json:"plan"`
}
SubscriptionSpec (catalog.v1alpha1.Subscription)
type SubscriptionSpecPlan ¶
type SubscriptionSpecPlan struct {
// Reference to Product resource
Name string `json:"name"`
}
SubscriptionSpecPlan (catalog.v1alpha1.Subscription)
type SubscriptionState ¶ added in v1.1.49
type SubscriptionState struct {
Name string `json:"name"`
// Additional info on the state.
Reason string `json:"reason,omitempty"`
When SubscriptionStateWhen `json:"when,omitempty"`
}
SubscriptionState (catalog.v1alpha1.Subscription)
type SubscriptionStateWhen ¶ added in v1.1.78
type SubscriptionStateWhen struct {
// Time when the scheduled action should execute or was executed.
Timestamp time.Time `json:"timestamp,omitempty"`
}
SubscriptionStateWhen Describes when to execute the scheduled action or when it was executed. Only valid for scheduled actions. (catalog.v1alpha1.Subscription)
type SubscriptionStatus ¶
type SubscriptionStatus struct {
// The current status level, indicating progress towards consistency.
Level string `json:"level"`
// Reasons for the generated status.
Reasons []SubscriptionStatusReasons `json:"reasons,omitempty"`
}
SubscriptionStatus (catalog.v1alpha1.Subscription)
type SubscriptionStatusReasons ¶
type SubscriptionStatusReasons struct {
Type string `json:"type"`
// Details of the error.
Detail string `json:"detail"`
// Time when the update occurred.
Timestamp time.Time `json:"timestamp"`
// (catalog.v1alpha1.Subscription)
Meta map[string]map[string]interface{} `json:"meta,omitempty"`
}
SubscriptionStatusReasons (catalog.v1alpha1.Subscription)
type SupportContact ¶ added in v1.1.41
type SupportContact struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec SupportContactSpec `json:"spec"`
}
SupportContact Resource
func NewSupportContact ¶ added in v1.1.41
func NewSupportContact(name string) *SupportContact
NewSupportContact creates an empty *SupportContact
func SupportContactFromInstanceArray ¶ added in v1.1.41
func SupportContactFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*SupportContact, error)
SupportContactFromInstanceArray converts a []*ResourceInstance to a []*SupportContact
func (*SupportContact) AsInstance ¶ added in v1.1.41
func (res *SupportContact) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a SupportContact to a ResourceInstance
func (*SupportContact) FromInstance ¶ added in v1.1.41
func (res *SupportContact) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a SupportContact
func (*SupportContact) MarshalJSON ¶ added in v1.1.41
func (res *SupportContact) MarshalJSON() ([]byte, error)
MarshalJSON custom marshaller to handle sub resources
func (*SupportContact) PluralName ¶ added in v1.1.41
func (res *SupportContact) PluralName() string
PluralName returns the plural name of the resource
func (*SupportContact) UnmarshalJSON ¶ added in v1.1.41
func (res *SupportContact) UnmarshalJSON(data []byte) error
UnmarshalJSON custom unmarshaller to handle sub resources
type SupportContactSpec ¶ added in v1.1.41
type SupportContactSpec struct {
// Email address of the Support Contact.
Email string `json:"email"`
// String of the E.164 format of the phone number, e.g. +11234567899
PhoneNumber string `json:"phoneNumber,omitempty"`
OfficeHours SupportContactSpecOfficeHours `json:"officeHours,omitempty"`
AlternativeContacts SupportContactSpecAlternativeContacts `json:"alternativeContacts,omitempty"`
}
SupportContactSpec (catalog.v1alpha1.SupportContact)
type SupportContactSpecAlternativeContacts ¶ added in v1.1.44
type SupportContactSpecAlternativeContacts struct {
// Alternative contact URLs.
Urls []SupportContactSpecAlternativeContactsUrls `json:"urls,omitempty"`
}
SupportContactSpecAlternativeContacts (catalog.v1alpha1.SupportContact)
type SupportContactSpecAlternativeContactsUrls ¶ added in v1.1.44
type SupportContactSpecAlternativeContactsUrls struct {
// URL hosting service name. Examples: msteams, slack
Type string `json:"type,omitempty"`
// Title for the provided URL.
Title string `json:"title"`
// URL value.
Value string `json:"value"`
}
SupportContactSpecAlternativeContactsUrls (catalog.v1alpha1.SupportContact)
type SupportContactSpecOfficeHours ¶ added in v1.1.44
type SupportContactSpecOfficeHours struct {
// Long IANA Time Zone format. Examples: 'America/New_York' or 'Europe/Paris'
Timezone string `json:"timezone"`
Periods []SupportContactSpecOfficeHoursPeriods `json:"periods"`
}
SupportContactSpecOfficeHours (catalog.v1alpha1.SupportContact)
type SupportContactSpecOfficeHoursPeriods ¶ added in v1.1.44
type SupportContactSpecOfficeHoursPeriods struct {
// Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00.
OpenTime string `json:"openTime"`
OpenDay string `json:"openDay"`
// Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00.
CloseTime string `json:"closeTime"`
CloseDay string `json:"closeDay"`
}
SupportContactSpecOfficeHoursPeriods (catalog.v1alpha1.SupportContact)
type Webhook ¶
type Webhook struct {
apiv1.ResourceMeta
Owner *apiv1.Owner `json:"owner"`
Spec WebhookSpec `json:"spec"`
}
Webhook Resource
func NewWebhook ¶
NewWebhook creates an empty *Webhook
func WebhookFromInstanceArray ¶
func WebhookFromInstanceArray(fromArray []*apiv1.ResourceInstance) ([]*Webhook, error)
WebhookFromInstanceArray converts a []*ResourceInstance to a []*Webhook
func (*Webhook) AsInstance ¶
func (res *Webhook) AsInstance() (*apiv1.ResourceInstance, error)
AsInstance converts a Webhook to a ResourceInstance
func (*Webhook) FromInstance ¶
func (res *Webhook) FromInstance(ri *apiv1.ResourceInstance) error
FromInstance converts a ResourceInstance to a Webhook
func (*Webhook) MarshalJSON ¶
MarshalJSON custom marshaller to handle sub resources
func (*Webhook) PluralName ¶
PluralName returns the plural name of the resource
func (*Webhook) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaller to handle sub resources
type WebhookSpec ¶
type WebhookSpec struct {
Auth WebhookSpecAuth `json:"auth,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Url string `json:"url"`
// A list of headers that will be sent as par of the http call to the webhook endpoint. (catalog.v1alpha1.Webhook)
Headers map[string]string `json:"headers,omitempty"`
}
WebhookSpec (catalog.v1alpha1.Webhook)
type WebhookSpecAuth ¶
type WebhookSpecAuth struct {
// GENERATE: The following code has been modified after code generation
Location interface{} `json:"location,omitempty"`
Secret WebhookSpecAuthSecret `json:"secret,omitempty"`
}
WebhookSpecAuth Defines the authentication used to invoke the webhook. When invoking the webhook, the value from the secret/key will be sent in the Authorization header. (catalog.v1alpha1.Webhook)
type WebhookSpecAuthSecret ¶
type WebhookSpecAuthSecret struct {
// Secret name to be used as a reference. If the secret is removed, the reference gets removed and the webhook invocation will be done with no Authorization header.
Name string `json:"name,omitempty"`
// Key to be used from the referenced secret.
Key string `json:"key,omitempty"`
}
WebhookSpecAuthSecret (catalog.v1alpha1.Webhook)
type WebhookSpecHeaderLocation ¶ added in v1.1.113
type WebhookSpecHeaderLocation struct {
// Defines the location of the secret.
In string `json:"in"`
// The name of the header. Defaults to Authorization.
Name string `json:"name,omitempty"`
}
WebhookSpecHeaderLocation Location as header to send the secret auth value.
type WebhookSpecQueryLocation ¶ added in v1.1.113
type WebhookSpecQueryLocation struct {
// Defines the location of the secret.
In string `json:"in"`
// The name of the query parameter.
Name string `json:"name"`
}
WebhookSpecQueryLocation struct for WebhookSpecQueryLocation
Source Files
¶
- AccessControlList.go
- Application.go
- ApplicationProfile.go
- ApplicationProfileDefinition.go
- Asset.go
- AssetMapping.go
- AssetRelease.go
- AssetRequest.go
- AssetRequestDefinition.go
- AssetResource.go
- AssistedSearch.go
- AuthorizationProfile.go
- Category.go
- CategoryVisibility.go
- ConsumerProductPlanVisibility.go
- ConsumerProductVisibility.go
- ConsumerStageVisibility.go
- Credential.go
- CredentialRequestDefinition.go
- Document.go
- DocumentResource.go
- DocumentTemplate.go
- Marketplace.go
- Product.go
- ProductOverview.go
- ProductPlan.go
- ProductPlanJob.go
- ProductPlanUnit.go
- ProductPlanVisibility.go
- ProductRelease.go
- ProductReview.go
- ProductVisibility.go
- PublishedDocumentResource.go
- PublishedProduct.go
- PublishedStage.go
- Quota.go
- ReleaseTag.go
- Resource.go
- Secret.go
- Stage.go
- StageVisibility.go
- Subscription.go
- SubscriptionInvoice.go
- SubscriptionJob.go
- SubscriptionRequestDefinition.go
- SupportContact.go
- Webhook.go
- model_access_control_list_spec.go
- model_access_control_list_spec_access_level_scope.go
- model_access_control_list_spec_access_level_scoped_kind.go
- model_access_control_list_spec_access_level_scoped_resource.go
- model_access_control_list_spec_rules.go
- model_access_control_list_spec_subjects.go
- model_application_marketplace.go
- model_application_marketplace_resource.go
- model_application_marketplace_resource_metadata.go
- model_application_marketplace_resource_owner.go
- model_application_marketplace_resource_owner_organization.go
- model_application_profile_definition_references.go
- model_application_profile_definition_spec.go
- model_application_profile_marketplace.go
- model_application_profile_marketplace_resource.go
- model_application_profile_marketplace_resource_metadata.go
- model_application_profile_marketplace_resource_owner.go
- model_application_profile_marketplace_resource_owner_organization.go
- model_application_profile_references.go
- model_application_profile_spec.go
- model_application_profile_status.go
- model_application_profile_status_reasons.go
- model_application_spec.go
- model_application_spec_security.go
- model_application_state.go
- model_asset_access.go
- model_asset_latestrelease.go
- model_asset_mapping_spec.go
- model_asset_mapping_spec_inputs.go
- model_asset_mapping_status.go
- model_asset_mapping_status_operation_type.go
- model_asset_mapping_status_outputs.go
- model_asset_mapping_status_resource.go
- model_asset_mapping_status_resource_asset_resource.go
- model_asset_mapping_status_resource_stage.go
- model_asset_mapping_status_source.go
- model_asset_mapping_status_source_resource.go
- model_asset_mapping_status_source_resource_api_service.go
- model_asset_mapping_status_source_resource_api_service_instance.go
- model_asset_mapping_status_source_resource_api_service_revision.go
- model_asset_mapping_status_source_resource_asset_mapping_template.go
- model_asset_references_api_service_ref.go
- model_asset_references_asset_mapping_ref.go
- model_asset_references_asset_mapping_template_ref.go
- model_asset_references_environment_ref.go
- model_asset_references_stage_ref.go
- model_asset_release_references_api_service_ref.go
- model_asset_release_references_asset_mapping_template_ref.go
- model_asset_release_references_environment_ref.go
- model_asset_release_references_release_tag_ref.go
- model_asset_release_references_stage_ref.go
- model_asset_release_spec.go
- model_asset_release_status.go
- model_asset_release_status_meta.go
- model_asset_release_status_reasons.go
- model_asset_request_approval.go
- model_asset_request_approval_state.go
- model_asset_request_definition_applicationprofile.go
- model_asset_request_definition_authorization.go
- model_asset_request_definition_spec.go
- model_asset_request_definition_spec_provision.go
- model_asset_request_definition_spec_provision_policies.go
- model_asset_request_marketplace.go
- model_asset_request_marketplace_resource.go
- model_asset_request_marketplace_resource_metadata.go
- model_asset_request_marketplace_resource_owner.go
- model_asset_request_marketplace_resource_owner_organization.go
- model_asset_request_references.go
- model_asset_request_spec.go
- model_asset_request_status.go
- model_asset_request_status_reasons.go
- model_asset_resource_references.go
- model_asset_resource_spec.go
- model_asset_resource_spec_access_info.go
- model_asset_resource_spec_source_release_state.go
- model_asset_spec.go
- model_asset_spec_auto_release.go
- model_asset_spec_auto_release_previous_releases.go
- model_asset_state.go
- model_asset_status.go
- model_asset_status_meta.go
- model_asset_status_reasons.go
- model_assisted_search_spec.go
- model_assisted_search_spec_embedded_integration_type.go
- model_assisted_search_spec_remotely_hosted_integration_type.go
- model_assisted_search_state.go
- model_authorization_profile_policies.go
- model_authorization_profile_policies_credentials.go
- model_authorization_profile_policies_credentials_expiry.go
- model_authorization_profile_policies_credentials_expiry_notifications.go
- model_authorization_profile_references.go
- model_authorization_profile_spec.go
- model_category_spec.go
- model_category_spec_api_service_restriction.go
- model_category_spec_asset_restriction.go
- model_category_spec_product_restriction.go
- model_category_spec_product_restriction_marketplace.go
- model_category_visibility_spec.go
- model_consumer_product_plan_visibility_spec.go
- model_consumer_product_plan_visibility_spec_authenticated_ref.go
- model_consumer_product_plan_visibility_spec_org_ref.go
- model_consumer_product_plan_visibility_spec_plans.go
- model_consumer_product_visibility_spec.go
- model_consumer_product_visibility_spec_authenticated_ref.go
- model_consumer_product_visibility_spec_org_ref.go
- model_consumer_product_visibility_spec_products.go
- model_consumer_stage_visibility_spec.go
- model_consumer_stage_visibility_spec_authenticated_ref.go
- model_consumer_stage_visibility_spec_org_ref.go
- model_consumer_stage_visibility_spec_stages.go
- model_credential_expiration.go
- model_credential_expiration_notification.go
- model_credential_marketplace.go
- model_credential_marketplace_resource.go
- model_credential_marketplace_resource_metadata.go
- model_credential_marketplace_resource_owner.go
- model_credential_marketplace_resource_owner_organization.go
- model_credential_policies.go
- model_credential_policies_expiry.go
- model_credential_references.go
- model_credential_request_definition_references.go
- model_credential_request_definition_spec.go
- model_credential_request_definition_spec_provision.go
- model_credential_request_definition_spec_provision_policies.go
- model_credential_request_definition_spec_provision_policies_expiry.go
- model_credential_request_definition_spec_provision_policies_expiry_actions.go
- model_credential_spec.go
- model_credential_spec_state.go
- model_credential_state.go
- model_credential_status.go
- model_credential_status_reasons.go
- model_document_resource_references.go
- model_document_resource_references_marketplace_settings.go
- model_document_resource_references_platform_settings.go
- model_document_resource_spec.go
- model_document_resource_spec_binary_data.go
- model_document_resource_spec_text_data.go
- model_document_resource_spec_url.go
- model_document_resource_spec_usage.go
- model_document_resource_spec_usage_marketplace_settings.go
- model_document_resource_spec_usage_products.go
- model_document_resource_state.go
- model_document_spec.go
- model_document_spec_document_resource_ref.go
- model_document_spec_resource_ref.go
- model_document_spec_sections.go
- model_document_status.go
- model_document_status_error.go
- model_document_status_success.go
- model_document_template_spec.go
- model_document_template_spec_usage.go
- model_marketplace_billing.go
- model_marketplace_billing_payment.go
- model_marketplace_spec.go
- model_product_latestrelease.go
- model_product_overview_spec.go
- model_product_overview_spec_documents.go
- model_product_plan_job_spec.go
- model_product_plan_job_spec_subscriptions_archive.go
- model_product_plan_job_spec_subscriptions_migration.go
- model_product_plan_job_spec_subscriptions_migration_filters.go
- model_product_plan_job_spec_when.go
- model_product_plan_job_status.go
- model_product_plan_job_status_reasons.go
- model_product_plan_references.go
- model_product_plan_references_product.go
- model_product_plan_spec.go
- model_product_plan_spec_billing.go
- model_product_plan_spec_billing_invoices.go
- model_product_plan_spec_billing_invoices_actions.go
- model_product_plan_spec_billing_invoices_when.go
- model_product_plan_spec_billing_setup.go
- model_product_plan_spec_features.go
- model_product_plan_spec_subscription.go
- model_product_plan_spec_subscription_interval.go
- model_product_plan_state.go
- model_product_plan_status.go
- model_product_plan_status_reasons.go
- model_product_plan_unit_spec.go
- model_product_plan_visibility_spec.go
- model_product_plan_visibility_spec_authenticated_ref.go
- model_product_plan_visibility_spec_plans.go
- model_product_plan_visibility_spec_tag_ref.go
- model_product_plan_visibility_spec_team_ref.go
- model_product_references.go
- model_product_references_assets.go
- model_product_references_marketplaces.go
- model_product_references_ratings.go
- model_product_references_ratings_distribution.go
- model_product_references_release.go
- model_product_release_references.go
- model_product_release_spec.go
- model_product_release_spec_assets.go
- model_product_release_spec_release.go
- model_product_release_spec_version_properties.go
- model_product_release_status.go
- model_product_release_status_error.go
- model_product_release_status_pending.go
- model_product_release_status_pending_meta.go
- model_product_release_status_success.go
- model_product_review_marketplace.go
- model_product_review_marketplace_resource.go
- model_product_review_marketplace_resource_metadata.go
- model_product_review_marketplace_resource_owner.go
- model_product_review_marketplace_resource_owner_organization.go
- model_product_review_spec.go
- model_product_review_state.go
- model_product_spec.go
- model_product_spec_assets.go
- model_product_spec_auto_release.go
- model_product_spec_auto_release_previous_releases.go
- model_product_spec_auto_release_release_version_properties.go
- model_product_spec_filters.go
- model_product_state.go
- model_product_status.go
- model_product_status_meta.go
- model_product_status_reasons.go
- model_product_visibility_spec.go
- model_product_visibility_spec_authenticated_ref.go
- model_product_visibility_spec_products.go
- model_product_visibility_spec_tag_ref.go
- model_product_visibility_spec_team_ref.go
- model_published_document_resource_spec.go
- model_published_document_resource_spec_document_resource.go
- model_published_product_references.go
- model_published_product_references_release.go
- model_published_product_spec.go
- model_published_product_spec_group_by_asset_title.go
- model_published_product_spec_product.go
- model_published_product_spec_resources.go
- model_published_product_status.go
- model_published_product_status_reasons.go
- model_published_stage_spec.go
- model_published_stage_spec_stage.go
- model_quota_spec.go
- model_quota_spec_asset_resource_ref.go
- model_quota_spec_fixed_pricing_type.go
- model_quota_spec_graduated_pricing_type.go
- model_quota_spec_limit_type_loose.go
- model_quota_spec_limit_type_loose_overages.go
- model_quota_spec_limit_type_strict.go
- model_quota_spec_limit_type_tiered.go
- model_quota_spec_limit_type_tiered_tiers.go
- model_quota_spec_per_unit_pricing_type.go
- model_quota_spec_unlimited_pricing_type.go
- model_quota_spec_usage.go
- model_quota_spec_volume_pricing_type.go
- model_quota_status.go
- model_quota_status_error.go
- model_quota_status_pending.go
- model_quota_status_success.go
- model_release_tag_spec.go
- model_release_tag_spec_previous_releases.go
- model_release_tag_spec_release_version_properties.go
- model_release_tag_status.go
- model_release_tag_status_error.go
- model_release_tag_status_pending.go
- model_release_tag_status_reference.go
- model_release_tag_status_success.go
- model_release_tag_status_success_meta.go
- model_resource_spec.go
- model_resource_spec_binary_data.go
- model_resource_spec_text_data.go
- model_secret_spec.go
- model_stage_spec.go
- model_stage_visibility_spec.go
- model_stage_visibility_spec_authenticated_ref.go
- model_stage_visibility_spec_stages.go
- model_stage_visibility_spec_tag_ref.go
- model_stage_visibility_spec_team_ref.go
- model_subscription_approval.go
- model_subscription_billing.go
- model_subscription_billing_payment_type_custom.go
- model_subscription_billing_payment_type_my_fatoorah.go
- model_subscription_billing_payment_type_stripe.go
- model_subscription_invoice_billing.go
- model_subscription_invoice_billing_payment_type_custom.go
- model_subscription_invoice_billing_payment_type_custom_amount.go
- model_subscription_invoice_billing_payment_type_custom_customer.go
- model_subscription_invoice_billing_payment_type_my_fatoorah.go
- model_subscription_invoice_billing_payment_type_my_fatoorah_amount.go
- model_subscription_invoice_billing_payment_type_my_fatoorah_customer.go
- model_subscription_invoice_billing_payment_type_stripe.go
- model_subscription_invoice_billing_payment_type_stripe_amount.go
- model_subscription_invoice_billing_payment_type_stripe_customer.go
- model_subscription_invoice_invoiced.go
- model_subscription_invoice_invoiced_amount.go
- model_subscription_invoice_marketplace.go
- model_subscription_invoice_marketplace_resource.go
- model_subscription_invoice_marketplace_resource_owner.go
- model_subscription_invoice_marketplace_resource_owner_organization.go
- model_subscription_invoice_references.go
- model_subscription_invoice_spec.go
- model_subscription_invoice_spec_cost.go
- model_subscription_invoice_spec_cost_plan.go
- model_subscription_invoice_spec_cost_plan_items.go
- model_subscription_invoice_spec_cost_plan_quotas.go
- model_subscription_invoice_spec_cost_plan_setup.go
- model_subscription_invoice_spec_intervals.go
- model_subscription_invoice_spec_period.go
- model_subscription_invoice_spec_quotas.go
- model_subscription_invoice_state.go
- model_subscription_invoice_status.go
- model_subscription_invoice_status_reasons.go
- model_subscription_job_spec.go
- model_subscription_job_spec_approval_state_change.go
- model_subscription_job_spec_archive.go
- model_subscription_job_spec_migrate_asset_requests.go
- model_subscription_job_spec_plan_migration.go
- model_subscription_job_spec_post_execute.go
- model_subscription_job_spec_when.go
- model_subscription_job_status.go
- model_subscription_job_status_reasons.go
- model_subscription_marketplace.go
- model_subscription_marketplace_resource.go
- model_subscription_marketplace_resource_metadata.go
- model_subscription_marketplace_resource_owner.go
- model_subscription_marketplace_resource_owner_organization.go
- model_subscription_references.go
- model_subscription_request_definition_spec.go
- model_subscription_spec.go
- model_subscription_spec_plan.go
- model_subscription_state.go
- model_subscription_state_when.go
- model_subscription_status.go
- model_subscription_status_reasons.go
- model_support_contact_spec.go
- model_support_contact_spec_alternative_contacts.go
- model_support_contact_spec_alternative_contacts_urls.go
- model_support_contact_spec_office_hours.go
- model_support_contact_spec_office_hours_periods.go
- model_webhook_spec.go
- model_webhook_spec_auth.go
- model_webhook_spec_auth_secret.go
- model_webhook_spec_header_location.go
- model_webhook_spec_query_location.go