v1templates

package
v2.3.0-dev.12+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 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 v1templates API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v1templates API client.

func (*Client) DeletePrivateTemplate

func (a *Client) DeletePrivateTemplate(params *DeletePrivateTemplateParams) error

DeletePrivateTemplate deletes private template by name

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) DeletePublicTemplate

func (a *Client) DeletePublicTemplate(params *DeletePublicTemplateParams) error

DeletePublicTemplate deletes public owned or private template by name

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) DeleteTemplate

func (a *Client) DeleteTemplate(params *DeleteTemplateParams) error

DeleteTemplate deletes template by id

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) GetPrivateTemplate

func (a *Client) GetPrivateTemplate(params *GetPrivateTemplateParams) (*GetPrivateTemplateOK, error)

GetPrivateTemplate retrieves a private template by name

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) GetPrivatesTemplate

func (a *Client) GetPrivatesTemplate(params *GetPrivatesTemplateParams) (*GetPrivatesTemplateOK, error)

GetPrivatesTemplate retrieves private templates

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) GetPublicTemplate

func (a *Client) GetPublicTemplate(params *GetPublicTemplateParams) (*GetPublicTemplateOK, error)

GetPublicTemplate retrieves a public or private owned template by name

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) GetPublicsTemplate

func (a *Client) GetPublicsTemplate(params *GetPublicsTemplateParams) (*GetPublicsTemplateOK, error)

GetPublicsTemplate retrieves public and private owned templates

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) GetTemplate

func (a *Client) GetTemplate(params *GetTemplateParams) (*GetTemplateOK, error)

GetTemplate retrieves template by id

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) PostPrivateTemplate

func (a *Client) PostPrivateTemplate(params *PostPrivateTemplateParams) (*PostPrivateTemplateOK, error)

PostPrivateTemplate creates template as private resource

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) PostPublicTemplate

func (a *Client) PostPublicTemplate(params *PostPublicTemplateParams) (*PostPublicTemplateOK, error)

PostPublicTemplate creates template as public resource

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DeletePrivateTemplateDefault

type DeletePrivateTemplateDefault struct {
	// contains filtered or unexported fields
}

DeletePrivateTemplateDefault handles this case with default header values.

successful operation

func NewDeletePrivateTemplateDefault

func NewDeletePrivateTemplateDefault(code int) *DeletePrivateTemplateDefault

NewDeletePrivateTemplateDefault creates a DeletePrivateTemplateDefault with default headers values

func (*DeletePrivateTemplateDefault) Code

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

func (*DeletePrivateTemplateDefault) Error

type DeletePrivateTemplateParams

