Documentation
¶
Index ¶
- Variables
- func NewCreateCluster(rt *api.Runtime) operations.CreateClusterHandler
- func NewGetClusterCredentials(rt *api.Runtime) operations.GetClusterCredentialsHandler
- func NewGetClusterEvents(rt *api.Runtime) operations.GetClusterEventsHandler
- func NewGetClusterInfo(rt *api.Runtime) operations.GetClusterInfoHandler
- func NewGetOpenstackMetadata(rt *api.Runtime) operations.GetOpenstackMetadataHandler
- 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 (
DEFAULT_IMAGE = spec.MustDefaultString("NodePool", "image")
)
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 NewGetClusterEvents ¶ added in v1.2.0
func NewGetClusterEvents(rt *api.Runtime) operations.GetClusterEventsHandler
func NewGetClusterInfo ¶
func NewGetClusterInfo(rt *api.Runtime) operations.GetClusterInfoHandler
func NewGetOpenstackMetadata ¶ added in v1.2.0
func NewGetOpenstackMetadata(rt *api.Runtime) operations.GetOpenstackMetadataHandler
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
Click to show internal directories.
Click to hide internal directories.