Documentation
¶
Index ¶
- func CreateOrUpdateNodePoolEndpoint(...) gin.HandlerFunc
- func DeleteNodePoolEndpoint(handler func(ctx *gin.Context, params *DeleteNodePoolParams) *api.Response) gin.HandlerFunc
- func ListNodePoolsEndpoint(handler func(ctx *gin.Context, params *ListNodePoolsParams) *api.Response) gin.HandlerFunc
- type CreateOrUpdateNodePoolParams
- type DeleteNodePoolParams
- type ListNodePoolsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateNodePoolEndpoint ¶
func CreateOrUpdateNodePoolEndpoint(handler func(ctx *gin.Context, params *CreateOrUpdateNodePoolParams) *api.Response) gin.HandlerFunc
CreateOrUpdateNodePoolEndpoint executes the core logic of the related route endpoint.
func DeleteNodePoolEndpoint ¶
func DeleteNodePoolEndpoint(handler func(ctx *gin.Context, params *DeleteNodePoolParams) *api.Response) gin.HandlerFunc
DeleteNodePoolEndpoint executes the core logic of the related route endpoint.
func ListNodePoolsEndpoint ¶
func ListNodePoolsEndpoint(handler func(ctx *gin.Context, params *ListNodePoolsParams) *api.Response) gin.HandlerFunc
ListNodePoolsEndpoint executes the core logic of the related route endpoint.
Types ¶
type CreateOrUpdateNodePoolParams ¶
type CreateOrUpdateNodePoolParams struct {
/*ID of the cluster.
Required: true
Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
In: path
*/
ClusterID string
/*Node pool to be created.
Required: true
In: body
*/
NodePool *models.NodePool
/*Name of the node pool.
Required: true
Pattern: ^[a-z][a-z0-9-]*[a-z0-9]$
In: path
*/
NodePoolName string
}
CreateOrUpdateNodePoolParams contains all the bound params for the create or update node pool operation typically these are obtained from a http.Request
swagger:parameters createOrUpdateNodePool
func NewCreateOrUpdateNodePoolParams ¶
func NewCreateOrUpdateNodePoolParams() *CreateOrUpdateNodePoolParams
NewCreateOrUpdateNodePoolParams creates a new CreateOrUpdateNodePoolParams object with the default values initialized.
type DeleteNodePoolParams ¶
type DeleteNodePoolParams struct {
/*ID of the cluster.
Required: true
Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
In: path
*/
ClusterID string
/*Name of the node pool.
Required: true
Pattern: ^[a-z][a-z0-9-]*[a-z0-9]$
In: path
*/
NodePoolName string
}
DeleteNodePoolParams contains all the bound params for the delete node pool operation typically these are obtained from a http.Request
swagger:parameters deleteNodePool
func NewDeleteNodePoolParams ¶
func NewDeleteNodePoolParams() *DeleteNodePoolParams
NewDeleteNodePoolParams creates a new DeleteNodePoolParams object with the default values initialized.
type ListNodePoolsParams ¶
type ListNodePoolsParams struct {
/*ID of the cluster.
Required: true
Pattern: ^[a-z][a-z0-9-:]*[a-z0-9]$
In: path
*/
ClusterID string
}
ListNodePoolsParams contains all the bound params for the list node pools operation typically these are obtained from a http.Request
swagger:parameters listNodePools
func NewListNodePoolsParams ¶
func NewListNodePoolsParams() *ListNodePoolsParams
NewListNodePoolsParams creates a new ListNodePoolsParams object with the default values initialized.