tileregistry

package
v2.0.31+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

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 Tile

type Tile interface {
	Backup() error
	Restore() error
}

Tile - definition for what a tile looks like

type TileGenerator

type TileGenerator interface {
	New(tileSpec TileSpec) (Tile, error)
}

TileGenerator - interface for a tile creating object

type TileSpec added in v1.1.10

type TileSpec struct {
	OpsManagerHost   string
	AdminUser        string
	AdminPass        string
	OpsManagerUser   string
	OpsManagerPass   string
	ArchiveDirectory string
}

TileSpec -- defines what a tile would need to be initialized

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL