ui

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 CreateCloudAccount

func CreateCloudAccount(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 CreateEntrypointListener added in v0.11.0

func CreateEntrypointListener(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 CreateKubeResource added in v0.11.0

func CreateKubeResource(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 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 CreateVolume added in v0.11.0

func CreateVolume(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 DeleteEntrypoint

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

func DeleteEntrypointListener added in v0.11.0

func DeleteEntrypointListener(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 DeleteKubeResource added in v0.11.0

func DeleteKubeResource(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 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 DeleteVolume added in v0.11.0

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

func EditKubeResource added in v0.11.0

func EditKubeResource(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 EditVolume added in v0.11.0

func EditVolume(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 GetEntrypoint

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

func GetEntrypointListener added in v0.11.0

func GetEntrypointListener(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 GetKubeResource added in v0.11.0

func GetKubeResource(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 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 ListCloudAccounts

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

func ListEntrypointListeners added in v0.11.0

func ListEntrypointListeners(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 ListKubeResources added in v0.11.0

func ListKubeResources(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 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 NewCloudAccount

func NewCloudAccount(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 NewEntrypointListener added in v0.11.0

func NewEntrypointListener(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 NewKubeResource added in v0.11.0

func NewKubeResource(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 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 NewVolume added in v0.11.0

func NewVolume(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 StartKubeResource added in v0.11.0

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

func StopKubeResource added in v0.11.0

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

func UpdateKubeResource added in v0.11.0

func UpdateKubeResource(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

func UpdateVolume added in v0.11.0

func UpdateVolume(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