v4_workspace_id_recipes

package
v1.999.999-b3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for v4 workspace id recipes API

func New

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

New creates a new v4 workspace id recipes API client.

func (*Client) CreateRecipeInWorkspace

func (a *Client) CreateRecipeInWorkspace(params *CreateRecipeInWorkspaceParams) (*CreateRecipeInWorkspaceOK, error)

CreateRecipeInWorkspace creates recipe in workspace

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

func (*Client) DeleteRecipeByCrnInWorkspace

func (a *Client) DeleteRecipeByCrnInWorkspace(params *DeleteRecipeByCrnInWorkspaceParams) (*DeleteRecipeByCrnInWorkspaceOK, error)

DeleteRecipeByCrnInWorkspace deletes recipe by crn in workspace

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

func (*Client) DeleteRecipeInWorkspace

func (a *Client) DeleteRecipeInWorkspace(params *DeleteRecipeInWorkspaceParams) (*DeleteRecipeInWorkspaceOK, error)

DeleteRecipeInWorkspace deletes recipe by name in workspace

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

func (*Client) DeleteRecipesInWorkspace

func (a *Client) DeleteRecipesInWorkspace(params *DeleteRecipesInWorkspaceParams) (*DeleteRecipesInWorkspaceOK, error)

DeleteRecipesInWorkspace deletes multiple recipes by name in workspace

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

func (*Client) GetCreateRecipeRequestForCli

func (a *Client) GetCreateRecipeRequestForCli(params *GetCreateRecipeRequestForCliParams) (*GetCreateRecipeRequestForCliOK, error)

GetCreateRecipeRequestForCli produces cli command input

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

func (*Client) GetRecipeByCrnInWorkspace

func (a *Client) GetRecipeByCrnInWorkspace(params *GetRecipeByCrnInWorkspaceParams) (*GetRecipeByCrnInWorkspaceOK, error)

GetRecipeByCrnInWorkspace gets recipe by crn in workspace

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

func (*Client) GetRecipeInWorkspace

func (a *Client) GetRecipeInWorkspace(params *GetRecipeInWorkspaceParams) (*GetRecipeInWorkspaceOK, error)

GetRecipeInWorkspace gets recipe by name in workspace

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

func (*Client) GetRecipeRequestFromNameInWorkspace

func (a *Client) GetRecipeRequestFromNameInWorkspace(params *GetRecipeRequestFromNameInWorkspaceParams) (*GetRecipeRequestFromNameInWorkspaceOK, error)

GetRecipeRequestFromNameInWorkspace 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) ListRecipesByWorkspace

func (a *Client) ListRecipesByWorkspace(params *ListRecipesByWorkspaceParams) (*ListRecipesByWorkspaceOK, error)

ListRecipesByWorkspace lists recipes for the given workspace

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 CreateRecipeInWorkspaceOK

type CreateRecipeInWorkspaceOK struct {
	Payload *model.RecipeV4Response
}

CreateRecipeInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateRecipeInWorkspaceOK

func NewCreateRecipeInWorkspaceOK() *CreateRecipeInWorkspaceOK

NewCreateRecipeInWorkspaceOK creates a CreateRecipeInWorkspaceOK with default headers values

func (*CreateRecipeInWorkspaceOK) Error

func (o *CreateRecipeInWorkspaceOK) Error() string

type CreateRecipeInWorkspaceParams

type CreateRecipeInWorkspaceParams struct {

	/*Body*/
	Body *model.RecipeV4Request
	/*WorkspaceID*/
	WorkspaceID int64

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

CreateRecipeInWorkspaceParams contains all the parameters to send to the API endpoint for the create recipe in workspace operation typically these are written to a http.Request

func NewCreateRecipeInWorkspaceParams

func NewCreateRecipeInWorkspaceParams() *CreateRecipeInWorkspaceParams

NewCreateRecipeInWorkspaceParams creates a new CreateRecipeInWorkspaceParams object with the default values initialized.

func NewCreateRecipeInWorkspaceParamsWithContext

func NewCreateRecipeInWorkspaceParamsWithContext(ctx context.Context) *CreateRecipeInWorkspaceParams

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

func NewCreateRecipeInWorkspaceParamsWithHTTPClient

func NewCreateRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateRecipeInWorkspaceParams

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

func NewCreateRecipeInWorkspaceParamsWithTimeout

func NewCreateRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateRecipeInWorkspaceParams

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

func (*CreateRecipeInWorkspaceParams) SetBody

SetBody adds the body to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) SetContext

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

