Documentation ¶
Overview ¶
Package application contains components for accessing/modifying Application CRD
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Manager ¶
type Manager interface {
Get(name string, options v1.GetOptions) (*v1alpha1.Application, error)
}
Manager contains operations for managing Application CRD
type Service ¶
type Service struct { // Mapped to id in Application CRD ID string // Mapped to displayName in Application CRD DisplayName string // Mapped to longDescription in Application CRD LongDescription string // Mapped to providerDisplayName in Application CRD ProviderDisplayName string // Mapped to tags in Application CRD Tags []string // Mapped to type property under entries element (type: API) API *ServiceAPI // Mapped to type property under entries element (type: Events) Events bool }
Service represents a service stored in Application
type ServiceAPI ¶
type ServiceAPI struct { GatewayURL string AccessLabel string TargetUrl string Credentials *Credentials RequestParametersSecretName string }
ServiceAPI stores information needed to call an API
type ServiceRepository ¶
ServiceRepository contains operations for managing services stored in Application CRD
func NewServiceRepository ¶
func NewServiceRepository(name string, appManager Manager) ServiceRepository
NewServiceRepository creates a new ApplicationServiceRepository
Click to show internal directories.
Click to hide internal directories.