cluster_settings

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

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 cluster settings API

func (*Client) GetClusterSettingses

func (a *Client) GetClusterSettingses(params *GetClusterSettingsesParams, opts ...ClientOption) (*GetClusterSettingsesOK, error)

GetClusterSettingses get cluster settingses API

func (*Client) GetClusterSettingsesConnection

func (a *Client) GetClusterSettingsesConnection(params *GetClusterSettingsesConnectionParams, opts ...ClientOption) (*GetClusterSettingsesConnectionOK, error)

GetClusterSettingsesConnection get cluster settingses connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetClusterSettingses(params *GetClusterSettingsesParams, opts ...ClientOption) (*GetClusterSettingsesOK, error)

	GetClusterSettingsesConnection(params *GetClusterSettingsesConnectionParams, opts ...ClientOption) (*GetClusterSettingsesConnectionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new cluster settings API client.

type GetClusterSettingsesBadRequest

type GetClusterSettingsesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetClusterSettingsesBadRequest

func NewGetClusterSettingsesBadRequest() *GetClusterSettingsesBadRequest

NewGetClusterSettingsesBadRequest creates a GetClusterSettingsesBadRequest with default headers values

func (*GetClusterSettingsesBadRequest) Error

func (*GetClusterSettingsesBadRequest) GetPayload

type GetClusterSettingsesConnectionBadRequest

type GetClusterSettingsesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetClusterSettingsesConnectionBadRequest

func NewGetClusterSettingsesConnectionBadRequest() *GetClusterSettingsesConnectionBadRequest

NewGetClusterSettingsesConnectionBadRequest creates a GetClusterSettingsesConnectionBadRequest with default headers values

func (*GetClusterSettingsesConnectionBadRequest) Error

func (*GetClusterSettingsesConnectionBadRequest) GetPayload

type GetClusterSettingsesConnectionInternalServerError

type GetClusterSettingsesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetClusterSettingsesConnectionInternalServerError

func NewGetClusterSettingsesConnectionInternalServerError() *GetClusterSettingsesConnectionInternalServerError

NewGetClusterSettingsesConnectionInternalServerError creates a GetClusterSettingsesConnectionInternalServerError with default headers values

func (*GetClusterSettingsesConnectionInternalServerError) Error

func (*GetClusterSettingsesConnectionInternalServerError) GetPayload

type GetClusterSettingsesConnectionNotFound

type GetClusterSettingsesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetClusterSettingsesConnectionNotFound

func NewGetClusterSettingsesConnectionNotFound() *GetClusterSettingsesConnectionNotFound

NewGetClusterSettingsesConnectionNotFound creates a GetClusterSettingsesConnectionNotFound with default headers values

func (*GetClusterSettingsesConnectionNotFound) Error

func (*GetClusterSettingsesConnectionNotFound) GetPayload

type GetClusterSettingsesConnectionOK

type GetClusterSettingsesConnectionOK struct {
	XTowerRequestID string

	Payload *models.ClusterSettingsConnection
}
GetClusterSettingsesConnectionOK describes a response with status code 200, with default header values.

GetClusterSettingsesConnectionOK get cluster settingses connection o k

func NewGetClusterSettingsesConnectionOK

func NewGetClusterSettingsesConnectionOK() *GetClusterSettingsesConnectionOK

NewGetClusterSettingsesConnectionOK creates a GetClusterSettingsesConnectionOK with default headers values

func (*GetClusterSettingsesConnectionOK) Error

func (*GetClusterSettingsesConnectionOK) GetPayload

type GetClusterSettingsesConnectionParams

type GetClusterSettingsesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClusterSettingsesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterSettingsesConnectionParams contains all the parameters to send to the API endpoint

for the get cluster settingses connection operation.

Typically these are written to a http.Request.

func NewGetClusterSettingsesConnectionParams

func NewGetClusterSettingsesConnectionParams() *GetClusterSettingsesConnectionParams

NewGetClusterSettingsesConnectionParams creates a new GetClusterSettingsesConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterSettingsesConnectionParamsWithContext

func NewGetClusterSettingsesConnectionParamsWithContext(ctx context.Context) *GetClusterSettingsesConnectionParams

NewGetClusterSettingsesConnectionParamsWithContext creates a new GetClusterSettingsesConnectionParams object with the ability to set a context for a request.

func NewGetClusterSettingsesConnectionParamsWithHTTPClient

func NewGetClusterSettingsesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesConnectionParams

NewGetClusterSettingsesConnectionParamsWithHTTPClient creates a new GetClusterSettingsesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterSettingsesConnectionParamsWithTimeout

func NewGetClusterSettingsesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesConnectionParams

NewGetClusterSettingsesConnectionParamsWithTimeout creates a new GetClusterSettingsesConnectionParams object with the ability to set a timeout on a request.

func (*GetClusterSettingsesConnectionParams) SetContentLanguage

func (o *GetClusterSettingsesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) SetContext

SetContext adds the context to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) SetDefaults

func (o *GetClusterSettingsesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get cluster settingses connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSettingsesConnectionParams) SetHTTPClient

