bug1416

package
v0.36.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster()

CreateCluster mirrors the reporter's swagger:operation with an inline body parameter whose schema is a $ref. The reporter saw a spurious top-level $ref emitted alongside the schema (malformed param). Check the param is clean.

swagger:operation POST /api/v1/clusters createCluster

Creates a cluster.

--- produces: - text/plain consumes: - application/json parameters:

  • name: cluster in: body description: the cluster specification to create required: true schema: "$ref": "#/definitions/cluster"

responses:

'202':
  description: Accepted

Types

type Cluster

type Cluster struct {
	Name string `json:"name"`
}

Cluster is the body model.

swagger:model cluster

Jump to

Keyboard shortcuts

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