v1clustertemplates

package
v2.8.0-dev.11+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the delete cluster template default response

func (*DeleteClusterTemplateDefault) Error

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

WithContext adds the context to the delete cluster template params

func (*DeleteClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete cluster template params

func (*DeleteClusterTemplateParams) WithID

WithID adds the id to the delete cluster template params

func (*DeleteClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete cluster template params

func (*DeleteClusterTemplateParams) WriteToRequest

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

Code gets the status code for the delete private cluster template default response

func (*DeletePrivateClusterTemplateDefault) Error

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

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

WithContext adds the context to the delete private cluster template params

func (*DeletePrivateClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private cluster template params

func (*DeletePrivateClusterTemplateParams) WithName

WithName adds the name to the delete private cluster template params

func (*DeletePrivateClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete private cluster template params

func (*DeletePrivateClusterTemplateParams) WriteToRequest

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

Code gets the status code for the delete public cluster template default response

func (*DeletePublicClusterTemplateDefault) Error

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

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

WithContext adds the context to the delete public cluster template params

func (*DeletePublicClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public cluster template params

func (*DeletePublicClusterTemplateParams) WithName

WithName adds the name to the delete public cluster template params

func (*DeletePublicClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete public cluster template params

func (*DeletePublicClusterTemplateParams) WriteToRequest

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

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

WithID adds the id to the get cluster template params

func (*GetClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the get cluster template params

func (*GetClusterTemplateParams) WriteToRequest

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

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

WithContext adds the context to the get private cluster template params

func (*GetPrivateClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cluster template params

func (*GetPrivateClusterTemplateParams) WithName

WithName adds the name to the get private cluster template params

func (*GetPrivateClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the get private cluster template params

func (*GetPrivateClusterTemplateParams) WriteToRequest

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

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

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

WithContext adds the context to the get privates cluster template params

func (*GetPrivatesClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get privates cluster template params

func (*GetPrivatesClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the get privates cluster template params

func (*GetPrivatesClusterTemplateParams) WriteToRequest

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

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

WithContext adds the context to the get public cluster template params

func (*GetPublicClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public cluster template params

func (*GetPublicClusterTemplateParams) WithName

WithName adds the name to the get public cluster template params

func (*GetPublicClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the get public cluster template params

func (*GetPublicClusterTemplateParams) WriteToRequest

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

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

WithContext adds the context to the get publics cluster template params

func (*GetPublicsClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get publics cluster template params

func (*GetPublicsClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the get publics cluster template params

func (*GetPublicsClusterTemplateParams) WriteToRequest

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

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

SetBody adds the body to the post private cluster template params

func (*PostPrivateClusterTemplateParams) SetContext

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

WithBody adds the body to the post private cluster template params

func (*PostPrivateClusterTemplateParams) WithContext

WithContext adds the context to the post private cluster template params

func (*PostPrivateClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post private cluster template params

func (*PostPrivateClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the post private cluster template params

func (*PostPrivateClusterTemplateParams) WriteToRequest

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

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

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

WithBody adds the body to the post public cluster template params

func (*PostPublicClusterTemplateParams) WithContext

WithContext adds the context to the post public cluster template params

func (*PostPublicClusterTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post public cluster template params

func (*PostPublicClusterTemplateParams) WithTimeout

WithTimeout adds the timeout to the post public cluster template params

func (*PostPublicClusterTemplateParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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