api

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(core *core.Core) *mux.Router

Types

type Response

type Response struct {
	Status int
	Object interface{}
}

func CreateApp

func CreateApp(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateCloudAccount

func CreateCloudAccount(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateComponent

func CreateComponent(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateEntrypoint

func CreateEntrypoint(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateKube

func CreateKube(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateNode

func CreateNode(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreatePrivateImageKey

func CreatePrivateImageKey(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateRelease

func CreateRelease(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func CreateSession added in v0.9.0

func CreateSession(core *core.Core, r *http.Request) (*Response, error)

func CreateUser added in v0.9.0

func CreateUser(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteApp

func DeleteApp(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteCloudAccount

func DeleteCloudAccount(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteComponent

func DeleteComponent(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteEntrypoint

func DeleteEntrypoint(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteInstance

func DeleteInstance(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteKube

func DeleteKube(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteNode

func DeleteNode(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeletePrivateImageKey

func DeletePrivateImageKey(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteRelease

func DeleteRelease(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteSession added in v0.9.0

func DeleteSession(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeleteUser added in v0.9.0

func DeleteUser(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func DeployComponent

func DeployComponent(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetApp

func GetApp(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetCloudAccount

func GetCloudAccount(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetComponent

func GetComponent(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetEntrypoint

func GetEntrypoint(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetInstance

func GetInstance(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetKube

func GetKube(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetNode

func GetNode(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetPrivateImageKey

func GetPrivateImageKey(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetRelease

func GetRelease(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetSession added in v0.9.0

func GetSession(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetUser added in v0.9.0

func GetUser(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func GetVolume

func GetVolume(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListApps

func ListApps(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListCloudAccounts

func ListCloudAccounts(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListComponents

func ListComponents(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListEntrypoints

func ListEntrypoints(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListInstances

func ListInstances(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListKubes

func ListKubes(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListNodes

func ListNodes(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListPrivateImageKeys

func ListPrivateImageKeys(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListReleases

func ListReleases(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListSessions added in v0.9.0

func ListSessions(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListUsers added in v0.9.0

func ListUsers(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ListVolumes

func ListVolumes(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func RegenerateUserAPIToken added in v0.9.0

func RegenerateUserAPIToken(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func StartInstance

func StartInstance(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func StopInstance

func StopInstance(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateApp

func UpdateApp(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateCloudAccount

func UpdateCloudAccount(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateComponent

func UpdateComponent(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateEntrypoint

func UpdateEntrypoint(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateKube

func UpdateKube(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateNode

func UpdateNode(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdatePrivateImageKey

func UpdatePrivateImageKey(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateRelease

func UpdateRelease(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func UpdateUser added in v0.9.0

func UpdateUser(core *core.Core, user *model.User, r *http.Request) (*Response, error)

func ViewInstanceLog

func ViewInstanceLog(core *core.Core, user *model.User, r *http.Request) (*Response, error)

Jump to

Keyboard shortcuts

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