Documentation
¶
Index ¶
- Constants
- func AddServiceModelReferences(refs *CrossReferences, services []ServiceDescriptor, os ...Origin)
- func Encode(desc *ServiceModelDescriptor, marshaller ...runtime.Marshaler) ([]byte, error)
- type CrossReferences
- type DescriptionContext
- type Origin
- type Reference
- type References
- type Resolver
- type ResourceValidator
- type ServiceDescriptor
- type ServiceKindSpec
- type ServiceModelDescriptor
- type VersionResolver
Constants ¶
View Source
const ( KIND_SERVICEVERSION = internal.KIND_SERVICEVERSION KIND_SERVICEIDENTITY = internal.KIND_SERVICEIDENTITY KIND_SERVICE_TYPE = internal.KIND_SERVICE_TYPE KIND_MODELVERSION = internal.KIND_MODELVERSION KIND_DESCRIPTORFORMAT = internal.KIND_DESCRIPTORFORMAT )
View Source
const ( DEP_DEPENDENCY = crossref.DEP_DEPENDS DEP_INSTANCE = crossref.DEP_INSTANCE DEP_INSTALLEDBY = crossref.DEP_INSTALLEDBY DEP_SATISFIES = crossref.DEP_SATISFIES DEP_MANAGES = crossref.DEP_MANAGES DEP_INSTALLS = crossref.DEP_INSTALLS DEP_OTHER = crossref.DEP_OTHER )
View Source
const ( REL_TYPE = internal.REL_TYPE ABS_TYPE = internal.ABS_TYPE )
Variables ¶
This section is empty.
Functions ¶
func AddServiceModelReferences ¶
func AddServiceModelReferences(refs *CrossReferences, services []ServiceDescriptor, os ...Origin)
Types ¶
type CrossReferences ¶
type CrossReferences = crossref.CrossReferences
func CheckLocalConsistency ¶
func CheckLocalConsistency(desc *ServiceModelDescriptor, os ...Origin) (*CrossReferences, error)
func CrossReferencesFor ¶
func CrossReferencesFor(desc *ServiceModelDescriptor, os ...Origin) *CrossReferences
func NewCrossReferences ¶
func NewCrossReferences() *CrossReferences
type DescriptionContext ¶
type DescriptionContext = internal.DescriptionContext
func NewDescriptionContext ¶
func NewDescriptionContext(name, vers string, desc *ServiceModelDescriptor) DescriptionContext
type Origin ¶
func NewNewOCMOriginFor ¶
func NewNewOCMOriginFor(nv common.VersionedElement, res ocmmeta.Identity) Origin
type References ¶
type References = crossref.References
type Resolver ¶
type Resolver interface {
LookupServiceVersionVariant(id identity.ServiceVersionVariantIdentity) (*ServiceDescriptor, error)
}
type ResourceValidator ¶
type ResourceValidator = internal.ResourceValidator
type ServiceDescriptor ¶
type ServiceDescriptor = internal.ServiceDescriptor
type ServiceKindSpec ¶
type ServiceKindSpec = internal.ServiceKindSpec
type ServiceModelDescriptor ¶
type ServiceModelDescriptor = internal.ServiceModelDescriptor
func Decode ¶
func Decode(data []byte, unmarshaller ...runtime.Unmarshaler) (*ServiceModelDescriptor, error)
type VersionResolver ¶
Click to show internal directories.
Click to hide internal directories.