type DeletePrivateTemplateParams struct {

	/*Name*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePrivateTemplateParams contains all the parameters to send to the API endpoint for the delete private template operation typically these are written to a http.Request

func NewDeletePrivateTemplateParams

func NewDeletePrivateTemplateParams() *DeletePrivateTemplateParams

NewDeletePrivateTemplateParams creates a new DeletePrivateTemplateParams object with the default values initialized.

func NewDeletePrivateTemplateParamsWithContext

func NewDeletePrivateTemplateParamsWithContext(ctx context.Context) *DeletePrivateTemplateParams

NewDeletePrivateTemplateParamsWithContext creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePrivateTemplateParamsWithHTTPClient

func NewDeletePrivateTemplateParamsWithHTTPClient(client *http.Client) *DeletePrivateTemplateParams

NewDeletePrivateTemplateParamsWithHTTPClient creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePrivateTemplateParamsWithTimeout

func NewDeletePrivateTemplateParamsWithTimeout(timeout time.Duration) *DeletePrivateTemplateParams

NewDeletePrivateTemplateParamsWithTimeout creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePrivateTemplateParams) SetContext

func (o *DeletePrivateTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the delete private template params

func (*DeletePrivateTemplateParams) SetHTTPClient

func (o *DeletePrivateTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete private template params

func (*DeletePrivateTemplateParams) SetName

func (o *DeletePrivateTemplateParams) SetName(name string)

SetName adds the name to the delete private template params

func (*DeletePrivateTemplateParams) SetTimeout

func (o *DeletePrivateTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete private template params

func (*DeletePrivateTemplateParams) WithContext

WithContext adds the context to the delete private template params

func (*DeletePrivateTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private template params

func (*DeletePrivateTemplateParams) WithName

WithName adds the name to the delete private template params

func (*DeletePrivateTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete private template params

func (*DeletePrivateTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateTemplateReader

type DeletePrivateTemplateReader struct {
	// contains filtered or unexported fields
}

DeletePrivateTemplateReader is a Reader for the DeletePrivateTemplate structure.

func (*DeletePrivateTemplateReader) ReadResponse

func (o *DeletePrivateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePublicTemplateDefault

type DeletePublicTemplateDefault struct {
	// contains filtered or unexported fields
}

DeletePublicTemplateDefault handles this case with default header values.

successful operation

func NewDeletePublicTemplateDefault

func NewDeletePublicTemplateDefault(code int) *DeletePublicTemplateDefault

NewDeletePublicTemplateDefault creates a DeletePublicTemplateDefault with default headers values

func (*DeletePublicTemplateDefault) Code

func (o *DeletePublicTemplateDefault) Code() int

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

func (*DeletePublicTemplateDefault) Error

type DeletePublicTemplateParams

type DeletePublicTemplateParams struct {

	/*Name*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePublicTemplateParams contains all the parameters to send to the API endpoint for the delete public template operation typically these are written to a http.Request

func NewDeletePublicTemplateParams

func NewDeletePublicTemplateParams() *DeletePublicTemplateParams

NewDeletePublicTemplateParams creates a new DeletePublicTemplateParams object with the default values initialized.

func NewDeletePublicTemplateParamsWithContext

func NewDeletePublicTemplateParamsWithContext(ctx context.Context) *DeletePublicTemplateParams

NewDeletePublicTemplateParamsWithContext creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePublicTemplateParamsWithHTTPClient

func NewDeletePublicTemplateParamsWithHTTPClient(client *http.Client) *DeletePublicTemplateParams

NewDeletePublicTemplateParamsWithHTTPClient creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePublicTemplateParamsWithTimeout

func NewDeletePublicTemplateParamsWithTimeout(timeout time.Duration) *DeletePublicTemplateParams

NewDeletePublicTemplateParamsWithTimeout creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePublicTemplateParams) SetContext

func (o *DeletePublicTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the delete public template params

func (*DeletePublicTemplateParams) SetHTTPClient

func (o *DeletePublicTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete public template params

func (*DeletePublicTemplateParams) SetName

func (o *DeletePublicTemplateParams) SetName(name string)

SetName adds the name to the delete public template params

func (*DeletePublicTemplateParams) SetTimeout

func (o *DeletePublicTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete public template params

func (*DeletePublicTemplateParams) WithContext

WithContext adds the context to the delete public template params

func (*DeletePublicTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public template params

func (*DeletePublicTemplateParams) WithName

WithName adds the name to the delete public template params

func (*DeletePublicTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete public template params

func (*DeletePublicTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicTemplateReader

type DeletePublicTemplateReader struct {
	// contains filtered or unexported fields
}

DeletePublicTemplateReader is a Reader for the DeletePublicTemplate structure.

func (*DeletePublicTemplateReader) ReadResponse

func (o *DeletePublicTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteTemplateDefault

type DeleteTemplateDefault struct {
	// contains filtered or unexported fields
}

DeleteTemplateDefault handles this case with default header values.

successful operation

func NewDeleteTemplateDefault

func NewDeleteTemplateDefault(code int) *DeleteTemplateDefault

NewDeleteTemplateDefault creates a DeleteTemplateDefault with default headers values

func (*DeleteTemplateDefault) Code

func (o *DeleteTemplateDefault) Code() int

Code gets the status code for the delete template default response

func (*DeleteTemplateDefault) Error

func (o *DeleteTemplateDefault) Error() string

type DeleteTemplateParams

type DeleteTemplateParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteTemplateParams contains all the parameters to send to the API endpoint for the delete template operation typically these are written to a http.Request

func NewDeleteTemplateParams

func NewDeleteTemplateParams() *DeleteTemplateParams

NewDeleteTemplateParams creates a new DeleteTemplateParams object with the default values initialized.

func NewDeleteTemplateParamsWithContext

func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams

NewDeleteTemplateParamsWithContext creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteTemplateParamsWithHTTPClient

func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams

NewDeleteTemplateParamsWithHTTPClient creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteTemplateParamsWithTimeout

func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams

NewDeleteTemplateParamsWithTimeout creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteTemplateParams) SetContext

func (o *DeleteTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the delete template params

func (*DeleteTemplateParams) SetHTTPClient

func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete template params

func (*DeleteTemplateParams) SetID

func (o *DeleteTemplateParams) SetID(id int64)

SetID adds the id to the delete template params

func (*DeleteTemplateParams) SetTimeout

func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete template params

func (*DeleteTemplateParams) WithContext

WithContext adds the context to the delete template params

func (*DeleteTemplateParams) WithHTTPClient

func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams

WithHTTPClient adds the HTTPClient to the delete template params

func (*DeleteTemplateParams) WithID

WithID adds the id to the delete template params

func (*DeleteTemplateParams) WithTimeout

func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams

WithTimeout adds the timeout to the delete template params

func (*DeleteTemplateParams) WriteToRequest

func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteTemplateReader

type DeleteTemplateReader struct {
	// contains filtered or unexported fields
}

DeleteTemplateReader is a Reader for the DeleteTemplate structure.

func (*DeleteTemplateReader) ReadResponse

func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateTemplateOK

type GetPrivateTemplateOK struct {
	Payload *models_cloudbreak.TemplateResponse
}

GetPrivateTemplateOK handles this case with default header values.

successful operation

func NewGetPrivateTemplateOK

func NewGetPrivateTemplateOK() *GetPrivateTemplateOK

NewGetPrivateTemplateOK creates a GetPrivateTemplateOK with default headers values

func (*GetPrivateTemplateOK) Error

func (o *GetPrivateTemplateOK) Error() string

type GetPrivateTemplateParams

type GetPrivateTemplateParams struct {

	/*Name*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateTemplateParams contains all the parameters to send to the API endpoint for the get private template operation typically these are written to a http.Request

func NewGetPrivateTemplateParams

func NewGetPrivateTemplateParams() *GetPrivateTemplateParams

NewGetPrivateTemplateParams creates a new GetPrivateTemplateParams object with the default values initialized.

func NewGetPrivateTemplateParamsWithContext

func NewGetPrivateTemplateParamsWithContext(ctx context.Context) *GetPrivateTemplateParams

NewGetPrivateTemplateParamsWithContext creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateTemplateParamsWithHTTPClient

func NewGetPrivateTemplateParamsWithHTTPClient(client *http.Client) *GetPrivateTemplateParams

NewGetPrivateTemplateParamsWithHTTPClient creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateTemplateParamsWithTimeout

func NewGetPrivateTemplateParamsWithTimeout(timeout time.Duration) *GetPrivateTemplateParams

NewGetPrivateTemplateParamsWithTimeout creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateTemplateParams) SetContext

func (o *GetPrivateTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get private template params

func (*GetPrivateTemplateParams) SetHTTPClient

func (o *GetPrivateTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private template params

func (*GetPrivateTemplateParams) SetName

func (o *GetPrivateTemplateParams) SetName(name string)

SetName adds the name to the get private template params

func (*GetPrivateTemplateParams) SetTimeout

func (o *GetPrivateTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private template params

func (*GetPrivateTemplateParams) WithContext

WithContext adds the context to the get private template params

func (*GetPrivateTemplateParams) WithHTTPClient

func (o *GetPrivateTemplateParams) WithHTTPClient(client *http.Client) *GetPrivateTemplateParams

WithHTTPClient adds the HTTPClient to the get private template params

func (*GetPrivateTemplateParams) WithName

WithName adds the name to the get private template params

func (*GetPrivateTemplateParams) WithTimeout

WithTimeout adds the timeout to the get private template params

func (*GetPrivateTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateTemplateReader

type GetPrivateTemplateReader struct {
	// contains filtered or unexported fields
}

GetPrivateTemplateReader is a Reader for the GetPrivateTemplate structure.

func (*GetPrivateTemplateReader) ReadResponse

func (o *GetPrivateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivatesTemplateOK

type GetPrivatesTemplateOK struct {
	Payload []*models_cloudbreak.TemplateResponse
}

GetPrivatesTemplateOK handles this case with default header values.

successful operation

func NewGetPrivatesTemplateOK

func NewGetPrivatesTemplateOK() *GetPrivatesTemplateOK

NewGetPrivatesTemplateOK creates a GetPrivatesTemplateOK with default headers values

func (*GetPrivatesTemplateOK) Error

func (o *GetPrivatesTemplateOK) Error() string

type GetPrivatesTemplateParams

type GetPrivatesTemplateParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivatesTemplateParams contains all the parameters to send to the API endpoint for the get privates template operation typically these are written to a http.Request

func NewGetPrivatesTemplateParams

func NewGetPrivatesTemplateParams() *GetPrivatesTemplateParams

NewGetPrivatesTemplateParams creates a new GetPrivatesTemplateParams object with the default values initialized.

func NewGetPrivatesTemplateParamsWithContext

func NewGetPrivatesTemplateParamsWithContext(ctx context.Context) *GetPrivatesTemplateParams

NewGetPrivatesTemplateParamsWithContext creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivatesTemplateParamsWithHTTPClient

func NewGetPrivatesTemplateParamsWithHTTPClient(client *http.Client) *GetPrivatesTemplateParams

NewGetPrivatesTemplateParamsWithHTTPClient creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivatesTemplateParamsWithTimeout

func NewGetPrivatesTemplateParamsWithTimeout(timeout time.Duration) *GetPrivatesTemplateParams

NewGetPrivatesTemplateParamsWithTimeout creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivatesTemplateParams) SetContext

func (o *GetPrivatesTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get privates template params

func (*GetPrivatesTemplateParams) SetHTTPClient

func (o *GetPrivatesTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get privates template params

func (*GetPrivatesTemplateParams) SetTimeout

func (o *GetPrivatesTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get privates template params

func (*GetPrivatesTemplateParams) WithContext

WithContext adds the context to the get privates template params

func (*GetPrivatesTemplateParams) WithHTTPClient

func (o *GetPrivatesTemplateParams) WithHTTPClient(client *http.Client) *GetPrivatesTemplateParams

WithHTTPClient adds the HTTPClient to the get privates template params

func (*GetPrivatesTemplateParams) WithTimeout

WithTimeout adds the timeout to the get privates template params

func (*GetPrivatesTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivatesTemplateReader

type GetPrivatesTemplateReader struct {
	// contains filtered or unexported fields
}

GetPrivatesTemplateReader is a Reader for the GetPrivatesTemplate structure.

func (*GetPrivatesTemplateReader) ReadResponse

func (o *GetPrivatesTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicTemplateOK

type GetPublicTemplateOK struct {
	Payload *models_cloudbreak.TemplateResponse
}

GetPublicTemplateOK handles this case with default header values.

successful operation

func NewGetPublicTemplateOK

func NewGetPublicTemplateOK() *GetPublicTemplateOK

NewGetPublicTemplateOK creates a GetPublicTemplateOK with default headers values

func (*GetPublicTemplateOK) Error

func (o *GetPublicTemplateOK) Error() string

type GetPublicTemplateParams

type GetPublicTemplateParams struct {

	/*Name*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicTemplateParams contains all the parameters to send to the API endpoint for the get public template operation typically these are written to a http.Request

func NewGetPublicTemplateParams

func NewGetPublicTemplateParams() *GetPublicTemplateParams

NewGetPublicTemplateParams creates a new GetPublicTemplateParams object with the default values initialized.

func NewGetPublicTemplateParamsWithContext

func NewGetPublicTemplateParamsWithContext(ctx context.Context) *GetPublicTemplateParams

NewGetPublicTemplateParamsWithContext creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicTemplateParamsWithHTTPClient

func NewGetPublicTemplateParamsWithHTTPClient(client *http.Client) *GetPublicTemplateParams

NewGetPublicTemplateParamsWithHTTPClient creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicTemplateParamsWithTimeout

func NewGetPublicTemplateParamsWithTimeout(timeout time.Duration) *GetPublicTemplateParams

NewGetPublicTemplateParamsWithTimeout creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicTemplateParams) SetContext

func (o *GetPublicTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get public template params

func (*GetPublicTemplateParams) SetHTTPClient

func (o *GetPublicTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public template params

func (*GetPublicTemplateParams) SetName

func (o *GetPublicTemplateParams) SetName(name string)

SetName adds the name to the get public template params

func (*GetPublicTemplateParams) SetTimeout

func (o *GetPublicTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public template params

func (*GetPublicTemplateParams) WithContext

WithContext adds the context to the get public template params

func (*GetPublicTemplateParams) WithHTTPClient

func (o *GetPublicTemplateParams) WithHTTPClient(client *http.Client) *GetPublicTemplateParams

WithHTTPClient adds the HTTPClient to the get public template params

func (*GetPublicTemplateParams) WithName

WithName adds the name to the get public template params

func (*GetPublicTemplateParams) WithTimeout

WithTimeout adds the timeout to the get public template params

func (*GetPublicTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicTemplateReader

type GetPublicTemplateReader struct {
	// contains filtered or unexported fields
}

GetPublicTemplateReader is a Reader for the GetPublicTemplate structure.

func (*GetPublicTemplateReader) ReadResponse

func (o *GetPublicTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicsTemplateOK

type GetPublicsTemplateOK struct {
	Payload []*models_cloudbreak.TemplateResponse
}

GetPublicsTemplateOK handles this case with default header values.

successful operation

func NewGetPublicsTemplateOK

func NewGetPublicsTemplateOK() *GetPublicsTemplateOK

NewGetPublicsTemplateOK creates a GetPublicsTemplateOK with default headers values

func (*GetPublicsTemplateOK) Error

func (o *GetPublicsTemplateOK) Error() string

type GetPublicsTemplateParams

type GetPublicsTemplateParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicsTemplateParams contains all the parameters to send to the API endpoint for the get publics template operation typically these are written to a http.Request

func NewGetPublicsTemplateParams

func NewGetPublicsTemplateParams() *GetPublicsTemplateParams

NewGetPublicsTemplateParams creates a new GetPublicsTemplateParams object with the default values initialized.

func NewGetPublicsTemplateParamsWithContext

func NewGetPublicsTemplateParamsWithContext(ctx context.Context) *GetPublicsTemplateParams

NewGetPublicsTemplateParamsWithContext creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicsTemplateParamsWithHTTPClient

func NewGetPublicsTemplateParamsWithHTTPClient(client *http.Client) *GetPublicsTemplateParams

NewGetPublicsTemplateParamsWithHTTPClient creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicsTemplateParamsWithTimeout

func NewGetPublicsTemplateParamsWithTimeout(timeout time.Duration) *GetPublicsTemplateParams

NewGetPublicsTemplateParamsWithTimeout creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicsTemplateParams) SetContext

func (o *GetPublicsTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get publics template params

func (*GetPublicsTemplateParams) SetHTTPClient

func (o *GetPublicsTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get publics template params

func (*GetPublicsTemplateParams) SetTimeout

func (o *GetPublicsTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get publics template params

func (*GetPublicsTemplateParams) WithContext

WithContext adds the context to the get publics template params

func (*GetPublicsTemplateParams) WithHTTPClient

func (o *GetPublicsTemplateParams) WithHTTPClient(client *http.Client) *GetPublicsTemplateParams

WithHTTPClient adds the HTTPClient to the get publics template params

func (*GetPublicsTemplateParams) WithTimeout

WithTimeout adds the timeout to the get publics template params

func (*GetPublicsTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicsTemplateReader

type GetPublicsTemplateReader struct {
	// contains filtered or unexported fields
}

GetPublicsTemplateReader is a Reader for the GetPublicsTemplate structure.

func (*GetPublicsTemplateReader) ReadResponse

func (o *GetPublicsTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTemplateOK

type GetTemplateOK struct {
	Payload *models_cloudbreak.TemplateResponse
}

GetTemplateOK handles this case with default header values.

successful operation

func NewGetTemplateOK

func NewGetTemplateOK() *GetTemplateOK

NewGetTemplateOK creates a GetTemplateOK with default headers values

func (*GetTemplateOK) Error

func (o *GetTemplateOK) Error() string

type GetTemplateParams

type GetTemplateParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTemplateParams contains all the parameters to send to the API endpoint for the get template operation typically these are written to a http.Request

func NewGetTemplateParams

func NewGetTemplateParams() *GetTemplateParams

NewGetTemplateParams creates a new GetTemplateParams object with the default values initialized.

func NewGetTemplateParamsWithContext

func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams

NewGetTemplateParamsWithContext creates a new GetTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewGetTemplateParamsWithHTTPClient

func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams

NewGetTemplateParamsWithHTTPClient creates a new GetTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTemplateParamsWithTimeout

func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams

NewGetTemplateParamsWithTimeout creates a new GetTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTemplateParams) SetContext

func (o *GetTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the get template params

func (*GetTemplateParams) SetHTTPClient

func (o *GetTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get template params

func (*GetTemplateParams) SetID

func (o *GetTemplateParams) SetID(id int64)

SetID adds the id to the get template params

func (*GetTemplateParams) SetTimeout

func (o *GetTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get template params

func (*GetTemplateParams) WithContext

func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams

WithContext adds the context to the get template params

func (*GetTemplateParams) WithHTTPClient

func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams

WithHTTPClient adds the HTTPClient to the get template params

func (*GetTemplateParams) WithID

func (o *GetTemplateParams) WithID(id int64) *GetTemplateParams

WithID adds the id to the get template params

func (*GetTemplateParams) WithTimeout

func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams

WithTimeout adds the timeout to the get template params

func (*GetTemplateParams) WriteToRequest

func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTemplateReader

type GetTemplateReader struct {
	// contains filtered or unexported fields
}

GetTemplateReader is a Reader for the GetTemplate structure.

func (*GetTemplateReader) ReadResponse

func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostPrivateTemplateOK

type PostPrivateTemplateOK struct {
	Payload *models_cloudbreak.TemplateResponse
}

PostPrivateTemplateOK handles this case with default header values.

successful operation

func NewPostPrivateTemplateOK

func NewPostPrivateTemplateOK() *PostPrivateTemplateOK

NewPostPrivateTemplateOK creates a PostPrivateTemplateOK with default headers values

func (*PostPrivateTemplateOK) Error

func (o *PostPrivateTemplateOK) Error() string

type PostPrivateTemplateParams

type PostPrivateTemplateParams struct {

	/*Body*/
	Body *models_cloudbreak.TemplateRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostPrivateTemplateParams contains all the parameters to send to the API endpoint for the post private template operation typically these are written to a http.Request

func NewPostPrivateTemplateParams

func NewPostPrivateTemplateParams() *PostPrivateTemplateParams

NewPostPrivateTemplateParams creates a new PostPrivateTemplateParams object with the default values initialized.

func NewPostPrivateTemplateParamsWithContext

func NewPostPrivateTemplateParamsWithContext(ctx context.Context) *PostPrivateTemplateParams

NewPostPrivateTemplateParamsWithContext creates a new PostPrivateTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewPostPrivateTemplateParamsWithHTTPClient

func NewPostPrivateTemplateParamsWithHTTPClient(client *http.Client) *PostPrivateTemplateParams

NewPostPrivateTemplateParamsWithHTTPClient creates a new PostPrivateTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostPrivateTemplateParamsWithTimeout

func NewPostPrivateTemplateParamsWithTimeout(timeout time.Duration) *PostPrivateTemplateParams

NewPostPrivateTemplateParamsWithTimeout creates a new PostPrivateTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostPrivateTemplateParams) SetBody

