Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePrivateRecipe(params *DeletePrivateRecipeParams) error
- func (a *Client) DeletePublicRecipe(params *DeletePublicRecipeParams) error
- func (a *Client) DeleteRecipe(params *DeleteRecipeParams) error
- func (a *Client) GetPrivateRecipe(params *GetPrivateRecipeParams) (*GetPrivateRecipeOK, error)
- func (a *Client) GetPrivatesRecipe(params *GetPrivatesRecipeParams) (*GetPrivatesRecipeOK, error)
- func (a *Client) GetPublicRecipe(params *GetPublicRecipeParams) (*GetPublicRecipeOK, error)
- func (a *Client) GetPublicsRecipe(params *GetPublicsRecipeParams) (*GetPublicsRecipeOK, error)
- func (a *Client) GetRecipe(params *GetRecipeParams) (*GetRecipeOK, error)
- func (a *Client) GetRecipeRequestFromName(params *GetRecipeRequestFromNameParams) (*GetRecipeRequestFromNameOK, error)
- func (a *Client) PostPrivateRecipe(params *PostPrivateRecipeParams) (*PostPrivateRecipeOK, error)
- func (a *Client) PostPublicRecipe(params *PostPublicRecipeParams) (*PostPublicRecipeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeletePrivateRecipeDefault
- type DeletePrivateRecipeParams
- func NewDeletePrivateRecipeParams() *DeletePrivateRecipeParams
- func NewDeletePrivateRecipeParamsWithContext(ctx context.Context) *DeletePrivateRecipeParams
- func NewDeletePrivateRecipeParamsWithHTTPClient(client *http.Client) *DeletePrivateRecipeParams
- func NewDeletePrivateRecipeParamsWithTimeout(timeout time.Duration) *DeletePrivateRecipeParams
- func (o *DeletePrivateRecipeParams) SetContext(ctx context.Context)
- func (o *DeletePrivateRecipeParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateRecipeParams) SetName(name string)
- func (o *DeletePrivateRecipeParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateRecipeParams) WithContext(ctx context.Context) *DeletePrivateRecipeParams
- func (o *DeletePrivateRecipeParams) WithHTTPClient(client *http.Client) *DeletePrivateRecipeParams
- func (o *DeletePrivateRecipeParams) WithName(name string) *DeletePrivateRecipeParams
- func (o *DeletePrivateRecipeParams) WithTimeout(timeout time.Duration) *DeletePrivateRecipeParams
- func (o *DeletePrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateRecipeReader
- type DeletePublicRecipeDefault
- type DeletePublicRecipeParams
- func NewDeletePublicRecipeParams() *DeletePublicRecipeParams
- func NewDeletePublicRecipeParamsWithContext(ctx context.Context) *DeletePublicRecipeParams
- func NewDeletePublicRecipeParamsWithHTTPClient(client *http.Client) *DeletePublicRecipeParams
- func NewDeletePublicRecipeParamsWithTimeout(timeout time.Duration) *DeletePublicRecipeParams
- func (o *DeletePublicRecipeParams) SetContext(ctx context.Context)
- func (o *DeletePublicRecipeParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicRecipeParams) SetName(name string)
- func (o *DeletePublicRecipeParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicRecipeParams) WithContext(ctx context.Context) *DeletePublicRecipeParams
- func (o *DeletePublicRecipeParams) WithHTTPClient(client *http.Client) *DeletePublicRecipeParams
- func (o *DeletePublicRecipeParams) WithName(name string) *DeletePublicRecipeParams
- func (o *DeletePublicRecipeParams) WithTimeout(timeout time.Duration) *DeletePublicRecipeParams
- func (o *DeletePublicRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicRecipeReader
- type DeleteRecipeDefault
- type DeleteRecipeParams
- func (o *DeleteRecipeParams) SetContext(ctx context.Context)
- func (o *DeleteRecipeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecipeParams) SetID(id int64)
- func (o *DeleteRecipeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecipeParams) WithContext(ctx context.Context) *DeleteRecipeParams
- func (o *DeleteRecipeParams) WithHTTPClient(client *http.Client) *DeleteRecipeParams
- func (o *DeleteRecipeParams) WithID(id int64) *DeleteRecipeParams
- func (o *DeleteRecipeParams) WithTimeout(timeout time.Duration) *DeleteRecipeParams
- func (o *DeleteRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecipeReader
- type GetPrivateRecipeOK
- type GetPrivateRecipeParams
- func NewGetPrivateRecipeParams() *GetPrivateRecipeParams
- func NewGetPrivateRecipeParamsWithContext(ctx context.Context) *GetPrivateRecipeParams
- func NewGetPrivateRecipeParamsWithHTTPClient(client *http.Client) *GetPrivateRecipeParams
- func NewGetPrivateRecipeParamsWithTimeout(timeout time.Duration) *GetPrivateRecipeParams
- func (o *GetPrivateRecipeParams) SetContext(ctx context.Context)
- func (o *GetPrivateRecipeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateRecipeParams) SetName(name string)
- func (o *GetPrivateRecipeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateRecipeParams) WithContext(ctx context.Context) *GetPrivateRecipeParams
- func (o *GetPrivateRecipeParams) WithHTTPClient(client *http.Client) *GetPrivateRecipeParams
- func (o *GetPrivateRecipeParams) WithName(name string) *GetPrivateRecipeParams
- func (o *GetPrivateRecipeParams) WithTimeout(timeout time.Duration) *GetPrivateRecipeParams
- func (o *GetPrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateRecipeReader
- type GetPrivatesRecipeOK
- type GetPrivatesRecipeParams
- func NewGetPrivatesRecipeParams() *GetPrivatesRecipeParams
- func NewGetPrivatesRecipeParamsWithContext(ctx context.Context) *GetPrivatesRecipeParams
- func NewGetPrivatesRecipeParamsWithHTTPClient(client *http.Client) *GetPrivatesRecipeParams
- func NewGetPrivatesRecipeParamsWithTimeout(timeout time.Duration) *GetPrivatesRecipeParams
- func (o *GetPrivatesRecipeParams) SetContext(ctx context.Context)
- func (o *GetPrivatesRecipeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesRecipeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesRecipeParams) WithContext(ctx context.Context) *GetPrivatesRecipeParams
- func (o *GetPrivatesRecipeParams) WithHTTPClient(client *http.Client) *GetPrivatesRecipeParams
- func (o *GetPrivatesRecipeParams) WithTimeout(timeout time.Duration) *GetPrivatesRecipeParams
- func (o *GetPrivatesRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesRecipeReader
- type GetPublicRecipeOK
- type GetPublicRecipeParams
- func NewGetPublicRecipeParams() *GetPublicRecipeParams
- func NewGetPublicRecipeParamsWithContext(ctx context.Context) *GetPublicRecipeParams
- func NewGetPublicRecipeParamsWithHTTPClient(client *http.Client) *GetPublicRecipeParams
- func NewGetPublicRecipeParamsWithTimeout(timeout time.Duration) *GetPublicRecipeParams
- func (o *GetPublicRecipeParams) SetContext(ctx context.Context)
- func (o *GetPublicRecipeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicRecipeParams) SetName(name string)
- func (o *GetPublicRecipeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicRecipeParams) WithContext(ctx context.Context) *GetPublicRecipeParams
- func (o *GetPublicRecipeParams) WithHTTPClient(client *http.Client) *GetPublicRecipeParams
- func (o *GetPublicRecipeParams) WithName(name string) *GetPublicRecipeParams
- func (o *GetPublicRecipeParams) WithTimeout(timeout time.Duration) *GetPublicRecipeParams
- func (o *GetPublicRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicRecipeReader
- type GetPublicsRecipeOK
- type GetPublicsRecipeParams
- func NewGetPublicsRecipeParams() *GetPublicsRecipeParams
- func NewGetPublicsRecipeParamsWithContext(ctx context.Context) *GetPublicsRecipeParams
- func NewGetPublicsRecipeParamsWithHTTPClient(client *http.Client) *GetPublicsRecipeParams
- func NewGetPublicsRecipeParamsWithTimeout(timeout time.Duration) *GetPublicsRecipeParams
- func (o *GetPublicsRecipeParams) SetContext(ctx context.Context)
- func (o *GetPublicsRecipeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsRecipeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsRecipeParams) WithContext(ctx context.Context) *GetPublicsRecipeParams
- func (o *GetPublicsRecipeParams) WithHTTPClient(client *http.Client) *GetPublicsRecipeParams
- func (o *GetPublicsRecipeParams) WithTimeout(timeout time.Duration) *GetPublicsRecipeParams
- func (o *GetPublicsRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsRecipeReader
- type GetRecipeOK
- type GetRecipeParams
- func (o *GetRecipeParams) SetContext(ctx context.Context)
- func (o *GetRecipeParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeParams) SetID(id int64)
- func (o *GetRecipeParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeParams) WithContext(ctx context.Context) *GetRecipeParams
- func (o *GetRecipeParams) WithHTTPClient(client *http.Client) *GetRecipeParams
- func (o *GetRecipeParams) WithID(id int64) *GetRecipeParams
- func (o *GetRecipeParams) WithTimeout(timeout time.Duration) *GetRecipeParams
- func (o *GetRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeReader
- type GetRecipeRequestFromNameOK
- type GetRecipeRequestFromNameParams
- func NewGetRecipeRequestFromNameParams() *GetRecipeRequestFromNameParams
- func NewGetRecipeRequestFromNameParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameParams
- func NewGetRecipeRequestFromNameParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameParams
- func NewGetRecipeRequestFromNameParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameParams
- func (o *GetRecipeRequestFromNameParams) SetContext(ctx context.Context)
- func (o *GetRecipeRequestFromNameParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeRequestFromNameParams) SetName(name string)
- func (o *GetRecipeRequestFromNameParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeRequestFromNameParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameParams
- func (o *GetRecipeRequestFromNameParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameParams
- func (o *GetRecipeRequestFromNameParams) WithName(name string) *GetRecipeRequestFromNameParams
- func (o *GetRecipeRequestFromNameParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameParams
- func (o *GetRecipeRequestFromNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeRequestFromNameReader
- type PostPrivateRecipeOK
- type PostPrivateRecipeParams
- func NewPostPrivateRecipeParams() *PostPrivateRecipeParams
- func NewPostPrivateRecipeParamsWithContext(ctx context.Context) *PostPrivateRecipeParams
- func NewPostPrivateRecipeParamsWithHTTPClient(client *http.Client) *PostPrivateRecipeParams
- func NewPostPrivateRecipeParamsWithTimeout(timeout time.Duration) *PostPrivateRecipeParams
- func (o *PostPrivateRecipeParams) SetBody(body *models_cloudbreak.RecipeRequest)
- func (o *PostPrivateRecipeParams) SetContext(ctx context.Context)
- func (o *PostPrivateRecipeParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateRecipeParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateRecipeParams) WithBody(body *models_cloudbreak.RecipeRequest) *PostPrivateRecipeParams
- func (o *PostPrivateRecipeParams) WithContext(ctx context.Context) *PostPrivateRecipeParams
- func (o *PostPrivateRecipeParams) WithHTTPClient(client *http.Client) *PostPrivateRecipeParams
- func (o *PostPrivateRecipeParams) WithTimeout(timeout time.Duration) *PostPrivateRecipeParams
- func (o *PostPrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateRecipeReader
- type PostPublicRecipeOK
- type PostPublicRecipeParams
- func NewPostPublicRecipeParams() *PostPublicRecipeParams
- func NewPostPublicRecipeParamsWithContext(ctx context.Context) *PostPublicRecipeParams
- func NewPostPublicRecipeParamsWithHTTPClient(client *http.Client) *PostPublicRecipeParams
- func NewPostPublicRecipeParamsWithTimeout(timeout time.Duration) *PostPublicRecipeParams
- func (o *PostPublicRecipeParams) SetBody(body *models_cloudbreak.RecipeRequest)
- func (o *PostPublicRecipeParams) SetContext(ctx context.Context)
- func (o *PostPublicRecipeParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicRecipeParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicRecipeParams) WithBody(body *models_cloudbreak.RecipeRequest) *PostPublicRecipeParams
- func (o *PostPublicRecipeParams) WithContext(ctx context.Context) *PostPublicRecipeParams
- func (o *PostPublicRecipeParams) WithHTTPClient(client *http.Client) *PostPublicRecipeParams
- func (o *PostPublicRecipeParams) WithTimeout(timeout time.Duration) *PostPublicRecipeParams
- func (o *PostPublicRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicRecipeReader
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 ¶
func (o *DeletePrivateRecipeDefault) Error() string
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 ¶
func (o *DeletePrivateRecipeParams) WithContext(ctx context.Context) *DeletePrivateRecipeParams
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 ¶
func (o *DeletePrivateRecipeParams) WithName(name string) *DeletePrivateRecipeParams
WithName adds the name to the delete private recipe params
func (*DeletePrivateRecipeParams) WithTimeout ¶
func (o *DeletePrivateRecipeParams) WithTimeout(timeout time.Duration) *DeletePrivateRecipeParams
WithTimeout adds the timeout to the delete private recipe params
func (*DeletePrivateRecipeParams) WriteToRequest ¶
func (o *DeletePrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePublicRecipeParams) WithContext(ctx context.Context) *DeletePublicRecipeParams
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 ¶
func (o *DeletePublicRecipeParams) WithName(name string) *DeletePublicRecipeParams
WithName adds the name to the delete public recipe params
func (*DeletePublicRecipeParams) WithTimeout ¶
func (o *DeletePublicRecipeParams) WithTimeout(timeout time.Duration) *DeletePublicRecipeParams
WithTimeout adds the timeout to the delete public recipe params
func (*DeletePublicRecipeParams) WriteToRequest ¶
func (o *DeletePublicRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteRecipeParams) WithContext(ctx context.Context) *DeleteRecipeParams
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 ¶
func (o *DeleteRecipeParams) WithID(id int64) *DeleteRecipeParams
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 ¶
func (o *GetPrivateRecipeParams) WithContext(ctx context.Context) *GetPrivateRecipeParams
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 ¶
func (o *GetPrivateRecipeParams) WithName(name string) *GetPrivateRecipeParams
WithName adds the name to the get private recipe params
func (*GetPrivateRecipeParams) WithTimeout ¶
func (o *GetPrivateRecipeParams) WithTimeout(timeout time.Duration) *GetPrivateRecipeParams
WithTimeout adds the timeout to the get private recipe params
func (*GetPrivateRecipeParams) WriteToRequest ¶
func (o *GetPrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivatesRecipeParams) WithContext(ctx context.Context) *GetPrivatesRecipeParams
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 ¶
func (o *GetPrivatesRecipeParams) WithTimeout(timeout time.Duration) *GetPrivatesRecipeParams
WithTimeout adds the timeout to the get privates recipe params
func (*GetPrivatesRecipeParams) WriteToRequest ¶
func (o *GetPrivatesRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicRecipeParams) WithContext(ctx context.Context) *GetPublicRecipeParams
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 ¶
func (o *GetPublicRecipeParams) WithName(name string) *GetPublicRecipeParams
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 ¶
func (o *GetPublicsRecipeParams) WithContext(ctx context.Context) *GetPublicsRecipeParams
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 ¶
func (o *GetPublicsRecipeParams) WithTimeout(timeout time.Duration) *GetPublicsRecipeParams
WithTimeout adds the timeout to the get publics recipe params
func (*GetPublicsRecipeParams) WriteToRequest ¶
func (o *GetPublicsRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetRecipeRequestFromNameOK) Error() string
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 ¶
func (o *GetRecipeRequestFromNameParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameParams
WithContext adds the context to the get recipe request from name params
func (*GetRecipeRequestFromNameParams) WithHTTPClient ¶
func (o *GetRecipeRequestFromNameParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameParams
WithHTTPClient adds the HTTPClient to the get recipe request from name params
func (*GetRecipeRequestFromNameParams) WithName ¶
func (o *GetRecipeRequestFromNameParams) WithName(name string) *GetRecipeRequestFromNameParams
WithName adds the name to the get recipe request from name params
func (*GetRecipeRequestFromNameParams) WithTimeout ¶
func (o *GetRecipeRequestFromNameParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameParams
WithTimeout adds the timeout to the get recipe request from name params
func (*GetRecipeRequestFromNameParams) WriteToRequest ¶
func (o *GetRecipeRequestFromNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPrivateRecipeParams) SetBody(body *models_cloudbreak.RecipeRequest)
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 ¶
func (o *PostPrivateRecipeParams) WithBody(body *models_cloudbreak.RecipeRequest) *PostPrivateRecipeParams
WithBody adds the body to the post private recipe params
func (*PostPrivateRecipeParams) WithContext ¶
func (o *PostPrivateRecipeParams) WithContext(ctx context.Context) *PostPrivateRecipeParams
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 ¶
func (o *PostPrivateRecipeParams) WithTimeout(timeout time.Duration) *PostPrivateRecipeParams
WithTimeout adds the timeout to the post private recipe params
func (*PostPrivateRecipeParams) WriteToRequest ¶
func (o *PostPrivateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPublicRecipeParams) SetBody(body *models_cloudbreak.RecipeRequest)
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 ¶
func (o *PostPublicRecipeParams) WithBody(body *models_cloudbreak.RecipeRequest) *PostPublicRecipeParams
WithBody adds the body to the post public recipe params
func (*PostPublicRecipeParams) WithContext ¶
func (o *PostPublicRecipeParams) WithContext(ctx context.Context) *PostPublicRecipeParams
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 ¶
func (o *PostPublicRecipeParams) WithTimeout(timeout time.Duration) *PostPublicRecipeParams
WithTimeout adds the timeout to the post public recipe params
func (*PostPublicRecipeParams) WriteToRequest ¶
func (o *PostPublicRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_private_recipe_parameters.go
- delete_private_recipe_responses.go
- delete_public_recipe_parameters.go
- delete_public_recipe_responses.go
- delete_recipe_parameters.go
- delete_recipe_responses.go
- get_private_recipe_parameters.go
- get_private_recipe_responses.go
- get_privates_recipe_parameters.go
- get_privates_recipe_responses.go
- get_public_recipe_parameters.go
- get_public_recipe_responses.go
- get_publics_recipe_parameters.go
- get_publics_recipe_responses.go
- get_recipe_parameters.go
- get_recipe_request_from_name_parameters.go
- get_recipe_request_from_name_responses.go
- get_recipe_responses.go
- post_private_recipe_parameters.go
- post_private_recipe_responses.go
- post_public_recipe_parameters.go
- post_public_recipe_responses.go
- v1recipes_client.go