SetContext adds the context to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) SetWorkspaceID

func (o *CreateRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WithBody

WithBody adds the body to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WithContext

WithContext adds the context to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WithWorkspaceID

func (o *CreateRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateRecipeInWorkspaceParams

WithWorkspaceID adds the workspaceID to the create recipe in workspace params

func (*CreateRecipeInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRecipeInWorkspaceReader

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

CreateRecipeInWorkspaceReader is a Reader for the CreateRecipeInWorkspace structure.

func (*CreateRecipeInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRecipeByCrnInWorkspaceOK

type DeleteRecipeByCrnInWorkspaceOK struct {
	Payload *model.RecipeV4Response
}

DeleteRecipeByCrnInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteRecipeByCrnInWorkspaceOK

func NewDeleteRecipeByCrnInWorkspaceOK() *DeleteRecipeByCrnInWorkspaceOK

NewDeleteRecipeByCrnInWorkspaceOK creates a DeleteRecipeByCrnInWorkspaceOK with default headers values

func (*DeleteRecipeByCrnInWorkspaceOK) Error

type DeleteRecipeByCrnInWorkspaceParams

type DeleteRecipeByCrnInWorkspaceParams struct {

	/*Crn*/
	Crn string
	/*WorkspaceID*/
	WorkspaceID int64

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

DeleteRecipeByCrnInWorkspaceParams contains all the parameters to send to the API endpoint for the delete recipe by crn in workspace operation typically these are written to a http.Request

func NewDeleteRecipeByCrnInWorkspaceParams

func NewDeleteRecipeByCrnInWorkspaceParams() *DeleteRecipeByCrnInWorkspaceParams

NewDeleteRecipeByCrnInWorkspaceParams creates a new DeleteRecipeByCrnInWorkspaceParams object with the default values initialized.

func NewDeleteRecipeByCrnInWorkspaceParamsWithContext

func NewDeleteRecipeByCrnInWorkspaceParamsWithContext(ctx context.Context) *DeleteRecipeByCrnInWorkspaceParams

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

func NewDeleteRecipeByCrnInWorkspaceParamsWithHTTPClient

func NewDeleteRecipeByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteRecipeByCrnInWorkspaceParams

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

func NewDeleteRecipeByCrnInWorkspaceParamsWithTimeout

func NewDeleteRecipeByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteRecipeByCrnInWorkspaceParams

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

func (*DeleteRecipeByCrnInWorkspaceParams) SetContext

SetContext adds the context to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) SetCrn

SetCrn adds the crn to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) SetWorkspaceID

func (o *DeleteRecipeByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WithContext

WithContext adds the context to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WithCrn

WithCrn adds the crn to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete recipe by crn in workspace params

func (*DeleteRecipeByCrnInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecipeByCrnInWorkspaceReader

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

DeleteRecipeByCrnInWorkspaceReader is a Reader for the DeleteRecipeByCrnInWorkspace structure.

func (*DeleteRecipeByCrnInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRecipeInWorkspaceOK

type DeleteRecipeInWorkspaceOK struct {
	Payload *model.RecipeV4Response
}

DeleteRecipeInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteRecipeInWorkspaceOK

func NewDeleteRecipeInWorkspaceOK() *DeleteRecipeInWorkspaceOK

NewDeleteRecipeInWorkspaceOK creates a DeleteRecipeInWorkspaceOK with default headers values

func (*DeleteRecipeInWorkspaceOK) Error

func (o *DeleteRecipeInWorkspaceOK) Error() string

type DeleteRecipeInWorkspaceParams

type DeleteRecipeInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewDeleteRecipeInWorkspaceParams

func NewDeleteRecipeInWorkspaceParams() *DeleteRecipeInWorkspaceParams

NewDeleteRecipeInWorkspaceParams creates a new DeleteRecipeInWorkspaceParams object with the default values initialized.

func NewDeleteRecipeInWorkspaceParamsWithContext

func NewDeleteRecipeInWorkspaceParamsWithContext(ctx context.Context) *DeleteRecipeInWorkspaceParams

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

func NewDeleteRecipeInWorkspaceParamsWithHTTPClient

func NewDeleteRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteRecipeInWorkspaceParams

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

func NewDeleteRecipeInWorkspaceParamsWithTimeout

func NewDeleteRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteRecipeInWorkspaceParams

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

func (*DeleteRecipeInWorkspaceParams) SetContext

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

SetContext adds the context to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) SetName

func (o *DeleteRecipeInWorkspaceParams) SetName(name string)

SetName adds the name to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) SetWorkspaceID

func (o *DeleteRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WithContext

WithContext adds the context to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WithName

WithName adds the name to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WithWorkspaceID

func (o *DeleteRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteRecipeInWorkspaceParams

WithWorkspaceID adds the workspaceID to the delete recipe in workspace params

func (*DeleteRecipeInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecipeInWorkspaceReader

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

DeleteRecipeInWorkspaceReader is a Reader for the DeleteRecipeInWorkspace structure.

func (*DeleteRecipeInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRecipesInWorkspaceOK

type DeleteRecipesInWorkspaceOK struct {
	Payload *model.RecipeV4Responses
}

DeleteRecipesInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteRecipesInWorkspaceOK

func NewDeleteRecipesInWorkspaceOK() *DeleteRecipesInWorkspaceOK

NewDeleteRecipesInWorkspaceOK creates a DeleteRecipesInWorkspaceOK with default headers values

func (*DeleteRecipesInWorkspaceOK) Error

type DeleteRecipesInWorkspaceParams

type DeleteRecipesInWorkspaceParams struct {

	/*Body*/
	Body []string
	/*WorkspaceID*/
	WorkspaceID int64

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

DeleteRecipesInWorkspaceParams contains all the parameters to send to the API endpoint for the delete recipes in workspace operation typically these are written to a http.Request

func NewDeleteRecipesInWorkspaceParams

func NewDeleteRecipesInWorkspaceParams() *DeleteRecipesInWorkspaceParams

NewDeleteRecipesInWorkspaceParams creates a new DeleteRecipesInWorkspaceParams object with the default values initialized.

func NewDeleteRecipesInWorkspaceParamsWithContext

func NewDeleteRecipesInWorkspaceParamsWithContext(ctx context.Context) *DeleteRecipesInWorkspaceParams

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

func NewDeleteRecipesInWorkspaceParamsWithHTTPClient

func NewDeleteRecipesInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteRecipesInWorkspaceParams

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

func NewDeleteRecipesInWorkspaceParamsWithTimeout

func NewDeleteRecipesInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteRecipesInWorkspaceParams

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

func (*DeleteRecipesInWorkspaceParams) SetBody

func (o *DeleteRecipesInWorkspaceParams) SetBody(body []string)

SetBody adds the body to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) SetContext

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

SetContext adds the context to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) SetWorkspaceID

func (o *DeleteRecipesInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WithBody

WithBody adds the body to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WithContext

WithContext adds the context to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WithWorkspaceID

func (o *DeleteRecipesInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteRecipesInWorkspaceParams

WithWorkspaceID adds the workspaceID to the delete recipes in workspace params

func (*DeleteRecipesInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecipesInWorkspaceReader

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

DeleteRecipesInWorkspaceReader is a Reader for the DeleteRecipesInWorkspace structure.

func (*DeleteRecipesInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCreateRecipeRequestForCliOK

type GetCreateRecipeRequestForCliOK struct {
	Payload *model.CreateRecipeRequest
}

GetCreateRecipeRequestForCliOK handles this case with default header values.

successful operation

func NewGetCreateRecipeRequestForCliOK

func NewGetCreateRecipeRequestForCliOK() *GetCreateRecipeRequestForCliOK

NewGetCreateRecipeRequestForCliOK creates a GetCreateRecipeRequestForCliOK with default headers values

func (*GetCreateRecipeRequestForCliOK) Error

type GetCreateRecipeRequestForCliParams

type GetCreateRecipeRequestForCliParams struct {

	/*Body*/
	Body *model.RecipeV4Request
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetCreateRecipeRequestForCliParams

func NewGetCreateRecipeRequestForCliParams() *GetCreateRecipeRequestForCliParams

NewGetCreateRecipeRequestForCliParams creates a new GetCreateRecipeRequestForCliParams object with the default values initialized.

func NewGetCreateRecipeRequestForCliParamsWithContext

func NewGetCreateRecipeRequestForCliParamsWithContext(ctx context.Context) *GetCreateRecipeRequestForCliParams

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

func NewGetCreateRecipeRequestForCliParamsWithHTTPClient

func NewGetCreateRecipeRequestForCliParamsWithHTTPClient(client *http.Client) *GetCreateRecipeRequestForCliParams

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

func NewGetCreateRecipeRequestForCliParamsWithTimeout

func NewGetCreateRecipeRequestForCliParamsWithTimeout(timeout time.Duration) *GetCreateRecipeRequestForCliParams

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

func (*GetCreateRecipeRequestForCliParams) SetBody

SetBody adds the body to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) SetContext

SetContext adds the context to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) SetTimeout

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

SetTimeout adds the timeout to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) SetWorkspaceID

func (o *GetCreateRecipeRequestForCliParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WithBody

WithBody adds the body to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WithContext

WithContext adds the context to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WithTimeout

WithTimeout adds the timeout to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get create recipe request for cli params

func (*GetCreateRecipeRequestForCliParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCreateRecipeRequestForCliReader

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

GetCreateRecipeRequestForCliReader is a Reader for the GetCreateRecipeRequestForCli structure.

func (*GetCreateRecipeRequestForCliReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecipeByCrnInWorkspaceOK

type GetRecipeByCrnInWorkspaceOK struct {
	Payload *model.RecipeV4Response
}

GetRecipeByCrnInWorkspaceOK handles this case with default header values.

successful operation

func NewGetRecipeByCrnInWorkspaceOK

func NewGetRecipeByCrnInWorkspaceOK() *GetRecipeByCrnInWorkspaceOK

NewGetRecipeByCrnInWorkspaceOK creates a GetRecipeByCrnInWorkspaceOK with default headers values

func (*GetRecipeByCrnInWorkspaceOK) Error

type GetRecipeByCrnInWorkspaceParams

type GetRecipeByCrnInWorkspaceParams struct {

	/*Crn*/
	Crn string
	/*WorkspaceID*/
	WorkspaceID int64

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

GetRecipeByCrnInWorkspaceParams contains all the parameters to send to the API endpoint for the get recipe by crn in workspace operation typically these are written to a http.Request

func NewGetRecipeByCrnInWorkspaceParams

func NewGetRecipeByCrnInWorkspaceParams() *GetRecipeByCrnInWorkspaceParams

NewGetRecipeByCrnInWorkspaceParams creates a new GetRecipeByCrnInWorkspaceParams object with the default values initialized.

func NewGetRecipeByCrnInWorkspaceParamsWithContext

func NewGetRecipeByCrnInWorkspaceParamsWithContext(ctx context.Context) *GetRecipeByCrnInWorkspaceParams

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

func NewGetRecipeByCrnInWorkspaceParamsWithHTTPClient

func NewGetRecipeByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *GetRecipeByCrnInWorkspaceParams

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

func NewGetRecipeByCrnInWorkspaceParamsWithTimeout

func NewGetRecipeByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *GetRecipeByCrnInWorkspaceParams

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

func (*GetRecipeByCrnInWorkspaceParams) SetContext

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

SetContext adds the context to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) SetCrn

func (o *GetRecipeByCrnInWorkspaceParams) SetCrn(crn string)

SetCrn adds the crn to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) SetWorkspaceID

func (o *GetRecipeByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WithContext

WithContext adds the context to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WithCrn

WithCrn adds the crn to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get recipe by crn in workspace params

func (*GetRecipeByCrnInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecipeByCrnInWorkspaceReader

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

GetRecipeByCrnInWorkspaceReader is a Reader for the GetRecipeByCrnInWorkspace structure.

func (*GetRecipeByCrnInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecipeInWorkspaceOK

type GetRecipeInWorkspaceOK struct {
	Payload *model.RecipeV4Response
}

GetRecipeInWorkspaceOK handles this case with default header values.

successful operation

func NewGetRecipeInWorkspaceOK

func NewGetRecipeInWorkspaceOK() *GetRecipeInWorkspaceOK

NewGetRecipeInWorkspaceOK creates a GetRecipeInWorkspaceOK with default headers values

func (*GetRecipeInWorkspaceOK) Error

func (o *GetRecipeInWorkspaceOK) Error() string

type GetRecipeInWorkspaceParams

type GetRecipeInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetRecipeInWorkspaceParams

func NewGetRecipeInWorkspaceParams() *GetRecipeInWorkspaceParams

NewGetRecipeInWorkspaceParams creates a new GetRecipeInWorkspaceParams object with the default values initialized.

func NewGetRecipeInWorkspaceParamsWithContext

func NewGetRecipeInWorkspaceParamsWithContext(ctx context.Context) *GetRecipeInWorkspaceParams

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

func NewGetRecipeInWorkspaceParamsWithHTTPClient

func NewGetRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *GetRecipeInWorkspaceParams

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

func NewGetRecipeInWorkspaceParamsWithTimeout

func NewGetRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *GetRecipeInWorkspaceParams

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

func (*GetRecipeInWorkspaceParams) SetContext

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

SetContext adds the context to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) SetName

func (o *GetRecipeInWorkspaceParams) SetName(name string)

SetName adds the name to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) SetWorkspaceID

func (o *GetRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WithContext

WithContext adds the context to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WithName

WithName adds the name to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WithWorkspaceID

func (o *GetRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetRecipeInWorkspaceParams

WithWorkspaceID adds the workspaceID to the get recipe in workspace params

func (*GetRecipeInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecipeInWorkspaceReader

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

GetRecipeInWorkspaceReader is a Reader for the GetRecipeInWorkspace structure.

func (*GetRecipeInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecipeRequestFromNameInWorkspaceOK

type GetRecipeRequestFromNameInWorkspaceOK struct {
	Payload *model.RecipeV4Request
}

GetRecipeRequestFromNameInWorkspaceOK handles this case with default header values.

successful operation

func NewGetRecipeRequestFromNameInWorkspaceOK

func NewGetRecipeRequestFromNameInWorkspaceOK() *GetRecipeRequestFromNameInWorkspaceOK

NewGetRecipeRequestFromNameInWorkspaceOK creates a GetRecipeRequestFromNameInWorkspaceOK with default headers values

func (*GetRecipeRequestFromNameInWorkspaceOK) Error

type GetRecipeRequestFromNameInWorkspaceParams

type GetRecipeRequestFromNameInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetRecipeRequestFromNameInWorkspaceParams

func NewGetRecipeRequestFromNameInWorkspaceParams() *GetRecipeRequestFromNameInWorkspaceParams

NewGetRecipeRequestFromNameInWorkspaceParams creates a new GetRecipeRequestFromNameInWorkspaceParams object with the default values initialized.

func NewGetRecipeRequestFromNameInWorkspaceParamsWithContext

func NewGetRecipeRequestFromNameInWorkspaceParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameInWorkspaceParams

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

func NewGetRecipeRequestFromNameInWorkspaceParamsWithHTTPClient

func NewGetRecipeRequestFromNameInWorkspaceParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInWorkspaceParams

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

func NewGetRecipeRequestFromNameInWorkspaceParamsWithTimeout

func NewGetRecipeRequestFromNameInWorkspaceParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInWorkspaceParams

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

func (*GetRecipeRequestFromNameInWorkspaceParams) SetContext

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

func (*GetRecipeRequestFromNameInWorkspaceParams) SetHTTPClient

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

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

func (*GetRecipeRequestFromNameInWorkspaceParams) SetName

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

func (*GetRecipeRequestFromNameInWorkspaceParams) SetTimeout

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

func (*GetRecipeRequestFromNameInWorkspaceParams) SetWorkspaceID

func (o *GetRecipeRequestFromNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get recipe request from name in workspace params

func (*GetRecipeRequestFromNameInWorkspaceParams) WithContext

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

func (*GetRecipeRequestFromNameInWorkspaceParams) WithHTTPClient

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

func (*GetRecipeRequestFromNameInWorkspaceParams) WithName

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

func (*GetRecipeRequestFromNameInWorkspaceParams) WithTimeout

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

func (*GetRecipeRequestFromNameInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get recipe request from name in workspace params

func (*GetRecipeRequestFromNameInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecipeRequestFromNameInWorkspaceReader

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

GetRecipeRequestFromNameInWorkspaceReader is a Reader for the GetRecipeRequestFromNameInWorkspace structure.

func (*GetRecipeRequestFromNameInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRecipesByWorkspaceOK

type ListRecipesByWorkspaceOK struct {
	Payload *model.RecipeViewV4Responses
}

ListRecipesByWorkspaceOK handles this case with default header values.

successful operation

func NewListRecipesByWorkspaceOK

func NewListRecipesByWorkspaceOK() *ListRecipesByWorkspaceOK

NewListRecipesByWorkspaceOK creates a ListRecipesByWorkspaceOK with default headers values

func (*ListRecipesByWorkspaceOK) Error

func (o *ListRecipesByWorkspaceOK) Error() string

type ListRecipesByWorkspaceParams

type ListRecipesByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

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

ListRecipesByWorkspaceParams contains all the parameters to send to the API endpoint for the list recipes by workspace operation typically these are written to a http.Request

func NewListRecipesByWorkspaceParams

func NewListRecipesByWorkspaceParams() *ListRecipesByWorkspaceParams

NewListRecipesByWorkspaceParams creates a new ListRecipesByWorkspaceParams object with the default values initialized.

func NewListRecipesByWorkspaceParamsWithContext

func NewListRecipesByWorkspaceParamsWithContext(ctx context.Context) *ListRecipesByWorkspaceParams

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

func NewListRecipesByWorkspaceParamsWithHTTPClient

func NewListRecipesByWorkspaceParamsWithHTTPClient(client *http.Client) *ListRecipesByWorkspaceParams

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

func NewListRecipesByWorkspaceParamsWithTimeout

func NewListRecipesByWorkspaceParamsWithTimeout(timeout time.Duration) *ListRecipesByWorkspaceParams

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

func (*ListRecipesByWorkspaceParams) SetContext

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

SetContext adds the context to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) SetWorkspaceID

func (o *ListRecipesByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) WithContext

WithContext adds the context to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) WithWorkspaceID

func (o *ListRecipesByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListRecipesByWorkspaceParams

WithWorkspaceID adds the workspaceID to the list recipes by workspace params

func (*ListRecipesByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRecipesByWorkspaceReader

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

ListRecipesByWorkspaceReader is a Reader for the ListRecipesByWorkspace structure.

func (*ListRecipesByWorkspaceReader) ReadResponse

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