v1recipes

package
v2.9.0-dev.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 2

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 v1recipes API

func New

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

New creates a new v1recipes API client.

func (*Client) DeletePrivateRecipe

func (a *Client) DeletePrivateRecipe(params *DeletePrivateRecipeParams) error

DeletePrivateRecipe deletes private recipe by name

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) DeletePublicRecipe

func (a *Client) DeletePublicRecipe(params *DeletePublicRecipeParams) error

DeletePublicRecipe deletes public owned or private recipe by name

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) DeleteRecipe

func (a *Client) DeleteRecipe(params *DeleteRecipeParams) error

DeleteRecipe deletes recipe by id

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetPrivateRecipe

func (a *Client) GetPrivateRecipe(params *GetPrivateRecipeParams) (*GetPrivateRecipeOK, error)

GetPrivateRecipe retrieves a private recipe by name

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetPrivatesRecipe

func (a *Client) GetPrivatesRecipe(params *GetPrivatesRecipeParams) (*GetPrivatesRecipeOK, error)

GetPrivatesRecipe retrieves private recipes

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetPublicRecipe

func (a *Client) GetPublicRecipe(params *GetPublicRecipeParams) (*GetPublicRecipeOK, error)

GetPublicRecipe retrieves a public or private owned recipe by name

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetPublicsRecipe

func (a *Client) GetPublicsRecipe(params *GetPublicsRecipeParams) (*GetPublicsRecipeOK, error)

GetPublicsRecipe retrieves public and private owned recipes

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetRecipe

func (a *Client) GetRecipe(params *GetRecipeParams) (*GetRecipeOK, error)

GetRecipe retrieves recipe by id

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) GetRecipeRequestFromName

func (a *Client) GetRecipeRequestFromName(params *GetRecipeRequestFromNameParams) (*GetRecipeRequestFromNameOK, error)

GetRecipeRequestFromName retrieves recipe request by recipe name

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) PostPrivateRecipe

func (a *Client) PostPrivateRecipe(params *PostPrivateRecipeParams) (*PostPrivateRecipeOK, error)

PostPrivateRecipe creates recipe as private resource

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) PostPublicRecipe

func (a *Client) PostPublicRecipe(params *PostPublicRecipeParams) (*PostPublicRecipeOK, error)

PostPublicRecipe creates recipe as public resource

Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeletePrivateRecipeDefault

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

DeletePrivateRecipeDefault handles this case with default header values.

successful operation

func NewDeletePrivateRecipeDefault

func NewDeletePrivateRecipeDefault(code int) *DeletePrivateRecipeDefault

NewDeletePrivateRecipeDefault creates a DeletePrivateRecipeDefault with default headers values

func (*DeletePrivateRecipeDefault) Code

func (o *DeletePrivateRecipeDefault) Code() int

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

func (*DeletePrivateRecipeDefault) Error

type DeletePrivateRecipeParams

type DeletePrivateRecipeParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePrivateRecipeParams

func NewDeletePrivateRecipeParams() *DeletePrivateRecipeParams

NewDeletePrivateRecipeParams creates a new DeletePrivateRecipeParams object with the default values initialized.

func NewDeletePrivateRecipeParamsWithContext

func NewDeletePrivateRecipeParamsWithContext(ctx context.Context) *DeletePrivateRecipeParams

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

func NewDeletePrivateRecipeParamsWithHTTPClient

func NewDeletePrivateRecipeParamsWithHTTPClient(client *http.Client) *DeletePrivateRecipeParams

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

func NewDeletePrivateRecipeParamsWithTimeout

func NewDeletePrivateRecipeParamsWithTimeout(timeout time.Duration) *DeletePrivateRecipeParams

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

func (*DeletePrivateRecipeParams) SetContext

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

SetContext adds the context to the delete private recipe params

