Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteRecipesAccountName(params *DeleteRecipesAccountNameParams) error
- func (a *Client) DeleteRecipesID(params *DeleteRecipesIDParams) error
- func (a *Client) DeleteRecipesUserName(params *DeleteRecipesUserNameParams) error
- func (a *Client) GetRecipesAccount(params *GetRecipesAccountParams) (*GetRecipesAccountOK, error)
- func (a *Client) GetRecipesAccountName(params *GetRecipesAccountNameParams) (*GetRecipesAccountNameOK, error)
- func (a *Client) GetRecipesID(params *GetRecipesIDParams) (*GetRecipesIDOK, error)
- func (a *Client) GetRecipesUser(params *GetRecipesUserParams) (*GetRecipesUserOK, error)
- func (a *Client) GetRecipesUserName(params *GetRecipesUserNameParams) (*GetRecipesUserNameOK, error)
- func (a *Client) PostRecipesAccount(params *PostRecipesAccountParams) (*PostRecipesAccountOK, error)
- func (a *Client) PostRecipesUser(params *PostRecipesUserParams) (*PostRecipesUserOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type DeleteRecipesAccountNameDefault
- type DeleteRecipesAccountNameParams
- type DeleteRecipesAccountNameReader
- type DeleteRecipesIDDefault
- type DeleteRecipesIDParams
- type DeleteRecipesIDReader
- type DeleteRecipesUserNameDefault
- type DeleteRecipesUserNameParams
- type DeleteRecipesUserNameReader
- type GetRecipesAccountNameOK
- type GetRecipesAccountNameParams
- type GetRecipesAccountNameReader
- type GetRecipesAccountOK
- type GetRecipesAccountParams
- type GetRecipesAccountReader
- type GetRecipesIDOK
- type GetRecipesIDParams
- type GetRecipesIDReader
- type GetRecipesUserNameOK
- type GetRecipesUserNameParams
- type GetRecipesUserNameReader
- type GetRecipesUserOK
- type GetRecipesUserParams
- type GetRecipesUserReader
- type PostRecipesAccountOK
- type PostRecipesAccountParams
- type PostRecipesAccountReader
- type PostRecipesUserOK
- type PostRecipesUserParams
- type PostRecipesUserReader
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 recipes API
func (*Client) DeleteRecipesAccountName ¶
func (a *Client) DeleteRecipesAccountName(params *DeleteRecipesAccountNameParams) error
DeleteRecipesAccountName deletes public owned or private recipe by name
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) DeleteRecipesID ¶
func (a *Client) DeleteRecipesID(params *DeleteRecipesIDParams) error
DeleteRecipesID deletes recipe by id
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) DeleteRecipesUserName ¶
func (a *Client) DeleteRecipesUserName(params *DeleteRecipesUserNameParams) error
DeleteRecipesUserName deletes private recipe by name
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipesAccount ¶
func (a *Client) GetRecipesAccount(params *GetRecipesAccountParams) (*GetRecipesAccountOK, error)
GetRecipesAccount retrieves public and private owned recipes
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipesAccountName ¶
func (a *Client) GetRecipesAccountName(params *GetRecipesAccountNameParams) (*GetRecipesAccountNameOK, error)
GetRecipesAccountName retrieves a public or private owned recipe by name
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipesID ¶
func (a *Client) GetRecipesID(params *GetRecipesIDParams) (*GetRecipesIDOK, error)
GetRecipesID retrieves recipe by id
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipesUser ¶
func (a *Client) GetRecipesUser(params *GetRecipesUserParams) (*GetRecipesUserOK, error)
GetRecipesUser retrieves private recipes
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) GetRecipesUserName ¶
func (a *Client) GetRecipesUserName(params *GetRecipesUserNameParams) (*GetRecipesUserNameOK, error)
GetRecipesUserName retrieves a private recipe by name
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) PostRecipesAccount ¶
func (a *Client) PostRecipesAccount(params *PostRecipesAccountParams) (*PostRecipesAccountOK, error)
PostRecipesAccount creates recipe as public resource
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) PostRecipesUser ¶
func (a *Client) PostRecipesUser(params *PostRecipesUserParams) (*PostRecipesUserOK, error)
PostRecipesUser creates recipe as private resource
Recipes are basically script extensions to a cluster that run on a set of nodes before or after the Ambari cluster installation.
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
type DeleteRecipesAccountNameDefault ¶
type DeleteRecipesAccountNameDefault struct {
// contains filtered or unexported fields
}
DeleteRecipesAccountNameDefault handles this case with default header values.
successful operation
func NewDeleteRecipesAccountNameDefault ¶
func NewDeleteRecipesAccountNameDefault(code int) *DeleteRecipesAccountNameDefault
NewDeleteRecipesAccountNameDefault creates a DeleteRecipesAccountNameDefault with default headers values
func (*DeleteRecipesAccountNameDefault) Code ¶
func (o *DeleteRecipesAccountNameDefault) Code() int
Code gets the status code for the delete recipes account name default response
func (*DeleteRecipesAccountNameDefault) Error ¶
func (o *DeleteRecipesAccountNameDefault) Error() string
type DeleteRecipesAccountNameParams ¶
type DeleteRecipesAccountNameParams struct { /*Name*/ Name string }
DeleteRecipesAccountNameParams contains all the parameters to send to the API endpoint for the delete recipes account name operation typically these are written to a http.Request
func NewDeleteRecipesAccountNameParams ¶
func NewDeleteRecipesAccountNameParams() *DeleteRecipesAccountNameParams
NewDeleteRecipesAccountNameParams creates a new DeleteRecipesAccountNameParams object with the default values initialized.
func (*DeleteRecipesAccountNameParams) WithName ¶
func (o *DeleteRecipesAccountNameParams) WithName(name string) *DeleteRecipesAccountNameParams
WithName adds the name to the delete recipes account name params
func (*DeleteRecipesAccountNameParams) WriteToRequest ¶
func (o *DeleteRecipesAccountNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRecipesAccountNameReader ¶
type DeleteRecipesAccountNameReader struct {
// contains filtered or unexported fields
}
DeleteRecipesAccountNameReader is a Reader for the DeleteRecipesAccountName structure.
func (*DeleteRecipesAccountNameReader) ReadResponse ¶
func (o *DeleteRecipesAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteRecipesIDDefault ¶
type DeleteRecipesIDDefault struct {
// contains filtered or unexported fields
}
DeleteRecipesIDDefault handles this case with default header values.
successful operation
func NewDeleteRecipesIDDefault ¶
func NewDeleteRecipesIDDefault(code int) *DeleteRecipesIDDefault
NewDeleteRecipesIDDefault creates a DeleteRecipesIDDefault with default headers values
func (*DeleteRecipesIDDefault) Code ¶
func (o *DeleteRecipesIDDefault) Code() int
Code gets the status code for the delete recipes ID default response
func (*DeleteRecipesIDDefault) Error ¶
func (o *DeleteRecipesIDDefault) Error() string
type DeleteRecipesIDParams ¶
type DeleteRecipesIDParams struct { /*ID*/ ID int64 }
DeleteRecipesIDParams contains all the parameters to send to the API endpoint for the delete recipes ID operation typically these are written to a http.Request
func NewDeleteRecipesIDParams ¶
func NewDeleteRecipesIDParams() *DeleteRecipesIDParams
NewDeleteRecipesIDParams creates a new DeleteRecipesIDParams object with the default values initialized.
func (*DeleteRecipesIDParams) WithID ¶
func (o *DeleteRecipesIDParams) WithID(id int64) *DeleteRecipesIDParams
WithID adds the id to the delete recipes ID params
func (*DeleteRecipesIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeleteRecipesIDReader ¶
type DeleteRecipesIDReader struct {
// contains filtered or unexported fields
}
DeleteRecipesIDReader is a Reader for the DeleteRecipesID structure.
func (*DeleteRecipesIDReader) ReadResponse ¶
func (o *DeleteRecipesIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteRecipesUserNameDefault ¶
type DeleteRecipesUserNameDefault struct {
// contains filtered or unexported fields
}
DeleteRecipesUserNameDefault handles this case with default header values.
successful operation
func NewDeleteRecipesUserNameDefault ¶
func NewDeleteRecipesUserNameDefault(code int) *DeleteRecipesUserNameDefault
NewDeleteRecipesUserNameDefault creates a DeleteRecipesUserNameDefault with default headers values
func (*DeleteRecipesUserNameDefault) Code ¶
func (o *DeleteRecipesUserNameDefault) Code() int
Code gets the status code for the delete recipes user name default response
func (*DeleteRecipesUserNameDefault) Error ¶
func (o *DeleteRecipesUserNameDefault) Error() string
type DeleteRecipesUserNameParams ¶
type DeleteRecipesUserNameParams struct { /*Name*/ Name string }
DeleteRecipesUserNameParams contains all the parameters to send to the API endpoint for the delete recipes user name operation typically these are written to a http.Request
func NewDeleteRecipesUserNameParams ¶
func NewDeleteRecipesUserNameParams() *DeleteRecipesUserNameParams
NewDeleteRecipesUserNameParams creates a new DeleteRecipesUserNameParams object with the default values initialized.
func (*DeleteRecipesUserNameParams) WithName ¶
func (o *DeleteRecipesUserNameParams) WithName(name string) *DeleteRecipesUserNameParams
WithName adds the name to the delete recipes user name params
func (*DeleteRecipesUserNameParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeleteRecipesUserNameReader ¶
type DeleteRecipesUserNameReader struct {
// contains filtered or unexported fields
}
DeleteRecipesUserNameReader is a Reader for the DeleteRecipesUserName structure.
func (*DeleteRecipesUserNameReader) ReadResponse ¶
func (o *DeleteRecipesUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetRecipesAccountNameOK ¶
type GetRecipesAccountNameOK struct {
Payload *models.RecipeResponse
}
GetRecipesAccountNameOK handles this case with default header values.
successful operation
func NewGetRecipesAccountNameOK ¶
func NewGetRecipesAccountNameOK() *GetRecipesAccountNameOK
NewGetRecipesAccountNameOK creates a GetRecipesAccountNameOK with default headers values
func (*GetRecipesAccountNameOK) Error ¶
func (o *GetRecipesAccountNameOK) Error() string
type GetRecipesAccountNameParams ¶
type GetRecipesAccountNameParams struct { /*Name*/ Name string }
GetRecipesAccountNameParams contains all the parameters to send to the API endpoint for the get recipes account name operation typically these are written to a http.Request
func NewGetRecipesAccountNameParams ¶
func NewGetRecipesAccountNameParams() *GetRecipesAccountNameParams
NewGetRecipesAccountNameParams creates a new GetRecipesAccountNameParams object with the default values initialized.
func (*GetRecipesAccountNameParams) WithName ¶
func (o *GetRecipesAccountNameParams) WithName(name string) *GetRecipesAccountNameParams
WithName adds the name to the get recipes account name params
func (*GetRecipesAccountNameParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetRecipesAccountNameReader ¶
type GetRecipesAccountNameReader struct {
// contains filtered or unexported fields
}
GetRecipesAccountNameReader is a Reader for the GetRecipesAccountName structure.
func (*GetRecipesAccountNameReader) ReadResponse ¶
func (o *GetRecipesAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetRecipesAccountOK ¶
type GetRecipesAccountOK struct {
Payload []*models.RecipeResponse
}
GetRecipesAccountOK handles this case with default header values.
successful operation
func NewGetRecipesAccountOK ¶
func NewGetRecipesAccountOK() *GetRecipesAccountOK
NewGetRecipesAccountOK creates a GetRecipesAccountOK with default headers values
func (*GetRecipesAccountOK) Error ¶
func (o *GetRecipesAccountOK) Error() string
type GetRecipesAccountParams ¶
type GetRecipesAccountParams struct { }
GetRecipesAccountParams contains all the parameters to send to the API endpoint for the get recipes account operation typically these are written to a http.Request
func NewGetRecipesAccountParams ¶
func NewGetRecipesAccountParams() *GetRecipesAccountParams
NewGetRecipesAccountParams creates a new GetRecipesAccountParams object with the default values initialized.
func (*GetRecipesAccountParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetRecipesAccountReader ¶
type GetRecipesAccountReader struct {
// contains filtered or unexported fields
}
GetRecipesAccountReader is a Reader for the GetRecipesAccount structure.
func (*GetRecipesAccountReader) ReadResponse ¶
func (o *GetRecipesAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetRecipesIDOK ¶
type GetRecipesIDOK struct {
Payload *models.RecipeResponse
}
GetRecipesIDOK handles this case with default header values.
successful operation
func NewGetRecipesIDOK ¶
func NewGetRecipesIDOK() *GetRecipesIDOK
NewGetRecipesIDOK creates a GetRecipesIDOK with default headers values
func (*GetRecipesIDOK) Error ¶
func (o *GetRecipesIDOK) Error() string
type GetRecipesIDParams ¶
type GetRecipesIDParams struct { /*ID*/ ID int64 }
GetRecipesIDParams contains all the parameters to send to the API endpoint for the get recipes ID operation typically these are written to a http.Request
func NewGetRecipesIDParams ¶
func NewGetRecipesIDParams() *GetRecipesIDParams
NewGetRecipesIDParams creates a new GetRecipesIDParams object with the default values initialized.
func (*GetRecipesIDParams) WithID ¶
func (o *GetRecipesIDParams) WithID(id int64) *GetRecipesIDParams
WithID adds the id to the get recipes ID params
func (*GetRecipesIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetRecipesIDReader ¶
type GetRecipesIDReader struct {
// contains filtered or unexported fields
}
GetRecipesIDReader is a Reader for the GetRecipesID structure.
func (*GetRecipesIDReader) ReadResponse ¶
func (o *GetRecipesIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetRecipesUserNameOK ¶
type GetRecipesUserNameOK struct {
Payload *models.RecipeResponse
}
GetRecipesUserNameOK handles this case with default header values.
successful operation
func NewGetRecipesUserNameOK ¶
func NewGetRecipesUserNameOK() *GetRecipesUserNameOK
NewGetRecipesUserNameOK creates a GetRecipesUserNameOK with default headers values
func (*GetRecipesUserNameOK) Error ¶
func (o *GetRecipesUserNameOK) Error() string
type GetRecipesUserNameParams ¶
type GetRecipesUserNameParams struct { /*Name*/ Name string }
GetRecipesUserNameParams contains all the parameters to send to the API endpoint for the get recipes user name operation typically these are written to a http.Request
func NewGetRecipesUserNameParams ¶
func NewGetRecipesUserNameParams() *GetRecipesUserNameParams
NewGetRecipesUserNameParams creates a new GetRecipesUserNameParams object with the default values initialized.
func (*GetRecipesUserNameParams) WithName ¶
func (o *GetRecipesUserNameParams) WithName(name string) *GetRecipesUserNameParams
WithName adds the name to the get recipes user name params
func (*GetRecipesUserNameParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetRecipesUserNameReader ¶
type GetRecipesUserNameReader struct {
// contains filtered or unexported fields
}
GetRecipesUserNameReader is a Reader for the GetRecipesUserName structure.
func (*GetRecipesUserNameReader) ReadResponse ¶
func (o *GetRecipesUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetRecipesUserOK ¶
type GetRecipesUserOK struct {
Payload []*models.RecipeResponse
}
GetRecipesUserOK handles this case with default header values.
successful operation
func NewGetRecipesUserOK ¶
func NewGetRecipesUserOK() *GetRecipesUserOK
NewGetRecipesUserOK creates a GetRecipesUserOK with default headers values
func (*GetRecipesUserOK) Error ¶
func (o *GetRecipesUserOK) Error() string
type GetRecipesUserParams ¶
type GetRecipesUserParams struct { }
GetRecipesUserParams contains all the parameters to send to the API endpoint for the get recipes user operation typically these are written to a http.Request
func NewGetRecipesUserParams ¶
func NewGetRecipesUserParams() *GetRecipesUserParams
NewGetRecipesUserParams creates a new GetRecipesUserParams object with the default values initialized.
func (*GetRecipesUserParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetRecipesUserReader ¶
type GetRecipesUserReader struct {
// contains filtered or unexported fields
}
GetRecipesUserReader is a Reader for the GetRecipesUser structure.
func (*GetRecipesUserReader) ReadResponse ¶
func (o *GetRecipesUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostRecipesAccountOK ¶
PostRecipesAccountOK handles this case with default header values.
successful operation
func NewPostRecipesAccountOK ¶
func NewPostRecipesAccountOK() *PostRecipesAccountOK
NewPostRecipesAccountOK creates a PostRecipesAccountOK with default headers values
func (*PostRecipesAccountOK) Error ¶
func (o *PostRecipesAccountOK) Error() string
type PostRecipesAccountParams ¶
type PostRecipesAccountParams struct { /*Body*/ Body *models.RecipeRequest }
PostRecipesAccountParams contains all the parameters to send to the API endpoint for the post recipes account operation typically these are written to a http.Request
func NewPostRecipesAccountParams ¶
func NewPostRecipesAccountParams() *PostRecipesAccountParams
NewPostRecipesAccountParams creates a new PostRecipesAccountParams object with the default values initialized.
func (*PostRecipesAccountParams) WithBody ¶
func (o *PostRecipesAccountParams) WithBody(body *models.RecipeRequest) *PostRecipesAccountParams
WithBody adds the body to the post recipes account params
func (*PostRecipesAccountParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostRecipesAccountReader ¶
type PostRecipesAccountReader struct {
// contains filtered or unexported fields
}
PostRecipesAccountReader is a Reader for the PostRecipesAccount structure.
func (*PostRecipesAccountReader) ReadResponse ¶
func (o *PostRecipesAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostRecipesUserOK ¶
PostRecipesUserOK handles this case with default header values.
successful operation
func NewPostRecipesUserOK ¶
func NewPostRecipesUserOK() *PostRecipesUserOK
NewPostRecipesUserOK creates a PostRecipesUserOK with default headers values
func (*PostRecipesUserOK) Error ¶
func (o *PostRecipesUserOK) Error() string
type PostRecipesUserParams ¶
type PostRecipesUserParams struct { /*Body*/ Body *models.RecipeRequest }
PostRecipesUserParams contains all the parameters to send to the API endpoint for the post recipes user operation typically these are written to a http.Request
func NewPostRecipesUserParams ¶
func NewPostRecipesUserParams() *PostRecipesUserParams
NewPostRecipesUserParams creates a new PostRecipesUserParams object with the default values initialized.
func (*PostRecipesUserParams) WithBody ¶
func (o *PostRecipesUserParams) WithBody(body *models.RecipeRequest) *PostRecipesUserParams
WithBody adds the body to the post recipes user params
func (*PostRecipesUserParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostRecipesUserReader ¶
type PostRecipesUserReader struct {
// contains filtered or unexported fields
}
PostRecipesUserReader is a Reader for the PostRecipesUser structure.
func (*PostRecipesUserReader) ReadResponse ¶
func (o *PostRecipesUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files
¶
- delete_recipes_account_name_parameters.go
- delete_recipes_account_name_responses.go
- delete_recipes_id_parameters.go
- delete_recipes_id_responses.go
- delete_recipes_user_name_parameters.go
- delete_recipes_user_name_responses.go
- get_recipes_account_name_parameters.go
- get_recipes_account_name_responses.go
- get_recipes_account_parameters.go
- get_recipes_account_responses.go
- get_recipes_id_parameters.go
- get_recipes_id_responses.go
- get_recipes_user_name_parameters.go
- get_recipes_user_name_responses.go
- get_recipes_user_parameters.go
- get_recipes_user_responses.go
- post_recipes_account_parameters.go
- post_recipes_account_responses.go
- post_recipes_user_parameters.go
- post_recipes_user_responses.go
- recipes_client.go