api

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 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 CreateCloudAccount

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

func CreateHelmChart added in v0.14.0

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

func CreateHelmRelease added in v0.14.0

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

func CreateHelmRepo added in v0.14.0

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

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

func CreateLoadBalancer added in v0.14.0

func CreateLoadBalancer(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 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 DeleteCloudAccount

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

func DeleteHelmChart added in v0.14.0

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

func DeleteHelmRelease added in v0.14.0

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

func DeleteHelmRepo added in v0.14.0

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

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

func DeleteLoadBalancer added in v0.14.0

func DeleteLoadBalancer(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 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 GetCloudAccount

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

func GetHelmChart added in v0.14.0

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

func GetHelmRelease added in v0.14.0

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

func GetHelmRepo added in v0.14.0

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

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

func GetLoadBalancer added in v0.14.0

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

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

func ListHelmCharts added in v0.14.0

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

func ListHelmReleases added in v0.14.0

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

func ListHelmRepos added in v0.14.0

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

func ListKubeResources added in v0.11.0

func ListKubeResources(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 ListLoadBalancers added in v0.14.0

func ListLoadBalancers(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 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 ProvisionKube added in v0.11.4

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

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

func StopKubeResource added in v0.11.0

func StopKubeResource(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 UpdateHelmChart added in v0.14.0

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

func UpdateHelmRelease added in v0.14.0

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

func UpdateHelmRepo added in v0.14.0

func UpdateHelmRepo(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 UpdateKubeResource added in v0.11.0

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

func UpdateLoadBalancer added in v0.14.0

func UpdateLoadBalancer(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 UpdateUser added in v0.9.0

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