Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRecipeInWorkspace(params *CreateRecipeInWorkspaceParams) (*CreateRecipeInWorkspaceOK, error)
- func (a *Client) DeleteRecipeInWorkspace(params *DeleteRecipeInWorkspaceParams) (*DeleteRecipeInWorkspaceOK, error)
- func (a *Client) GetRecipeInWorkspace(params *GetRecipeInWorkspaceParams) (*GetRecipeInWorkspaceOK, error)
- func (a *Client) GetRecipeRequestFromNameInWorkspace(params *GetRecipeRequestFromNameInWorkspaceParams) (*GetRecipeRequestFromNameInWorkspaceOK, error)
- func (a *Client) ListRecipesByWorkspace(params *ListRecipesByWorkspaceParams) (*ListRecipesByWorkspaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateRecipeInWorkspaceOK
- type CreateRecipeInWorkspaceParams
- func NewCreateRecipeInWorkspaceParams() *CreateRecipeInWorkspaceParams
- func NewCreateRecipeInWorkspaceParamsWithContext(ctx context.Context) *CreateRecipeInWorkspaceParams
- func NewCreateRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateRecipeInWorkspaceParams
- func NewCreateRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) SetBody(body *models_cloudbreak.RecipeRequest)
- func (o *CreateRecipeInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateRecipeInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecipeInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateRecipeInWorkspaceParams) WithBody(body *models_cloudbreak.RecipeRequest) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) WithContext(ctx context.Context) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateRecipeInWorkspaceParams
- func (o *CreateRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecipeInWorkspaceReader
- type DeleteRecipeInWorkspaceOK
- type DeleteRecipeInWorkspaceParams
- func NewDeleteRecipeInWorkspaceParams() *DeleteRecipeInWorkspaceParams
- func NewDeleteRecipeInWorkspaceParamsWithContext(ctx context.Context) *DeleteRecipeInWorkspaceParams
- func NewDeleteRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteRecipeInWorkspaceParams
- func NewDeleteRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteRecipeInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecipeInWorkspaceParams) SetName(name string)
- func (o *DeleteRecipeInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteRecipeInWorkspaceParams) WithContext(ctx context.Context) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) WithName(name string) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteRecipeInWorkspaceParams
- func (o *DeleteRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecipeInWorkspaceReader
- type GetRecipeInWorkspaceOK
- type GetRecipeInWorkspaceParams
- func NewGetRecipeInWorkspaceParams() *GetRecipeInWorkspaceParams
- func NewGetRecipeInWorkspaceParamsWithContext(ctx context.Context) *GetRecipeInWorkspaceParams
- func NewGetRecipeInWorkspaceParamsWithHTTPClient(client *http.Client) *GetRecipeInWorkspaceParams
- func NewGetRecipeInWorkspaceParamsWithTimeout(timeout time.Duration) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetRecipeInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeInWorkspaceParams) SetName(name string)
- func (o *GetRecipeInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetRecipeInWorkspaceParams) WithContext(ctx context.Context) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) WithName(name string) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetRecipeInWorkspaceParams
- func (o *GetRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeInWorkspaceReader
- type GetRecipeRequestFromNameInWorkspaceOK
- type GetRecipeRequestFromNameInWorkspaceParams
- func NewGetRecipeRequestFromNameInWorkspaceParams() *GetRecipeRequestFromNameInWorkspaceParams
- func NewGetRecipeRequestFromNameInWorkspaceParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameInWorkspaceParams
- func NewGetRecipeRequestFromNameInWorkspaceParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInWorkspaceParams
- func NewGetRecipeRequestFromNameInWorkspaceParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetRecipeRequestFromNameInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeRequestFromNameInWorkspaceParams) SetName(name string)
- func (o *GetRecipeRequestFromNameInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeRequestFromNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WithName(name string) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetRecipeRequestFromNameInWorkspaceParams
- func (o *GetRecipeRequestFromNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeRequestFromNameInWorkspaceReader
- type ListRecipesByWorkspaceOK
- type ListRecipesByWorkspaceParams
- func NewListRecipesByWorkspaceParams() *ListRecipesByWorkspaceParams
- func NewListRecipesByWorkspaceParamsWithContext(ctx context.Context) *ListRecipesByWorkspaceParams
- func NewListRecipesByWorkspaceParamsWithHTTPClient(client *http.Client) *ListRecipesByWorkspaceParams
- func NewListRecipesByWorkspaceParamsWithTimeout(timeout time.Duration) *ListRecipesByWorkspaceParams
- func (o *ListRecipesByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListRecipesByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListRecipesByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListRecipesByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListRecipesByWorkspaceParams) WithContext(ctx context.Context) *ListRecipesByWorkspaceParams
- func (o *ListRecipesByWorkspaceParams) WithHTTPClient(client *http.Client) *ListRecipesByWorkspaceParams
- func (o *ListRecipesByWorkspaceParams) WithTimeout(timeout time.Duration) *ListRecipesByWorkspaceParams
- func (o *ListRecipesByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListRecipesByWorkspaceParams
- func (o *ListRecipesByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRecipesByWorkspaceReader
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 v3 workspace id recipes API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 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) 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) 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 *models_cloudbreak.RecipeResponse
}
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 *models_cloudbreak.RecipeRequest /*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 ¶
func (o *CreateRecipeInWorkspaceParams) SetBody(body *models_cloudbreak.RecipeRequest)
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 ¶
func (o *CreateRecipeInWorkspaceParams) WithBody(body *models_cloudbreak.RecipeRequest) *CreateRecipeInWorkspaceParams
WithBody adds the body to the create recipe in workspace params
func (*CreateRecipeInWorkspaceParams) WithContext ¶
func (o *CreateRecipeInWorkspaceParams) WithContext(ctx context.Context) *CreateRecipeInWorkspaceParams
WithContext adds the context to the create recipe in workspace params
func (*CreateRecipeInWorkspaceParams) WithHTTPClient ¶
func (o *CreateRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateRecipeInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create recipe in workspace params
func (*CreateRecipeInWorkspaceParams) WithTimeout ¶
func (o *CreateRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateRecipeInWorkspaceParams
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 ¶
func (o *CreateRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 DeleteRecipeInWorkspaceOK ¶
type DeleteRecipeInWorkspaceOK struct {
Payload *models_cloudbreak.RecipeResponse
}
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 ¶
func (o *DeleteRecipeInWorkspaceParams) WithContext(ctx context.Context) *DeleteRecipeInWorkspaceParams
WithContext adds the context to the delete recipe in workspace params
func (*DeleteRecipeInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteRecipeInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete recipe in workspace params
func (*DeleteRecipeInWorkspaceParams) WithName ¶
func (o *DeleteRecipeInWorkspaceParams) WithName(name string) *DeleteRecipeInWorkspaceParams
WithName adds the name to the delete recipe in workspace params
func (*DeleteRecipeInWorkspaceParams) WithTimeout ¶
func (o *DeleteRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteRecipeInWorkspaceParams
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 ¶
func (o *DeleteRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetRecipeInWorkspaceOK ¶
type GetRecipeInWorkspaceOK struct {
Payload *models_cloudbreak.RecipeResponse
}
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 ¶
func (o *GetRecipeInWorkspaceParams) WithContext(ctx context.Context) *GetRecipeInWorkspaceParams
WithContext adds the context to the get recipe in workspace params
func (*GetRecipeInWorkspaceParams) WithHTTPClient ¶
func (o *GetRecipeInWorkspaceParams) WithHTTPClient(client *http.Client) *GetRecipeInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get recipe in workspace params
func (*GetRecipeInWorkspaceParams) WithName ¶
func (o *GetRecipeInWorkspaceParams) WithName(name string) *GetRecipeInWorkspaceParams
WithName adds the name to the get recipe in workspace params
func (*GetRecipeInWorkspaceParams) WithTimeout ¶
func (o *GetRecipeInWorkspaceParams) WithTimeout(timeout time.Duration) *GetRecipeInWorkspaceParams
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 ¶
func (o *GetRecipeInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *models_cloudbreak.RecipeRequest
}
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 ¶
func (o *GetRecipeRequestFromNameInWorkspaceOK) Error() string
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 ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) SetName(name string)
SetName adds the name to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) SetTimeout ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameInWorkspaceParams
WithContext adds the context to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) WithHTTPClient ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) WithName ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WithName(name string) *GetRecipeRequestFromNameInWorkspaceParams
WithName adds the name to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) WithTimeout ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInWorkspaceParams
WithTimeout adds the timeout to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) WithWorkspaceID ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetRecipeRequestFromNameInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get recipe request from name in workspace params
func (*GetRecipeRequestFromNameInWorkspaceParams) WriteToRequest ¶
func (o *GetRecipeRequestFromNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 []*models_cloudbreak.RecipeResponse
}
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 ¶
func (o *ListRecipesByWorkspaceParams) WithContext(ctx context.Context) *ListRecipesByWorkspaceParams
WithContext adds the context to the list recipes by workspace params
func (*ListRecipesByWorkspaceParams) WithHTTPClient ¶
func (o *ListRecipesByWorkspaceParams) WithHTTPClient(client *http.Client) *ListRecipesByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list recipes by workspace params
func (*ListRecipesByWorkspaceParams) WithTimeout ¶
func (o *ListRecipesByWorkspaceParams) WithTimeout(timeout time.Duration) *ListRecipesByWorkspaceParams
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 ¶
func (o *ListRecipesByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_recipe_in_workspace_parameters.go
- create_recipe_in_workspace_responses.go
- delete_recipe_in_workspace_parameters.go
- delete_recipe_in_workspace_responses.go
- get_recipe_in_workspace_parameters.go
- get_recipe_in_workspace_responses.go
- get_recipe_request_from_name_in_workspace_parameters.go
- get_recipe_request_from_name_in_workspace_responses.go
- list_recipes_by_workspace_parameters.go
- list_recipes_by_workspace_responses.go
- v3_workspace_id_recipes_client.go