Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildServiceBody ¶
func BuildServiceBody(service *ServiceDetail) (apic.ServiceBody, error)
BuildServiceBody - creates the service definition
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent links the mulesoft client and the gateway client.
type BySpecType ¶
type BySpecType []anypoint.ExchangeFile
BySpecType implements sort.Interface for []ExchangeFile based on preferred specification support.
func (BySpecType) Len ¶
func (a BySpecType) Len() int
func (BySpecType) Less ¶
func (a BySpecType) Less(i, j int) bool
func (BySpecType) Swap ¶
func (a BySpecType) Swap(i, j int)
type Repeater ¶
type Repeater interface {
Loop()
OnConfigChange(cfg *config.MulesoftConfig)
Stop()
}
type ServiceDetail ¶
type ServiceDetail struct {
ARD string
APIName string
APISpec []byte
APIUpdateSeverity string
AuthPolicy string
CRDs []string
Description string
Documentation []byte
ID string
Image string
ImageContentType string
ResourceType string
ServiceAttributes map[string]string
AgentDetails map[string]string
Stage string
State string
Status string
SubscriptionName string
Tags []string
Title string
URL string
Version string
}
ServiceDetail is the information for the ex
type ServiceHandler ¶
type ServiceHandler interface {
ToServiceDetails(asset *anypoint.Asset) []*ServiceDetail
OnConfigChange(cfg *config.MulesoftConfig)
}
ServiceHandler converts a mulesoft asset to an array of ServiceDetails
Click to show internal directories.
Click to hide internal directories.