internal

package
v0.0.0-...-a230fe6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultServiceKindRegistry = NewKindRegistry()

Functions

This section is empty.

Types

type InstallationService

type InstallationService interface{}

type Model

type Model interface {
	GetServiceKindRegistry() ServiceKindRegistry
	GetServiceVersionVariant(id identity.ServiceVersionVariantIdentity) (ServiceVersionVariant, error)
}

type OrdinaryService

type OrdinaryService interface{}

type Service

type Service interface {
}

type ServiceContract

type ServiceContract interface {
	ServiceVersionVariant
	GetAPISpecificationType() string
	GetAPISpecVersion() string
	GetSpecification() *runtime.RawValue
	GetArtifact() *metav1.ResourceReference
}

type ServiceKindRegistry

type ServiceKindRegistry interface {
	Register(kind string, factory FactoryFunc)
	Create(m Model, descriptor *modeldesc.ServiceDescriptor) (ServiceVersionVariant, error)
}

func NewKindRegistry

func NewKindRegistry() ServiceKindRegistry

type ServiceProvider

type ServiceProvider interface{}

type ServiceVersion

type ServiceVersion interface{}

type ServiceVersionVariant

type ServiceVersionVariant interface {
	GetType() string
	GetName() string
	GetIdentity() identity.ServiceVersionVariantIdentity
	GetComponent() string
	GetVersion() string
	GetVariant() identity.Variant

	AsServiceContract() ServiceContract
	AsInstallationService() InstallationService
	AsOrdinaryService() OrdinaryService
	AsServiceProvider() ServiceProvider
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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