func (o *GetClusterSettingsesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) SetTimeout

func (o *GetClusterSettingsesConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WithContentLanguage

func (o *GetClusterSettingsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesConnectionParams

WithContentLanguage adds the contentLanguage to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WithContext

WithContext adds the context to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get cluster settingses connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSettingsesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get cluster settingses connection params

func (*GetClusterSettingsesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterSettingsesConnectionReader

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

GetClusterSettingsesConnectionReader is a Reader for the GetClusterSettingsesConnection structure.

func (*GetClusterSettingsesConnectionReader) ReadResponse

func (o *GetClusterSettingsesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterSettingsesInternalServerError

type GetClusterSettingsesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetClusterSettingsesInternalServerError

func NewGetClusterSettingsesInternalServerError() *GetClusterSettingsesInternalServerError

NewGetClusterSettingsesInternalServerError creates a GetClusterSettingsesInternalServerError with default headers values

func (*GetClusterSettingsesInternalServerError) Error

func (*GetClusterSettingsesInternalServerError) GetPayload

type GetClusterSettingsesNotFound

type GetClusterSettingsesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetClusterSettingsesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetClusterSettingsesNotFound

func NewGetClusterSettingsesNotFound() *GetClusterSettingsesNotFound

NewGetClusterSettingsesNotFound creates a GetClusterSettingsesNotFound with default headers values

func (*GetClusterSettingsesNotFound) Error

func (*GetClusterSettingsesNotFound) GetPayload

type GetClusterSettingsesOK

type GetClusterSettingsesOK struct {
	XTowerRequestID string

	Payload []*models.ClusterSettings
}
GetClusterSettingsesOK describes a response with status code 200, with default header values.

GetClusterSettingsesOK get cluster settingses o k

func NewGetClusterSettingsesOK

func NewGetClusterSettingsesOK() *GetClusterSettingsesOK

NewGetClusterSettingsesOK creates a GetClusterSettingsesOK with default headers values

func (*GetClusterSettingsesOK) Error

func (o *GetClusterSettingsesOK) Error() string

func (*GetClusterSettingsesOK) GetPayload

func (o *GetClusterSettingsesOK) GetPayload() []*models.ClusterSettings

type GetClusterSettingsesParams

type GetClusterSettingsesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClusterSettingsesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterSettingsesParams contains all the parameters to send to the API endpoint

for the get cluster settingses operation.

Typically these are written to a http.Request.

func NewGetClusterSettingsesParams

func NewGetClusterSettingsesParams() *GetClusterSettingsesParams

NewGetClusterSettingsesParams creates a new GetClusterSettingsesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterSettingsesParamsWithContext

func NewGetClusterSettingsesParamsWithContext(ctx context.Context) *GetClusterSettingsesParams

NewGetClusterSettingsesParamsWithContext creates a new GetClusterSettingsesParams object with the ability to set a context for a request.

func NewGetClusterSettingsesParamsWithHTTPClient

func NewGetClusterSettingsesParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesParams

NewGetClusterSettingsesParamsWithHTTPClient creates a new GetClusterSettingsesParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterSettingsesParamsWithTimeout

func NewGetClusterSettingsesParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesParams

NewGetClusterSettingsesParamsWithTimeout creates a new GetClusterSettingsesParams object with the ability to set a timeout on a request.

func (*GetClusterSettingsesParams) SetContentLanguage

func (o *GetClusterSettingsesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get cluster settingses params

func (*GetClusterSettingsesParams) SetContext

func (o *GetClusterSettingsesParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster settingses params

func (*GetClusterSettingsesParams) SetDefaults

func (o *GetClusterSettingsesParams) SetDefaults()

SetDefaults hydrates default values in the get cluster settingses params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSettingsesParams) SetHTTPClient

func (o *GetClusterSettingsesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster settingses params

func (*GetClusterSettingsesParams) SetRequestBody

func (o *GetClusterSettingsesParams) SetRequestBody(requestBody *models.GetClusterSettingsesRequestBody)

SetRequestBody adds the requestBody to the get cluster settingses params

func (*GetClusterSettingsesParams) SetTimeout

func (o *GetClusterSettingsesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster settingses params

func (*GetClusterSettingsesParams) WithContentLanguage

func (o *GetClusterSettingsesParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesParams

WithContentLanguage adds the contentLanguage to the get cluster settingses params

func (*GetClusterSettingsesParams) WithContext

WithContext adds the context to the get cluster settingses params

func (*GetClusterSettingsesParams) WithDefaults

WithDefaults hydrates default values in the get cluster settingses params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterSettingsesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cluster settingses params

func (*GetClusterSettingsesParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster settingses params

func (*GetClusterSettingsesParams) WithTimeout

WithTimeout adds the timeout to the get cluster settingses params

func (*GetClusterSettingsesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterSettingsesReader

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

GetClusterSettingsesReader is a Reader for the GetClusterSettingses structure.

func (*GetClusterSettingsesReader) ReadResponse

func (o *GetClusterSettingsesReader) 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