Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultServiceKindRegistry = NewKindRegistry()
Functions ¶
This section is empty.
Types ¶
type FactoryFunc ¶
type FactoryFunc func(m Model, s *modeldesc.ServiceDescriptor) (ServiceVersionVariant, error)
type InstallationService ¶
type InstallationService interface{}
type Model ¶
type Model interface { GetServiceKindRegistry() ServiceKindRegistry GetServiceVersionVariant(id identity.ServiceVersionVariantIdentity) (ServiceVersionVariant, error) }
type OrdinaryService ¶
type OrdinaryService 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 }
Click to show internal directories.
Click to hide internal directories.