v1settings

package
v2.2.1-rc.18+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 GetAllSettingsOKBody map[string]map[string]interface{}

func (GetAllSettingsOKBody) Validate

func (o GetAllSettingsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get all settings o k body

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

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

type GetDatabaseConfigSettingsOKBody

type GetDatabaseConfigSettingsOKBody map[string]interface{}

func (GetDatabaseConfigSettingsOKBody) Validate

Validate validates this get database config settings o k body

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

WithContext adds the context to the get database config settings params

func (*GetDatabaseConfigSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get database config settings params

func (*GetDatabaseConfigSettingsParams) WithTimeout

WithTimeout adds the timeout to the get database config settings params

func (*GetDatabaseConfigSettingsParams) WriteToRequest

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{}

func (GetRecipeSettingsOKBody) Validate

func (o GetRecipeSettingsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get recipe settings o k body

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

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

WithTimeout adds the timeout to the get recipe settings params

func (*GetRecipeSettingsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL