Documentation
¶
Index ¶
- Variables
- func NewCreateCluster(rt *api.Runtime) operations.CreateClusterHandler
- func NewGetClusterCredentials(rt *api.Runtime) operations.GetClusterCredentialsHandler
- func NewGetClusterInfo(rt *api.Runtime) operations.GetClusterInfoHandler
- func NewInfo(rt *api.Runtime) operations.InfoHandler
- func NewListAPIVersions(rt *api.Runtime) operations.ListAPIVersionsHandler
- func NewListClusters(rt *api.Runtime) operations.ListClustersHandler
- func NewShowCluster(rt *api.Runtime) operations.ShowClusterHandler
- func NewTerminateCluster(rt *api.Runtime) operations.TerminateClusterHandler
- func NewUpdateCluster(rt *api.Runtime) operations.UpdateClusterHandler
- func RootHandler(next http.Handler) http.Handler
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var RootContent = `{
"paths": [
"/api",
"/api/v1",
"/docs",
"/swagger"
]
}`
Functions ¶
func NewCreateCluster ¶
func NewCreateCluster(rt *api.Runtime) operations.CreateClusterHandler
func NewGetClusterCredentials ¶
func NewGetClusterCredentials(rt *api.Runtime) operations.GetClusterCredentialsHandler
func NewGetClusterInfo ¶
func NewGetClusterInfo(rt *api.Runtime) operations.GetClusterInfoHandler
func NewInfo ¶
func NewInfo(rt *api.Runtime) operations.InfoHandler
func NewListAPIVersions ¶
func NewListAPIVersions(rt *api.Runtime) operations.ListAPIVersionsHandler
func NewListClusters ¶
func NewListClusters(rt *api.Runtime) operations.ListClustersHandler
func NewShowCluster ¶
func NewShowCluster(rt *api.Runtime) operations.ShowClusterHandler
func NewTerminateCluster ¶
func NewTerminateCluster(rt *api.Runtime) operations.TerminateClusterHandler
func NewUpdateCluster ¶
func NewUpdateCluster(rt *api.Runtime) operations.UpdateClusterHandler
Types ¶
type ErrorResponse ¶
type ErrorResponse interface {
SetStatusCode(code int)
SetPayload(payload *models.Error)
WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
}
func NewErrorResponse ¶
func NewErrorResponse(resp ErrorResponse, code int, msg string, a ...interface{}) ErrorResponse
Source Files
¶
- create_cluster.go
- errors.go
- get_cluster_credentials.go
- get_cluster_info.go
- info.go
- list_api_versions.go
- list_clusters.go
- root.go
- show_cluster.go
- terminate_cluster.go
- update_cluster.go
- util.go
Click to show internal directories.
Click to hide internal directories.