Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Vendors []vendors.VendorConfig `json:"vendors"` PubSub PubSubConfig `json:"pubsub,omitempty"` KeyLock KeyLockConfig `json:"keylock,omitempty"` }
type APIHost ¶
type APIHost struct { Vendors []VendorSpec Bindings []bindings.IBinding ShutdownGracePeriod time.Duration }
func (*APIHost) Launch ¶
func (h *APIHost) Launch(config HostConfig, vendorFactories []vendors.IVendorFactory, managerFactories []mf.IManagerFactroy, providerFactories []pf.IProviderFactory, wait bool) error
func (*APIHost) WaitForShutdown ¶
type BindingConfig ¶
type BindingConfig struct { Type string `json:"type"` Config interface{} `json:"config"` }
type HostConfig ¶
type HostConfig struct { SiteInfo v1alpha2.SiteInfo `json:"siteInfo"` API APIConfig `json:"api"` Bindings []BindingConfig `json:"bindings"` ShutdownGracePeriod string `json:"shutdownGracePeriod"` }
type KeyLockConfig ¶
type KeyLockConfig struct { Provider PublicProviderConfig `json:"provider"` }
type KeyLockProviderConfig ¶
type KeyLockProviderConfig struct {
Mode string `json:"mode"`
}
type PubSubConfig ¶
type PubSubConfig struct { Provider mf.ProviderConfig `json:"provider"` }
type PublicProviderConfig ¶
type PublicProviderConfig struct { Type string `json:"type"` Config KeyLockProviderConfig `json:"config"` }
type VendorSpec ¶
Click to show internal directories.
Click to hide internal directories.