Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRecipeInOrganization(params *CreateRecipeInOrganizationParams) (*CreateRecipeInOrganizationOK, error)
- func (a *Client) DeleteRecipeInOrganization(params *DeleteRecipeInOrganizationParams) (*DeleteRecipeInOrganizationOK, error)
- func (a *Client) GetRecipeInOrganization(params *GetRecipeInOrganizationParams) (*GetRecipeInOrganizationOK, error)
- func (a *Client) GetRecipeRequestFromNameInOrganization(params *GetRecipeRequestFromNameInOrganizationParams) (*GetRecipeRequestFromNameInOrganizationOK, error)
- func (a *Client) ListRecipesByOrganization(params *ListRecipesByOrganizationParams) (*ListRecipesByOrganizationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateRecipeInOrganizationOK
- type CreateRecipeInOrganizationParams
- func NewCreateRecipeInOrganizationParams() *CreateRecipeInOrganizationParams
- func NewCreateRecipeInOrganizationParamsWithContext(ctx context.Context) *CreateRecipeInOrganizationParams
- func NewCreateRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *CreateRecipeInOrganizationParams
- func NewCreateRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) SetBody(body *models_cloudbreak.RecipeRequest)
- func (o *CreateRecipeInOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *CreateRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecipeInOrganizationParams) WithBody(body *models_cloudbreak.RecipeRequest) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) WithContext(ctx context.Context) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *CreateRecipeInOrganizationParams
- func (o *CreateRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecipeInOrganizationReader
- type DeleteRecipeInOrganizationOK
- type DeleteRecipeInOrganizationParams
- func NewDeleteRecipeInOrganizationParams() *DeleteRecipeInOrganizationParams
- func NewDeleteRecipeInOrganizationParamsWithContext(ctx context.Context) *DeleteRecipeInOrganizationParams
- func NewDeleteRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteRecipeInOrganizationParams
- func NewDeleteRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) SetContext(ctx context.Context)
- func (o *DeleteRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecipeInOrganizationParams) SetName(name string)
- func (o *DeleteRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *DeleteRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecipeInOrganizationParams) WithContext(ctx context.Context) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) WithName(name string) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteRecipeInOrganizationParams
- func (o *DeleteRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecipeInOrganizationReader
- type GetRecipeInOrganizationOK
- type GetRecipeInOrganizationParams
- func NewGetRecipeInOrganizationParams() *GetRecipeInOrganizationParams
- func NewGetRecipeInOrganizationParamsWithContext(ctx context.Context) *GetRecipeInOrganizationParams
- func NewGetRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *GetRecipeInOrganizationParams
- func NewGetRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeInOrganizationParams) SetName(name string)
- func (o *GetRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *GetRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeInOrganizationParams) WithContext(ctx context.Context) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) WithName(name string) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *GetRecipeInOrganizationParams
- func (o *GetRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeInOrganizationReader
- type GetRecipeRequestFromNameInOrganizationOK
- type GetRecipeRequestFromNameInOrganizationParams
- func NewGetRecipeRequestFromNameInOrganizationParams() *GetRecipeRequestFromNameInOrganizationParams
- func NewGetRecipeRequestFromNameInOrganizationParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameInOrganizationParams
- func NewGetRecipeRequestFromNameInOrganizationParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInOrganizationParams
- func NewGetRecipeRequestFromNameInOrganizationParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetRecipeRequestFromNameInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeRequestFromNameInOrganizationParams) SetName(name string)
- func (o *GetRecipeRequestFromNameInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *GetRecipeRequestFromNameInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeRequestFromNameInOrganizationParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) WithName(name string) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) WithOrganizationID(organizationID int64) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInOrganizationParams
- func (o *GetRecipeRequestFromNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeRequestFromNameInOrganizationReader
- type ListRecipesByOrganizationOK
- type ListRecipesByOrganizationParams
- func NewListRecipesByOrganizationParams() *ListRecipesByOrganizationParams
- func NewListRecipesByOrganizationParamsWithContext(ctx context.Context) *ListRecipesByOrganizationParams
- func NewListRecipesByOrganizationParamsWithHTTPClient(client *http.Client) *ListRecipesByOrganizationParams
- func NewListRecipesByOrganizationParamsWithTimeout(timeout time.Duration) *ListRecipesByOrganizationParams
- func (o *ListRecipesByOrganizationParams) SetContext(ctx context.Context)
- func (o *ListRecipesByOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *ListRecipesByOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *ListRecipesByOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *ListRecipesByOrganizationParams) WithContext(ctx context.Context) *ListRecipesByOrganizationParams
- func (o *ListRecipesByOrganizationParams) WithHTTPClient(client *http.Client) *ListRecipesByOrganizationParams
- func (o *ListRecipesByOrganizationParams) WithOrganizationID(organizationID int64) *ListRecipesByOrganizationParams
- func (o *ListRecipesByOrganizationParams) WithTimeout(timeout time.Duration) *ListRecipesByOrganizationParams
- func (o *ListRecipesByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRecipesByOrganizationReader
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 organization id recipes API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 organization id recipes API client.
func (*Client) CreateRecipeInOrganization ¶
func (a *Client) CreateRecipeInOrganization(params *CreateRecipeInOrganizationParams) (*CreateRecipeInOrganizationOK, error)
CreateRecipeInOrganization creates recipe in organization
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) DeleteRecipeInOrganization ¶
func (a *Client) DeleteRecipeInOrganization(params *DeleteRecipeInOrganizationParams) (*DeleteRecipeInOrganizationOK, error)
DeleteRecipeInOrganization deletes recipe by name in organization
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipeInOrganization ¶
func (a *Client) GetRecipeInOrganization(params *GetRecipeInOrganizationParams) (*GetRecipeInOrganizationOK, error)
GetRecipeInOrganization gets recipe by name in organization
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipeRequestFromNameInOrganization ¶
func (a *Client) GetRecipeRequestFromNameInOrganization(params *GetRecipeRequestFromNameInOrganizationParams) (*GetRecipeRequestFromNameInOrganizationOK, error)
GetRecipeRequestFromNameInOrganization 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) ListRecipesByOrganization ¶
func (a *Client) ListRecipesByOrganization(params *ListRecipesByOrganizationParams) (*ListRecipesByOrganizationOK, error)
ListRecipesByOrganization lists recipes for the given organization
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 CreateRecipeInOrganizationOK ¶
type CreateRecipeInOrganizationOK struct {
Payload *models_cloudbreak.RecipeResponse
}
CreateRecipeInOrganizationOK handles this case with default header values.
successful operation
func NewCreateRecipeInOrganizationOK ¶
func NewCreateRecipeInOrganizationOK() *CreateRecipeInOrganizationOK
NewCreateRecipeInOrganizationOK creates a CreateRecipeInOrganizationOK with default headers values
func (*CreateRecipeInOrganizationOK) Error ¶
func (o *CreateRecipeInOrganizationOK) Error() string
type CreateRecipeInOrganizationParams ¶
type CreateRecipeInOrganizationParams struct { /*Body*/ Body *models_cloudbreak.RecipeRequest /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecipeInOrganizationParams contains all the parameters to send to the API endpoint for the create recipe in organization operation typically these are written to a http.Request
func NewCreateRecipeInOrganizationParams ¶
func NewCreateRecipeInOrganizationParams() *CreateRecipeInOrganizationParams
NewCreateRecipeInOrganizationParams creates a new CreateRecipeInOrganizationParams object with the default values initialized.
func NewCreateRecipeInOrganizationParamsWithContext ¶
func NewCreateRecipeInOrganizationParamsWithContext(ctx context.Context) *CreateRecipeInOrganizationParams
NewCreateRecipeInOrganizationParamsWithContext creates a new CreateRecipeInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRecipeInOrganizationParamsWithHTTPClient ¶
func NewCreateRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *CreateRecipeInOrganizationParams
NewCreateRecipeInOrganizationParamsWithHTTPClient creates a new CreateRecipeInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRecipeInOrganizationParamsWithTimeout ¶
func NewCreateRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *CreateRecipeInOrganizationParams
NewCreateRecipeInOrganizationParamsWithTimeout creates a new CreateRecipeInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRecipeInOrganizationParams) SetBody ¶
func (o *CreateRecipeInOrganizationParams) SetBody(body *models_cloudbreak.RecipeRequest)
SetBody adds the body to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) SetContext ¶
func (o *CreateRecipeInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) SetHTTPClient ¶
func (o *CreateRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) SetOrganizationID ¶
func (o *CreateRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) SetTimeout ¶
func (o *CreateRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WithBody ¶
func (o *CreateRecipeInOrganizationParams) WithBody(body *models_cloudbreak.RecipeRequest) *CreateRecipeInOrganizationParams
WithBody adds the body to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WithContext ¶
func (o *CreateRecipeInOrganizationParams) WithContext(ctx context.Context) *CreateRecipeInOrganizationParams
WithContext adds the context to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WithHTTPClient ¶
func (o *CreateRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *CreateRecipeInOrganizationParams
WithHTTPClient adds the HTTPClient to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WithOrganizationID ¶
func (o *CreateRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *CreateRecipeInOrganizationParams
WithOrganizationID adds the organizationID to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WithTimeout ¶
func (o *CreateRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *CreateRecipeInOrganizationParams
WithTimeout adds the timeout to the create recipe in organization params
func (*CreateRecipeInOrganizationParams) WriteToRequest ¶
func (o *CreateRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecipeInOrganizationReader ¶
type CreateRecipeInOrganizationReader struct {
// contains filtered or unexported fields
}
CreateRecipeInOrganizationReader is a Reader for the CreateRecipeInOrganization structure.
func (*CreateRecipeInOrganizationReader) ReadResponse ¶
func (o *CreateRecipeInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRecipeInOrganizationOK ¶
type DeleteRecipeInOrganizationOK struct {
Payload *models_cloudbreak.RecipeResponse
}
DeleteRecipeInOrganizationOK handles this case with default header values.
successful operation
func NewDeleteRecipeInOrganizationOK ¶
func NewDeleteRecipeInOrganizationOK() *DeleteRecipeInOrganizationOK
NewDeleteRecipeInOrganizationOK creates a DeleteRecipeInOrganizationOK with default headers values
func (*DeleteRecipeInOrganizationOK) Error ¶
func (o *DeleteRecipeInOrganizationOK) Error() string
type DeleteRecipeInOrganizationParams ¶
type DeleteRecipeInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRecipeInOrganizationParams contains all the parameters to send to the API endpoint for the delete recipe in organization operation typically these are written to a http.Request
func NewDeleteRecipeInOrganizationParams ¶
func NewDeleteRecipeInOrganizationParams() *DeleteRecipeInOrganizationParams
NewDeleteRecipeInOrganizationParams creates a new DeleteRecipeInOrganizationParams object with the default values initialized.
func NewDeleteRecipeInOrganizationParamsWithContext ¶
func NewDeleteRecipeInOrganizationParamsWithContext(ctx context.Context) *DeleteRecipeInOrganizationParams
NewDeleteRecipeInOrganizationParamsWithContext creates a new DeleteRecipeInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRecipeInOrganizationParamsWithHTTPClient ¶
func NewDeleteRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteRecipeInOrganizationParams
NewDeleteRecipeInOrganizationParamsWithHTTPClient creates a new DeleteRecipeInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRecipeInOrganizationParamsWithTimeout ¶
func NewDeleteRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteRecipeInOrganizationParams
NewDeleteRecipeInOrganizationParamsWithTimeout creates a new DeleteRecipeInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRecipeInOrganizationParams) SetContext ¶
func (o *DeleteRecipeInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) SetHTTPClient ¶
func (o *DeleteRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) SetName ¶
func (o *DeleteRecipeInOrganizationParams) SetName(name string)
SetName adds the name to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) SetOrganizationID ¶
func (o *DeleteRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) SetTimeout ¶
func (o *DeleteRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WithContext ¶
func (o *DeleteRecipeInOrganizationParams) WithContext(ctx context.Context) *DeleteRecipeInOrganizationParams
WithContext adds the context to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WithHTTPClient ¶
func (o *DeleteRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteRecipeInOrganizationParams
WithHTTPClient adds the HTTPClient to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WithName ¶
func (o *DeleteRecipeInOrganizationParams) WithName(name string) *DeleteRecipeInOrganizationParams
WithName adds the name to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WithOrganizationID ¶
func (o *DeleteRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteRecipeInOrganizationParams
WithOrganizationID adds the organizationID to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WithTimeout ¶
func (o *DeleteRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteRecipeInOrganizationParams
WithTimeout adds the timeout to the delete recipe in organization params
func (*DeleteRecipeInOrganizationParams) WriteToRequest ¶
func (o *DeleteRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRecipeInOrganizationReader ¶
type DeleteRecipeInOrganizationReader struct {
// contains filtered or unexported fields
}
DeleteRecipeInOrganizationReader is a Reader for the DeleteRecipeInOrganization structure.
func (*DeleteRecipeInOrganizationReader) ReadResponse ¶
func (o *DeleteRecipeInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRecipeInOrganizationOK ¶
type GetRecipeInOrganizationOK struct {
Payload *models_cloudbreak.RecipeResponse
}
GetRecipeInOrganizationOK handles this case with default header values.
successful operation
func NewGetRecipeInOrganizationOK ¶
func NewGetRecipeInOrganizationOK() *GetRecipeInOrganizationOK
NewGetRecipeInOrganizationOK creates a GetRecipeInOrganizationOK with default headers values
func (*GetRecipeInOrganizationOK) Error ¶
func (o *GetRecipeInOrganizationOK) Error() string
type GetRecipeInOrganizationParams ¶
type GetRecipeInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRecipeInOrganizationParams contains all the parameters to send to the API endpoint for the get recipe in organization operation typically these are written to a http.Request
func NewGetRecipeInOrganizationParams ¶
func NewGetRecipeInOrganizationParams() *GetRecipeInOrganizationParams
NewGetRecipeInOrganizationParams creates a new GetRecipeInOrganizationParams object with the default values initialized.
func NewGetRecipeInOrganizationParamsWithContext ¶
func NewGetRecipeInOrganizationParamsWithContext(ctx context.Context) *GetRecipeInOrganizationParams
NewGetRecipeInOrganizationParamsWithContext creates a new GetRecipeInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetRecipeInOrganizationParamsWithHTTPClient ¶
func NewGetRecipeInOrganizationParamsWithHTTPClient(client *http.Client) *GetRecipeInOrganizationParams
NewGetRecipeInOrganizationParamsWithHTTPClient creates a new GetRecipeInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRecipeInOrganizationParamsWithTimeout ¶
func NewGetRecipeInOrganizationParamsWithTimeout(timeout time.Duration) *GetRecipeInOrganizationParams
NewGetRecipeInOrganizationParamsWithTimeout creates a new GetRecipeInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRecipeInOrganizationParams) SetContext ¶
func (o *GetRecipeInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get recipe in organization params
func (*GetRecipeInOrganizationParams) SetHTTPClient ¶
func (o *GetRecipeInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get recipe in organization params
func (*GetRecipeInOrganizationParams) SetName ¶
func (o *GetRecipeInOrganizationParams) SetName(name string)
SetName adds the name to the get recipe in organization params
func (*GetRecipeInOrganizationParams) SetOrganizationID ¶
func (o *GetRecipeInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the get recipe in organization params
func (*GetRecipeInOrganizationParams) SetTimeout ¶
func (o *GetRecipeInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WithContext ¶
func (o *GetRecipeInOrganizationParams) WithContext(ctx context.Context) *GetRecipeInOrganizationParams
WithContext adds the context to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WithHTTPClient ¶
func (o *GetRecipeInOrganizationParams) WithHTTPClient(client *http.Client) *GetRecipeInOrganizationParams
WithHTTPClient adds the HTTPClient to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WithName ¶
func (o *GetRecipeInOrganizationParams) WithName(name string) *GetRecipeInOrganizationParams
WithName adds the name to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WithOrganizationID ¶
func (o *GetRecipeInOrganizationParams) WithOrganizationID(organizationID int64) *GetRecipeInOrganizationParams
WithOrganizationID adds the organizationID to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WithTimeout ¶
func (o *GetRecipeInOrganizationParams) WithTimeout(timeout time.Duration) *GetRecipeInOrganizationParams
WithTimeout adds the timeout to the get recipe in organization params
func (*GetRecipeInOrganizationParams) WriteToRequest ¶
func (o *GetRecipeInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRecipeInOrganizationReader ¶
type GetRecipeInOrganizationReader struct {
// contains filtered or unexported fields
}
GetRecipeInOrganizationReader is a Reader for the GetRecipeInOrganization structure.
func (*GetRecipeInOrganizationReader) ReadResponse ¶
func (o *GetRecipeInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRecipeRequestFromNameInOrganizationOK ¶
type GetRecipeRequestFromNameInOrganizationOK struct {
Payload *models_cloudbreak.RecipeRequest
}
GetRecipeRequestFromNameInOrganizationOK handles this case with default header values.
successful operation
func NewGetRecipeRequestFromNameInOrganizationOK ¶
func NewGetRecipeRequestFromNameInOrganizationOK() *GetRecipeRequestFromNameInOrganizationOK
NewGetRecipeRequestFromNameInOrganizationOK creates a GetRecipeRequestFromNameInOrganizationOK with default headers values
func (*GetRecipeRequestFromNameInOrganizationOK) Error ¶
func (o *GetRecipeRequestFromNameInOrganizationOK) Error() string
type GetRecipeRequestFromNameInOrganizationParams ¶
type GetRecipeRequestFromNameInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRecipeRequestFromNameInOrganizationParams contains all the parameters to send to the API endpoint for the get recipe request from name in organization operation typically these are written to a http.Request
func NewGetRecipeRequestFromNameInOrganizationParams ¶
func NewGetRecipeRequestFromNameInOrganizationParams() *GetRecipeRequestFromNameInOrganizationParams
NewGetRecipeRequestFromNameInOrganizationParams creates a new GetRecipeRequestFromNameInOrganizationParams object with the default values initialized.
func NewGetRecipeRequestFromNameInOrganizationParamsWithContext ¶
func NewGetRecipeRequestFromNameInOrganizationParamsWithContext(ctx context.Context) *GetRecipeRequestFromNameInOrganizationParams
NewGetRecipeRequestFromNameInOrganizationParamsWithContext creates a new GetRecipeRequestFromNameInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetRecipeRequestFromNameInOrganizationParamsWithHTTPClient ¶
func NewGetRecipeRequestFromNameInOrganizationParamsWithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInOrganizationParams
NewGetRecipeRequestFromNameInOrganizationParamsWithHTTPClient creates a new GetRecipeRequestFromNameInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRecipeRequestFromNameInOrganizationParamsWithTimeout ¶
func NewGetRecipeRequestFromNameInOrganizationParamsWithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInOrganizationParams
NewGetRecipeRequestFromNameInOrganizationParamsWithTimeout creates a new GetRecipeRequestFromNameInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRecipeRequestFromNameInOrganizationParams) SetContext ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) SetHTTPClient ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) SetName ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) SetName(name string)
SetName adds the name to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) SetOrganizationID ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) SetTimeout ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WithContext ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WithContext(ctx context.Context) *GetRecipeRequestFromNameInOrganizationParams
WithContext adds the context to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WithHTTPClient ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WithHTTPClient(client *http.Client) *GetRecipeRequestFromNameInOrganizationParams
WithHTTPClient adds the HTTPClient to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WithName ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WithName(name string) *GetRecipeRequestFromNameInOrganizationParams
WithName adds the name to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WithOrganizationID ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WithOrganizationID(organizationID int64) *GetRecipeRequestFromNameInOrganizationParams
WithOrganizationID adds the organizationID to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WithTimeout ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WithTimeout(timeout time.Duration) *GetRecipeRequestFromNameInOrganizationParams
WithTimeout adds the timeout to the get recipe request from name in organization params
func (*GetRecipeRequestFromNameInOrganizationParams) WriteToRequest ¶
func (o *GetRecipeRequestFromNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRecipeRequestFromNameInOrganizationReader ¶
type GetRecipeRequestFromNameInOrganizationReader struct {
// contains filtered or unexported fields
}
GetRecipeRequestFromNameInOrganizationReader is a Reader for the GetRecipeRequestFromNameInOrganization structure.
func (*GetRecipeRequestFromNameInOrganizationReader) ReadResponse ¶
func (o *GetRecipeRequestFromNameInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRecipesByOrganizationOK ¶
type ListRecipesByOrganizationOK struct {
Payload []*models_cloudbreak.RecipeResponse
}
ListRecipesByOrganizationOK handles this case with default header values.
successful operation
func NewListRecipesByOrganizationOK ¶
func NewListRecipesByOrganizationOK() *ListRecipesByOrganizationOK
NewListRecipesByOrganizationOK creates a ListRecipesByOrganizationOK with default headers values
func (*ListRecipesByOrganizationOK) Error ¶
func (o *ListRecipesByOrganizationOK) Error() string
type ListRecipesByOrganizationParams ¶
type ListRecipesByOrganizationParams struct { /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRecipesByOrganizationParams contains all the parameters to send to the API endpoint for the list recipes by organization operation typically these are written to a http.Request
func NewListRecipesByOrganizationParams ¶
func NewListRecipesByOrganizationParams() *ListRecipesByOrganizationParams
NewListRecipesByOrganizationParams creates a new ListRecipesByOrganizationParams object with the default values initialized.
func NewListRecipesByOrganizationParamsWithContext ¶
func NewListRecipesByOrganizationParamsWithContext(ctx context.Context) *ListRecipesByOrganizationParams
NewListRecipesByOrganizationParamsWithContext creates a new ListRecipesByOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewListRecipesByOrganizationParamsWithHTTPClient ¶
func NewListRecipesByOrganizationParamsWithHTTPClient(client *http.Client) *ListRecipesByOrganizationParams
NewListRecipesByOrganizationParamsWithHTTPClient creates a new ListRecipesByOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRecipesByOrganizationParamsWithTimeout ¶
func NewListRecipesByOrganizationParamsWithTimeout(timeout time.Duration) *ListRecipesByOrganizationParams
NewListRecipesByOrganizationParamsWithTimeout creates a new ListRecipesByOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRecipesByOrganizationParams) SetContext ¶
func (o *ListRecipesByOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the list recipes by organization params
func (*ListRecipesByOrganizationParams) SetHTTPClient ¶
func (o *ListRecipesByOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list recipes by organization params
func (*ListRecipesByOrganizationParams) SetOrganizationID ¶
func (o *ListRecipesByOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the list recipes by organization params
func (*ListRecipesByOrganizationParams) SetTimeout ¶
func (o *ListRecipesByOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list recipes by organization params
func (*ListRecipesByOrganizationParams) WithContext ¶
func (o *ListRecipesByOrganizationParams) WithContext(ctx context.Context) *ListRecipesByOrganizationParams
WithContext adds the context to the list recipes by organization params
func (*ListRecipesByOrganizationParams) WithHTTPClient ¶
func (o *ListRecipesByOrganizationParams) WithHTTPClient(client *http.Client) *ListRecipesByOrganizationParams
WithHTTPClient adds the HTTPClient to the list recipes by organization params
func (*ListRecipesByOrganizationParams) WithOrganizationID ¶
func (o *ListRecipesByOrganizationParams) WithOrganizationID(organizationID int64) *ListRecipesByOrganizationParams
WithOrganizationID adds the organizationID to the list recipes by organization params
func (*ListRecipesByOrganizationParams) WithTimeout ¶
func (o *ListRecipesByOrganizationParams) WithTimeout(timeout time.Duration) *ListRecipesByOrganizationParams
WithTimeout adds the timeout to the list recipes by organization params
func (*ListRecipesByOrganizationParams) WriteToRequest ¶
func (o *ListRecipesByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRecipesByOrganizationReader ¶
type ListRecipesByOrganizationReader struct {
// contains filtered or unexported fields
}
ListRecipesByOrganizationReader is a Reader for the ListRecipesByOrganization structure.
func (*ListRecipesByOrganizationReader) ReadResponse ¶
func (o *ListRecipesByOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_recipe_in_organization_parameters.go
- create_recipe_in_organization_responses.go
- delete_recipe_in_organization_parameters.go
- delete_recipe_in_organization_responses.go
- get_recipe_in_organization_parameters.go
- get_recipe_in_organization_responses.go
- get_recipe_request_from_name_in_organization_parameters.go
- get_recipe_request_from_name_in_organization_responses.go
- list_recipes_by_organization_parameters.go
- list_recipes_by_organization_responses.go
- v3_organization_id_recipes_client.go