log_control_config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: 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 log control config API

func (*Client) CreateLogControlConfig

func (a *Client) CreateLogControlConfig(params *CreateLogControlConfigParams, opts ...ClientOption) (*CreateLogControlConfigOK, error)

CreateLogControlConfig create log control config API

func (*Client) DeleteLogControlConfig

func (a *Client) DeleteLogControlConfig(params *DeleteLogControlConfigParams, opts ...ClientOption) (*DeleteLogControlConfigOK, error)

DeleteLogControlConfig delete log control config API

func (*Client) ReadLogControlConfig

func (a *Client) ReadLogControlConfig(params *ReadLogControlConfigParams, opts ...ClientOption) (*ReadLogControlConfigOK, error)

ReadLogControlConfig read log control config API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLogControlConfig

func (a *Client) UpdateLogControlConfig(params *UpdateLogControlConfigParams, opts ...ClientOption) (*UpdateLogControlConfigOK, error)

UpdateLogControlConfig update log control config API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateLogControlConfig(params *CreateLogControlConfigParams, opts ...ClientOption) (*CreateLogControlConfigOK, error)

	DeleteLogControlConfig(params *DeleteLogControlConfigParams, opts ...ClientOption) (*DeleteLogControlConfigOK, error)

	ReadLogControlConfig(params *ReadLogControlConfigParams, opts ...ClientOption) (*ReadLogControlConfigOK, error)

	UpdateLogControlConfig(params *UpdateLogControlConfigParams, opts ...ClientOption) (*UpdateLogControlConfigOK, 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 log control config API client.

type CreateLogControlConfigBadRequest

type CreateLogControlConfigBadRequest struct {
	Payload *models.APIError
}

CreateLogControlConfigBadRequest describes a response with status code 400, with default header values.

Cannot create the LogControlConfig because the request is invalid.

func NewCreateLogControlConfigBadRequest

func NewCreateLogControlConfigBadRequest() *CreateLogControlConfigBadRequest

NewCreateLogControlConfigBadRequest creates a CreateLogControlConfigBadRequest with default headers values

func (*CreateLogControlConfigBadRequest) Code

Code gets the status code for the create log control config bad request response

func (*CreateLogControlConfigBadRequest) Error

func (*CreateLogControlConfigBadRequest) GetPayload

func (*CreateLogControlConfigBadRequest) IsClientError

func (o *CreateLogControlConfigBadRequest) IsClientError() bool

IsClientError returns true when this create log control config bad request response has a 4xx status code

func (*CreateLogControlConfigBadRequest) IsCode

func (o *CreateLogControlConfigBadRequest) IsCode(code int) bool

IsCode returns true when this create log control config bad request response a status code equal to that given

func (*CreateLogControlConfigBadRequest) IsRedirect

func (o *CreateLogControlConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this create log control config bad request response has a 3xx status code

func (*CreateLogControlConfigBadRequest) IsServerError

func (o *CreateLogControlConfigBadRequest) IsServerError() bool

IsServerError returns true when this create log control config bad request response has a 5xx status code

func (*CreateLogControlConfigBadRequest) IsSuccess

func (o *CreateLogControlConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this create log control config bad request response has a 2xx status code

func (*CreateLogControlConfigBadRequest) String

type CreateLogControlConfigConflict

type CreateLogControlConfigConflict struct {
	Payload *models.APIError
}

CreateLogControlConfigConflict describes a response with status code 409, with default header values.

Cannot create the LogControlConfig because there is a conflict with an existing LogControlConfig.

func NewCreateLogControlConfigConflict

func NewCreateLogControlConfigConflict() *CreateLogControlConfigConflict

NewCreateLogControlConfigConflict creates a CreateLogControlConfigConflict with default headers values

func (*CreateLogControlConfigConflict) Code

Code gets the status code for the create log control config conflict response

func (*CreateLogControlConfigConflict) Error

func (*CreateLogControlConfigConflict) GetPayload

func (*CreateLogControlConfigConflict) IsClientError

func (o *CreateLogControlConfigConflict) IsClientError() bool

IsClientError returns true when this create log control config conflict response has a 4xx status code

func (*CreateLogControlConfigConflict) IsCode

func (o *CreateLogControlConfigConflict) IsCode(code int) bool

IsCode returns true when this create log control config conflict response a status code equal to that given

func (*CreateLogControlConfigConflict) IsRedirect

func (o *CreateLogControlConfigConflict) IsRedirect() bool

IsRedirect returns true when this create log control config conflict response has a 3xx status code

func (*CreateLogControlConfigConflict) IsServerError

func (o *CreateLogControlConfigConflict) IsServerError() bool

IsServerError returns true when this create log control config conflict response has a 5xx status code

func (*CreateLogControlConfigConflict) IsSuccess

func (o *CreateLogControlConfigConflict) IsSuccess() bool

IsSuccess returns true when this create log control config conflict response has a 2xx status code

func (*CreateLogControlConfigConflict) String

type CreateLogControlConfigDefault

type CreateLogControlConfigDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateLogControlConfigDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateLogControlConfigDefault

func NewCreateLogControlConfigDefault(code int) *CreateLogControlConfigDefault

NewCreateLogControlConfigDefault creates a CreateLogControlConfigDefault with default headers values

func (*CreateLogControlConfigDefault) Code

Code gets the status code for the create log control config default response

func (*CreateLogControlConfigDefault) Error

func (*CreateLogControlConfigDefault) GetPayload

func (*CreateLogControlConfigDefault) IsClientError

func (o *CreateLogControlConfigDefault) IsClientError() bool

IsClientError returns true when this create log control config default response has a 4xx status code

func (*CreateLogControlConfigDefault) IsCode

func (o *CreateLogControlConfigDefault) IsCode(code int) bool

IsCode returns true when this create log control config default response a status code equal to that given

func (*CreateLogControlConfigDefault) IsRedirect

func (o *CreateLogControlConfigDefault) IsRedirect() bool

IsRedirect returns true when this create log control config default response has a 3xx status code

func (*CreateLogControlConfigDefault) IsServerError

func (o *CreateLogControlConfigDefault) IsServerError() bool

IsServerError returns true when this create log control config default response has a 5xx status code

func (*CreateLogControlConfigDefault) IsSuccess

func (o *CreateLogControlConfigDefault) IsSuccess() bool

IsSuccess returns true when this create log control config default response has a 2xx status code

func (*CreateLogControlConfigDefault) String

type CreateLogControlConfigInternalServerError

type CreateLogControlConfigInternalServerError struct {
	Payload *models.APIError
}

CreateLogControlConfigInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateLogControlConfigInternalServerError

func NewCreateLogControlConfigInternalServerError() *CreateLogControlConfigInternalServerError

NewCreateLogControlConfigInternalServerError creates a CreateLogControlConfigInternalServerError with default headers values

func (*CreateLogControlConfigInternalServerError) Code

Code gets the status code for the create log control config internal server error response

func (*CreateLogControlConfigInternalServerError) Error

func (*CreateLogControlConfigInternalServerError) GetPayload

func (*CreateLogControlConfigInternalServerError) IsClientError

IsClientError returns true when this create log control config internal server error response has a 4xx status code

func (*CreateLogControlConfigInternalServerError) IsCode

IsCode returns true when this create log control config internal server error response a status code equal to that given

func (*CreateLogControlConfigInternalServerError) IsRedirect

IsRedirect returns true when this create log control config internal server error response has a 3xx status code

func (*CreateLogControlConfigInternalServerError) IsServerError

IsServerError returns true when this create log control config internal server error response has a 5xx status code

func (*CreateLogControlConfigInternalServerError) IsSuccess

IsSuccess returns true when this create log control config internal server error response has a 2xx status code

func (*CreateLogControlConfigInternalServerError) String

type CreateLogControlConfigOK

type CreateLogControlConfigOK struct {
	Payload *models.ConfigunstableCreateLogControlConfigResponse
}

CreateLogControlConfigOK describes a response with status code 200, with default header values.

A successful response containing the created LogControlConfig.

func NewCreateLogControlConfigOK

func NewCreateLogControlConfigOK() *CreateLogControlConfigOK

NewCreateLogControlConfigOK creates a CreateLogControlConfigOK with default headers values

func (*CreateLogControlConfigOK) Code

func (o *CreateLogControlConfigOK) Code() int

Code gets the status code for the create log control config o k response

func (*CreateLogControlConfigOK) Error

func (o *CreateLogControlConfigOK) Error() string

func (*CreateLogControlConfigOK) GetPayload

func (*CreateLogControlConfigOK) IsClientError

func (o *CreateLogControlConfigOK) IsClientError() bool

IsClientError returns true when this create log control config o k response has a 4xx status code

func (*CreateLogControlConfigOK) IsCode

func (o *CreateLogControlConfigOK) IsCode(code int) bool

IsCode returns true when this create log control config o k response a status code equal to that given

func (*CreateLogControlConfigOK) IsRedirect

func (o *CreateLogControlConfigOK) IsRedirect() bool

IsRedirect returns true when this create log control config o k response has a 3xx status code

func (*CreateLogControlConfigOK) IsServerError

func (o *CreateLogControlConfigOK) IsServerError() bool

IsServerError returns true when this create log control config o k response has a 5xx status code

func (*CreateLogControlConfigOK) IsSuccess

func (o *CreateLogControlConfigOK) IsSuccess() bool

IsSuccess returns true when this create log control config o k response has a 2xx status code

func (*CreateLogControlConfigOK) String

func (o *CreateLogControlConfigOK) String() string

type CreateLogControlConfigParams

type CreateLogControlConfigParams struct {

	// Body.
	Body *models.ConfigunstableCreateLogControlConfigRequest

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

CreateLogControlConfigParams contains all the parameters to send to the API endpoint

for the create log control config operation.

Typically these are written to a http.Request.

func NewCreateLogControlConfigParams

func NewCreateLogControlConfigParams() *CreateLogControlConfigParams

NewCreateLogControlConfigParams creates a new CreateLogControlConfigParams 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 NewCreateLogControlConfigParamsWithContext

func NewCreateLogControlConfigParamsWithContext(ctx context.Context) *CreateLogControlConfigParams

NewCreateLogControlConfigParamsWithContext creates a new CreateLogControlConfigParams object with the ability to set a context for a request.

func NewCreateLogControlConfigParamsWithHTTPClient

func NewCreateLogControlConfigParamsWithHTTPClient(client *http.Client) *CreateLogControlConfigParams

NewCreateLogControlConfigParamsWithHTTPClient creates a new CreateLogControlConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogControlConfigParamsWithTimeout

func NewCreateLogControlConfigParamsWithTimeout(timeout time.Duration) *CreateLogControlConfigParams

NewCreateLogControlConfigParamsWithTimeout creates a new CreateLogControlConfigParams object with the ability to set a timeout on a request.

func (*CreateLogControlConfigParams) SetBody

SetBody adds the body to the create log control config params

func (*CreateLogControlConfigParams) SetContext

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

SetContext adds the context to the create log control config params

func (*CreateLogControlConfigParams) SetDefaults

func (o *CreateLogControlConfigParams) SetDefaults()

SetDefaults hydrates default values in the create log control config params (not the query body).

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

func (*CreateLogControlConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log control config params

func (*CreateLogControlConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create log control config params

func (*CreateLogControlConfigParams) WithBody

WithBody adds the body to the create log control config params

func (*CreateLogControlConfigParams) WithContext

WithContext adds the context to the create log control config params

func (*CreateLogControlConfigParams) WithDefaults

WithDefaults hydrates default values in the create log control config params (not the query body).

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

func (*CreateLogControlConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create log control config params

func (*CreateLogControlConfigParams) WithTimeout

WithTimeout adds the timeout to the create log control config params

func (*CreateLogControlConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLogControlConfigReader

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

CreateLogControlConfigReader is a Reader for the CreateLogControlConfig structure.

func (*CreateLogControlConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogControlConfigBadRequest

type DeleteLogControlConfigBadRequest struct {
	Payload *models.APIError
}

DeleteLogControlConfigBadRequest describes a response with status code 400, with default header values.

Cannot delete the LogControlConfig because it is in use.

func NewDeleteLogControlConfigBadRequest

func NewDeleteLogControlConfigBadRequest() *DeleteLogControlConfigBadRequest

NewDeleteLogControlConfigBadRequest creates a DeleteLogControlConfigBadRequest with default headers values

func (*DeleteLogControlConfigBadRequest) Code

Code gets the status code for the delete log control config bad request response

func (*DeleteLogControlConfigBadRequest) Error

func (*DeleteLogControlConfigBadRequest) GetPayload

func (*DeleteLogControlConfigBadRequest) IsClientError

func (o *DeleteLogControlConfigBadRequest) IsClientError() bool

IsClientError returns true when this delete log control config bad request response has a 4xx status code

func (*DeleteLogControlConfigBadRequest) IsCode

func (o *DeleteLogControlConfigBadRequest) IsCode(code int) bool

IsCode returns true when this delete log control config bad request response a status code equal to that given

func (*DeleteLogControlConfigBadRequest) IsRedirect

func (o *DeleteLogControlConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this delete log control config bad request response has a 3xx status code

func (*DeleteLogControlConfigBadRequest) IsServerError

func (o *DeleteLogControlConfigBadRequest) IsServerError() bool

IsServerError returns true when this delete log control config bad request response has a 5xx status code

func (*DeleteLogControlConfigBadRequest) IsSuccess

func (o *DeleteLogControlConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this delete log control config bad request response has a 2xx status code

func (*DeleteLogControlConfigBadRequest) String

type DeleteLogControlConfigDefault

type DeleteLogControlConfigDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteLogControlConfigDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteLogControlConfigDefault

func NewDeleteLogControlConfigDefault(code int) *DeleteLogControlConfigDefault

NewDeleteLogControlConfigDefault creates a DeleteLogControlConfigDefault with default headers values

func (*DeleteLogControlConfigDefault) Code

Code gets the status code for the delete log control config default response

func (*DeleteLogControlConfigDefault) Error

func (*DeleteLogControlConfigDefault) GetPayload

func (*DeleteLogControlConfigDefault) IsClientError

func (o *DeleteLogControlConfigDefault) IsClientError() bool

IsClientError returns true when this delete log control config default response has a 4xx status code

func (*DeleteLogControlConfigDefault) IsCode

func (o *DeleteLogControlConfigDefault) IsCode(code int) bool

IsCode returns true when this delete log control config default response a status code equal to that given

func (*DeleteLogControlConfigDefault) IsRedirect

func (o *DeleteLogControlConfigDefault) IsRedirect() bool

IsRedirect returns true when this delete log control config default response has a 3xx status code

func (*DeleteLogControlConfigDefault) IsServerError

func (o *DeleteLogControlConfigDefault) IsServerError() bool

IsServerError returns true when this delete log control config default response has a 5xx status code

func (*DeleteLogControlConfigDefault) IsSuccess

func (o *DeleteLogControlConfigDefault) IsSuccess() bool

IsSuccess returns true when this delete log control config default response has a 2xx status code

func (*DeleteLogControlConfigDefault) String

type DeleteLogControlConfigInternalServerError

type DeleteLogControlConfigInternalServerError struct {
	Payload *models.APIError
}

DeleteLogControlConfigInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteLogControlConfigInternalServerError

func NewDeleteLogControlConfigInternalServerError() *DeleteLogControlConfigInternalServerError

NewDeleteLogControlConfigInternalServerError creates a DeleteLogControlConfigInternalServerError with default headers values

func (*DeleteLogControlConfigInternalServerError) Code

Code gets the status code for the delete log control config internal server error response

func (*DeleteLogControlConfigInternalServerError) Error

func (*DeleteLogControlConfigInternalServerError) GetPayload

func (*DeleteLogControlConfigInternalServerError) IsClientError

IsClientError returns true when this delete log control config internal server error response has a 4xx status code

func (*DeleteLogControlConfigInternalServerError) IsCode

IsCode returns true when this delete log control config internal server error response a status code equal to that given

func (*DeleteLogControlConfigInternalServerError) IsRedirect

IsRedirect returns true when this delete log control config internal server error response has a 3xx status code

func (*DeleteLogControlConfigInternalServerError) IsServerError

IsServerError returns true when this delete log control config internal server error response has a 5xx status code

func (*DeleteLogControlConfigInternalServerError) IsSuccess

IsSuccess returns true when this delete log control config internal server error response has a 2xx status code

func (*DeleteLogControlConfigInternalServerError) String

type DeleteLogControlConfigNotFound

type DeleteLogControlConfigNotFound struct {
	Payload *models.APIError
}

DeleteLogControlConfigNotFound describes a response with status code 404, with default header values.

Cannot delete the LogControlConfig because the slug does not exist.

func NewDeleteLogControlConfigNotFound

func NewDeleteLogControlConfigNotFound() *DeleteLogControlConfigNotFound

NewDeleteLogControlConfigNotFound creates a DeleteLogControlConfigNotFound with default headers values

func (*DeleteLogControlConfigNotFound) Code

Code gets the status code for the delete log control config not found response

func (*DeleteLogControlConfigNotFound) Error

func (*DeleteLogControlConfigNotFound) GetPayload

func (*DeleteLogControlConfigNotFound) IsClientError

func (o *DeleteLogControlConfigNotFound) IsClientError() bool

IsClientError returns true when this delete log control config not found response has a 4xx status code

func (*DeleteLogControlConfigNotFound) IsCode

func (o *DeleteLogControlConfigNotFound) IsCode(code int) bool

IsCode returns true when this delete log control config not found response a status code equal to that given

func (*DeleteLogControlConfigNotFound) IsRedirect

func (o *DeleteLogControlConfigNotFound) IsRedirect() bool

IsRedirect returns true when this delete log control config not found response has a 3xx status code

func (*DeleteLogControlConfigNotFound) IsServerError

func (o *DeleteLogControlConfigNotFound) IsServerError() bool

IsServerError returns true when this delete log control config not found response has a 5xx status code

func (*DeleteLogControlConfigNotFound) IsSuccess

func (o *DeleteLogControlConfigNotFound) IsSuccess() bool

IsSuccess returns true when this delete log control config not found response has a 2xx status code

func (*DeleteLogControlConfigNotFound) String

type DeleteLogControlConfigOK

type DeleteLogControlConfigOK struct {
	Payload models.ConfigunstableDeleteLogControlConfigResponse
}

DeleteLogControlConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteLogControlConfigOK

func NewDeleteLogControlConfigOK() *DeleteLogControlConfigOK

NewDeleteLogControlConfigOK creates a DeleteLogControlConfigOK with default headers values

func (*DeleteLogControlConfigOK) Code

func (o *DeleteLogControlConfigOK) Code() int

Code gets the status code for the delete log control config o k response

func (*DeleteLogControlConfigOK) Error

func (o *DeleteLogControlConfigOK) Error() string

func (*DeleteLogControlConfigOK) GetPayload

func (*DeleteLogControlConfigOK) IsClientError

func (o *DeleteLogControlConfigOK) IsClientError() bool

IsClientError returns true when this delete log control config o k response has a 4xx status code

func (*DeleteLogControlConfigOK) IsCode

func (o *DeleteLogControlConfigOK) IsCode(code int) bool

IsCode returns true when this delete log control config o k response a status code equal to that given

func (*DeleteLogControlConfigOK) IsRedirect

func (o *DeleteLogControlConfigOK) IsRedirect() bool

IsRedirect returns true when this delete log control config o k response has a 3xx status code

func (*DeleteLogControlConfigOK) IsServerError

func (o *DeleteLogControlConfigOK) IsServerError() bool

IsServerError returns true when this delete log control config o k response has a 5xx status code

func (*DeleteLogControlConfigOK) IsSuccess

func (o *DeleteLogControlConfigOK) IsSuccess() bool

IsSuccess returns true when this delete log control config o k response has a 2xx status code

func (*DeleteLogControlConfigOK) String

func (o *DeleteLogControlConfigOK) String() string

type DeleteLogControlConfigParams

type DeleteLogControlConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLogControlConfigParams contains all the parameters to send to the API endpoint

for the delete log control config operation.

Typically these are written to a http.Request.

func NewDeleteLogControlConfigParams

func NewDeleteLogControlConfigParams() *DeleteLogControlConfigParams

NewDeleteLogControlConfigParams creates a new DeleteLogControlConfigParams 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 NewDeleteLogControlConfigParamsWithContext

func NewDeleteLogControlConfigParamsWithContext(ctx context.Context) *DeleteLogControlConfigParams

NewDeleteLogControlConfigParamsWithContext creates a new DeleteLogControlConfigParams object with the ability to set a context for a request.

func NewDeleteLogControlConfigParamsWithHTTPClient

func NewDeleteLogControlConfigParamsWithHTTPClient(client *http.Client) *DeleteLogControlConfigParams

NewDeleteLogControlConfigParamsWithHTTPClient creates a new DeleteLogControlConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogControlConfigParamsWithTimeout

func NewDeleteLogControlConfigParamsWithTimeout(timeout time.Duration) *DeleteLogControlConfigParams

NewDeleteLogControlConfigParamsWithTimeout creates a new DeleteLogControlConfigParams object with the ability to set a timeout on a request.

func (*DeleteLogControlConfigParams) SetContext

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

SetContext adds the context to the delete log control config params

func (*DeleteLogControlConfigParams) SetDefaults

func (o *DeleteLogControlConfigParams) SetDefaults()

SetDefaults hydrates default values in the delete log control config params (not the query body).

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

func (*DeleteLogControlConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log control config params

func (*DeleteLogControlConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete log control config params

func (*DeleteLogControlConfigParams) WithContext

WithContext adds the context to the delete log control config params

func (*DeleteLogControlConfigParams) WithDefaults

WithDefaults hydrates default values in the delete log control config params (not the query body).

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

func (*DeleteLogControlConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete log control config params

func (*DeleteLogControlConfigParams) WithTimeout

WithTimeout adds the timeout to the delete log control config params

func (*DeleteLogControlConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLogControlConfigReader

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

DeleteLogControlConfigReader is a Reader for the DeleteLogControlConfig structure.

func (*DeleteLogControlConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadLogControlConfigDefault

type ReadLogControlConfigDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadLogControlConfigDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadLogControlConfigDefault

func NewReadLogControlConfigDefault(code int) *ReadLogControlConfigDefault

NewReadLogControlConfigDefault creates a ReadLogControlConfigDefault with default headers values

func (*ReadLogControlConfigDefault) Code

func (o *ReadLogControlConfigDefault) Code() int

Code gets the status code for the read log control config default response

func (*ReadLogControlConfigDefault) Error

func (*ReadLogControlConfigDefault) GetPayload

func (*ReadLogControlConfigDefault) IsClientError

func (o *ReadLogControlConfigDefault) IsClientError() bool

IsClientError returns true when this read log control config default response has a 4xx status code

func (*ReadLogControlConfigDefault) IsCode

func (o *ReadLogControlConfigDefault) IsCode(code int) bool

IsCode returns true when this read log control config default response a status code equal to that given

func (*ReadLogControlConfigDefault) IsRedirect

func (o *ReadLogControlConfigDefault) IsRedirect() bool

IsRedirect returns true when this read log control config default response has a 3xx status code

func (*ReadLogControlConfigDefault) IsServerError

func (o *ReadLogControlConfigDefault) IsServerError() bool

IsServerError returns true when this read log control config default response has a 5xx status code

func (*ReadLogControlConfigDefault) IsSuccess

func (o *ReadLogControlConfigDefault) IsSuccess() bool

IsSuccess returns true when this read log control config default response has a 2xx status code

func (*ReadLogControlConfigDefault) String

func (o *ReadLogControlConfigDefault) String() string

type ReadLogControlConfigInternalServerError

type ReadLogControlConfigInternalServerError struct {
	Payload *models.APIError
}

ReadLogControlConfigInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadLogControlConfigInternalServerError

func NewReadLogControlConfigInternalServerError() *ReadLogControlConfigInternalServerError

NewReadLogControlConfigInternalServerError creates a ReadLogControlConfigInternalServerError with default headers values

func (*ReadLogControlConfigInternalServerError) Code

Code gets the status code for the read log control config internal server error response

func (*ReadLogControlConfigInternalServerError) Error

func (*ReadLogControlConfigInternalServerError) GetPayload

func (*ReadLogControlConfigInternalServerError) IsClientError

func (o *ReadLogControlConfigInternalServerError) IsClientError() bool

IsClientError returns true when this read log control config internal server error response has a 4xx status code

func (*ReadLogControlConfigInternalServerError) IsCode

IsCode returns true when this read log control config internal server error response a status code equal to that given

func (*ReadLogControlConfigInternalServerError) IsRedirect

IsRedirect returns true when this read log control config internal server error response has a 3xx status code

func (*ReadLogControlConfigInternalServerError) IsServerError

func (o *ReadLogControlConfigInternalServerError) IsServerError() bool

IsServerError returns true when this read log control config internal server error response has a 5xx status code

func (*ReadLogControlConfigInternalServerError) IsSuccess

IsSuccess returns true when this read log control config internal server error response has a 2xx status code

func (*ReadLogControlConfigInternalServerError) String

type ReadLogControlConfigNotFound

type ReadLogControlConfigNotFound struct {
	Payload *models.APIError
}

ReadLogControlConfigNotFound describes a response with status code 404, with default header values.

Cannot read the LogControlConfig because LogControlConfig has not been created.

func NewReadLogControlConfigNotFound

func NewReadLogControlConfigNotFound() *ReadLogControlConfigNotFound

NewReadLogControlConfigNotFound creates a ReadLogControlConfigNotFound with default headers values

func (*ReadLogControlConfigNotFound) Code

Code gets the status code for the read log control config not found response

func (*ReadLogControlConfigNotFound) Error

func (*ReadLogControlConfigNotFound) GetPayload

func (o *ReadLogControlConfigNotFound) GetPayload() *models.APIError

func (*ReadLogControlConfigNotFound) IsClientError

func (o *ReadLogControlConfigNotFound) IsClientError() bool

IsClientError returns true when this read log control config not found response has a 4xx status code

func (*ReadLogControlConfigNotFound) IsCode

func (o *ReadLogControlConfigNotFound) IsCode(code int) bool

IsCode returns true when this read log control config not found response a status code equal to that given

func (*ReadLogControlConfigNotFound) IsRedirect

func (o *ReadLogControlConfigNotFound) IsRedirect() bool

IsRedirect returns true when this read log control config not found response has a 3xx status code

func (*ReadLogControlConfigNotFound) IsServerError

func (o *ReadLogControlConfigNotFound) IsServerError() bool

IsServerError returns true when this read log control config not found response has a 5xx status code

func (*ReadLogControlConfigNotFound) IsSuccess

func (o *ReadLogControlConfigNotFound) IsSuccess() bool

IsSuccess returns true when this read log control config not found response has a 2xx status code

func (*ReadLogControlConfigNotFound) String

type ReadLogControlConfigOK

type ReadLogControlConfigOK struct {
	Payload *models.ConfigunstableReadLogControlConfigResponse
}

ReadLogControlConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewReadLogControlConfigOK

func NewReadLogControlConfigOK() *ReadLogControlConfigOK

NewReadLogControlConfigOK creates a ReadLogControlConfigOK with default headers values

func (*ReadLogControlConfigOK) Code

func (o *ReadLogControlConfigOK) Code() int

Code gets the status code for the read log control config o k response

func (*ReadLogControlConfigOK) Error

func (o *ReadLogControlConfigOK) Error() string

func (*ReadLogControlConfigOK) GetPayload

func (*ReadLogControlConfigOK) IsClientError

func (o *ReadLogControlConfigOK) IsClientError() bool

IsClientError returns true when this read log control config o k response has a 4xx status code

func (*ReadLogControlConfigOK) IsCode

func (o *ReadLogControlConfigOK) IsCode(code int) bool

IsCode returns true when this read log control config o k response a status code equal to that given

func (*ReadLogControlConfigOK) IsRedirect

func (o *ReadLogControlConfigOK) IsRedirect() bool

IsRedirect returns true when this read log control config o k response has a 3xx status code

func (*ReadLogControlConfigOK) IsServerError

func (o *ReadLogControlConfigOK) IsServerError() bool

IsServerError returns true when this read log control config o k response has a 5xx status code

func (*ReadLogControlConfigOK) IsSuccess

func (o *ReadLogControlConfigOK) IsSuccess() bool

IsSuccess returns true when this read log control config o k response has a 2xx status code

func (*ReadLogControlConfigOK) String

func (o *ReadLogControlConfigOK) String() string

type ReadLogControlConfigParams

type ReadLogControlConfigParams struct {

	// Slug.
	Slug *string

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

ReadLogControlConfigParams contains all the parameters to send to the API endpoint

for the read log control config operation.

Typically these are written to a http.Request.

func NewReadLogControlConfigParams

func NewReadLogControlConfigParams() *ReadLogControlConfigParams

NewReadLogControlConfigParams creates a new ReadLogControlConfigParams 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 NewReadLogControlConfigParamsWithContext

func NewReadLogControlConfigParamsWithContext(ctx context.Context) *ReadLogControlConfigParams

NewReadLogControlConfigParamsWithContext creates a new ReadLogControlConfigParams object with the ability to set a context for a request.

func NewReadLogControlConfigParamsWithHTTPClient

func NewReadLogControlConfigParamsWithHTTPClient(client *http.Client) *ReadLogControlConfigParams

NewReadLogControlConfigParamsWithHTTPClient creates a new ReadLogControlConfigParams object with the ability to set a custom HTTPClient for a request.

func NewReadLogControlConfigParamsWithTimeout

func NewReadLogControlConfigParamsWithTimeout(timeout time.Duration) *ReadLogControlConfigParams

NewReadLogControlConfigParamsWithTimeout creates a new ReadLogControlConfigParams object with the ability to set a timeout on a request.

func (*ReadLogControlConfigParams) SetContext

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

SetContext adds the context to the read log control config params

func (*ReadLogControlConfigParams) SetDefaults

func (o *ReadLogControlConfigParams) SetDefaults()

SetDefaults hydrates default values in the read log control config params (not the query body).

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

func (*ReadLogControlConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read log control config params

func (*ReadLogControlConfigParams) SetSlug

func (o *ReadLogControlConfigParams) SetSlug(slug *string)

SetSlug adds the slug to the read log control config params

func (*ReadLogControlConfigParams) SetTimeout

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

SetTimeout adds the timeout to the read log control config params

func (*ReadLogControlConfigParams) WithContext

WithContext adds the context to the read log control config params

func (*ReadLogControlConfigParams) WithDefaults

WithDefaults hydrates default values in the read log control config params (not the query body).

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

func (*ReadLogControlConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read log control config params

func (*ReadLogControlConfigParams) WithSlug

WithSlug adds the slug to the read log control config params

func (*ReadLogControlConfigParams) WithTimeout

WithTimeout adds the timeout to the read log control config params

func (*ReadLogControlConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadLogControlConfigReader

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

ReadLogControlConfigReader is a Reader for the ReadLogControlConfig structure.

func (*ReadLogControlConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLogControlConfigBadRequest

type UpdateLogControlConfigBadRequest struct {
	Payload *models.APIError
}

UpdateLogControlConfigBadRequest describes a response with status code 400, with default header values.

Cannot update the LogControlConfig because the request is invalid.

func NewUpdateLogControlConfigBadRequest

func NewUpdateLogControlConfigBadRequest() *UpdateLogControlConfigBadRequest

NewUpdateLogControlConfigBadRequest creates a UpdateLogControlConfigBadRequest with default headers values

func (*UpdateLogControlConfigBadRequest) Code

Code gets the status code for the update log control config bad request response

func (*UpdateLogControlConfigBadRequest) Error

func (*UpdateLogControlConfigBadRequest) GetPayload

func (*UpdateLogControlConfigBadRequest) IsClientError

func (o *UpdateLogControlConfigBadRequest) IsClientError() bool

IsClientError returns true when this update log control config bad request response has a 4xx status code

func (*UpdateLogControlConfigBadRequest) IsCode

func (o *UpdateLogControlConfigBadRequest) IsCode(code int) bool

IsCode returns true when this update log control config bad request response a status code equal to that given

func (*UpdateLogControlConfigBadRequest) IsRedirect

func (o *UpdateLogControlConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this update log control config bad request response has a 3xx status code

func (*UpdateLogControlConfigBadRequest) IsServerError

func (o *UpdateLogControlConfigBadRequest) IsServerError() bool

IsServerError returns true when this update log control config bad request response has a 5xx status code

func (*UpdateLogControlConfigBadRequest) IsSuccess

func (o *UpdateLogControlConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this update log control config bad request response has a 2xx status code

func (*UpdateLogControlConfigBadRequest) String

type UpdateLogControlConfigDefault

type UpdateLogControlConfigDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateLogControlConfigDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateLogControlConfigDefault

func NewUpdateLogControlConfigDefault(code int) *UpdateLogControlConfigDefault

NewUpdateLogControlConfigDefault creates a UpdateLogControlConfigDefault with default headers values

func (*UpdateLogControlConfigDefault) Code

Code gets the status code for the update log control config default response

func (*UpdateLogControlConfigDefault) Error

func (*UpdateLogControlConfigDefault) GetPayload

func (*UpdateLogControlConfigDefault) IsClientError

func (o *UpdateLogControlConfigDefault) IsClientError() bool

IsClientError returns true when this update log control config default response has a 4xx status code

func (*UpdateLogControlConfigDefault) IsCode

func (o *UpdateLogControlConfigDefault) IsCode(code int) bool

IsCode returns true when this update log control config default response a status code equal to that given

func (*UpdateLogControlConfigDefault) IsRedirect

func (o *UpdateLogControlConfigDefault) IsRedirect() bool

IsRedirect returns true when this update log control config default response has a 3xx status code

func (*UpdateLogControlConfigDefault) IsServerError

func (o *UpdateLogControlConfigDefault) IsServerError() bool

IsServerError returns true when this update log control config default response has a 5xx status code

func (*UpdateLogControlConfigDefault) IsSuccess

func (o *UpdateLogControlConfigDefault) IsSuccess() bool

IsSuccess returns true when this update log control config default response has a 2xx status code

func (*UpdateLogControlConfigDefault) String

type UpdateLogControlConfigInternalServerError

type UpdateLogControlConfigInternalServerError struct {
	Payload *models.APIError
}

UpdateLogControlConfigInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateLogControlConfigInternalServerError

func NewUpdateLogControlConfigInternalServerError() *UpdateLogControlConfigInternalServerError

NewUpdateLogControlConfigInternalServerError creates a UpdateLogControlConfigInternalServerError with default headers values

func (*UpdateLogControlConfigInternalServerError) Code

Code gets the status code for the update log control config internal server error response

func (*UpdateLogControlConfigInternalServerError) Error

func (*UpdateLogControlConfigInternalServerError) GetPayload

func (*UpdateLogControlConfigInternalServerError) IsClientError

IsClientError returns true when this update log control config internal server error response has a 4xx status code

func (*UpdateLogControlConfigInternalServerError) IsCode

IsCode returns true when this update log control config internal server error response a status code equal to that given

func (*UpdateLogControlConfigInternalServerError) IsRedirect

IsRedirect returns true when this update log control config internal server error response has a 3xx status code

func (*UpdateLogControlConfigInternalServerError) IsServerError

IsServerError returns true when this update log control config internal server error response has a 5xx status code

func (*UpdateLogControlConfigInternalServerError) IsSuccess

IsSuccess returns true when this update log control config internal server error response has a 2xx status code

func (*UpdateLogControlConfigInternalServerError) String

type UpdateLogControlConfigNotFound

type UpdateLogControlConfigNotFound struct {
	Payload *models.APIError
}

UpdateLogControlConfigNotFound describes a response with status code 404, with default header values.

Cannot update the LogControlConfig because LogControlConfig has not been created.

func NewUpdateLogControlConfigNotFound

func NewUpdateLogControlConfigNotFound() *UpdateLogControlConfigNotFound

NewUpdateLogControlConfigNotFound creates a UpdateLogControlConfigNotFound with default headers values

func (*UpdateLogControlConfigNotFound) Code

Code gets the status code for the update log control config not found response

func (*UpdateLogControlConfigNotFound) Error

func (*UpdateLogControlConfigNotFound) GetPayload

func (*UpdateLogControlConfigNotFound) IsClientError

func (o *UpdateLogControlConfigNotFound) IsClientError() bool

IsClientError returns true when this update log control config not found response has a 4xx status code

func (*UpdateLogControlConfigNotFound) IsCode

func (o *UpdateLogControlConfigNotFound) IsCode(code int) bool

IsCode returns true when this update log control config not found response a status code equal to that given

func (*UpdateLogControlConfigNotFound) IsRedirect

func (o *UpdateLogControlConfigNotFound) IsRedirect() bool

IsRedirect returns true when this update log control config not found response has a 3xx status code

func (*UpdateLogControlConfigNotFound) IsServerError

func (o *UpdateLogControlConfigNotFound) IsServerError() bool

IsServerError returns true when this update log control config not found response has a 5xx status code

func (*UpdateLogControlConfigNotFound) IsSuccess

func (o *UpdateLogControlConfigNotFound) IsSuccess() bool

IsSuccess returns true when this update log control config not found response has a 2xx status code

func (*UpdateLogControlConfigNotFound) String

type UpdateLogControlConfigOK

type UpdateLogControlConfigOK struct {
	Payload *models.ConfigunstableUpdateLogControlConfigResponse
}

UpdateLogControlConfigOK describes a response with status code 200, with default header values.

A successful response containing the updated LogControlConfig.

func NewUpdateLogControlConfigOK

func NewUpdateLogControlConfigOK() *UpdateLogControlConfigOK

NewUpdateLogControlConfigOK creates a UpdateLogControlConfigOK with default headers values

func (*UpdateLogControlConfigOK) Code

func (o *UpdateLogControlConfigOK) Code() int

Code gets the status code for the update log control config o k response

func (*UpdateLogControlConfigOK) Error

func (o *UpdateLogControlConfigOK) Error() string

func (*UpdateLogControlConfigOK) GetPayload

func (*UpdateLogControlConfigOK) IsClientError

func (o *UpdateLogControlConfigOK) IsClientError() bool

IsClientError returns true when this update log control config o k response has a 4xx status code

func (*UpdateLogControlConfigOK) IsCode

func (o *UpdateLogControlConfigOK) IsCode(code int) bool

IsCode returns true when this update log control config o k response a status code equal to that given

func (*UpdateLogControlConfigOK) IsRedirect

func (o *UpdateLogControlConfigOK) IsRedirect() bool

IsRedirect returns true when this update log control config o k response has a 3xx status code

func (*UpdateLogControlConfigOK) IsServerError

func (o *UpdateLogControlConfigOK) IsServerError() bool

IsServerError returns true when this update log control config o k response has a 5xx status code

func (*UpdateLogControlConfigOK) IsSuccess

func (o *UpdateLogControlConfigOK) IsSuccess() bool

IsSuccess returns true when this update log control config o k response has a 2xx status code

func (*UpdateLogControlConfigOK) String

func (o *UpdateLogControlConfigOK) String() string

type UpdateLogControlConfigParams

type UpdateLogControlConfigParams struct {

	// Body.
	Body *models.ConfigunstableUpdateLogControlConfigRequest

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

UpdateLogControlConfigParams contains all the parameters to send to the API endpoint

for the update log control config operation.

Typically these are written to a http.Request.

func NewUpdateLogControlConfigParams

func NewUpdateLogControlConfigParams() *UpdateLogControlConfigParams

NewUpdateLogControlConfigParams creates a new UpdateLogControlConfigParams 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 NewUpdateLogControlConfigParamsWithContext

func NewUpdateLogControlConfigParamsWithContext(ctx context.Context) *UpdateLogControlConfigParams

NewUpdateLogControlConfigParamsWithContext creates a new UpdateLogControlConfigParams object with the ability to set a context for a request.

func NewUpdateLogControlConfigParamsWithHTTPClient

func NewUpdateLogControlConfigParamsWithHTTPClient(client *http.Client) *UpdateLogControlConfigParams

NewUpdateLogControlConfigParamsWithHTTPClient creates a new UpdateLogControlConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateLogControlConfigParamsWithTimeout

func NewUpdateLogControlConfigParamsWithTimeout(timeout time.Duration) *UpdateLogControlConfigParams

NewUpdateLogControlConfigParamsWithTimeout creates a new UpdateLogControlConfigParams object with the ability to set a timeout on a request.

func (*UpdateLogControlConfigParams) SetBody

SetBody adds the body to the update log control config params

func (*UpdateLogControlConfigParams) SetContext

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

SetContext adds the context to the update log control config params

func (*UpdateLogControlConfigParams) SetDefaults

func (o *UpdateLogControlConfigParams) SetDefaults()

SetDefaults hydrates default values in the update log control config params (not the query body).

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

func (*UpdateLogControlConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update log control config params

func (*UpdateLogControlConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update log control config params

func (*UpdateLogControlConfigParams) WithBody

WithBody adds the body to the update log control config params

func (*UpdateLogControlConfigParams) WithContext

WithContext adds the context to the update log control config params

func (*UpdateLogControlConfigParams) WithDefaults

WithDefaults hydrates default values in the update log control config params (not the query body).

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

func (*UpdateLogControlConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update log control config params

func (*UpdateLogControlConfigParams) WithTimeout

WithTimeout adds the timeout to the update log control config params

func (*UpdateLogControlConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLogControlConfigReader

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

UpdateLogControlConfigReader is a Reader for the UpdateLogControlConfig structure.

func (*UpdateLogControlConfigReader) ReadResponse

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