Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Repo -- repo holds the registered sku interfaces Repo = make(map[string]TileGenerator) )
Functions ¶
func GetRegistry ¶
func GetRegistry() map[string]TileGenerator
GetRegistry -- gets the map of all registered Sku interface objects
func Register ¶
func Register(name string, tile TileGenerator)
Register -- add a Sku interface object to the Repo
Types ¶
type Closer ¶ added in v0.1.114
type Closer interface {
Close()
}
Closer - define how to close the tile
type DoNothingCloser ¶ added in v0.1.114
type DoNothingCloser struct { }
DoNothingCloser - This Closer do nothing
func (*DoNothingCloser) Close ¶ added in v0.1.114
func (closer *DoNothingCloser) Close()
Close - This is an empty closer that do nothing
type TileCloser ¶ added in v0.1.114
TileCloser - defines how to close a tile
type TileGenerator ¶
type TileGenerator interface {
New(tileSpec TileSpec) (TileCloser, error)
}
TileGenerator - interface for a tile creating object
type TileSpec ¶
type TileSpec struct { OpsManagerHost string AdminUser string AdminPass string AdminToken string OpsManagerUser string OpsManagerPass string OpsManagerPassphrase string ClientID string ClientSecret string ArchiveDirectory string CryptKey string ClearBoshManifest bool PluginArgs string NFS string }
TileSpec -- defines what a tile would need to be initialized
Click to show internal directories.
Click to hide internal directories.