Documentation
¶
Index ¶
- Constants
- type AnalyticsEvent
- type AutomationTask
- type BillingConnector
- type BillingEvent
- type BillingProfile
- type Capability
- type CatalogPlan
- type CatalogPublication
- type CommercialProfile
- type ConfigurationSchema
- type ConnectorPackage
- type CostMeter
- type DataLifecycle
- type DataLifecycleAction
- type Dependency
- type DistributionProfile
- type DurabilityProfile
- type EvidenceBundle
- type EvidenceRef
- type FederationProfile
- type GatewayRoute
- type KubernetesBinding
- type LifecycleAction
- type Metadata
- type MicrofrontendHostContract
- type PolicyRule
- type PortalModule
- type ProductAPIContract
- type ReadinessCheck
- type SecretBoundary
- type SecretRef
- type ServiceConnector
- type ServiceSpec
- type ServiceState
- type SupportProfile
- type TenantAccessPolicy
- type TenantEntitlement
- type UIExtensionManifest
- type UsageMeter
Constants ¶
View Source
const ( ExecutionProfileLocal = "local" ExecutionProfileRemote = "remote" ExecutionProfileAPIOnly = "api-only" ApplicabilitySupported = "supported" ApplicabilityNotApplicable = "not_applicable" )
View Source
const APIVersion = "ocsv3.cloudring.io/v1alpha1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsEvent ¶
type AutomationTask ¶
type BillingConnector ¶
type BillingConnector struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata Metadata `json:"metadata"`
Meters []UsageMeter `json:"meters"`
CostMeters []CostMeter `json:"costMeters"`
Events []BillingEvent `json:"events"`
}
func (BillingConnector) Validate ¶
func (c BillingConnector) Validate() error
type BillingEvent ¶
type BillingProfile ¶
type BillingProfile struct {
Applicability string `json:"applicability"`
Reason string `json:"reason,omitempty"`
ConnectorRef string `json:"connectorRef"`
Meters []UsageMeter `json:"meters"`
}
type Capability ¶
type CatalogPlan ¶
type CatalogPublication ¶
type CatalogPublication struct {
ServiceClass string `json:"serviceClass"`
Visibility string `json:"visibility"`
Portability string `json:"portability"`
Plans []CatalogPlan `json:"plans"`
}
type CommercialProfile ¶
type CommercialProfile struct {
Applicability string `json:"applicability"`
Reason string `json:"reason,omitempty"`
Roles []string `json:"roles"`
RevenueModel string `json:"revenueModel"`
LicenseRef string `json:"licenseRef"`
ExpiryBehavior string `json:"expiryBehavior"`
SupportRef string `json:"supportRef"`
ServiceProvenance string `json:"serviceProvenance"`
ResponsibilityMatrixRef string `json:"responsibilityMatrixRef"`
ContinuityPlanRef string `json:"continuityPlanRef"`
}
type ConfigurationSchema ¶
type ConnectorPackage ¶
type ConnectorPackage struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata Metadata `json:"metadata"`
Service ServiceConnector `json:"service"`
Billing BillingConnector `json:"billing"`
Catalog CatalogPublication `json:"catalog"`
Configuration ConfigurationSchema `json:"configuration"`
Readiness []ReadinessCheck `json:"readiness"`
TenantAccess TenantAccessPolicy `json:"tenantAccess"`
Durability DurabilityProfile `json:"durability"`
Distribution DistributionProfile `json:"distribution"`
Federation FederationProfile `json:"federation"`
Commercial CommercialProfile `json:"commercial"`
}
func (ConnectorPackage) Validate ¶
func (p ConnectorPackage) Validate() error
type DataLifecycle ¶
type DataLifecycle struct {
Export DataLifecycleAction `json:"export"`
Delete DataLifecycleAction `json:"delete"`
}
type DataLifecycleAction ¶
type Dependency ¶
type Dependency struct {
ID string `json:"id"`
CapabilityClass string `json:"capabilityClass"`
Role string `json:"role"`
Portability string `json:"portability"`
ProductAPIRef string `json:"productAPIRef"`
VersionRange string `json:"versionRange"`
CompatibilityPolicyRef string `json:"compatibilityPolicyRef"`
ImplementationRef string `json:"implementationRef,omitempty"`
}
type DistributionProfile ¶
type DurabilityProfile ¶
type DurabilityProfile struct {
StateClass string `json:"stateClass"`
DataClasses []string `json:"dataClasses"`
BackupPolicyRef string `json:"backupPolicyRef,omitempty"`
RecoveryObjective string `json:"recoveryObjective"`
RecoveryEvidence []EvidenceRef `json:"recoveryEvidence"`
}
type EvidenceBundle ¶
type EvidenceBundle struct {
Name string `json:"name"`
Owner string `json:"owner"`
Claim string `json:"claim"`
Freshness string `json:"freshness"`
Redaction string `json:"redaction"`
Evidence []EvidenceRef `json:"evidence"`
NonClaims []string `json:"nonClaims"`
ReviewPath string `json:"reviewPath"`
}
type EvidenceRef ¶
type FederationProfile ¶
type FederationProfile struct {
Applicability string `json:"applicability"`
Reason string `json:"reason,omitempty"`
Modes []string `json:"modes"`
MessageBusRef string `json:"messageBusRef"`
CrossProviderScenarios []string `json:"crossProviderScenarios"`
PortabilityPolicyRef string `json:"portabilityPolicyRef"`
}
type GatewayRoute ¶
type KubernetesBinding ¶
type LifecycleAction ¶
type MicrofrontendHostContract ¶
type MicrofrontendHostContract struct {
Host string `json:"host"`
Runtime string `json:"runtime"`
MountRef string `json:"mountRef"`
VersionRange string `json:"versionRange"`
SignatureRef string `json:"signatureRef"`
IntegrityRef string `json:"integrityRef"`
Sandbox string `json:"sandbox"`
AllowedEvents []string `json:"allowedEvents"`
RequiredContext []string `json:"requiredContext"`
}
type PolicyRule ¶
type PortalModule ¶
type ProductAPIContract ¶
type ReadinessCheck ¶
type SecretBoundary ¶
type ServiceConnector ¶
type ServiceConnector struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata Metadata `json:"metadata"`
Spec ServiceSpec `json:"spec"`
}
func (ServiceConnector) Validate ¶
func (c ServiceConnector) Validate() error
type ServiceSpec ¶
type ServiceSpec struct {
ExecutionProfile string `json:"executionProfile"`
ProductAPI ProductAPIContract `json:"productAPI"`
Capabilities []Capability `json:"capabilities"`
Dependencies []Dependency `json:"dependencies"`
Lifecycle []LifecycleAction `json:"lifecycle"`
Automation []AutomationTask `json:"automation"`
UsageMeters []UsageMeter `json:"usageMeters"`
Billing BillingProfile `json:"billing"`
PortalModules []PortalModule `json:"portalModules"`
UI UIExtensionManifest `json:"ui"`
AnalyticsEvents []AnalyticsEvent `json:"analyticsEvents"`
KubernetesBindings []KubernetesBinding `json:"kubernetesBindings"`
GatewayRoutes []GatewayRoute `json:"gatewayRoutes"`
Secrets SecretBoundary `json:"secrets"`
Policies []PolicyRule `json:"policies"`
DataLifecycle DataLifecycle `json:"dataLifecycle"`
States []ServiceState `json:"states"`
Support SupportProfile `json:"support"`
EvidenceBundles []EvidenceBundle `json:"evidenceBundles"`
}
type ServiceState ¶
type SupportProfile ¶
type SupportProfile struct {
Owner string `json:"owner"`
Escalation string `json:"escalation"`
Diagnostics []string `json:"diagnostics"`
DocsRef string `json:"docsRef"`
Evidence []EvidenceRef `json:"evidence"`
}
type TenantAccessPolicy ¶
type TenantAccessPolicy struct {
Scope string `json:"scope"`
EntitlementRef string `json:"entitlementRef"`
Entitlements []TenantEntitlement `json:"entitlements"`
Permissions []string `json:"permissions"`
}
type TenantEntitlement ¶
type UIExtensionManifest ¶
type UIExtensionManifest struct {
EmbedRef string `json:"embedRef"`
ContextSchemaRef string `json:"contextSchemaRef"`
HostAuthority []string `json:"hostAuthority"`
ExtensionActions []string `json:"extensionActions"`
ModuleHost MicrofrontendHostContract `json:"moduleHost"`
Evidence []EvidenceRef `json:"evidence"`
}
type UsageMeter ¶
Click to show internal directories.
Click to hide internal directories.