logging_config

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 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 logging config API

func (*Client) SetAuditLoggingSettings

func (a *Client) SetAuditLoggingSettings(params *SetAuditLoggingSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAuditLoggingSettingsOK, error)

SetAuditLoggingSettings sets audit logging level

func (*Client) SetLoggingSettings

func (a *Client) SetLoggingSettings(params *SetLoggingSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetLoggingSettingsOK, error)

SetLoggingSettings sets logging level

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 {
	SetAuditLoggingSettings(params *SetAuditLoggingSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAuditLoggingSettingsOK, error)

	SetLoggingSettings(params *SetLoggingSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetLoggingSettingsOK, 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 logging config API client.

type SetAuditLoggingSettingsOK

type SetAuditLoggingSettingsOK struct {
	Payload *models.AuditLoggingConfig
}
SetAuditLoggingSettingsOK describes a response with status code 200, with default header values.

successful operation

func NewSetAuditLoggingSettingsOK

func NewSetAuditLoggingSettingsOK() *SetAuditLoggingSettingsOK

NewSetAuditLoggingSettingsOK creates a SetAuditLoggingSettingsOK with default headers values

func (*SetAuditLoggingSettingsOK) Error

func (o *SetAuditLoggingSettingsOK) Error() string

func (*SetAuditLoggingSettingsOK) GetPayload

type SetAuditLoggingSettingsParams

type SetAuditLoggingSettingsParams struct {

	/* AuditLoggingConfig.

	   Audit Logging config to be updated
	*/
	AuditLoggingConfig *models.AuditLoggingConfig

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

SetAuditLoggingSettingsParams contains all the parameters to send to the API endpoint

for the set audit logging settings operation.

Typically these are written to a http.Request.

func NewSetAuditLoggingSettingsParams

func NewSetAuditLoggingSettingsParams() *SetAuditLoggingSettingsParams

NewSetAuditLoggingSettingsParams creates a new SetAuditLoggingSettingsParams 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 NewSetAuditLoggingSettingsParamsWithContext

func NewSetAuditLoggingSettingsParamsWithContext(ctx context.Context) *SetAuditLoggingSettingsParams

NewSetAuditLoggingSettingsParamsWithContext creates a new SetAuditLoggingSettingsParams object with the ability to set a context for a request.

func NewSetAuditLoggingSettingsParamsWithHTTPClient

func NewSetAuditLoggingSettingsParamsWithHTTPClient(client *http.Client) *SetAuditLoggingSettingsParams

NewSetAuditLoggingSettingsParamsWithHTTPClient creates a new SetAuditLoggingSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewSetAuditLoggingSettingsParamsWithTimeout

func NewSetAuditLoggingSettingsParamsWithTimeout(timeout time.Duration) *SetAuditLoggingSettingsParams

NewSetAuditLoggingSettingsParamsWithTimeout creates a new SetAuditLoggingSettingsParams object with the ability to set a timeout on a request.

func (*SetAuditLoggingSettingsParams) SetAuditLoggingConfig

func (o *SetAuditLoggingSettingsParams) SetAuditLoggingConfig(auditLoggingConfig *models.AuditLoggingConfig)

SetAuditLoggingConfig adds the auditLoggingConfig to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) SetContext

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

SetContext adds the context to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) SetDefaults

func (o *SetAuditLoggingSettingsParams) SetDefaults()

SetDefaults hydrates default values in the set audit logging settings params (not the query body).

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

func (*SetAuditLoggingSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) WithAuditLoggingConfig

func (o *SetAuditLoggingSettingsParams) WithAuditLoggingConfig(auditLoggingConfig *models.AuditLoggingConfig) *SetAuditLoggingSettingsParams

WithAuditLoggingConfig adds the auditLoggingConfig to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) WithContext

WithContext adds the context to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) WithDefaults

WithDefaults hydrates default values in the set audit logging settings params (not the query body).

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

func (*SetAuditLoggingSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) WithTimeout

