ui

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset added in v0.10.0

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir added in v0.10.0

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetInfo added in v0.10.0

func AssetInfo(name string) (os.FileInfo, error)

AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetNames added in v0.10.0

func AssetNames() []string

AssetNames returns the names of the assets.

func ConfigureComponent

func ConfigureComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

NOTE this is really just NewRelease, with Component auto-filled

func CreateApp

func CreateApp(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateCloudAccount

func CreateCloudAccount(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateComponent

func CreateComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateEntrypoint

func CreateEntrypoint(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateKube

func CreateKube(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateNode

func CreateNode(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreatePrivateImageKey

func CreatePrivateImageKey(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateRelease

func CreateRelease(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateSession added in v0.9.0

func CreateSession(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func CreateUser added in v0.9.0

func CreateUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteApp

func DeleteApp(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteCloudAccount

func DeleteCloudAccount(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteComponent

func DeleteComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteEntrypoint

func DeleteEntrypoint(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteKube

func DeleteKube(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteNode

func DeleteNode(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeletePrivateImageKey

func DeletePrivateImageKey(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteSession added in v0.9.0

func DeleteSession(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeleteUser added in v0.9.0

func DeleteUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func DeployComponent

func DeployComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func EditUser added in v0.9.0

func EditUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetApp

func GetApp(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetCloudAccount

func GetCloudAccount(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetComponent

func GetComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetEntrypoint

func GetEntrypoint(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetInstance

func GetInstance(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetKube

func GetKube(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetNode

func GetNode(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetPrivateImageKey

func GetPrivateImageKey(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetSession added in v0.9.0

func GetSession(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetUser added in v0.9.0

func GetUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func GetVolume

func GetVolume(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListApps

func ListApps(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListCloudAccounts

func ListCloudAccounts(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListComponents

func ListComponents(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListEntrypoints

func ListEntrypoints(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListInstances

func ListInstances(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListKubes

func ListKubes(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListNodes

func ListNodes(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListPrivateImageKeys

func ListPrivateImageKeys(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListSessions added in v0.9.0

func ListSessions(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListUsers added in v0.9.0

func ListUsers(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func ListVolumes

func ListVolumes(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func MustAsset added in v0.10.0

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func NewApp

func NewApp(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewCloudAccount

func NewCloudAccount(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewComponent

func NewComponent(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewEntrypoint

func NewEntrypoint(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewKube

func NewKube(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewNode

func NewNode(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewPrivateImageKey

func NewPrivateImageKey(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewRouter

func NewRouter(c *core.Core, baseRouter *mux.Router) *mux.Router

func NewSession added in v0.9.0

func NewSession(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func NewUser added in v0.9.0

func NewUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func RegenerateUserAPIToken added in v0.9.0

func RegenerateUserAPIToken(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func RestoreAsset added in v0.10.0

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets added in v0.10.0

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func Root

func UpdateRelease

func UpdateRelease(sg *client.Client, w http.ResponseWriter, r *http.Request) error

func UpdateUser added in v0.9.0

func UpdateUser(sg *client.Client, w http.ResponseWriter, r *http.Request) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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