func (*DeletePrivateRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private recipe params

func (*DeletePrivateRecipeParams) SetName

func (o *DeletePrivateRecipeParams) SetName(name string)

SetName adds the name to the delete private recipe params

func (*DeletePrivateRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the delete private recipe params

func (*DeletePrivateRecipeParams) WithContext

WithContext adds the context to the delete private recipe params

func (*DeletePrivateRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete private recipe params

func (*DeletePrivateRecipeParams) WithName

WithName adds the name to the delete private recipe params

func (*DeletePrivateRecipeParams) WithTimeout

WithTimeout adds the timeout to the delete private recipe params

func (*DeletePrivateRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateRecipeReader

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

DeletePrivateRecipeReader is a Reader for the DeletePrivateRecipe structure.

func (*DeletePrivateRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicRecipeDefault

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

DeletePublicRecipeDefault handles this case with default header values.

successful operation

func NewDeletePublicRecipeDefault

func NewDeletePublicRecipeDefault(code int) *DeletePublicRecipeDefault

NewDeletePublicRecipeDefault creates a DeletePublicRecipeDefault with default headers values

func (*DeletePublicRecipeDefault) Code

func (o *DeletePublicRecipeDefault) Code() int

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

func (*DeletePublicRecipeDefault) Error

func (o *DeletePublicRecipeDefault) Error() string

type DeletePublicRecipeParams

type DeletePublicRecipeParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePublicRecipeParams

func NewDeletePublicRecipeParams() *DeletePublicRecipeParams

NewDeletePublicRecipeParams creates a new DeletePublicRecipeParams object with the default values initialized.

func NewDeletePublicRecipeParamsWithContext

func NewDeletePublicRecipeParamsWithContext(ctx context.Context) *DeletePublicRecipeParams

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

func NewDeletePublicRecipeParamsWithHTTPClient

func NewDeletePublicRecipeParamsWithHTTPClient(client *http.Client) *DeletePublicRecipeParams

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

func NewDeletePublicRecipeParamsWithTimeout

func NewDeletePublicRecipeParamsWithTimeout(timeout time.Duration) *DeletePublicRecipeParams

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

func (*DeletePublicRecipeParams) SetContext

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

SetContext adds the context to the delete public recipe params

func (*DeletePublicRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public recipe params

func (*DeletePublicRecipeParams) SetName

func (o *DeletePublicRecipeParams) SetName(name string)

SetName adds the name to the delete public recipe params

func (*DeletePublicRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the delete public recipe params

func (*DeletePublicRecipeParams) WithContext

WithContext adds the context to the delete public recipe params

func (*DeletePublicRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete public recipe params

func (*DeletePublicRecipeParams) WithName

WithName adds the name to the delete public recipe params

func (*DeletePublicRecipeParams) WithTimeout

WithTimeout adds the timeout to the delete public recipe params

func (*DeletePublicRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicRecipeReader

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

DeletePublicRecipeReader is a Reader for the DeletePublicRecipe structure.

func (*DeletePublicRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRecipeDefault

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

DeleteRecipeDefault handles this case with default header values.

successful operation

func NewDeleteRecipeDefault

func NewDeleteRecipeDefault(code int) *DeleteRecipeDefault

NewDeleteRecipeDefault creates a DeleteRecipeDefault with default headers values

func (*DeleteRecipeDefault) Code

func (o *DeleteRecipeDefault) Code() int

Code gets the status code for the delete recipe default response

func (*DeleteRecipeDefault) Error

func (o *DeleteRecipeDefault) Error() string

type DeleteRecipeParams

type DeleteRecipeParams struct {

	/*ID*/
	ID int64

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

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

func NewDeleteRecipeParams

func NewDeleteRecipeParams() *DeleteRecipeParams

NewDeleteRecipeParams creates a new DeleteRecipeParams object with the default values initialized.

func NewDeleteRecipeParamsWithContext

func NewDeleteRecipeParamsWithContext(ctx context.Context) *DeleteRecipeParams

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

func NewDeleteRecipeParamsWithHTTPClient

func NewDeleteRecipeParamsWithHTTPClient(client *http.Client) *DeleteRecipeParams

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

func NewDeleteRecipeParamsWithTimeout

func NewDeleteRecipeParamsWithTimeout(timeout time.Duration) *DeleteRecipeParams

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

func (*DeleteRecipeParams) SetContext

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

SetContext adds the context to the delete recipe params

func (*DeleteRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recipe params

func (*DeleteRecipeParams) SetID

func (o *DeleteRecipeParams) SetID(id int64)

SetID adds the id to the delete recipe params

func (*DeleteRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the delete recipe params

func (*DeleteRecipeParams) WithContext

WithContext adds the context to the delete recipe params

func (*DeleteRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete recipe params

func (*DeleteRecipeParams) WithID

WithID adds the id to the delete recipe params

func (*DeleteRecipeParams) WithTimeout

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

WithTimeout adds the timeout to the delete recipe params

func (*DeleteRecipeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRecipeReader

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

DeleteRecipeReader is a Reader for the DeleteRecipe structure.

func (*DeleteRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateRecipeOK

type GetPrivateRecipeOK struct {
	Payload *models_cloudbreak.RecipeResponse
}

GetPrivateRecipeOK handles this case with default header values.

successful operation

func NewGetPrivateRecipeOK

func NewGetPrivateRecipeOK() *GetPrivateRecipeOK

NewGetPrivateRecipeOK creates a GetPrivateRecipeOK with default headers values

func (*GetPrivateRecipeOK) Error

func (o *GetPrivateRecipeOK) Error() string

type GetPrivateRecipeParams

type GetPrivateRecipeParams struct {

	/*Name*/
	Name string

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

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

func NewGetPrivateRecipeParams

func NewGetPrivateRecipeParams() *GetPrivateRecipeParams

NewGetPrivateRecipeParams creates a new GetPrivateRecipeParams object with the default values initialized.

func NewGetPrivateRecipeParamsWithContext

func NewGetPrivateRecipeParamsWithContext(ctx context.Context) *GetPrivateRecipeParams

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

func NewGetPrivateRecipeParamsWithHTTPClient

func NewGetPrivateRecipeParamsWithHTTPClient(client *http.Client) *GetPrivateRecipeParams

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

func NewGetPrivateRecipeParamsWithTimeout

func NewGetPrivateRecipeParamsWithTimeout(timeout time.Duration) *GetPrivateRecipeParams

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

func (*GetPrivateRecipeParams) SetContext

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

SetContext adds the context to the get private recipe params

func (*GetPrivateRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private recipe params

func (*GetPrivateRecipeParams) SetName

func (o *GetPrivateRecipeParams) SetName(name string)

SetName adds the name to the get private recipe params

func (*GetPrivateRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the get private recipe params

func (*GetPrivateRecipeParams) WithContext

WithContext adds the context to the get private recipe params

func (*GetPrivateRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get private recipe params

func (*GetPrivateRecipeParams) WithName

WithName adds the name to the get private recipe params

func (*GetPrivateRecipeParams) WithTimeout

WithTimeout adds the timeout to the get private recipe params

func (*GetPrivateRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateRecipeReader

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

GetPrivateRecipeReader is a Reader for the GetPrivateRecipe structure.

func (*GetPrivateRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivatesRecipeOK

type GetPrivatesRecipeOK struct {
	Payload []*models_cloudbreak.RecipeResponse
}

GetPrivatesRecipeOK handles this case with default header values.

successful operation

func NewGetPrivatesRecipeOK

func NewGetPrivatesRecipeOK() *GetPrivatesRecipeOK

NewGetPrivatesRecipeOK creates a GetPrivatesRecipeOK with default headers values

func (*GetPrivatesRecipeOK) Error

func (o *GetPrivatesRecipeOK) Error() string

type GetPrivatesRecipeParams

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

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

func NewGetPrivatesRecipeParams

func NewGetPrivatesRecipeParams() *GetPrivatesRecipeParams

NewGetPrivatesRecipeParams creates a new GetPrivatesRecipeParams object with the default values initialized.

func NewGetPrivatesRecipeParamsWithContext

func NewGetPrivatesRecipeParamsWithContext(ctx context.Context) *GetPrivatesRecipeParams

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

func NewGetPrivatesRecipeParamsWithHTTPClient

func NewGetPrivatesRecipeParamsWithHTTPClient(client *http.Client) *GetPrivatesRecipeParams

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

func NewGetPrivatesRecipeParamsWithTimeout

func NewGetPrivatesRecipeParamsWithTimeout(timeout time.Duration) *GetPrivatesRecipeParams

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

func (*GetPrivatesRecipeParams) SetContext

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

SetContext adds the context to the get privates recipe params

func (*GetPrivatesRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get privates recipe params

func (*GetPrivatesRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the get privates recipe params

func (*GetPrivatesRecipeParams) WithContext

WithContext adds the context to the get privates recipe params

func (*GetPrivatesRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get privates recipe params

func (*GetPrivatesRecipeParams) WithTimeout

WithTimeout adds the timeout to the get privates recipe params

func (*GetPrivatesRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivatesRecipeReader

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

GetPrivatesRecipeReader is a Reader for the GetPrivatesRecipe structure.

func (*GetPrivatesRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicRecipeOK

type GetPublicRecipeOK struct {
	Payload *models_cloudbreak.RecipeResponse
}

GetPublicRecipeOK handles this case with default header values.

successful operation

func NewGetPublicRecipeOK

func NewGetPublicRecipeOK() *GetPublicRecipeOK

NewGetPublicRecipeOK creates a GetPublicRecipeOK with default headers values

func (*GetPublicRecipeOK) Error

func (o *GetPublicRecipeOK) Error() string

type GetPublicRecipeParams

type GetPublicRecipeParams struct {

	/*Name*/
	Name string

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

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

func NewGetPublicRecipeParams

func NewGetPublicRecipeParams() *GetPublicRecipeParams

NewGetPublicRecipeParams creates a new GetPublicRecipeParams object with the default values initialized.

func NewGetPublicRecipeParamsWithContext

func NewGetPublicRecipeParamsWithContext(ctx context.Context) *GetPublicRecipeParams

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

func NewGetPublicRecipeParamsWithHTTPClient

func NewGetPublicRecipeParamsWithHTTPClient(client *http.Client) *GetPublicRecipeParams

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

func NewGetPublicRecipeParamsWithTimeout

func NewGetPublicRecipeParamsWithTimeout(timeout time.Duration) *GetPublicRecipeParams

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

func (*GetPublicRecipeParams) SetContext

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

SetContext adds the context to the get public recipe params

func (*GetPublicRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public recipe params

func (*GetPublicRecipeParams) SetName

func (o *GetPublicRecipeParams) SetName(name string)

SetName adds the name to the get public recipe params

func (*GetPublicRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the get public recipe params

func (*GetPublicRecipeParams) WithContext

WithContext adds the context to the get public recipe params

func (*GetPublicRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get public recipe params

func (*GetPublicRecipeParams) WithName

WithName adds the name to the get public recipe params

func (*GetPublicRecipeParams) WithTimeout

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

WithTimeout adds the timeout to the get public recipe params

func (*GetPublicRecipeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPublicRecipeReader

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

GetPublicRecipeReader is a Reader for the GetPublicRecipe structure.

func (*GetPublicRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicsRecipeOK

type GetPublicsRecipeOK struct {
	Payload []*models_cloudbreak.RecipeResponse
}

GetPublicsRecipeOK handles this case with default header values.

successful operation

func NewGetPublicsRecipeOK

func NewGetPublicsRecipeOK() *GetPublicsRecipeOK

NewGetPublicsRecipeOK creates a GetPublicsRecipeOK with default headers values

func (*GetPublicsRecipeOK) Error

func (o *GetPublicsRecipeOK) Error() string

type GetPublicsRecipeParams

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

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

func NewGetPublicsRecipeParams

func NewGetPublicsRecipeParams() *GetPublicsRecipeParams

NewGetPublicsRecipeParams creates a new GetPublicsRecipeParams object with the default values initialized.

func NewGetPublicsRecipeParamsWithContext

func NewGetPublicsRecipeParamsWithContext(ctx context.Context) *GetPublicsRecipeParams

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

func NewGetPublicsRecipeParamsWithHTTPClient

func NewGetPublicsRecipeParamsWithHTTPClient(client *http.Client) *GetPublicsRecipeParams

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

func NewGetPublicsRecipeParamsWithTimeout

func NewGetPublicsRecipeParamsWithTimeout(timeout time.Duration) *GetPublicsRecipeParams

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

func (*GetPublicsRecipeParams) SetContext

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

SetContext adds the context to the get publics recipe params

func (*GetPublicsRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get publics recipe params

func (*GetPublicsRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the get publics recipe params

func (*GetPublicsRecipeParams) WithContext

WithContext adds the context to the get publics recipe params

func (*GetPublicsRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get publics recipe params

func (*GetPublicsRecipeParams) WithTimeout

WithTimeout adds the timeout to the get publics recipe params

func (*GetPublicsRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicsRecipeReader

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

GetPublicsRecipeReader is a Reader for the GetPublicsRecipe structure.

func (*GetPublicsRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecipeOK

type GetRecipeOK struct {
	Payload *models_cloudbreak.RecipeResponse
}

GetRecipeOK handles this case with default header values.

successful operation

func NewGetRecipeOK

func NewGetRecipeOK() *GetRecipeOK

NewGetRecipeOK creates a GetRecipeOK with default headers values

func (*GetRecipeOK) Error

func (o *GetRecipeOK) Error() string

type GetRecipeParams

type GetRecipeParams struct {

	/*ID*/
	ID int64

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

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

func NewGetRecipeParams

func NewGetRecipeParams() *GetRecipeParams

NewGetRecipeParams creates a new GetRecipeParams object with the default values initialized.

func NewGetRecipeParamsWithContext

func NewGetRecipeParamsWithContext(ctx context.Context) *GetRecipeParams

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

func NewGetRecipeParamsWithHTTPClient

func NewGetRecipeParamsWithHTTPClient(client *http.Client) *GetRecipeParams

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

func NewGetRecipeParamsWithTimeout

func NewGetRecipeParamsWithTimeout(timeout time.Duration) *GetRecipeParams

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

func (*GetRecipeParams) SetContext

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

SetContext adds the context to the get recipe params

func (*GetRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recipe params

func (*GetRecipeParams) SetID

func (o *GetRecipeParams) SetID(id int64)

SetID adds the id to the get recipe params

func (*GetRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the get recipe params

func (*GetRecipeParams) WithContext

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

WithContext adds the context to the get recipe params

func (*GetRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recipe params

func (*GetRecipeParams) WithID

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

WithID adds the id to the get recipe params

func (*GetRecipeParams) WithTimeout

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

WithTimeout adds the timeout to the get recipe params

func (*GetRecipeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRecipeReader

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

GetRecipeReader is a Reader for the GetRecipe structure.

func (*GetRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecipeRequestFromNameOK

type GetRecipeRequestFromNameOK struct {
	Payload *models_cloudbreak.RecipeRequest
}

GetRecipeRequestFromNameOK handles this case with default header values.

successful operation

func NewGetRecipeRequestFromNameOK

func NewGetRecipeRequestFromNameOK() *GetRecipeRequestFromNameOK

NewGetRecipeRequestFromNameOK creates a GetRecipeRequestFromNameOK with default headers values

func (*GetRecipeRequestFromNameOK) Error

type GetRecipeRequestFromNameParams

type GetRecipeRequestFromNameParams struct {

	/*Name*/
	Name string

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

GetRecipeRequestFromNameParams contains all the parameters to send to the API endpoint for the get recipe request from name operation typically these are written to a http.Request

func NewGetRecipeRequestFromNameParams

func NewGetRecipeRequestFromNameParams() *GetRecipeRequestFromNameParams

NewGetRecipeRequestFromNameParams creates a new GetRecipeRequestFromNameParams object with the default values initialized.

func NewGetRecipeRequestFromNameParamsWithContext

func NewGetRecipeRequestFromNameParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameParams

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

func NewGetRecipeRequestFromNameParamsWithHTTPClient

func NewGetRecipeRequestFromNameParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameParams

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

func NewGetRecipeRequestFromNameParamsWithTimeout

func NewGetRecipeRequestFromNameParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameParams

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

func (*GetRecipeRequestFromNameParams) SetContext

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

SetContext adds the context to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) SetName

func (o *GetRecipeRequestFromNameParams) SetName(name string)

SetName adds the name to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) SetTimeout

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

SetTimeout adds the timeout to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) WithContext

WithContext adds the context to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) WithName

WithName adds the name to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) WithTimeout

WithTimeout adds the timeout to the get recipe request from name params

func (*GetRecipeRequestFromNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecipeRequestFromNameReader

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

GetRecipeRequestFromNameReader is a Reader for the GetRecipeRequestFromName structure.

func (*GetRecipeRequestFromNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPrivateRecipeOK

type PostPrivateRecipeOK struct {
	Payload *models_cloudbreak.RecipeResponse
}

PostPrivateRecipeOK handles this case with default header values.

successful operation

func NewPostPrivateRecipeOK

func NewPostPrivateRecipeOK() *PostPrivateRecipeOK

NewPostPrivateRecipeOK creates a PostPrivateRecipeOK with default headers values

func (*PostPrivateRecipeOK) Error

func (o *PostPrivateRecipeOK) Error() string

type PostPrivateRecipeParams

type PostPrivateRecipeParams struct {

	/*Body*/
	Body *models_cloudbreak.RecipeRequest

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

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

func NewPostPrivateRecipeParams

func NewPostPrivateRecipeParams() *PostPrivateRecipeParams

NewPostPrivateRecipeParams creates a new PostPrivateRecipeParams object with the default values initialized.

func NewPostPrivateRecipeParamsWithContext

func NewPostPrivateRecipeParamsWithContext(ctx context.Context) *PostPrivateRecipeParams

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

func NewPostPrivateRecipeParamsWithHTTPClient

func NewPostPrivateRecipeParamsWithHTTPClient(client *http.Client) *PostPrivateRecipeParams

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

func NewPostPrivateRecipeParamsWithTimeout

func NewPostPrivateRecipeParamsWithTimeout(timeout time.Duration) *PostPrivateRecipeParams

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

func (*PostPrivateRecipeParams) SetBody

SetBody adds the body to the post private recipe params

func (*PostPrivateRecipeParams) SetContext

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

SetContext adds the context to the post private recipe params

func (*PostPrivateRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private recipe params

func (*PostPrivateRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the post private recipe params

func (*PostPrivateRecipeParams) WithBody

WithBody adds the body to the post private recipe params

func (*PostPrivateRecipeParams) WithContext

WithContext adds the context to the post private recipe params

func (*PostPrivateRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post private recipe params

func (*PostPrivateRecipeParams) WithTimeout

WithTimeout adds the timeout to the post private recipe params

func (*PostPrivateRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateRecipeReader

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

PostPrivateRecipeReader is a Reader for the PostPrivateRecipe structure.

func (*PostPrivateRecipeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicRecipeOK

type PostPublicRecipeOK struct {
	Payload *models_cloudbreak.RecipeResponse
}

PostPublicRecipeOK handles this case with default header values.

successful operation

func NewPostPublicRecipeOK

func NewPostPublicRecipeOK() *PostPublicRecipeOK

NewPostPublicRecipeOK creates a PostPublicRecipeOK with default headers values

func (*PostPublicRecipeOK) Error

func (o *PostPublicRecipeOK) Error() string

type PostPublicRecipeParams

type PostPublicRecipeParams struct {

	/*Body*/
	Body *models_cloudbreak.RecipeRequest

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

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

func NewPostPublicRecipeParams

func NewPostPublicRecipeParams() *PostPublicRecipeParams

NewPostPublicRecipeParams creates a new PostPublicRecipeParams object with the default values initialized.

func NewPostPublicRecipeParamsWithContext

func NewPostPublicRecipeParamsWithContext(ctx context.Context) *PostPublicRecipeParams

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

func NewPostPublicRecipeParamsWithHTTPClient

func NewPostPublicRecipeParamsWithHTTPClient(client *http.Client) *PostPublicRecipeParams

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

func NewPostPublicRecipeParamsWithTimeout

func NewPostPublicRecipeParamsWithTimeout(timeout time.Duration) *PostPublicRecipeParams

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

func (*PostPublicRecipeParams) SetBody

SetBody adds the body to the post public recipe params

func (*PostPublicRecipeParams) SetContext

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

SetContext adds the context to the post public recipe params

func (*PostPublicRecipeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public recipe params

func (*PostPublicRecipeParams) SetTimeout

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

SetTimeout adds the timeout to the post public recipe params

func (*PostPublicRecipeParams) WithBody

WithBody adds the body to the post public recipe params

func (*PostPublicRecipeParams) WithContext

WithContext adds the context to the post public recipe params

func (*PostPublicRecipeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post public recipe params

func (*PostPublicRecipeParams) WithTimeout

WithTimeout adds the timeout to the post public recipe params

func (*PostPublicRecipeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicRecipeReader

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

PostPublicRecipeReader is a Reader for the PostPublicRecipe structure.

func (*PostPublicRecipeReader) ReadResponse

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