config

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetLogConfigForbidden

type AdminGetLogConfigForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetLogConfigForbidden handles this case with default header values.

Forbidden

func NewAdminGetLogConfigForbidden

func NewAdminGetLogConfigForbidden() *AdminGetLogConfigForbidden

NewAdminGetLogConfigForbidden creates a AdminGetLogConfigForbidden with default headers values

func (*AdminGetLogConfigForbidden) Error

func (*AdminGetLogConfigForbidden) GetPayload

func (*AdminGetLogConfigForbidden) ToJSONString

func (o *AdminGetLogConfigForbidden) ToJSONString() string

type AdminGetLogConfigOK

type AdminGetLogConfigOK struct {
	Payload *sessionclientmodels.LogconfigConfiguration
}

AdminGetLogConfigOK handles this case with default header values.

OK

func NewAdminGetLogConfigOK

func NewAdminGetLogConfigOK() *AdminGetLogConfigOK

NewAdminGetLogConfigOK creates a AdminGetLogConfigOK with default headers values

func (*AdminGetLogConfigOK) Error

func (o *AdminGetLogConfigOK) Error() string

func (*AdminGetLogConfigOK) GetPayload

func (*AdminGetLogConfigOK) ToJSONString

func (o *AdminGetLogConfigOK) ToJSONString() string

type AdminGetLogConfigParams

type AdminGetLogConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminGetLogConfigParams contains all the parameters to send to the API endpoint for the admin get log config operation typically these are written to a http.Request

func NewAdminGetLogConfigParams

func NewAdminGetLogConfigParams() *AdminGetLogConfigParams

NewAdminGetLogConfigParams creates a new AdminGetLogConfigParams object with the default values initialized.

func NewAdminGetLogConfigParamsWithContext

func NewAdminGetLogConfigParamsWithContext(ctx context.Context) *AdminGetLogConfigParams

NewAdminGetLogConfigParamsWithContext creates a new AdminGetLogConfigParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetLogConfigParamsWithHTTPClient

func NewAdminGetLogConfigParamsWithHTTPClient(client *http.Client) *AdminGetLogConfigParams

NewAdminGetLogConfigParamsWithHTTPClient creates a new AdminGetLogConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetLogConfigParamsWithTimeout

func NewAdminGetLogConfigParamsWithTimeout(timeout time.Duration) *AdminGetLogConfigParams

NewAdminGetLogConfigParamsWithTimeout creates a new AdminGetLogConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetLogConfigParams) SetAuthInfoWriter