SetBody adds the body to the post private template params

func (*PostPrivateTemplateParams) SetContext

func (o *PostPrivateTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the post private template params

func (*PostPrivateTemplateParams) SetHTTPClient

func (o *PostPrivateTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post private template params

func (*PostPrivateTemplateParams) SetTimeout

func (o *PostPrivateTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post private template params

func (*PostPrivateTemplateParams) WithBody

WithBody adds the body to the post private template params

func (*PostPrivateTemplateParams) WithContext

WithContext adds the context to the post private template params

func (*PostPrivateTemplateParams) WithHTTPClient

func (o *PostPrivateTemplateParams) WithHTTPClient(client *http.Client) *PostPrivateTemplateParams

WithHTTPClient adds the HTTPClient to the post private template params

func (*PostPrivateTemplateParams) WithTimeout

WithTimeout adds the timeout to the post private template params

func (*PostPrivateTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateTemplateReader

type PostPrivateTemplateReader struct {
	// contains filtered or unexported fields
}

PostPrivateTemplateReader is a Reader for the PostPrivateTemplate structure.

func (*PostPrivateTemplateReader) ReadResponse

func (o *PostPrivateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostPublicTemplateOK

type PostPublicTemplateOK struct {
	Payload *models_cloudbreak.TemplateResponse
}

PostPublicTemplateOK handles this case with default header values.

successful operation

func NewPostPublicTemplateOK

func NewPostPublicTemplateOK() *PostPublicTemplateOK

NewPostPublicTemplateOK creates a PostPublicTemplateOK with default headers values

func (*PostPublicTemplateOK) Error

func (o *PostPublicTemplateOK) Error() string

type PostPublicTemplateParams

type PostPublicTemplateParams struct {

	/*Body*/
	Body *models_cloudbreak.TemplateRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostPublicTemplateParams contains all the parameters to send to the API endpoint for the post public template operation typically these are written to a http.Request

func NewPostPublicTemplateParams

func NewPostPublicTemplateParams() *PostPublicTemplateParams

NewPostPublicTemplateParams creates a new PostPublicTemplateParams object with the default values initialized.

func NewPostPublicTemplateParamsWithContext

func NewPostPublicTemplateParamsWithContext(ctx context.Context) *PostPublicTemplateParams

NewPostPublicTemplateParamsWithContext creates a new PostPublicTemplateParams object with the default values initialized, and the ability to set a context for a request

func NewPostPublicTemplateParamsWithHTTPClient

func NewPostPublicTemplateParamsWithHTTPClient(client *http.Client) *PostPublicTemplateParams

NewPostPublicTemplateParamsWithHTTPClient creates a new PostPublicTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostPublicTemplateParamsWithTimeout

func NewPostPublicTemplateParamsWithTimeout(timeout time.Duration) *PostPublicTemplateParams

NewPostPublicTemplateParamsWithTimeout creates a new PostPublicTemplateParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostPublicTemplateParams) SetBody

SetBody adds the body to the post public template params

func (*PostPublicTemplateParams) SetContext

func (o *PostPublicTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the post public template params

func (*PostPublicTemplateParams) SetHTTPClient

func (o *PostPublicTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post public template params

func (*PostPublicTemplateParams) SetTimeout

func (o *PostPublicTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post public template params

func (*PostPublicTemplateParams) WithBody

WithBody adds the body to the post public template params

func (*PostPublicTemplateParams) WithContext

WithContext adds the context to the post public template params

func (*PostPublicTemplateParams) WithHTTPClient

func (o *PostPublicTemplateParams) WithHTTPClient(client *http.Client) *PostPublicTemplateParams

WithHTTPClient adds the HTTPClient to the post public template params

func (*PostPublicTemplateParams) WithTimeout

WithTimeout adds the timeout to the post public template params

func (*PostPublicTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicTemplateReader

type PostPublicTemplateReader struct {
	// contains filtered or unexported fields
}

PostPublicTemplateReader is a Reader for the PostPublicTemplate structure.

func (*PostPublicTemplateReader) ReadResponse

func (o *PostPublicTemplateReader) 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