Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAllSettings(params *GetAllSettingsParams) (*GetAllSettingsOK, error)
- func (a *Client) GetDatabaseConfigSettings(params *GetDatabaseConfigSettingsParams) (*GetDatabaseConfigSettingsOK, error)
- func (a *Client) GetRecipeSettings(params *GetRecipeSettingsParams) (*GetRecipeSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetAllSettingsOK
- type GetAllSettingsOKBody
- type GetAllSettingsParams
- func NewGetAllSettingsParams() *GetAllSettingsParams
- func NewGetAllSettingsParamsWithContext(ctx context.Context) *GetAllSettingsParams
- func NewGetAllSettingsParamsWithHTTPClient(client *http.Client) *GetAllSettingsParams
- func NewGetAllSettingsParamsWithTimeout(timeout time.Duration) *GetAllSettingsParams
- func (o *GetAllSettingsParams) SetContext(ctx context.Context)
- func (o *GetAllSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllSettingsParams) WithContext(ctx context.Context) *GetAllSettingsParams
- func (o *GetAllSettingsParams) WithHTTPClient(client *http.Client) *GetAllSettingsParams
- func (o *GetAllSettingsParams) WithTimeout(timeout time.Duration) *GetAllSettingsParams
- func (o *GetAllSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllSettingsReader
- type GetDatabaseConfigSettingsOK
- type GetDatabaseConfigSettingsOKBody
- type GetDatabaseConfigSettingsParams
- func NewGetDatabaseConfigSettingsParams() *GetDatabaseConfigSettingsParams
- func NewGetDatabaseConfigSettingsParamsWithContext(ctx context.Context) *GetDatabaseConfigSettingsParams
- func NewGetDatabaseConfigSettingsParamsWithHTTPClient(client *http.Client) *GetDatabaseConfigSettingsParams
- func NewGetDatabaseConfigSettingsParamsWithTimeout(timeout time.Duration) *GetDatabaseConfigSettingsParams
- func (o *GetDatabaseConfigSettingsParams) SetContext(ctx context.Context)
- func (o *GetDatabaseConfigSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetDatabaseConfigSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetDatabaseConfigSettingsParams) WithContext(ctx context.Context) *GetDatabaseConfigSettingsParams
- func (o *GetDatabaseConfigSettingsParams) WithHTTPClient(client *http.Client) *GetDatabaseConfigSettingsParams
- func (o *GetDatabaseConfigSettingsParams) WithTimeout(timeout time.Duration) *GetDatabaseConfigSettingsParams
- func (o *GetDatabaseConfigSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatabaseConfigSettingsReader
- type GetRecipeSettingsOK
- type GetRecipeSettingsOKBody
- type GetRecipeSettingsParams
- func NewGetRecipeSettingsParams() *GetRecipeSettingsParams
- func NewGetRecipeSettingsParamsWithContext(ctx context.Context) *GetRecipeSettingsParams
- func NewGetRecipeSettingsParamsWithHTTPClient(client *http.Client) *GetRecipeSettingsParams
- func NewGetRecipeSettingsParamsWithTimeout(timeout time.Duration) *GetRecipeSettingsParams
- func (o *GetRecipeSettingsParams) SetContext(ctx context.Context)
- func (o *GetRecipeSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetRecipeSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetRecipeSettingsParams) WithContext(ctx context.Context) *GetRecipeSettingsParams
- func (o *GetRecipeSettingsParams) WithHTTPClient(client *http.Client) *GetRecipeSettingsParams
- func (o *GetRecipeSettingsParams) WithTimeout(timeout time.Duration) *GetRecipeSettingsParams
- func (o *GetRecipeSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecipeSettingsReader
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 v1settings API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1settings API client.
func (*Client) GetAllSettings ¶
func (a *Client) GetAllSettings(params *GetAllSettingsParams) (*GetAllSettingsOK, error)
GetAllSettings retrives all available settings
Collecting Cloudbreak specific resource settings.
func (*Client) GetDatabaseConfigSettings ¶
func (a *Client) GetDatabaseConfigSettings(params *GetDatabaseConfigSettingsParams) (*GetDatabaseConfigSettingsOK, error)
GetDatabaseConfigSettings retrives available ambari database settings
Collecting Cloudbreak specific resource settings.
func (*Client) GetRecipeSettings ¶
func (a *Client) GetRecipeSettings(params *GetRecipeSettingsParams) (*GetRecipeSettingsOK, error)
GetRecipeSettings retrives available recipe settings
Collecting Cloudbreak specific resource settings.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAllSettingsOK ¶
type GetAllSettingsOK struct {
Payload GetAllSettingsOKBody
}
GetAllSettingsOK handles this case with default header values.
successful operation
func NewGetAllSettingsOK ¶
func NewGetAllSettingsOK() *GetAllSettingsOK
NewGetAllSettingsOK creates a GetAllSettingsOK with default headers values
func (*GetAllSettingsOK) Error ¶
func (o *GetAllSettingsOK) Error() string
type GetAllSettingsOKBody ¶
type GetAllSettingsParams ¶
type GetAllSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllSettingsParams contains all the parameters to send to the API endpoint for the get all settings operation typically these are written to a http.Request
func NewGetAllSettingsParams ¶
func NewGetAllSettingsParams() *GetAllSettingsParams
NewGetAllSettingsParams creates a new GetAllSettingsParams object with the default values initialized.
func NewGetAllSettingsParamsWithContext ¶
func NewGetAllSettingsParamsWithContext(ctx context.Context) *GetAllSettingsParams
NewGetAllSettingsParamsWithContext creates a new GetAllSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllSettingsParamsWithHTTPClient ¶
func NewGetAllSettingsParamsWithHTTPClient(client *http.Client) *GetAllSettingsParams
NewGetAllSettingsParamsWithHTTPClient creates a new GetAllSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllSettingsParamsWithTimeout ¶
func NewGetAllSettingsParamsWithTimeout(timeout time.Duration) *GetAllSettingsParams
NewGetAllSettingsParamsWithTimeout creates a new GetAllSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllSettingsParams) SetContext ¶
func (o *GetAllSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all settings params
func (*GetAllSettingsParams) SetHTTPClient ¶
func (o *GetAllSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all settings params
func (*GetAllSettingsParams) SetTimeout ¶
func (o *GetAllSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all settings params
func (*GetAllSettingsParams) WithContext ¶
func (o *GetAllSettingsParams) WithContext(ctx context.Context) *GetAllSettingsParams
WithContext adds the context to the get all settings params
func (*GetAllSettingsParams) WithHTTPClient ¶
func (o *GetAllSettingsParams) WithHTTPClient(client *http.Client) *GetAllSettingsParams
WithHTTPClient adds the HTTPClient to the get all settings params
func (*GetAllSettingsParams) WithTimeout ¶
func (o *GetAllSettingsParams) WithTimeout(timeout time.Duration) *GetAllSettingsParams
WithTimeout adds the timeout to the get all settings params
func (*GetAllSettingsParams) WriteToRequest ¶
func (o *GetAllSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllSettingsReader ¶
type GetAllSettingsReader struct {
// contains filtered or unexported fields
}
GetAllSettingsReader is a Reader for the GetAllSettings structure.
func (*GetAllSettingsReader) ReadResponse ¶
func (o *GetAllSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatabaseConfigSettingsOK ¶
type GetDatabaseConfigSettingsOK struct {
Payload GetDatabaseConfigSettingsOKBody
}
GetDatabaseConfigSettingsOK handles this case with default header values.
successful operation
func NewGetDatabaseConfigSettingsOK ¶
func NewGetDatabaseConfigSettingsOK() *GetDatabaseConfigSettingsOK
NewGetDatabaseConfigSettingsOK creates a GetDatabaseConfigSettingsOK with default headers values
func (*GetDatabaseConfigSettingsOK) Error ¶
func (o *GetDatabaseConfigSettingsOK) Error() string
type GetDatabaseConfigSettingsOKBody ¶
type GetDatabaseConfigSettingsOKBody map[string]interface{}
type GetDatabaseConfigSettingsParams ¶
type GetDatabaseConfigSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatabaseConfigSettingsParams contains all the parameters to send to the API endpoint for the get database config settings operation typically these are written to a http.Request
func NewGetDatabaseConfigSettingsParams ¶
func NewGetDatabaseConfigSettingsParams() *GetDatabaseConfigSettingsParams
NewGetDatabaseConfigSettingsParams creates a new GetDatabaseConfigSettingsParams object with the default values initialized.
func NewGetDatabaseConfigSettingsParamsWithContext ¶
func NewGetDatabaseConfigSettingsParamsWithContext(ctx context.Context) *GetDatabaseConfigSettingsParams
NewGetDatabaseConfigSettingsParamsWithContext creates a new GetDatabaseConfigSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDatabaseConfigSettingsParamsWithHTTPClient ¶
func NewGetDatabaseConfigSettingsParamsWithHTTPClient(client *http.Client) *GetDatabaseConfigSettingsParams
NewGetDatabaseConfigSettingsParamsWithHTTPClient creates a new GetDatabaseConfigSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDatabaseConfigSettingsParamsWithTimeout ¶
func NewGetDatabaseConfigSettingsParamsWithTimeout(timeout time.Duration) *GetDatabaseConfigSettingsParams
NewGetDatabaseConfigSettingsParamsWithTimeout creates a new GetDatabaseConfigSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDatabaseConfigSettingsParams) SetContext ¶
func (o *GetDatabaseConfigSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get database config settings params
func (*GetDatabaseConfigSettingsParams) SetHTTPClient ¶
func (o *GetDatabaseConfigSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get database config settings params
func (*GetDatabaseConfigSettingsParams) SetTimeout ¶
func (o *GetDatabaseConfigSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get database config settings params
func (*GetDatabaseConfigSettingsParams) WithContext ¶
func (o *GetDatabaseConfigSettingsParams) WithContext(ctx context.Context) *GetDatabaseConfigSettingsParams
WithContext adds the context to the get database config settings params
func (*GetDatabaseConfigSettingsParams) WithHTTPClient ¶
func (o *GetDatabaseConfigSettingsParams) WithHTTPClient(client *http.Client) *GetDatabaseConfigSettingsParams
WithHTTPClient adds the HTTPClient to the get database config settings params
func (*GetDatabaseConfigSettingsParams) WithTimeout ¶
func (o *GetDatabaseConfigSettingsParams) WithTimeout(timeout time.Duration) *GetDatabaseConfigSettingsParams
WithTimeout adds the timeout to the get database config settings params
func (*GetDatabaseConfigSettingsParams) WriteToRequest ¶
func (o *GetDatabaseConfigSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatabaseConfigSettingsReader ¶
type GetDatabaseConfigSettingsReader struct {
// contains filtered or unexported fields
}
GetDatabaseConfigSettingsReader is a Reader for the GetDatabaseConfigSettings structure.
func (*GetDatabaseConfigSettingsReader) ReadResponse ¶
func (o *GetDatabaseConfigSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRecipeSettingsOK ¶
type GetRecipeSettingsOK struct {
Payload GetRecipeSettingsOKBody
}
GetRecipeSettingsOK handles this case with default header values.
successful operation
func NewGetRecipeSettingsOK ¶
func NewGetRecipeSettingsOK() *GetRecipeSettingsOK
NewGetRecipeSettingsOK creates a GetRecipeSettingsOK with default headers values
func (*GetRecipeSettingsOK) Error ¶
func (o *GetRecipeSettingsOK) Error() string
type GetRecipeSettingsOKBody ¶
type GetRecipeSettingsOKBody map[string]interface{}
type GetRecipeSettingsParams ¶
type GetRecipeSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRecipeSettingsParams contains all the parameters to send to the API endpoint for the get recipe settings operation typically these are written to a http.Request
func NewGetRecipeSettingsParams ¶
func NewGetRecipeSettingsParams() *GetRecipeSettingsParams
NewGetRecipeSettingsParams creates a new GetRecipeSettingsParams object with the default values initialized.
func NewGetRecipeSettingsParamsWithContext ¶
func NewGetRecipeSettingsParamsWithContext(ctx context.Context) *GetRecipeSettingsParams
NewGetRecipeSettingsParamsWithContext creates a new GetRecipeSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRecipeSettingsParamsWithHTTPClient ¶
func NewGetRecipeSettingsParamsWithHTTPClient(client *http.Client) *GetRecipeSettingsParams
NewGetRecipeSettingsParamsWithHTTPClient creates a new GetRecipeSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRecipeSettingsParamsWithTimeout ¶
func NewGetRecipeSettingsParamsWithTimeout(timeout time.Duration) *GetRecipeSettingsParams
NewGetRecipeSettingsParamsWithTimeout creates a new GetRecipeSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRecipeSettingsParams) SetContext ¶
func (o *GetRecipeSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get recipe settings params
func (*GetRecipeSettingsParams) SetHTTPClient ¶
func (o *GetRecipeSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get recipe settings params
func (*GetRecipeSettingsParams) SetTimeout ¶
func (o *GetRecipeSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get recipe settings params
func (*GetRecipeSettingsParams) WithContext ¶
func (o *GetRecipeSettingsParams) WithContext(ctx context.Context) *GetRecipeSettingsParams
WithContext adds the context to the get recipe settings params
func (*GetRecipeSettingsParams) WithHTTPClient ¶
func (o *GetRecipeSettingsParams) WithHTTPClient(client *http.Client) *GetRecipeSettingsParams
WithHTTPClient adds the HTTPClient to the get recipe settings params
func (*GetRecipeSettingsParams) WithTimeout ¶
func (o *GetRecipeSettingsParams) WithTimeout(timeout time.Duration) *GetRecipeSettingsParams
WithTimeout adds the timeout to the get recipe settings params
func (*GetRecipeSettingsParams) WriteToRequest ¶
func (o *GetRecipeSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRecipeSettingsReader ¶
type GetRecipeSettingsReader struct {
// contains filtered or unexported fields
}
GetRecipeSettingsReader is a Reader for the GetRecipeSettings structure.
func (*GetRecipeSettingsReader) ReadResponse ¶
func (o *GetRecipeSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.