func (o *AdminGetLogConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get log config params

func (*AdminGetLogConfigParams) SetContext

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

SetContext adds the context to the admin get log config params

func (*AdminGetLogConfigParams) SetFlightId

func (o *AdminGetLogConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetLogConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get log config params

func (*AdminGetLogConfigParams) SetHTTPClientTransport

func (o *AdminGetLogConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get log config params

func (*AdminGetLogConfigParams) SetTimeout

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

SetTimeout adds the timeout to the admin get log config params

func (*AdminGetLogConfigParams) WithContext

WithContext adds the context to the admin get log config params

func (*AdminGetLogConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get log config params

func (*AdminGetLogConfigParams) WithTimeout

WithTimeout adds the timeout to the admin get log config params

func (*AdminGetLogConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetLogConfigReader

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

AdminGetLogConfigReader is a Reader for the AdminGetLogConfig structure.

func (*AdminGetLogConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetLogConfigUnauthorized

type AdminGetLogConfigUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetLogConfigUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetLogConfigUnauthorized

func NewAdminGetLogConfigUnauthorized() *AdminGetLogConfigUnauthorized

NewAdminGetLogConfigUnauthorized creates a AdminGetLogConfigUnauthorized with default headers values

func (*AdminGetLogConfigUnauthorized) Error

func (*AdminGetLogConfigUnauthorized) GetPayload

func (*AdminGetLogConfigUnauthorized) ToJSONString

func (o *AdminGetLogConfigUnauthorized) ToJSONString() string

type AdminPatchUpdateLogConfigForbidden

type AdminPatchUpdateLogConfigForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminPatchUpdateLogConfigForbidden handles this case with default header values.

Forbidden

func NewAdminPatchUpdateLogConfigForbidden

func NewAdminPatchUpdateLogConfigForbidden() *AdminPatchUpdateLogConfigForbidden

NewAdminPatchUpdateLogConfigForbidden creates a AdminPatchUpdateLogConfigForbidden with default headers values

func (*AdminPatchUpdateLogConfigForbidden) Error

func (*AdminPatchUpdateLogConfigForbidden) GetPayload

func (*AdminPatchUpdateLogConfigForbidden) ToJSONString

func (o *AdminPatchUpdateLogConfigForbidden) ToJSONString() string

type AdminPatchUpdateLogConfigOK

type AdminPatchUpdateLogConfigOK struct {
	Payload *sessionclientmodels.LogconfigConfiguration
}

AdminPatchUpdateLogConfigOK handles this case with default header values.

OK

func NewAdminPatchUpdateLogConfigOK

func NewAdminPatchUpdateLogConfigOK() *AdminPatchUpdateLogConfigOK

NewAdminPatchUpdateLogConfigOK creates a AdminPatchUpdateLogConfigOK with default headers values

func (*AdminPatchUpdateLogConfigOK) Error

func (*AdminPatchUpdateLogConfigOK) GetPayload

func (*AdminPatchUpdateLogConfigOK) ToJSONString

func (o *AdminPatchUpdateLogConfigOK) ToJSONString() string

type AdminPatchUpdateLogConfigParams

type AdminPatchUpdateLogConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.LogconfigConfiguration

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminPatchUpdateLogConfigParams contains all the parameters to send to the API endpoint for the admin patch update log config operation typically these are written to a http.Request

func NewAdminPatchUpdateLogConfigParams

func NewAdminPatchUpdateLogConfigParams() *AdminPatchUpdateLogConfigParams

NewAdminPatchUpdateLogConfigParams creates a new AdminPatchUpdateLogConfigParams object with the default values initialized.

func NewAdminPatchUpdateLogConfigParamsWithContext

func NewAdminPatchUpdateLogConfigParamsWithContext(ctx context.Context) *AdminPatchUpdateLogConfigParams

NewAdminPatchUpdateLogConfigParamsWithContext creates a new AdminPatchUpdateLogConfigParams object with the default values initialized, and the ability to set a context for a request

func NewAdminPatchUpdateLogConfigParamsWithHTTPClient

func NewAdminPatchUpdateLogConfigParamsWithHTTPClient(client *http.Client) *AdminPatchUpdateLogConfigParams

NewAdminPatchUpdateLogConfigParamsWithHTTPClient creates a new AdminPatchUpdateLogConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminPatchUpdateLogConfigParamsWithTimeout

func NewAdminPatchUpdateLogConfigParamsWithTimeout(timeout time.Duration) *AdminPatchUpdateLogConfigParams

NewAdminPatchUpdateLogConfigParamsWithTimeout creates a new AdminPatchUpdateLogConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminPatchUpdateLogConfigParams) SetAuthInfoWriter

func (o *AdminPatchUpdateLogConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) SetBody

SetBody adds the body to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) SetContext

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

SetContext adds the context to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) SetFlightId

func (o *AdminPatchUpdateLogConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminPatchUpdateLogConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) SetHTTPClientTransport

func (o *AdminPatchUpdateLogConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) SetTimeout

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

SetTimeout adds the timeout to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) WithBody

WithBody adds the body to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) WithContext

WithContext adds the context to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) WithTimeout

WithTimeout adds the timeout to the admin patch update log config params

func (*AdminPatchUpdateLogConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPatchUpdateLogConfigReader

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

AdminPatchUpdateLogConfigReader is a Reader for the AdminPatchUpdateLogConfig structure.

func (*AdminPatchUpdateLogConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPatchUpdateLogConfigUnauthorized

type AdminPatchUpdateLogConfigUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminPatchUpdateLogConfigUnauthorized handles this case with default header values.

Unauthorized

func NewAdminPatchUpdateLogConfigUnauthorized

func NewAdminPatchUpdateLogConfigUnauthorized() *AdminPatchUpdateLogConfigUnauthorized

NewAdminPatchUpdateLogConfigUnauthorized creates a AdminPatchUpdateLogConfigUnauthorized with default headers values

func (*AdminPatchUpdateLogConfigUnauthorized) Error

func (*AdminPatchUpdateLogConfigUnauthorized) GetPayload

func (*AdminPatchUpdateLogConfigUnauthorized) ToJSONString

type Client

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

Client for config API

func (*Client) AdminGetLogConfig deprecated

Deprecated: 2022-08-10 - Use AdminGetLogConfigShort instead.

AdminGetLogConfig get log configuration Get Log Configuration.

func (*Client) AdminGetLogConfigShort

func (a *Client) AdminGetLogConfigShort(params *AdminGetLogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLogConfigOK, error)

AdminGetLogConfigShort get log configuration Get Log Configuration.

func (*Client) AdminPatchUpdateLogConfig deprecated

Deprecated: 2022-08-10 - Use AdminPatchUpdateLogConfigShort instead.

AdminPatchUpdateLogConfig patch update log configuration Update Log Configuration.

func (*Client) AdminPatchUpdateLogConfigShort

func (a *Client) AdminPatchUpdateLogConfigShort(params *AdminPatchUpdateLogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPatchUpdateLogConfigOK, error)

AdminPatchUpdateLogConfigShort patch update log configuration Update Log Configuration.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new config API client.

Jump to

Keyboard shortcuts

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