Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteClusterTemplate(params *DeleteClusterTemplateParams) error
- func (a *Client) DeletePrivateClusterTemplate(params *DeletePrivateClusterTemplateParams) error
- func (a *Client) DeletePublicClusterTemplate(params *DeletePublicClusterTemplateParams) error
- func (a *Client) GetClusterTemplate(params *GetClusterTemplateParams) (*GetClusterTemplateOK, error)
- func (a *Client) GetPrivateClusterTemplate(params *GetPrivateClusterTemplateParams) (*GetPrivateClusterTemplateOK, error)
- func (a *Client) GetPrivatesClusterTemplate(params *GetPrivatesClusterTemplateParams) (*GetPrivatesClusterTemplateOK, error)
- func (a *Client) GetPublicClusterTemplate(params *GetPublicClusterTemplateParams) (*GetPublicClusterTemplateOK, error)
- func (a *Client) GetPublicsClusterTemplate(params *GetPublicsClusterTemplateParams) (*GetPublicsClusterTemplateOK, error)
- func (a *Client) PostPrivateClusterTemplate(params *PostPrivateClusterTemplateParams) (*PostPrivateClusterTemplateOK, error)
- func (a *Client) PostPublicClusterTemplate(params *PostPublicClusterTemplateParams) (*PostPublicClusterTemplateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteClusterTemplateDefault
- type DeleteClusterTemplateParams
- func NewDeleteClusterTemplateParams() *DeleteClusterTemplateParams
- func NewDeleteClusterTemplateParamsWithContext(ctx context.Context) *DeleteClusterTemplateParams
- func NewDeleteClusterTemplateParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateParams
- func NewDeleteClusterTemplateParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateParams
- func (o *DeleteClusterTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterTemplateParams) SetID(id int64)
- func (o *DeleteClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterTemplateParams) WithContext(ctx context.Context) *DeleteClusterTemplateParams
- func (o *DeleteClusterTemplateParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateParams
- func (o *DeleteClusterTemplateParams) WithID(id int64) *DeleteClusterTemplateParams
- func (o *DeleteClusterTemplateParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateParams
- func (o *DeleteClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterTemplateReader
- type DeletePrivateClusterTemplateDefault
- type DeletePrivateClusterTemplateParams
- func NewDeletePrivateClusterTemplateParams() *DeletePrivateClusterTemplateParams
- func NewDeletePrivateClusterTemplateParamsWithContext(ctx context.Context) *DeletePrivateClusterTemplateParams
- func NewDeletePrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *DeletePrivateClusterTemplateParams
- func NewDeletePrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *DeletePrivateClusterTemplateParams
- func (o *DeletePrivateClusterTemplateParams) SetContext(ctx context.Context)
- func (o *DeletePrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateClusterTemplateParams) SetName(name string)
- func (o *DeletePrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateClusterTemplateParams) WithContext(ctx context.Context) *DeletePrivateClusterTemplateParams
- func (o *DeletePrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *DeletePrivateClusterTemplateParams
- func (o *DeletePrivateClusterTemplateParams) WithName(name string) *DeletePrivateClusterTemplateParams
- func (o *DeletePrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *DeletePrivateClusterTemplateParams
- func (o *DeletePrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateClusterTemplateReader
- type DeletePublicClusterTemplateDefault
- type DeletePublicClusterTemplateParams
- func NewDeletePublicClusterTemplateParams() *DeletePublicClusterTemplateParams
- func NewDeletePublicClusterTemplateParamsWithContext(ctx context.Context) *DeletePublicClusterTemplateParams
- func NewDeletePublicClusterTemplateParamsWithHTTPClient(client *http.Client) *DeletePublicClusterTemplateParams
- func NewDeletePublicClusterTemplateParamsWithTimeout(timeout time.Duration) *DeletePublicClusterTemplateParams
- func (o *DeletePublicClusterTemplateParams) SetContext(ctx context.Context)
- func (o *DeletePublicClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicClusterTemplateParams) SetName(name string)
- func (o *DeletePublicClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicClusterTemplateParams) WithContext(ctx context.Context) *DeletePublicClusterTemplateParams
- func (o *DeletePublicClusterTemplateParams) WithHTTPClient(client *http.Client) *DeletePublicClusterTemplateParams
- func (o *DeletePublicClusterTemplateParams) WithName(name string) *DeletePublicClusterTemplateParams
- func (o *DeletePublicClusterTemplateParams) WithTimeout(timeout time.Duration) *DeletePublicClusterTemplateParams
- func (o *DeletePublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicClusterTemplateReader
- type GetClusterTemplateOK
- type GetClusterTemplateParams
- func NewGetClusterTemplateParams() *GetClusterTemplateParams
- func NewGetClusterTemplateParamsWithContext(ctx context.Context) *GetClusterTemplateParams
- func NewGetClusterTemplateParamsWithHTTPClient(client *http.Client) *GetClusterTemplateParams
- func NewGetClusterTemplateParamsWithTimeout(timeout time.Duration) *GetClusterTemplateParams
- func (o *GetClusterTemplateParams) SetContext(ctx context.Context)
- func (o *GetClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTemplateParams) SetID(id int64)
- func (o *GetClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTemplateParams) WithContext(ctx context.Context) *GetClusterTemplateParams
- func (o *GetClusterTemplateParams) WithHTTPClient(client *http.Client) *GetClusterTemplateParams
- func (o *GetClusterTemplateParams) WithID(id int64) *GetClusterTemplateParams
- func (o *GetClusterTemplateParams) WithTimeout(timeout time.Duration) *GetClusterTemplateParams
- func (o *GetClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTemplateReader
- type GetPrivateClusterTemplateOK
- type GetPrivateClusterTemplateParams
- func NewGetPrivateClusterTemplateParams() *GetPrivateClusterTemplateParams
- func NewGetPrivateClusterTemplateParamsWithContext(ctx context.Context) *GetPrivateClusterTemplateParams
- func NewGetPrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPrivateClusterTemplateParams
- func NewGetPrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPrivateClusterTemplateParams
- func (o *GetPrivateClusterTemplateParams) SetContext(ctx context.Context)
- func (o *GetPrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateClusterTemplateParams) SetName(name string)
- func (o *GetPrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateClusterTemplateParams) WithContext(ctx context.Context) *GetPrivateClusterTemplateParams
- func (o *GetPrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPrivateClusterTemplateParams
- func (o *GetPrivateClusterTemplateParams) WithName(name string) *GetPrivateClusterTemplateParams
- func (o *GetPrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPrivateClusterTemplateParams
- func (o *GetPrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateClusterTemplateReader
- type GetPrivatesClusterTemplateOK
- type GetPrivatesClusterTemplateParams
- func NewGetPrivatesClusterTemplateParams() *GetPrivatesClusterTemplateParams
- func NewGetPrivatesClusterTemplateParamsWithContext(ctx context.Context) *GetPrivatesClusterTemplateParams
- func NewGetPrivatesClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPrivatesClusterTemplateParams
- func NewGetPrivatesClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPrivatesClusterTemplateParams
- func (o *GetPrivatesClusterTemplateParams) SetContext(ctx context.Context)
- func (o *GetPrivatesClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesClusterTemplateParams) WithContext(ctx context.Context) *GetPrivatesClusterTemplateParams
- func (o *GetPrivatesClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPrivatesClusterTemplateParams
- func (o *GetPrivatesClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPrivatesClusterTemplateParams
- func (o *GetPrivatesClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesClusterTemplateReader
- type GetPublicClusterTemplateOK
- type GetPublicClusterTemplateParams
- func NewGetPublicClusterTemplateParams() *GetPublicClusterTemplateParams
- func NewGetPublicClusterTemplateParamsWithContext(ctx context.Context) *GetPublicClusterTemplateParams
- func NewGetPublicClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPublicClusterTemplateParams
- func NewGetPublicClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPublicClusterTemplateParams
- func (o *GetPublicClusterTemplateParams) SetContext(ctx context.Context)
- func (o *GetPublicClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicClusterTemplateParams) SetName(name string)
- func (o *GetPublicClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicClusterTemplateParams) WithContext(ctx context.Context) *GetPublicClusterTemplateParams
- func (o *GetPublicClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPublicClusterTemplateParams
- func (o *GetPublicClusterTemplateParams) WithName(name string) *GetPublicClusterTemplateParams
- func (o *GetPublicClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPublicClusterTemplateParams
- func (o *GetPublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicClusterTemplateReader
- type GetPublicsClusterTemplateOK
- type GetPublicsClusterTemplateParams
- func NewGetPublicsClusterTemplateParams() *GetPublicsClusterTemplateParams
- func NewGetPublicsClusterTemplateParamsWithContext(ctx context.Context) *GetPublicsClusterTemplateParams
- func NewGetPublicsClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPublicsClusterTemplateParams
- func NewGetPublicsClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPublicsClusterTemplateParams
- func (o *GetPublicsClusterTemplateParams) SetContext(ctx context.Context)
- func (o *GetPublicsClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsClusterTemplateParams) WithContext(ctx context.Context) *GetPublicsClusterTemplateParams
- func (o *GetPublicsClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPublicsClusterTemplateParams
- func (o *GetPublicsClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPublicsClusterTemplateParams
- func (o *GetPublicsClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsClusterTemplateReader
- type PostPrivateClusterTemplateOK
- type PostPrivateClusterTemplateParams
- func NewPostPrivateClusterTemplateParams() *PostPrivateClusterTemplateParams
- func NewPostPrivateClusterTemplateParamsWithContext(ctx context.Context) *PostPrivateClusterTemplateParams
- func NewPostPrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *PostPrivateClusterTemplateParams
- func NewPostPrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *PostPrivateClusterTemplateParams
- func (o *PostPrivateClusterTemplateParams) SetBody(body *models_cloudbreak.ClusterTemplateRequest)
- func (o *PostPrivateClusterTemplateParams) SetContext(ctx context.Context)
- func (o *PostPrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateClusterTemplateParams) WithBody(body *models_cloudbreak.ClusterTemplateRequest) *PostPrivateClusterTemplateParams
- func (o *PostPrivateClusterTemplateParams) WithContext(ctx context.Context) *PostPrivateClusterTemplateParams
- func (o *PostPrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *PostPrivateClusterTemplateParams
- func (o *PostPrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *PostPrivateClusterTemplateParams
- func (o *PostPrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateClusterTemplateReader
- type PostPublicClusterTemplateOK
- type PostPublicClusterTemplateParams
- func NewPostPublicClusterTemplateParams() *PostPublicClusterTemplateParams
- func NewPostPublicClusterTemplateParamsWithContext(ctx context.Context) *PostPublicClusterTemplateParams
- func NewPostPublicClusterTemplateParamsWithHTTPClient(client *http.Client) *PostPublicClusterTemplateParams
- func NewPostPublicClusterTemplateParamsWithTimeout(timeout time.Duration) *PostPublicClusterTemplateParams
- func (o *PostPublicClusterTemplateParams) SetBody(body *models_cloudbreak.ClusterTemplateRequest)
- func (o *PostPublicClusterTemplateParams) SetContext(ctx context.Context)
- func (o *PostPublicClusterTemplateParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicClusterTemplateParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicClusterTemplateParams) WithBody(body *models_cloudbreak.ClusterTemplateRequest) *PostPublicClusterTemplateParams
- func (o *PostPublicClusterTemplateParams) WithContext(ctx context.Context) *PostPublicClusterTemplateParams
- func (o *PostPublicClusterTemplateParams) WithHTTPClient(client *http.Client) *PostPublicClusterTemplateParams
- func (o *PostPublicClusterTemplateParams) WithTimeout(timeout time.Duration) *PostPublicClusterTemplateParams
- func (o *PostPublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicClusterTemplateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for v1clustertemplates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1clustertemplates API client.
func (*Client) DeleteClusterTemplate ¶
func (a *Client) DeleteClusterTemplate(params *DeleteClusterTemplateParams) error
DeleteClusterTemplate deletes cluster template by id
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) DeletePrivateClusterTemplate ¶
func (a *Client) DeletePrivateClusterTemplate(params *DeletePrivateClusterTemplateParams) error
DeletePrivateClusterTemplate deletes private cluster template by name
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) DeletePublicClusterTemplate ¶
func (a *Client) DeletePublicClusterTemplate(params *DeletePublicClusterTemplateParams) error
DeletePublicClusterTemplate deletes public owned or private cluster template by name
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) GetClusterTemplate ¶
func (a *Client) GetClusterTemplate(params *GetClusterTemplateParams) (*GetClusterTemplateOK, error)
GetClusterTemplate retrieves cluster template by id
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) GetPrivateClusterTemplate ¶
func (a *Client) GetPrivateClusterTemplate(params *GetPrivateClusterTemplateParams) (*GetPrivateClusterTemplateOK, error)
GetPrivateClusterTemplate retrieves a private cluster template by name
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) GetPrivatesClusterTemplate ¶
func (a *Client) GetPrivatesClusterTemplate(params *GetPrivatesClusterTemplateParams) (*GetPrivatesClusterTemplateOK, error)
GetPrivatesClusterTemplate retrieves private cluster templates
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) GetPublicClusterTemplate ¶
func (a *Client) GetPublicClusterTemplate(params *GetPublicClusterTemplateParams) (*GetPublicClusterTemplateOK, error)
GetPublicClusterTemplate retrieves a public or private owned cluster template by name
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) GetPublicsClusterTemplate ¶
func (a *Client) GetPublicsClusterTemplate(params *GetPublicsClusterTemplateParams) (*GetPublicsClusterTemplateOK, error)
GetPublicsClusterTemplate retrieves public and private owned cluster template
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) PostPrivateClusterTemplate ¶
func (a *Client) PostPrivateClusterTemplate(params *PostPrivateClusterTemplateParams) (*PostPrivateClusterTemplateOK, error)
PostPrivateClusterTemplate creates cluster template as private resource
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) PostPublicClusterTemplate ¶
func (a *Client) PostPublicClusterTemplate(params *PostPublicClusterTemplateParams) (*PostPublicClusterTemplateOK, error)
PostPublicClusterTemplate creates cluster template as public resource
Cluster templates are stored cluster configurations, which configurations are reusable any time
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteClusterTemplateDefault ¶
type DeleteClusterTemplateDefault struct {
// contains filtered or unexported fields
}
DeleteClusterTemplateDefault handles this case with default header values.
successful operation
func NewDeleteClusterTemplateDefault ¶
func NewDeleteClusterTemplateDefault(code int) *DeleteClusterTemplateDefault
NewDeleteClusterTemplateDefault creates a DeleteClusterTemplateDefault with default headers values
func (*DeleteClusterTemplateDefault) Code ¶
func (o *DeleteClusterTemplateDefault) Code() int
Code gets the status code for the delete cluster template default response
func (*DeleteClusterTemplateDefault) Error ¶
func (o *DeleteClusterTemplateDefault) Error() string
type DeleteClusterTemplateParams ¶
type DeleteClusterTemplateParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterTemplateParams contains all the parameters to send to the API endpoint for the delete cluster template operation typically these are written to a http.Request
func NewDeleteClusterTemplateParams ¶
func NewDeleteClusterTemplateParams() *DeleteClusterTemplateParams
NewDeleteClusterTemplateParams creates a new DeleteClusterTemplateParams object with the default values initialized.
func NewDeleteClusterTemplateParamsWithContext ¶
func NewDeleteClusterTemplateParamsWithContext(ctx context.Context) *DeleteClusterTemplateParams
NewDeleteClusterTemplateParamsWithContext creates a new DeleteClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterTemplateParamsWithHTTPClient ¶
func NewDeleteClusterTemplateParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateParams
NewDeleteClusterTemplateParamsWithHTTPClient creates a new DeleteClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterTemplateParamsWithTimeout ¶
func NewDeleteClusterTemplateParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateParams
NewDeleteClusterTemplateParamsWithTimeout creates a new DeleteClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterTemplateParams) SetContext ¶
func (o *DeleteClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster template params
func (*DeleteClusterTemplateParams) SetHTTPClient ¶
func (o *DeleteClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster template params
func (*DeleteClusterTemplateParams) SetID ¶
func (o *DeleteClusterTemplateParams) SetID(id int64)
SetID adds the id to the delete cluster template params
func (*DeleteClusterTemplateParams) SetTimeout ¶
func (o *DeleteClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster template params
func (*DeleteClusterTemplateParams) WithContext ¶
func (o *DeleteClusterTemplateParams) WithContext(ctx context.Context) *DeleteClusterTemplateParams
WithContext adds the context to the delete cluster template params
func (*DeleteClusterTemplateParams) WithHTTPClient ¶
func (o *DeleteClusterTemplateParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateParams
WithHTTPClient adds the HTTPClient to the delete cluster template params
func (*DeleteClusterTemplateParams) WithID ¶
func (o *DeleteClusterTemplateParams) WithID(id int64) *DeleteClusterTemplateParams
WithID adds the id to the delete cluster template params
func (*DeleteClusterTemplateParams) WithTimeout ¶
func (o *DeleteClusterTemplateParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateParams
WithTimeout adds the timeout to the delete cluster template params
func (*DeleteClusterTemplateParams) WriteToRequest ¶
func (o *DeleteClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterTemplateReader ¶
type DeleteClusterTemplateReader struct {
// contains filtered or unexported fields
}
DeleteClusterTemplateReader is a Reader for the DeleteClusterTemplate structure.
func (*DeleteClusterTemplateReader) ReadResponse ¶
func (o *DeleteClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePrivateClusterTemplateDefault ¶
type DeletePrivateClusterTemplateDefault struct {
// contains filtered or unexported fields
}
DeletePrivateClusterTemplateDefault handles this case with default header values.
successful operation
func NewDeletePrivateClusterTemplateDefault ¶
func NewDeletePrivateClusterTemplateDefault(code int) *DeletePrivateClusterTemplateDefault
NewDeletePrivateClusterTemplateDefault creates a DeletePrivateClusterTemplateDefault with default headers values
func (*DeletePrivateClusterTemplateDefault) Code ¶
func (o *DeletePrivateClusterTemplateDefault) Code() int
Code gets the status code for the delete private cluster template default response
func (*DeletePrivateClusterTemplateDefault) Error ¶
func (o *DeletePrivateClusterTemplateDefault) Error() string
type DeletePrivateClusterTemplateParams ¶
type DeletePrivateClusterTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivateClusterTemplateParams contains all the parameters to send to the API endpoint for the delete private cluster template operation typically these are written to a http.Request
func NewDeletePrivateClusterTemplateParams ¶
func NewDeletePrivateClusterTemplateParams() *DeletePrivateClusterTemplateParams
NewDeletePrivateClusterTemplateParams creates a new DeletePrivateClusterTemplateParams object with the default values initialized.
func NewDeletePrivateClusterTemplateParamsWithContext ¶
func NewDeletePrivateClusterTemplateParamsWithContext(ctx context.Context) *DeletePrivateClusterTemplateParams
NewDeletePrivateClusterTemplateParamsWithContext creates a new DeletePrivateClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePrivateClusterTemplateParamsWithHTTPClient ¶
func NewDeletePrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *DeletePrivateClusterTemplateParams
NewDeletePrivateClusterTemplateParamsWithHTTPClient creates a new DeletePrivateClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePrivateClusterTemplateParamsWithTimeout ¶
func NewDeletePrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *DeletePrivateClusterTemplateParams
NewDeletePrivateClusterTemplateParamsWithTimeout creates a new DeletePrivateClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePrivateClusterTemplateParams) SetContext ¶
func (o *DeletePrivateClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) SetHTTPClient ¶
func (o *DeletePrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) SetName ¶
func (o *DeletePrivateClusterTemplateParams) SetName(name string)
SetName adds the name to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) SetTimeout ¶
func (o *DeletePrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) WithContext ¶
func (o *DeletePrivateClusterTemplateParams) WithContext(ctx context.Context) *DeletePrivateClusterTemplateParams
WithContext adds the context to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) WithHTTPClient ¶
func (o *DeletePrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *DeletePrivateClusterTemplateParams
WithHTTPClient adds the HTTPClient to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) WithName ¶
func (o *DeletePrivateClusterTemplateParams) WithName(name string) *DeletePrivateClusterTemplateParams
WithName adds the name to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) WithTimeout ¶
func (o *DeletePrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *DeletePrivateClusterTemplateParams
WithTimeout adds the timeout to the delete private cluster template params
func (*DeletePrivateClusterTemplateParams) WriteToRequest ¶
func (o *DeletePrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivateClusterTemplateReader ¶
type DeletePrivateClusterTemplateReader struct {
// contains filtered or unexported fields
}
DeletePrivateClusterTemplateReader is a Reader for the DeletePrivateClusterTemplate structure.
func (*DeletePrivateClusterTemplateReader) ReadResponse ¶
func (o *DeletePrivateClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePublicClusterTemplateDefault ¶
type DeletePublicClusterTemplateDefault struct {
// contains filtered or unexported fields
}
DeletePublicClusterTemplateDefault handles this case with default header values.
successful operation
func NewDeletePublicClusterTemplateDefault ¶
func NewDeletePublicClusterTemplateDefault(code int) *DeletePublicClusterTemplateDefault
NewDeletePublicClusterTemplateDefault creates a DeletePublicClusterTemplateDefault with default headers values
func (*DeletePublicClusterTemplateDefault) Code ¶
func (o *DeletePublicClusterTemplateDefault) Code() int
Code gets the status code for the delete public cluster template default response
func (*DeletePublicClusterTemplateDefault) Error ¶
func (o *DeletePublicClusterTemplateDefault) Error() string
type DeletePublicClusterTemplateParams ¶
type DeletePublicClusterTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePublicClusterTemplateParams contains all the parameters to send to the API endpoint for the delete public cluster template operation typically these are written to a http.Request
func NewDeletePublicClusterTemplateParams ¶
func NewDeletePublicClusterTemplateParams() *DeletePublicClusterTemplateParams
NewDeletePublicClusterTemplateParams creates a new DeletePublicClusterTemplateParams object with the default values initialized.
func NewDeletePublicClusterTemplateParamsWithContext ¶
func NewDeletePublicClusterTemplateParamsWithContext(ctx context.Context) *DeletePublicClusterTemplateParams
NewDeletePublicClusterTemplateParamsWithContext creates a new DeletePublicClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePublicClusterTemplateParamsWithHTTPClient ¶
func NewDeletePublicClusterTemplateParamsWithHTTPClient(client *http.Client) *DeletePublicClusterTemplateParams
NewDeletePublicClusterTemplateParamsWithHTTPClient creates a new DeletePublicClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePublicClusterTemplateParamsWithTimeout ¶
func NewDeletePublicClusterTemplateParamsWithTimeout(timeout time.Duration) *DeletePublicClusterTemplateParams
NewDeletePublicClusterTemplateParamsWithTimeout creates a new DeletePublicClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePublicClusterTemplateParams) SetContext ¶
func (o *DeletePublicClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) SetHTTPClient ¶
func (o *DeletePublicClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) SetName ¶
func (o *DeletePublicClusterTemplateParams) SetName(name string)
SetName adds the name to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) SetTimeout ¶
func (o *DeletePublicClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) WithContext ¶
func (o *DeletePublicClusterTemplateParams) WithContext(ctx context.Context) *DeletePublicClusterTemplateParams
WithContext adds the context to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) WithHTTPClient ¶
func (o *DeletePublicClusterTemplateParams) WithHTTPClient(client *http.Client) *DeletePublicClusterTemplateParams
WithHTTPClient adds the HTTPClient to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) WithName ¶
func (o *DeletePublicClusterTemplateParams) WithName(name string) *DeletePublicClusterTemplateParams
WithName adds the name to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) WithTimeout ¶
func (o *DeletePublicClusterTemplateParams) WithTimeout(timeout time.Duration) *DeletePublicClusterTemplateParams
WithTimeout adds the timeout to the delete public cluster template params
func (*DeletePublicClusterTemplateParams) WriteToRequest ¶
func (o *DeletePublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePublicClusterTemplateReader ¶
type DeletePublicClusterTemplateReader struct {
// contains filtered or unexported fields
}
DeletePublicClusterTemplateReader is a Reader for the DeletePublicClusterTemplate structure.
func (*DeletePublicClusterTemplateReader) ReadResponse ¶
func (o *DeletePublicClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTemplateOK ¶
type GetClusterTemplateOK struct {
Payload *models_cloudbreak.ClusterTemplateResponse
}
GetClusterTemplateOK handles this case with default header values.
successful operation
func NewGetClusterTemplateOK ¶
func NewGetClusterTemplateOK() *GetClusterTemplateOK
NewGetClusterTemplateOK creates a GetClusterTemplateOK with default headers values
func (*GetClusterTemplateOK) Error ¶
func (o *GetClusterTemplateOK) Error() string
type GetClusterTemplateParams ¶
type GetClusterTemplateParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTemplateParams contains all the parameters to send to the API endpoint for the get cluster template operation typically these are written to a http.Request
func NewGetClusterTemplateParams ¶
func NewGetClusterTemplateParams() *GetClusterTemplateParams
NewGetClusterTemplateParams creates a new GetClusterTemplateParams object with the default values initialized.
func NewGetClusterTemplateParamsWithContext ¶
func NewGetClusterTemplateParamsWithContext(ctx context.Context) *GetClusterTemplateParams
NewGetClusterTemplateParamsWithContext creates a new GetClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterTemplateParamsWithHTTPClient ¶
func NewGetClusterTemplateParamsWithHTTPClient(client *http.Client) *GetClusterTemplateParams
NewGetClusterTemplateParamsWithHTTPClient creates a new GetClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterTemplateParamsWithTimeout ¶
func NewGetClusterTemplateParamsWithTimeout(timeout time.Duration) *GetClusterTemplateParams
NewGetClusterTemplateParamsWithTimeout creates a new GetClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterTemplateParams) SetContext ¶
func (o *GetClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster template params
func (*GetClusterTemplateParams) SetHTTPClient ¶
func (o *GetClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster template params
func (*GetClusterTemplateParams) SetID ¶
func (o *GetClusterTemplateParams) SetID(id int64)
SetID adds the id to the get cluster template params
func (*GetClusterTemplateParams) SetTimeout ¶
func (o *GetClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster template params
func (*GetClusterTemplateParams) WithContext ¶
func (o *GetClusterTemplateParams) WithContext(ctx context.Context) *GetClusterTemplateParams
WithContext adds the context to the get cluster template params
func (*GetClusterTemplateParams) WithHTTPClient ¶
func (o *GetClusterTemplateParams) WithHTTPClient(client *http.Client) *GetClusterTemplateParams
WithHTTPClient adds the HTTPClient to the get cluster template params
func (*GetClusterTemplateParams) WithID ¶
func (o *GetClusterTemplateParams) WithID(id int64) *GetClusterTemplateParams
WithID adds the id to the get cluster template params
func (*GetClusterTemplateParams) WithTimeout ¶
func (o *GetClusterTemplateParams) WithTimeout(timeout time.Duration) *GetClusterTemplateParams
WithTimeout adds the timeout to the get cluster template params
func (*GetClusterTemplateParams) WriteToRequest ¶
func (o *GetClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTemplateReader ¶
type GetClusterTemplateReader struct {
// contains filtered or unexported fields
}
GetClusterTemplateReader is a Reader for the GetClusterTemplate structure.
func (*GetClusterTemplateReader) ReadResponse ¶
func (o *GetClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateClusterTemplateOK ¶
type GetPrivateClusterTemplateOK struct {
Payload *models_cloudbreak.ClusterTemplateResponse
}
GetPrivateClusterTemplateOK handles this case with default header values.
successful operation
func NewGetPrivateClusterTemplateOK ¶
func NewGetPrivateClusterTemplateOK() *GetPrivateClusterTemplateOK
NewGetPrivateClusterTemplateOK creates a GetPrivateClusterTemplateOK with default headers values
func (*GetPrivateClusterTemplateOK) Error ¶
func (o *GetPrivateClusterTemplateOK) Error() string
type GetPrivateClusterTemplateParams ¶
type GetPrivateClusterTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateClusterTemplateParams contains all the parameters to send to the API endpoint for the get private cluster template operation typically these are written to a http.Request
func NewGetPrivateClusterTemplateParams ¶
func NewGetPrivateClusterTemplateParams() *GetPrivateClusterTemplateParams
NewGetPrivateClusterTemplateParams creates a new GetPrivateClusterTemplateParams object with the default values initialized.
func NewGetPrivateClusterTemplateParamsWithContext ¶
func NewGetPrivateClusterTemplateParamsWithContext(ctx context.Context) *GetPrivateClusterTemplateParams
NewGetPrivateClusterTemplateParamsWithContext creates a new GetPrivateClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateClusterTemplateParamsWithHTTPClient ¶
func NewGetPrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPrivateClusterTemplateParams
NewGetPrivateClusterTemplateParamsWithHTTPClient creates a new GetPrivateClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateClusterTemplateParamsWithTimeout ¶
func NewGetPrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPrivateClusterTemplateParams
NewGetPrivateClusterTemplateParamsWithTimeout creates a new GetPrivateClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateClusterTemplateParams) SetContext ¶
func (o *GetPrivateClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cluster template params
func (*GetPrivateClusterTemplateParams) SetHTTPClient ¶
func (o *GetPrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cluster template params
func (*GetPrivateClusterTemplateParams) SetName ¶
func (o *GetPrivateClusterTemplateParams) SetName(name string)
SetName adds the name to the get private cluster template params
func (*GetPrivateClusterTemplateParams) SetTimeout ¶
func (o *GetPrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cluster template params
func (*GetPrivateClusterTemplateParams) WithContext ¶
func (o *GetPrivateClusterTemplateParams) WithContext(ctx context.Context) *GetPrivateClusterTemplateParams
WithContext adds the context to the get private cluster template params
func (*GetPrivateClusterTemplateParams) WithHTTPClient ¶
func (o *GetPrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPrivateClusterTemplateParams
WithHTTPClient adds the HTTPClient to the get private cluster template params
func (*GetPrivateClusterTemplateParams) WithName ¶
func (o *GetPrivateClusterTemplateParams) WithName(name string) *GetPrivateClusterTemplateParams
WithName adds the name to the get private cluster template params
func (*GetPrivateClusterTemplateParams) WithTimeout ¶
func (o *GetPrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPrivateClusterTemplateParams
WithTimeout adds the timeout to the get private cluster template params
func (*GetPrivateClusterTemplateParams) WriteToRequest ¶
func (o *GetPrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateClusterTemplateReader ¶
type GetPrivateClusterTemplateReader struct {
// contains filtered or unexported fields
}
GetPrivateClusterTemplateReader is a Reader for the GetPrivateClusterTemplate structure.
func (*GetPrivateClusterTemplateReader) ReadResponse ¶
func (o *GetPrivateClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivatesClusterTemplateOK ¶
type GetPrivatesClusterTemplateOK struct {
Payload []*models_cloudbreak.ClusterTemplateResponse
}
GetPrivatesClusterTemplateOK handles this case with default header values.
successful operation
func NewGetPrivatesClusterTemplateOK ¶
func NewGetPrivatesClusterTemplateOK() *GetPrivatesClusterTemplateOK
NewGetPrivatesClusterTemplateOK creates a GetPrivatesClusterTemplateOK with default headers values
func (*GetPrivatesClusterTemplateOK) Error ¶
func (o *GetPrivatesClusterTemplateOK) Error() string
type GetPrivatesClusterTemplateParams ¶
type GetPrivatesClusterTemplateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivatesClusterTemplateParams contains all the parameters to send to the API endpoint for the get privates cluster template operation typically these are written to a http.Request
func NewGetPrivatesClusterTemplateParams ¶
func NewGetPrivatesClusterTemplateParams() *GetPrivatesClusterTemplateParams
NewGetPrivatesClusterTemplateParams creates a new GetPrivatesClusterTemplateParams object with the default values initialized.
func NewGetPrivatesClusterTemplateParamsWithContext ¶
func NewGetPrivatesClusterTemplateParamsWithContext(ctx context.Context) *GetPrivatesClusterTemplateParams
NewGetPrivatesClusterTemplateParamsWithContext creates a new GetPrivatesClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivatesClusterTemplateParamsWithHTTPClient ¶
func NewGetPrivatesClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPrivatesClusterTemplateParams
NewGetPrivatesClusterTemplateParamsWithHTTPClient creates a new GetPrivatesClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivatesClusterTemplateParamsWithTimeout ¶
func NewGetPrivatesClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPrivatesClusterTemplateParams
NewGetPrivatesClusterTemplateParamsWithTimeout creates a new GetPrivatesClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivatesClusterTemplateParams) SetContext ¶
func (o *GetPrivatesClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) SetHTTPClient ¶
func (o *GetPrivatesClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) SetTimeout ¶
func (o *GetPrivatesClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) WithContext ¶
func (o *GetPrivatesClusterTemplateParams) WithContext(ctx context.Context) *GetPrivatesClusterTemplateParams
WithContext adds the context to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) WithHTTPClient ¶
func (o *GetPrivatesClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPrivatesClusterTemplateParams
WithHTTPClient adds the HTTPClient to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) WithTimeout ¶
func (o *GetPrivatesClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPrivatesClusterTemplateParams
WithTimeout adds the timeout to the get privates cluster template params
func (*GetPrivatesClusterTemplateParams) WriteToRequest ¶
func (o *GetPrivatesClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivatesClusterTemplateReader ¶
type GetPrivatesClusterTemplateReader struct {
// contains filtered or unexported fields
}
GetPrivatesClusterTemplateReader is a Reader for the GetPrivatesClusterTemplate structure.
func (*GetPrivatesClusterTemplateReader) ReadResponse ¶
func (o *GetPrivatesClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicClusterTemplateOK ¶
type GetPublicClusterTemplateOK struct {
Payload *models_cloudbreak.ClusterTemplateResponse
}
GetPublicClusterTemplateOK handles this case with default header values.
successful operation
func NewGetPublicClusterTemplateOK ¶
func NewGetPublicClusterTemplateOK() *GetPublicClusterTemplateOK
NewGetPublicClusterTemplateOK creates a GetPublicClusterTemplateOK with default headers values
func (*GetPublicClusterTemplateOK) Error ¶
func (o *GetPublicClusterTemplateOK) Error() string
type GetPublicClusterTemplateParams ¶
type GetPublicClusterTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicClusterTemplateParams contains all the parameters to send to the API endpoint for the get public cluster template operation typically these are written to a http.Request
func NewGetPublicClusterTemplateParams ¶
func NewGetPublicClusterTemplateParams() *GetPublicClusterTemplateParams
NewGetPublicClusterTemplateParams creates a new GetPublicClusterTemplateParams object with the default values initialized.
func NewGetPublicClusterTemplateParamsWithContext ¶
func NewGetPublicClusterTemplateParamsWithContext(ctx context.Context) *GetPublicClusterTemplateParams
NewGetPublicClusterTemplateParamsWithContext creates a new GetPublicClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicClusterTemplateParamsWithHTTPClient ¶
func NewGetPublicClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPublicClusterTemplateParams
NewGetPublicClusterTemplateParamsWithHTTPClient creates a new GetPublicClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicClusterTemplateParamsWithTimeout ¶
func NewGetPublicClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPublicClusterTemplateParams
NewGetPublicClusterTemplateParamsWithTimeout creates a new GetPublicClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicClusterTemplateParams) SetContext ¶
func (o *GetPublicClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get public cluster template params
func (*GetPublicClusterTemplateParams) SetHTTPClient ¶
func (o *GetPublicClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public cluster template params
func (*GetPublicClusterTemplateParams) SetName ¶
func (o *GetPublicClusterTemplateParams) SetName(name string)
SetName adds the name to the get public cluster template params
func (*GetPublicClusterTemplateParams) SetTimeout ¶
func (o *GetPublicClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public cluster template params
func (*GetPublicClusterTemplateParams) WithContext ¶
func (o *GetPublicClusterTemplateParams) WithContext(ctx context.Context) *GetPublicClusterTemplateParams
WithContext adds the context to the get public cluster template params
func (*GetPublicClusterTemplateParams) WithHTTPClient ¶
func (o *GetPublicClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPublicClusterTemplateParams
WithHTTPClient adds the HTTPClient to the get public cluster template params
func (*GetPublicClusterTemplateParams) WithName ¶
func (o *GetPublicClusterTemplateParams) WithName(name string) *GetPublicClusterTemplateParams
WithName adds the name to the get public cluster template params
func (*GetPublicClusterTemplateParams) WithTimeout ¶
func (o *GetPublicClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPublicClusterTemplateParams
WithTimeout adds the timeout to the get public cluster template params
func (*GetPublicClusterTemplateParams) WriteToRequest ¶
func (o *GetPublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicClusterTemplateReader ¶
type GetPublicClusterTemplateReader struct {
// contains filtered or unexported fields
}
GetPublicClusterTemplateReader is a Reader for the GetPublicClusterTemplate structure.
func (*GetPublicClusterTemplateReader) ReadResponse ¶
func (o *GetPublicClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicsClusterTemplateOK ¶
type GetPublicsClusterTemplateOK struct {
Payload []*models_cloudbreak.ClusterTemplateResponse
}
GetPublicsClusterTemplateOK handles this case with default header values.
successful operation
func NewGetPublicsClusterTemplateOK ¶
func NewGetPublicsClusterTemplateOK() *GetPublicsClusterTemplateOK
NewGetPublicsClusterTemplateOK creates a GetPublicsClusterTemplateOK with default headers values
func (*GetPublicsClusterTemplateOK) Error ¶
func (o *GetPublicsClusterTemplateOK) Error() string
type GetPublicsClusterTemplateParams ¶
type GetPublicsClusterTemplateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicsClusterTemplateParams contains all the parameters to send to the API endpoint for the get publics cluster template operation typically these are written to a http.Request
func NewGetPublicsClusterTemplateParams ¶
func NewGetPublicsClusterTemplateParams() *GetPublicsClusterTemplateParams
NewGetPublicsClusterTemplateParams creates a new GetPublicsClusterTemplateParams object with the default values initialized.
func NewGetPublicsClusterTemplateParamsWithContext ¶
func NewGetPublicsClusterTemplateParamsWithContext(ctx context.Context) *GetPublicsClusterTemplateParams
NewGetPublicsClusterTemplateParamsWithContext creates a new GetPublicsClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicsClusterTemplateParamsWithHTTPClient ¶
func NewGetPublicsClusterTemplateParamsWithHTTPClient(client *http.Client) *GetPublicsClusterTemplateParams
NewGetPublicsClusterTemplateParamsWithHTTPClient creates a new GetPublicsClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicsClusterTemplateParamsWithTimeout ¶
func NewGetPublicsClusterTemplateParamsWithTimeout(timeout time.Duration) *GetPublicsClusterTemplateParams
NewGetPublicsClusterTemplateParamsWithTimeout creates a new GetPublicsClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicsClusterTemplateParams) SetContext ¶
func (o *GetPublicsClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) SetHTTPClient ¶
func (o *GetPublicsClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) SetTimeout ¶
func (o *GetPublicsClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) WithContext ¶
func (o *GetPublicsClusterTemplateParams) WithContext(ctx context.Context) *GetPublicsClusterTemplateParams
WithContext adds the context to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) WithHTTPClient ¶
func (o *GetPublicsClusterTemplateParams) WithHTTPClient(client *http.Client) *GetPublicsClusterTemplateParams
WithHTTPClient adds the HTTPClient to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) WithTimeout ¶
func (o *GetPublicsClusterTemplateParams) WithTimeout(timeout time.Duration) *GetPublicsClusterTemplateParams
WithTimeout adds the timeout to the get publics cluster template params
func (*GetPublicsClusterTemplateParams) WriteToRequest ¶
func (o *GetPublicsClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicsClusterTemplateReader ¶
type GetPublicsClusterTemplateReader struct {
// contains filtered or unexported fields
}
GetPublicsClusterTemplateReader is a Reader for the GetPublicsClusterTemplate structure.
func (*GetPublicsClusterTemplateReader) ReadResponse ¶
func (o *GetPublicsClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPrivateClusterTemplateOK ¶
type PostPrivateClusterTemplateOK struct {
Payload *models_cloudbreak.ClusterTemplateResponse
}
PostPrivateClusterTemplateOK handles this case with default header values.
successful operation
func NewPostPrivateClusterTemplateOK ¶
func NewPostPrivateClusterTemplateOK() *PostPrivateClusterTemplateOK
NewPostPrivateClusterTemplateOK creates a PostPrivateClusterTemplateOK with default headers values
func (*PostPrivateClusterTemplateOK) Error ¶
func (o *PostPrivateClusterTemplateOK) Error() string
type PostPrivateClusterTemplateParams ¶
type PostPrivateClusterTemplateParams struct { /*Body*/ Body *models_cloudbreak.ClusterTemplateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPrivateClusterTemplateParams contains all the parameters to send to the API endpoint for the post private cluster template operation typically these are written to a http.Request
func NewPostPrivateClusterTemplateParams ¶
func NewPostPrivateClusterTemplateParams() *PostPrivateClusterTemplateParams
NewPostPrivateClusterTemplateParams creates a new PostPrivateClusterTemplateParams object with the default values initialized.
func NewPostPrivateClusterTemplateParamsWithContext ¶
func NewPostPrivateClusterTemplateParamsWithContext(ctx context.Context) *PostPrivateClusterTemplateParams
NewPostPrivateClusterTemplateParamsWithContext creates a new PostPrivateClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewPostPrivateClusterTemplateParamsWithHTTPClient ¶
func NewPostPrivateClusterTemplateParamsWithHTTPClient(client *http.Client) *PostPrivateClusterTemplateParams
NewPostPrivateClusterTemplateParamsWithHTTPClient creates a new PostPrivateClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPrivateClusterTemplateParamsWithTimeout ¶
func NewPostPrivateClusterTemplateParamsWithTimeout(timeout time.Duration) *PostPrivateClusterTemplateParams
NewPostPrivateClusterTemplateParamsWithTimeout creates a new PostPrivateClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPrivateClusterTemplateParams) SetBody ¶
func (o *PostPrivateClusterTemplateParams) SetBody(body *models_cloudbreak.ClusterTemplateRequest)
SetBody adds the body to the post private cluster template params
func (*PostPrivateClusterTemplateParams) SetContext ¶
func (o *PostPrivateClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the post private cluster template params
func (*PostPrivateClusterTemplateParams) SetHTTPClient ¶
func (o *PostPrivateClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post private cluster template params
func (*PostPrivateClusterTemplateParams) SetTimeout ¶
func (o *PostPrivateClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post private cluster template params
func (*PostPrivateClusterTemplateParams) WithBody ¶
func (o *PostPrivateClusterTemplateParams) WithBody(body *models_cloudbreak.ClusterTemplateRequest) *PostPrivateClusterTemplateParams
WithBody adds the body to the post private cluster template params
func (*PostPrivateClusterTemplateParams) WithContext ¶
func (o *PostPrivateClusterTemplateParams) WithContext(ctx context.Context) *PostPrivateClusterTemplateParams
WithContext adds the context to the post private cluster template params
func (*PostPrivateClusterTemplateParams) WithHTTPClient ¶
func (o *PostPrivateClusterTemplateParams) WithHTTPClient(client *http.Client) *PostPrivateClusterTemplateParams
WithHTTPClient adds the HTTPClient to the post private cluster template params
func (*PostPrivateClusterTemplateParams) WithTimeout ¶
func (o *PostPrivateClusterTemplateParams) WithTimeout(timeout time.Duration) *PostPrivateClusterTemplateParams
WithTimeout adds the timeout to the post private cluster template params
func (*PostPrivateClusterTemplateParams) WriteToRequest ¶
func (o *PostPrivateClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPrivateClusterTemplateReader ¶
type PostPrivateClusterTemplateReader struct {
// contains filtered or unexported fields
}
PostPrivateClusterTemplateReader is a Reader for the PostPrivateClusterTemplate structure.
func (*PostPrivateClusterTemplateReader) ReadResponse ¶
func (o *PostPrivateClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPublicClusterTemplateOK ¶
type PostPublicClusterTemplateOK struct {
Payload *models_cloudbreak.ClusterTemplateResponse
}
PostPublicClusterTemplateOK handles this case with default header values.
successful operation
func NewPostPublicClusterTemplateOK ¶
func NewPostPublicClusterTemplateOK() *PostPublicClusterTemplateOK
NewPostPublicClusterTemplateOK creates a PostPublicClusterTemplateOK with default headers values
func (*PostPublicClusterTemplateOK) Error ¶
func (o *PostPublicClusterTemplateOK) Error() string
type PostPublicClusterTemplateParams ¶
type PostPublicClusterTemplateParams struct { /*Body*/ Body *models_cloudbreak.ClusterTemplateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPublicClusterTemplateParams contains all the parameters to send to the API endpoint for the post public cluster template operation typically these are written to a http.Request
func NewPostPublicClusterTemplateParams ¶
func NewPostPublicClusterTemplateParams() *PostPublicClusterTemplateParams
NewPostPublicClusterTemplateParams creates a new PostPublicClusterTemplateParams object with the default values initialized.
func NewPostPublicClusterTemplateParamsWithContext ¶
func NewPostPublicClusterTemplateParamsWithContext(ctx context.Context) *PostPublicClusterTemplateParams
NewPostPublicClusterTemplateParamsWithContext creates a new PostPublicClusterTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewPostPublicClusterTemplateParamsWithHTTPClient ¶
func NewPostPublicClusterTemplateParamsWithHTTPClient(client *http.Client) *PostPublicClusterTemplateParams
NewPostPublicClusterTemplateParamsWithHTTPClient creates a new PostPublicClusterTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPublicClusterTemplateParamsWithTimeout ¶
func NewPostPublicClusterTemplateParamsWithTimeout(timeout time.Duration) *PostPublicClusterTemplateParams
NewPostPublicClusterTemplateParamsWithTimeout creates a new PostPublicClusterTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPublicClusterTemplateParams) SetBody ¶
func (o *PostPublicClusterTemplateParams) SetBody(body *models_cloudbreak.ClusterTemplateRequest)
SetBody adds the body to the post public cluster template params
func (*PostPublicClusterTemplateParams) SetContext ¶
func (o *PostPublicClusterTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the post public cluster template params
func (*PostPublicClusterTemplateParams) SetHTTPClient ¶
func (o *PostPublicClusterTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post public cluster template params
func (*PostPublicClusterTemplateParams) SetTimeout ¶
func (o *PostPublicClusterTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post public cluster template params
func (*PostPublicClusterTemplateParams) WithBody ¶
func (o *PostPublicClusterTemplateParams) WithBody(body *models_cloudbreak.ClusterTemplateRequest) *PostPublicClusterTemplateParams
WithBody adds the body to the post public cluster template params
func (*PostPublicClusterTemplateParams) WithContext ¶
func (o *PostPublicClusterTemplateParams) WithContext(ctx context.Context) *PostPublicClusterTemplateParams
WithContext adds the context to the post public cluster template params
func (*PostPublicClusterTemplateParams) WithHTTPClient ¶
func (o *PostPublicClusterTemplateParams) WithHTTPClient(client *http.Client) *PostPublicClusterTemplateParams
WithHTTPClient adds the HTTPClient to the post public cluster template params
func (*PostPublicClusterTemplateParams) WithTimeout ¶
func (o *PostPublicClusterTemplateParams) WithTimeout(timeout time.Duration) *PostPublicClusterTemplateParams
WithTimeout adds the timeout to the post public cluster template params
func (*PostPublicClusterTemplateParams) WriteToRequest ¶
func (o *PostPublicClusterTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPublicClusterTemplateReader ¶
type PostPublicClusterTemplateReader struct {
// contains filtered or unexported fields
}
PostPublicClusterTemplateReader is a Reader for the PostPublicClusterTemplate structure.
func (*PostPublicClusterTemplateReader) ReadResponse ¶
func (o *PostPublicClusterTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_cluster_template_parameters.go
- delete_cluster_template_responses.go
- delete_private_cluster_template_parameters.go
- delete_private_cluster_template_responses.go
- delete_public_cluster_template_parameters.go
- delete_public_cluster_template_responses.go
- get_cluster_template_parameters.go
- get_cluster_template_responses.go
- get_private_cluster_template_parameters.go
- get_private_cluster_template_responses.go
- get_privates_cluster_template_parameters.go
- get_privates_cluster_template_responses.go
- get_public_cluster_template_parameters.go
- get_public_cluster_template_responses.go
- get_publics_cluster_template_parameters.go
- get_publics_cluster_template_responses.go
- post_private_cluster_template_parameters.go
- post_private_cluster_template_responses.go
- post_public_cluster_template_parameters.go
- post_public_cluster_template_responses.go
- v1clustertemplates_client.go