Documentation
¶
Index ¶
Constants ¶
View Source
const ( MoppiMetaVersion = "/meta/version" MoppiUniverses = "/universes" MoppiPackages = "/packages" MoppiPackage = "/package" MoppiMarathon = "/marathon" MoppiChronos = "/chronos" MoppiInstall = "/install" MoppiUninstall = "/uninstall" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractProvider ¶
type AbstractProvider struct {
Enable bool
}
AbstractProvider is the base provider from which every provider inherits
type Install ¶
type Install struct {
Marathon bool `json:"marathon"`
Chronos bool `json:"chronos"`
Update bool `json:"update"`
}
Install describes an installment (contained in install.json)
type Provider ¶
type Provider interface {
Version() (*store.KVPair, error)
Universes()
Package(req *Request) (*Package, error)
}
Provider defines the interface to a Provider (e.g. etcd)
type Request ¶
type Request struct {
Name string `json:"name"`
Universe string `json:"universe"`
Revision string `json:"revision"`
Config RequestConfig `json:"config"`
}
Request describes an request to the installer
type RequestConfig ¶
type RequestConfig struct {
}
RequestConfig describes a passed in config for installer Request
Click to show internal directories.
Click to hide internal directories.