WithTimeout adds the timeout to the set audit logging settings params

func (*SetAuditLoggingSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetAuditLoggingSettingsReader

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

SetAuditLoggingSettingsReader is a Reader for the SetAuditLoggingSettings structure.

func (*SetAuditLoggingSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetLoggingSettingsOK

type SetLoggingSettingsOK struct {
	Payload *models.PlatformLoggingConfig
}
SetLoggingSettingsOK describes a response with status code 200, with default header values.

successful operation

func NewSetLoggingSettingsOK

func NewSetLoggingSettingsOK() *SetLoggingSettingsOK

NewSetLoggingSettingsOK creates a SetLoggingSettingsOK with default headers values

func (*SetLoggingSettingsOK) Error

func (o *SetLoggingSettingsOK) Error() string

func (*SetLoggingSettingsOK) GetPayload

type SetLoggingSettingsParams

type SetLoggingSettingsParams struct {

	/* LoggingConfig.

	   Logging config to be updated
	*/
	LoggingConfig *models.PlatformLoggingConfig

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

SetLoggingSettingsParams contains all the parameters to send to the API endpoint

for the set logging settings operation.

Typically these are written to a http.Request.

func NewSetLoggingSettingsParams

func NewSetLoggingSettingsParams() *SetLoggingSettingsParams

NewSetLoggingSettingsParams creates a new SetLoggingSettingsParams 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 NewSetLoggingSettingsParamsWithContext

func NewSetLoggingSettingsParamsWithContext(ctx context.Context) *SetLoggingSettingsParams

NewSetLoggingSettingsParamsWithContext creates a new SetLoggingSettingsParams object with the ability to set a context for a request.

func NewSetLoggingSettingsParamsWithHTTPClient

func NewSetLoggingSettingsParamsWithHTTPClient(client *http.Client) *SetLoggingSettingsParams

NewSetLoggingSettingsParamsWithHTTPClient creates a new SetLoggingSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewSetLoggingSettingsParamsWithTimeout

func NewSetLoggingSettingsParamsWithTimeout(timeout time.Duration) *SetLoggingSettingsParams

NewSetLoggingSettingsParamsWithTimeout creates a new SetLoggingSettingsParams object with the ability to set a timeout on a request.

func (*SetLoggingSettingsParams) SetContext

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

SetContext adds the context to the set logging settings params

func (*SetLoggingSettingsParams) SetDefaults

func (o *SetLoggingSettingsParams) SetDefaults()

SetDefaults hydrates default values in the set logging settings params (not the query body).

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

func (*SetLoggingSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set logging settings params

func (*SetLoggingSettingsParams) SetLoggingConfig

func (o *SetLoggingSettingsParams) SetLoggingConfig(loggingConfig *models.PlatformLoggingConfig)

SetLoggingConfig adds the loggingConfig to the set logging settings params

func (*SetLoggingSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the set logging settings params

func (*SetLoggingSettingsParams) WithContext

WithContext adds the context to the set logging settings params

func (*SetLoggingSettingsParams) WithDefaults

WithDefaults hydrates default values in the set logging settings params (not the query body).

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

func (*SetLoggingSettingsParams) WithHTTPClient

func (o *SetLoggingSettingsParams) WithHTTPClient(client *http.Client) *SetLoggingSettingsParams

WithHTTPClient adds the HTTPClient to the set logging settings params

func (*SetLoggingSettingsParams) WithLoggingConfig

func (o *SetLoggingSettingsParams) WithLoggingConfig(loggingConfig *models.PlatformLoggingConfig) *SetLoggingSettingsParams

WithLoggingConfig adds the loggingConfig to the set logging settings params

func (*SetLoggingSettingsParams) WithTimeout

WithTimeout adds the timeout to the set logging settings params

func (*SetLoggingSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetLoggingSettingsReader

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

SetLoggingSettingsReader is a Reader for the SetLoggingSettings structure.

func (*SetLoggingSettingsReader) ReadResponse

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