log_forward

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 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 forward API

func (*Client) CreateLogForward

CreateLogForward adds a log forward

Adds a new log_forward to the configuration file.

func (*Client) DeleteLogForward

DeleteLogForward deletes a log forward

Deletes a log forward from the configuration by it's name.

func (*Client) GetLogForward

func (a *Client) GetLogForward(params *GetLogForwardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogForwardOK, error)

GetLogForward returns a log forward

Returns one log forward configuration by it's name.

func (*Client) GetLogForwards

func (a *Client) GetLogForwards(params *GetLogForwardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogForwardsOK, error)

GetLogForwards returns an array of log forwards

Returns an array of all configured log forwards.

func (*Client) ReplaceLogForward

ReplaceLogForward replaces a log forward

Replaces a log forward configuration by it's name.

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

ClientService is the interface for Client methods

func New

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

New creates a new log forward API client.

type CreateLogForwardAccepted

type CreateLogForwardAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.LogForward
}

CreateLogForwardAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateLogForwardAccepted

func NewCreateLogForwardAccepted() *CreateLogForwardAccepted

NewCreateLogForwardAccepted creates a CreateLogForwardAccepted with default headers values

func (*CreateLogForwardAccepted) Code added in v1.1.5

func (o *CreateLogForwardAccepted) Code() int

Code gets the status code for the create log forward accepted response

func (*CreateLogForwardAccepted) Error

func (o *CreateLogForwardAccepted) Error() string

func (*CreateLogForwardAccepted) GetPayload

func (o *CreateLogForwardAccepted) GetPayload() *models.LogForward

func (*CreateLogForwardAccepted) IsClientError added in v1.1.0

func (o *CreateLogForwardAccepted) IsClientError() bool

IsClientError returns true when this create log forward accepted response has a 4xx status code

func (*CreateLogForwardAccepted) IsCode added in v1.1.0

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

IsCode returns true when this create log forward accepted response a status code equal to that given

func (*CreateLogForwardAccepted) IsRedirect added in v1.1.0

func (o *CreateLogForwardAccepted) IsRedirect() bool

IsRedirect returns true when this create log forward accepted response has a 3xx status code

func (*CreateLogForwardAccepted) IsServerError added in v1.1.0

func (o *CreateLogForwardAccepted) IsServerError() bool

IsServerError returns true when this create log forward accepted response has a 5xx status code

func (*CreateLogForwardAccepted) IsSuccess added in v1.1.0

func (o *CreateLogForwardAccepted) IsSuccess() bool

IsSuccess returns true when this create log forward accepted response has a 2xx status code

func (*CreateLogForwardAccepted) String added in v1.1.0

func (o *CreateLogForwardAccepted) String() string

type CreateLogForwardBadRequest

type CreateLogForwardBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateLogForwardBadRequest

func NewCreateLogForwardBadRequest() *CreateLogForwardBadRequest

NewCreateLogForwardBadRequest creates a CreateLogForwardBadRequest with default headers values

func (*CreateLogForwardBadRequest) Code added in v1.1.5

func (o *CreateLogForwardBadRequest) Code() int

Code gets the status code for the create log forward bad request response

func (*CreateLogForwardBadRequest) Error

func (*CreateLogForwardBadRequest) GetPayload

func (o *CreateLogForwardBadRequest) GetPayload() *models.Error

func (*CreateLogForwardBadRequest) IsClientError added in v1.1.0

func (o *CreateLogForwardBadRequest) IsClientError() bool

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

func (*CreateLogForwardBadRequest) IsCode added in v1.1.0

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

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

func (*CreateLogForwardBadRequest) IsRedirect added in v1.1.0

func (o *CreateLogForwardBadRequest) IsRedirect() bool

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

func (*CreateLogForwardBadRequest) IsServerError added in v1.1.0

func (o *CreateLogForwardBadRequest) IsServerError() bool

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

func (*CreateLogForwardBadRequest) IsSuccess added in v1.1.0

func (o *CreateLogForwardBadRequest) IsSuccess() bool

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

func (*CreateLogForwardBadRequest) String added in v1.1.0

func (o *CreateLogForwardBadRequest) String() string

type CreateLogForwardConflict

type CreateLogForwardConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateLogForwardConflict

func NewCreateLogForwardConflict() *CreateLogForwardConflict

NewCreateLogForwardConflict creates a CreateLogForwardConflict with default headers values

func (*CreateLogForwardConflict) Code added in v1.1.5

func (o *CreateLogForwardConflict) Code() int

Code gets the status code for the create log forward conflict response

func (*CreateLogForwardConflict) Error

func (o *CreateLogForwardConflict) Error() string

func (*CreateLogForwardConflict) GetPayload

func (o *CreateLogForwardConflict) GetPayload() *models.Error

func (*CreateLogForwardConflict) IsClientError added in v1.1.0

func (o *CreateLogForwardConflict) IsClientError() bool

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

func (*CreateLogForwardConflict) IsCode added in v1.1.0

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

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

func (*CreateLogForwardConflict) IsRedirect added in v1.1.0

func (o *CreateLogForwardConflict) IsRedirect() bool

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

func (*CreateLogForwardConflict) IsServerError added in v1.1.0

func (o *CreateLogForwardConflict) IsServerError() bool

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

func (*CreateLogForwardConflict) IsSuccess added in v1.1.0

func (o *CreateLogForwardConflict) IsSuccess() bool

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

func (*CreateLogForwardConflict) String added in v1.1.0

func (o *CreateLogForwardConflict) String() string

type CreateLogForwardCreated

type CreateLogForwardCreated struct {
	Payload *models.LogForward
}

CreateLogForwardCreated describes a response with status code 201, with default header values.

Log Forward created

func NewCreateLogForwardCreated

func NewCreateLogForwardCreated() *CreateLogForwardCreated

NewCreateLogForwardCreated creates a CreateLogForwardCreated with default headers values

func (*CreateLogForwardCreated) Code added in v1.1.5

func (o *CreateLogForwardCreated) Code() int

Code gets the status code for the create log forward created response

func (*CreateLogForwardCreated) Error

func (o *CreateLogForwardCreated) Error() string

func (*CreateLogForwardCreated) GetPayload

func (o *CreateLogForwardCreated) GetPayload() *models.LogForward

func (*CreateLogForwardCreated) IsClientError added in v1.1.0

func (o *CreateLogForwardCreated) IsClientError() bool

IsClientError returns true when this create log forward created response has a 4xx status code

func (*CreateLogForwardCreated) IsCode added in v1.1.0

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

IsCode returns true when this create log forward created response a status code equal to that given

func (*CreateLogForwardCreated) IsRedirect added in v1.1.0

func (o *CreateLogForwardCreated) IsRedirect() bool

IsRedirect returns true when this create log forward created response has a 3xx status code

func (*CreateLogForwardCreated) IsServerError added in v1.1.0

func (o *CreateLogForwardCreated) IsServerError() bool

IsServerError returns true when this create log forward created response has a 5xx status code

func (*CreateLogForwardCreated) IsSuccess added in v1.1.0

func (o *CreateLogForwardCreated) IsSuccess() bool

IsSuccess returns true when this create log forward created response has a 2xx status code

func (*CreateLogForwardCreated) String added in v1.1.0

func (o *CreateLogForwardCreated) String() string

type CreateLogForwardDefault

type CreateLogForwardDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewCreateLogForwardDefault

func NewCreateLogForwardDefault(code int) *CreateLogForwardDefault

NewCreateLogForwardDefault creates a CreateLogForwardDefault with default headers values

func (*CreateLogForwardDefault) Code

func (o *CreateLogForwardDefault) Code() int

Code gets the status code for the create log forward default response

func (*CreateLogForwardDefault) Error

func (o *CreateLogForwardDefault) Error() string

func (*CreateLogForwardDefault) GetPayload

func (o *CreateLogForwardDefault) GetPayload() *models.Error

func (*CreateLogForwardDefault) IsClientError added in v1.1.0

func (o *CreateLogForwardDefault) IsClientError() bool

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

func (*CreateLogForwardDefault) IsCode added in v1.1.0

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

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

func (*CreateLogForwardDefault) IsRedirect added in v1.1.0

func (o *CreateLogForwardDefault) IsRedirect() bool

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

func (*CreateLogForwardDefault) IsServerError added in v1.1.0

func (o *CreateLogForwardDefault) IsServerError() bool

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

func (*CreateLogForwardDefault) IsSuccess added in v1.1.0

func (o *CreateLogForwardDefault) IsSuccess() bool

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

func (*CreateLogForwardDefault) String added in v1.1.0

func (o *CreateLogForwardDefault) String() string

type CreateLogForwardParams

type CreateLogForwardParams struct {

	// Data.
	Data *models.LogForward

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

CreateLogForwardParams contains all the parameters to send to the API endpoint

for the create log forward operation.

Typically these are written to a http.Request.

func NewCreateLogForwardParams

func NewCreateLogForwardParams() *CreateLogForwardParams

NewCreateLogForwardParams creates a new CreateLogForwardParams 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 NewCreateLogForwardParamsWithContext

func NewCreateLogForwardParamsWithContext(ctx context.Context) *CreateLogForwardParams

NewCreateLogForwardParamsWithContext creates a new CreateLogForwardParams object with the ability to set a context for a request.

func NewCreateLogForwardParamsWithHTTPClient

func NewCreateLogForwardParamsWithHTTPClient(client *http.Client) *CreateLogForwardParams

NewCreateLogForwardParamsWithHTTPClient creates a new CreateLogForwardParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogForwardParamsWithTimeout

func NewCreateLogForwardParamsWithTimeout(timeout time.Duration) *CreateLogForwardParams

NewCreateLogForwardParamsWithTimeout creates a new CreateLogForwardParams object with the ability to set a timeout on a request.

func (*CreateLogForwardParams) SetContext

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

SetContext adds the context to the create log forward params

func (*CreateLogForwardParams) SetData

func (o *CreateLogForwardParams) SetData(data *models.LogForward)

SetData adds the data to the create log forward params

func (*CreateLogForwardParams) SetDefaults

func (o *CreateLogForwardParams) SetDefaults()

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

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

func (*CreateLogForwardParams) SetForceReload

func (o *CreateLogForwardParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create log forward params

func (*CreateLogForwardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log forward params

func (*CreateLogForwardParams) SetTimeout

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

SetTimeout adds the timeout to the create log forward params

func (*CreateLogForwardParams) SetTransactionID

func (o *CreateLogForwardParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create log forward params

func (*CreateLogForwardParams) SetVersion

func (o *CreateLogForwardParams) SetVersion(version *int64)

SetVersion adds the version to the create log forward params

func (*CreateLogForwardParams) WithContext

WithContext adds the context to the create log forward params

func (*CreateLogForwardParams) WithData

WithData adds the data to the create log forward params

func (*CreateLogForwardParams) WithDefaults

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

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

func (*CreateLogForwardParams) WithForceReload

func (o *CreateLogForwardParams) WithForceReload(forceReload *bool) *CreateLogForwardParams

WithForceReload adds the forceReload to the create log forward params

func (*CreateLogForwardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create log forward params

func (*CreateLogForwardParams) WithTimeout

WithTimeout adds the timeout to the create log forward params

func (*CreateLogForwardParams) WithTransactionID

func (o *CreateLogForwardParams) WithTransactionID(transactionID *string) *CreateLogForwardParams

WithTransactionID adds the transactionID to the create log forward params

func (*CreateLogForwardParams) WithVersion

func (o *CreateLogForwardParams) WithVersion(version *int64) *CreateLogForwardParams

WithVersion adds the version to the create log forward params

func (*CreateLogForwardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLogForwardReader

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

CreateLogForwardReader is a Reader for the CreateLogForward structure.

func (*CreateLogForwardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogForwardAccepted

type DeleteLogForwardAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteLogForwardAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteLogForwardAccepted

func NewDeleteLogForwardAccepted() *DeleteLogForwardAccepted

NewDeleteLogForwardAccepted creates a DeleteLogForwardAccepted with default headers values

func (*DeleteLogForwardAccepted) Code added in v1.1.5

func (o *DeleteLogForwardAccepted) Code() int

Code gets the status code for the delete log forward accepted response

func (*DeleteLogForwardAccepted) Error

func (o *DeleteLogForwardAccepted) Error() string

func (*DeleteLogForwardAccepted) IsClientError added in v1.1.0

func (o *DeleteLogForwardAccepted) IsClientError() bool

IsClientError returns true when this delete log forward accepted response has a 4xx status code

func (*DeleteLogForwardAccepted) IsCode added in v1.1.0

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

IsCode returns true when this delete log forward accepted response a status code equal to that given

func (*DeleteLogForwardAccepted) IsRedirect added in v1.1.0

func (o *DeleteLogForwardAccepted) IsRedirect() bool

IsRedirect returns true when this delete log forward accepted response has a 3xx status code

func (*DeleteLogForwardAccepted) IsServerError added in v1.1.0

func (o *DeleteLogForwardAccepted) IsServerError() bool

IsServerError returns true when this delete log forward accepted response has a 5xx status code

func (*DeleteLogForwardAccepted) IsSuccess added in v1.1.0

func (o *DeleteLogForwardAccepted) IsSuccess() bool

IsSuccess returns true when this delete log forward accepted response has a 2xx status code

func (*DeleteLogForwardAccepted) String added in v1.1.0

func (o *DeleteLogForwardAccepted) String() string

type DeleteLogForwardDefault

type DeleteLogForwardDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewDeleteLogForwardDefault

func NewDeleteLogForwardDefault(code int) *DeleteLogForwardDefault

NewDeleteLogForwardDefault creates a DeleteLogForwardDefault with default headers values

func (*DeleteLogForwardDefault) Code

func (o *DeleteLogForwardDefault) Code() int

Code gets the status code for the delete log forward default response

func (*DeleteLogForwardDefault) Error

func (o *DeleteLogForwardDefault) Error() string

func (*DeleteLogForwardDefault) GetPayload

func (o *DeleteLogForwardDefault) GetPayload() *models.Error

func (*DeleteLogForwardDefault) IsClientError added in v1.1.0

func (o *DeleteLogForwardDefault) IsClientError() bool

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

func (*DeleteLogForwardDefault) IsCode added in v1.1.0

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

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

func (*DeleteLogForwardDefault) IsRedirect added in v1.1.0

func (o *DeleteLogForwardDefault) IsRedirect() bool

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

func (*DeleteLogForwardDefault) IsServerError added in v1.1.0

func (o *DeleteLogForwardDefault) IsServerError() bool

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

func (*DeleteLogForwardDefault) IsSuccess added in v1.1.0

func (o *DeleteLogForwardDefault) IsSuccess() bool

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

func (*DeleteLogForwardDefault) String added in v1.1.0

func (o *DeleteLogForwardDefault) String() string

type DeleteLogForwardNoContent

type DeleteLogForwardNoContent struct {
}

DeleteLogForwardNoContent describes a response with status code 204, with default header values.

Log Forward deleted

func NewDeleteLogForwardNoContent

func NewDeleteLogForwardNoContent() *DeleteLogForwardNoContent

NewDeleteLogForwardNoContent creates a DeleteLogForwardNoContent with default headers values

func (*DeleteLogForwardNoContent) Code added in v1.1.5

func (o *DeleteLogForwardNoContent) Code() int

Code gets the status code for the delete log forward no content response

func (*DeleteLogForwardNoContent) Error

func (o *DeleteLogForwardNoContent) Error() string

func (*DeleteLogForwardNoContent) IsClientError added in v1.1.0

func (o *DeleteLogForwardNoContent) IsClientError() bool

IsClientError returns true when this delete log forward no content response has a 4xx status code

func (*DeleteLogForwardNoContent) IsCode added in v1.1.0

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

IsCode returns true when this delete log forward no content response a status code equal to that given

func (*DeleteLogForwardNoContent) IsRedirect added in v1.1.0

func (o *DeleteLogForwardNoContent) IsRedirect() bool

IsRedirect returns true when this delete log forward no content response has a 3xx status code

func (*DeleteLogForwardNoContent) IsServerError added in v1.1.0

func (o *DeleteLogForwardNoContent) IsServerError() bool

IsServerError returns true when this delete log forward no content response has a 5xx status code

func (*DeleteLogForwardNoContent) IsSuccess added in v1.1.0

func (o *DeleteLogForwardNoContent) IsSuccess() bool

IsSuccess returns true when this delete log forward no content response has a 2xx status code

func (*DeleteLogForwardNoContent) String added in v1.1.0

func (o *DeleteLogForwardNoContent) String() string

type DeleteLogForwardNotFound

type DeleteLogForwardNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteLogForwardNotFound

func NewDeleteLogForwardNotFound() *DeleteLogForwardNotFound

NewDeleteLogForwardNotFound creates a DeleteLogForwardNotFound with default headers values

func (*DeleteLogForwardNotFound) Code added in v1.1.5

func (o *DeleteLogForwardNotFound) Code() int

Code gets the status code for the delete log forward not found response

func (*DeleteLogForwardNotFound) Error

func (o *DeleteLogForwardNotFound) Error() string

func (*DeleteLogForwardNotFound) GetPayload

func (o *DeleteLogForwardNotFound) GetPayload() *models.Error

func (*DeleteLogForwardNotFound) IsClientError added in v1.1.0

func (o *DeleteLogForwardNotFound) IsClientError() bool

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

func (*DeleteLogForwardNotFound) IsCode added in v1.1.0

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

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

func (*DeleteLogForwardNotFound) IsRedirect added in v1.1.0

func (o *DeleteLogForwardNotFound) IsRedirect() bool

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

func (*DeleteLogForwardNotFound) IsServerError added in v1.1.0

func (o *DeleteLogForwardNotFound) IsServerError() bool

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

func (*DeleteLogForwardNotFound) IsSuccess added in v1.1.0

func (o *DeleteLogForwardNotFound) IsSuccess() bool

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

func (*DeleteLogForwardNotFound) String added in v1.1.0

func (o *DeleteLogForwardNotFound) String() string

type DeleteLogForwardParams

type DeleteLogForwardParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   Log Forward name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

DeleteLogForwardParams contains all the parameters to send to the API endpoint

for the delete log forward operation.

Typically these are written to a http.Request.

func NewDeleteLogForwardParams

func NewDeleteLogForwardParams() *DeleteLogForwardParams

NewDeleteLogForwardParams creates a new DeleteLogForwardParams 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 NewDeleteLogForwardParamsWithContext

func NewDeleteLogForwardParamsWithContext(ctx context.Context) *DeleteLogForwardParams

NewDeleteLogForwardParamsWithContext creates a new DeleteLogForwardParams object with the ability to set a context for a request.

func NewDeleteLogForwardParamsWithHTTPClient

func NewDeleteLogForwardParamsWithHTTPClient(client *http.Client) *DeleteLogForwardParams

NewDeleteLogForwardParamsWithHTTPClient creates a new DeleteLogForwardParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogForwardParamsWithTimeout

func NewDeleteLogForwardParamsWithTimeout(timeout time.Duration) *DeleteLogForwardParams

NewDeleteLogForwardParamsWithTimeout creates a new DeleteLogForwardParams object with the ability to set a timeout on a request.

func (*DeleteLogForwardParams) SetContext

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

SetContext adds the context to the delete log forward params

func (*DeleteLogForwardParams) SetDefaults

func (o *DeleteLogForwardParams) SetDefaults()

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

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

func (*DeleteLogForwardParams) SetForceReload

func (o *DeleteLogForwardParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete log forward params

func (*DeleteLogForwardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log forward params

func (*DeleteLogForwardParams) SetName

func (o *DeleteLogForwardParams) SetName(name string)

SetName adds the name to the delete log forward params

func (*DeleteLogForwardParams) SetTimeout

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

SetTimeout adds the timeout to the delete log forward params

func (*DeleteLogForwardParams) SetTransactionID

func (o *DeleteLogForwardParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete log forward params

func (*DeleteLogForwardParams) SetVersion

func (o *DeleteLogForwardParams) SetVersion(version *int64)

SetVersion adds the version to the delete log forward params

func (*DeleteLogForwardParams) WithContext

WithContext adds the context to the delete log forward params

func (*DeleteLogForwardParams) WithDefaults

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

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

func (*DeleteLogForwardParams) WithForceReload

func (o *DeleteLogForwardParams) WithForceReload(forceReload *bool) *DeleteLogForwardParams

WithForceReload adds the forceReload to the delete log forward params

func (*DeleteLogForwardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete log forward params

func (*DeleteLogForwardParams) WithName

WithName adds the name to the delete log forward params

func (*DeleteLogForwardParams) WithTimeout

WithTimeout adds the timeout to the delete log forward params

func (*DeleteLogForwardParams) WithTransactionID

func (o *DeleteLogForwardParams) WithTransactionID(transactionID *string) *DeleteLogForwardParams

WithTransactionID adds the transactionID to the delete log forward params

func (*DeleteLogForwardParams) WithVersion

func (o *DeleteLogForwardParams) WithVersion(version *int64) *DeleteLogForwardParams

WithVersion adds the version to the delete log forward params

func (*DeleteLogForwardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLogForwardReader

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

DeleteLogForwardReader is a Reader for the DeleteLogForward structure.

func (*DeleteLogForwardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogForwardDefault

type GetLogForwardDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetLogForwardDefault

func NewGetLogForwardDefault(code int) *GetLogForwardDefault

NewGetLogForwardDefault creates a GetLogForwardDefault with default headers values

func (*GetLogForwardDefault) Code

func (o *GetLogForwardDefault) Code() int

Code gets the status code for the get log forward default response

func (*GetLogForwardDefault) Error

func (o *GetLogForwardDefault) Error() string

func (*GetLogForwardDefault) GetPayload

func (o *GetLogForwardDefault) GetPayload() *models.Error

func (*GetLogForwardDefault) IsClientError added in v1.1.0

func (o *GetLogForwardDefault) IsClientError() bool

IsClientError returns true when this get log forward default response has a 4xx status code

func (*GetLogForwardDefault) IsCode added in v1.1.0

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

IsCode returns true when this get log forward default response a status code equal to that given

func (*GetLogForwardDefault) IsRedirect added in v1.1.0

func (o *GetLogForwardDefault) IsRedirect() bool

IsRedirect returns true when this get log forward default response has a 3xx status code

func (*GetLogForwardDefault) IsServerError added in v1.1.0

func (o *GetLogForwardDefault) IsServerError() bool

IsServerError returns true when this get log forward default response has a 5xx status code

func (*GetLogForwardDefault) IsSuccess added in v1.1.0

func (o *GetLogForwardDefault) IsSuccess() bool

IsSuccess returns true when this get log forward default response has a 2xx status code

func (*GetLogForwardDefault) String added in v1.1.0

func (o *GetLogForwardDefault) String() string

type GetLogForwardNotFound

type GetLogForwardNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetLogForwardNotFound

func NewGetLogForwardNotFound() *GetLogForwardNotFound

NewGetLogForwardNotFound creates a GetLogForwardNotFound with default headers values

func (*GetLogForwardNotFound) Code added in v1.1.5

func (o *GetLogForwardNotFound) Code() int

Code gets the status code for the get log forward not found response

func (*GetLogForwardNotFound) Error

func (o *GetLogForwardNotFound) Error() string

func (*GetLogForwardNotFound) GetPayload

func (o *GetLogForwardNotFound) GetPayload() *models.Error

func (*GetLogForwardNotFound) IsClientError added in v1.1.0

func (o *GetLogForwardNotFound) IsClientError() bool

IsClientError returns true when this get log forward not found response has a 4xx status code

func (*GetLogForwardNotFound) IsCode added in v1.1.0

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

IsCode returns true when this get log forward not found response a status code equal to that given

func (*GetLogForwardNotFound) IsRedirect added in v1.1.0

func (o *GetLogForwardNotFound) IsRedirect() bool

IsRedirect returns true when this get log forward not found response has a 3xx status code

func (*GetLogForwardNotFound) IsServerError added in v1.1.0

func (o *GetLogForwardNotFound) IsServerError() bool

IsServerError returns true when this get log forward not found response has a 5xx status code

func (*GetLogForwardNotFound) IsSuccess added in v1.1.0

func (o *GetLogForwardNotFound) IsSuccess() bool

IsSuccess returns true when this get log forward not found response has a 2xx status code

func (*GetLogForwardNotFound) String added in v1.1.0

func (o *GetLogForwardNotFound) String() string

type GetLogForwardOK

type GetLogForwardOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetLogForwardOKBody
}

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

Successful operation

func NewGetLogForwardOK

func NewGetLogForwardOK() *GetLogForwardOK

NewGetLogForwardOK creates a GetLogForwardOK with default headers values

func (*GetLogForwardOK) Code added in v1.1.5

func (o *GetLogForwardOK) Code() int

Code gets the status code for the get log forward o k response

func (*GetLogForwardOK) Error

func (o *GetLogForwardOK) Error() string

func (*GetLogForwardOK) GetPayload

func (o *GetLogForwardOK) GetPayload() *GetLogForwardOKBody

func (*GetLogForwardOK) IsClientError added in v1.1.0

func (o *GetLogForwardOK) IsClientError() bool

IsClientError returns true when this get log forward o k response has a 4xx status code

func (*GetLogForwardOK) IsCode added in v1.1.0

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

IsCode returns true when this get log forward o k response a status code equal to that given

func (*GetLogForwardOK) IsRedirect added in v1.1.0

func (o *GetLogForwardOK) IsRedirect() bool

IsRedirect returns true when this get log forward o k response has a 3xx status code

func (*GetLogForwardOK) IsServerError added in v1.1.0

func (o *GetLogForwardOK) IsServerError() bool

IsServerError returns true when this get log forward o k response has a 5xx status code

func (*GetLogForwardOK) IsSuccess added in v1.1.0

func (o *GetLogForwardOK) IsSuccess() bool

IsSuccess returns true when this get log forward o k response has a 2xx status code

func (*GetLogForwardOK) String added in v1.1.0

func (o *GetLogForwardOK) String() string

type GetLogForwardOKBody

type GetLogForwardOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.LogForward `json:"data,omitempty"`
}

GetLogForwardOKBody get log forward o k body swagger:model GetLogForwardOKBody

func (*GetLogForwardOKBody) ContextValidate

func (o *GetLogForwardOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get log forward o k body based on the context it is used

func (*GetLogForwardOKBody) MarshalBinary

func (o *GetLogForwardOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLogForwardOKBody) UnmarshalBinary

func (o *GetLogForwardOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLogForwardOKBody) Validate

func (o *GetLogForwardOKBody) Validate(formats strfmt.Registry) error

Validate validates this get log forward o k body

type GetLogForwardParams

type GetLogForwardParams struct {

	/* Name.

	   Log Forward name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetLogForwardParams contains all the parameters to send to the API endpoint

for the get log forward operation.

Typically these are written to a http.Request.

func NewGetLogForwardParams

func NewGetLogForwardParams() *GetLogForwardParams

NewGetLogForwardParams creates a new GetLogForwardParams 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 NewGetLogForwardParamsWithContext

func NewGetLogForwardParamsWithContext(ctx context.Context) *GetLogForwardParams

NewGetLogForwardParamsWithContext creates a new GetLogForwardParams object with the ability to set a context for a request.

func NewGetLogForwardParamsWithHTTPClient

func NewGetLogForwardParamsWithHTTPClient(client *http.Client) *GetLogForwardParams

NewGetLogForwardParamsWithHTTPClient creates a new GetLogForwardParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogForwardParamsWithTimeout

func NewGetLogForwardParamsWithTimeout(timeout time.Duration) *GetLogForwardParams

NewGetLogForwardParamsWithTimeout creates a new GetLogForwardParams object with the ability to set a timeout on a request.

func (*GetLogForwardParams) SetContext

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

SetContext adds the context to the get log forward params

func (*GetLogForwardParams) SetDefaults

func (o *GetLogForwardParams) SetDefaults()

SetDefaults hydrates default values in the get log forward params (not the query body).

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

func (*GetLogForwardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log forward params

func (*GetLogForwardParams) SetName

func (o *GetLogForwardParams) SetName(name string)

SetName adds the name to the get log forward params

func (*GetLogForwardParams) SetTimeout

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

SetTimeout adds the timeout to the get log forward params

func (*GetLogForwardParams) SetTransactionID

func (o *GetLogForwardParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get log forward params

func (*GetLogForwardParams) WithContext

WithContext adds the context to the get log forward params

func (*GetLogForwardParams) WithDefaults

func (o *GetLogForwardParams) WithDefaults() *GetLogForwardParams

WithDefaults hydrates default values in the get log forward params (not the query body).

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

func (*GetLogForwardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log forward params

func (*GetLogForwardParams) WithName

func (o *GetLogForwardParams) WithName(name string) *GetLogForwardParams

WithName adds the name to the get log forward params

func (*GetLogForwardParams) WithTimeout

func (o *GetLogForwardParams) WithTimeout(timeout time.Duration) *GetLogForwardParams

WithTimeout adds the timeout to the get log forward params

func (*GetLogForwardParams) WithTransactionID

func (o *GetLogForwardParams) WithTransactionID(transactionID *string) *GetLogForwardParams

WithTransactionID adds the transactionID to the get log forward params

func (*GetLogForwardParams) WriteToRequest

func (o *GetLogForwardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLogForwardReader

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

GetLogForwardReader is a Reader for the GetLogForward structure.

func (*GetLogForwardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogForwardsDefault

type GetLogForwardsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewGetLogForwardsDefault

func NewGetLogForwardsDefault(code int) *GetLogForwardsDefault

NewGetLogForwardsDefault creates a GetLogForwardsDefault with default headers values

func (*GetLogForwardsDefault) Code

func (o *GetLogForwardsDefault) Code() int

Code gets the status code for the get log forwards default response

func (*GetLogForwardsDefault) Error

func (o *GetLogForwardsDefault) Error() string

func (*GetLogForwardsDefault) GetPayload

func (o *GetLogForwardsDefault) GetPayload() *models.Error

func (*GetLogForwardsDefault) IsClientError added in v1.1.0

func (o *GetLogForwardsDefault) IsClientError() bool

IsClientError returns true when this get log forwards default response has a 4xx status code

func (*GetLogForwardsDefault) IsCode added in v1.1.0

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

IsCode returns true when this get log forwards default response a status code equal to that given

func (*GetLogForwardsDefault) IsRedirect added in v1.1.0

func (o *GetLogForwardsDefault) IsRedirect() bool

IsRedirect returns true when this get log forwards default response has a 3xx status code

func (*GetLogForwardsDefault) IsServerError added in v1.1.0

func (o *GetLogForwardsDefault) IsServerError() bool

IsServerError returns true when this get log forwards default response has a 5xx status code

func (*GetLogForwardsDefault) IsSuccess added in v1.1.0

func (o *GetLogForwardsDefault) IsSuccess() bool

IsSuccess returns true when this get log forwards default response has a 2xx status code

func (*GetLogForwardsDefault) String added in v1.1.0

func (o *GetLogForwardsDefault) String() string

type GetLogForwardsOK

type GetLogForwardsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetLogForwardsOKBody
}

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

Successful operation

func NewGetLogForwardsOK

func NewGetLogForwardsOK() *GetLogForwardsOK

NewGetLogForwardsOK creates a GetLogForwardsOK with default headers values

func (*GetLogForwardsOK) Code added in v1.1.5

func (o *GetLogForwardsOK) Code() int

Code gets the status code for the get log forwards o k response

func (*GetLogForwardsOK) Error

func (o *GetLogForwardsOK) Error() string

func (*GetLogForwardsOK) GetPayload

func (o *GetLogForwardsOK) GetPayload() *GetLogForwardsOKBody

func (*GetLogForwardsOK) IsClientError added in v1.1.0

func (o *GetLogForwardsOK) IsClientError() bool

IsClientError returns true when this get log forwards o k response has a 4xx status code

func (*GetLogForwardsOK) IsCode added in v1.1.0

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

IsCode returns true when this get log forwards o k response a status code equal to that given

func (*GetLogForwardsOK) IsRedirect added in v1.1.0

func (o *GetLogForwardsOK) IsRedirect() bool

IsRedirect returns true when this get log forwards o k response has a 3xx status code

func (*GetLogForwardsOK) IsServerError added in v1.1.0

func (o *GetLogForwardsOK) IsServerError() bool

IsServerError returns true when this get log forwards o k response has a 5xx status code

func (*GetLogForwardsOK) IsSuccess added in v1.1.0

func (o *GetLogForwardsOK) IsSuccess() bool

IsSuccess returns true when this get log forwards o k response has a 2xx status code

func (*GetLogForwardsOK) String added in v1.1.0

func (o *GetLogForwardsOK) String() string

type GetLogForwardsOKBody

type GetLogForwardsOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.LogForwards `json:"data"`
}

GetLogForwardsOKBody get log forwards o k body swagger:model GetLogForwardsOKBody

func (*GetLogForwardsOKBody) ContextValidate

func (o *GetLogForwardsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get log forwards o k body based on the context it is used

func (*GetLogForwardsOKBody) MarshalBinary

func (o *GetLogForwardsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLogForwardsOKBody) UnmarshalBinary

func (o *GetLogForwardsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLogForwardsOKBody) Validate

func (o *GetLogForwardsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get log forwards o k body

type GetLogForwardsParams

type GetLogForwardsParams struct {

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetLogForwardsParams contains all the parameters to send to the API endpoint

for the get log forwards operation.

Typically these are written to a http.Request.

func NewGetLogForwardsParams

func NewGetLogForwardsParams() *GetLogForwardsParams

NewGetLogForwardsParams creates a new GetLogForwardsParams 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 NewGetLogForwardsParamsWithContext

func NewGetLogForwardsParamsWithContext(ctx context.Context) *GetLogForwardsParams

NewGetLogForwardsParamsWithContext creates a new GetLogForwardsParams object with the ability to set a context for a request.

func NewGetLogForwardsParamsWithHTTPClient

func NewGetLogForwardsParamsWithHTTPClient(client *http.Client) *GetLogForwardsParams

NewGetLogForwardsParamsWithHTTPClient creates a new GetLogForwardsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogForwardsParamsWithTimeout

func NewGetLogForwardsParamsWithTimeout(timeout time.Duration) *GetLogForwardsParams

NewGetLogForwardsParamsWithTimeout creates a new GetLogForwardsParams object with the ability to set a timeout on a request.

func (*GetLogForwardsParams) SetContext

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

SetContext adds the context to the get log forwards params

func (*GetLogForwardsParams) SetDefaults

func (o *GetLogForwardsParams) SetDefaults()

SetDefaults hydrates default values in the get log forwards params (not the query body).

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

func (*GetLogForwardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log forwards params

func (*GetLogForwardsParams) SetTimeout

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

SetTimeout adds the timeout to the get log forwards params

func (*GetLogForwardsParams) SetTransactionID

func (o *GetLogForwardsParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get log forwards params

func (*GetLogForwardsParams) WithContext

WithContext adds the context to the get log forwards params

func (*GetLogForwardsParams) WithDefaults

func (o *GetLogForwardsParams) WithDefaults() *GetLogForwardsParams

WithDefaults hydrates default values in the get log forwards params (not the query body).

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

func (*GetLogForwardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log forwards params

func (*GetLogForwardsParams) WithTimeout

func (o *GetLogForwardsParams) WithTimeout(timeout time.Duration) *GetLogForwardsParams

WithTimeout adds the timeout to the get log forwards params

func (*GetLogForwardsParams) WithTransactionID

func (o *GetLogForwardsParams) WithTransactionID(transactionID *string) *GetLogForwardsParams

WithTransactionID adds the transactionID to the get log forwards params

func (*GetLogForwardsParams) WriteToRequest

func (o *GetLogForwardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLogForwardsReader

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

GetLogForwardsReader is a Reader for the GetLogForwards structure.

func (*GetLogForwardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceLogForwardAccepted

type ReplaceLogForwardAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.LogForward
}

ReplaceLogForwardAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceLogForwardAccepted

func NewReplaceLogForwardAccepted() *ReplaceLogForwardAccepted

NewReplaceLogForwardAccepted creates a ReplaceLogForwardAccepted with default headers values

func (*ReplaceLogForwardAccepted) Code added in v1.1.5

func (o *ReplaceLogForwardAccepted) Code() int

Code gets the status code for the replace log forward accepted response

func (*ReplaceLogForwardAccepted) Error

func (o *ReplaceLogForwardAccepted) Error() string

func (*ReplaceLogForwardAccepted) GetPayload

func (o *ReplaceLogForwardAccepted) GetPayload() *models.LogForward

func (*ReplaceLogForwardAccepted) IsClientError added in v1.1.0

func (o *ReplaceLogForwardAccepted) IsClientError() bool

IsClientError returns true when this replace log forward accepted response has a 4xx status code

func (*ReplaceLogForwardAccepted) IsCode added in v1.1.0

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

IsCode returns true when this replace log forward accepted response a status code equal to that given

func (*ReplaceLogForwardAccepted) IsRedirect added in v1.1.0

func (o *ReplaceLogForwardAccepted) IsRedirect() bool

IsRedirect returns true when this replace log forward accepted response has a 3xx status code

func (*ReplaceLogForwardAccepted) IsServerError added in v1.1.0

func (o *ReplaceLogForwardAccepted) IsServerError() bool

IsServerError returns true when this replace log forward accepted response has a 5xx status code

func (*ReplaceLogForwardAccepted) IsSuccess added in v1.1.0

func (o *ReplaceLogForwardAccepted) IsSuccess() bool

IsSuccess returns true when this replace log forward accepted response has a 2xx status code

func (*ReplaceLogForwardAccepted) String added in v1.1.0

func (o *ReplaceLogForwardAccepted) String() string

type ReplaceLogForwardBadRequest

type ReplaceLogForwardBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceLogForwardBadRequest

func NewReplaceLogForwardBadRequest() *ReplaceLogForwardBadRequest

NewReplaceLogForwardBadRequest creates a ReplaceLogForwardBadRequest with default headers values

func (*ReplaceLogForwardBadRequest) Code added in v1.1.5

func (o *ReplaceLogForwardBadRequest) Code() int

Code gets the status code for the replace log forward bad request response

func (*ReplaceLogForwardBadRequest) Error

func (*ReplaceLogForwardBadRequest) GetPayload

func (o *ReplaceLogForwardBadRequest) GetPayload() *models.Error

func (*ReplaceLogForwardBadRequest) IsClientError added in v1.1.0

func (o *ReplaceLogForwardBadRequest) IsClientError() bool

IsClientError returns true when this replace log forward bad request response has a 4xx status code

func (*ReplaceLogForwardBadRequest) IsCode added in v1.1.0

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

IsCode returns true when this replace log forward bad request response a status code equal to that given

func (*ReplaceLogForwardBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceLogForwardBadRequest) IsRedirect() bool

IsRedirect returns true when this replace log forward bad request response has a 3xx status code

func (*ReplaceLogForwardBadRequest) IsServerError added in v1.1.0

func (o *ReplaceLogForwardBadRequest) IsServerError() bool

IsServerError returns true when this replace log forward bad request response has a 5xx status code

func (*ReplaceLogForwardBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceLogForwardBadRequest) IsSuccess() bool

IsSuccess returns true when this replace log forward bad request response has a 2xx status code

func (*ReplaceLogForwardBadRequest) String added in v1.1.0

func (o *ReplaceLogForwardBadRequest) String() string

type ReplaceLogForwardDefault

type ReplaceLogForwardDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

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

General Error

func NewReplaceLogForwardDefault

func NewReplaceLogForwardDefault(code int) *ReplaceLogForwardDefault

NewReplaceLogForwardDefault creates a ReplaceLogForwardDefault with default headers values

func (*ReplaceLogForwardDefault) Code

func (o *ReplaceLogForwardDefault) Code() int

Code gets the status code for the replace log forward default response

func (*ReplaceLogForwardDefault) Error

func (o *ReplaceLogForwardDefault) Error() string

func (*ReplaceLogForwardDefault) GetPayload

func (o *ReplaceLogForwardDefault) GetPayload() *models.Error

func (*ReplaceLogForwardDefault) IsClientError added in v1.1.0

func (o *ReplaceLogForwardDefault) IsClientError() bool

IsClientError returns true when this replace log forward default response has a 4xx status code

func (*ReplaceLogForwardDefault) IsCode added in v1.1.0

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

IsCode returns true when this replace log forward default response a status code equal to that given

func (*ReplaceLogForwardDefault) IsRedirect added in v1.1.0

func (o *ReplaceLogForwardDefault) IsRedirect() bool

IsRedirect returns true when this replace log forward default response has a 3xx status code

func (*ReplaceLogForwardDefault) IsServerError added in v1.1.0

func (o *ReplaceLogForwardDefault) IsServerError() bool

IsServerError returns true when this replace log forward default response has a 5xx status code

func (*ReplaceLogForwardDefault) IsSuccess added in v1.1.0

func (o *ReplaceLogForwardDefault) IsSuccess() bool

IsSuccess returns true when this replace log forward default response has a 2xx status code

func (*ReplaceLogForwardDefault) String added in v1.1.0

func (o *ReplaceLogForwardDefault) String() string

type ReplaceLogForwardNotFound

type ReplaceLogForwardNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceLogForwardNotFound

func NewReplaceLogForwardNotFound() *ReplaceLogForwardNotFound

NewReplaceLogForwardNotFound creates a ReplaceLogForwardNotFound with default headers values

func (*ReplaceLogForwardNotFound) Code added in v1.1.5

func (o *ReplaceLogForwardNotFound) Code() int

Code gets the status code for the replace log forward not found response

func (*ReplaceLogForwardNotFound) Error

func (o *ReplaceLogForwardNotFound) Error() string

func (*ReplaceLogForwardNotFound) GetPayload

func (o *ReplaceLogForwardNotFound) GetPayload() *models.Error

func (*ReplaceLogForwardNotFound) IsClientError added in v1.1.0

func (o *ReplaceLogForwardNotFound) IsClientError() bool

IsClientError returns true when this replace log forward not found response has a 4xx status code

func (*ReplaceLogForwardNotFound) IsCode added in v1.1.0

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

IsCode returns true when this replace log forward not found response a status code equal to that given

func (*ReplaceLogForwardNotFound) IsRedirect added in v1.1.0

func (o *ReplaceLogForwardNotFound) IsRedirect() bool

IsRedirect returns true when this replace log forward not found response has a 3xx status code

func (*ReplaceLogForwardNotFound) IsServerError added in v1.1.0

func (o *ReplaceLogForwardNotFound) IsServerError() bool

IsServerError returns true when this replace log forward not found response has a 5xx status code

func (*ReplaceLogForwardNotFound) IsSuccess added in v1.1.0

func (o *ReplaceLogForwardNotFound) IsSuccess() bool

IsSuccess returns true when this replace log forward not found response has a 2xx status code

func (*ReplaceLogForwardNotFound) String added in v1.1.0

func (o *ReplaceLogForwardNotFound) String() string

type ReplaceLogForwardOK

type ReplaceLogForwardOK struct {
	Payload *models.LogForward
}

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

Log Forward replaced

func NewReplaceLogForwardOK

func NewReplaceLogForwardOK() *ReplaceLogForwardOK

NewReplaceLogForwardOK creates a ReplaceLogForwardOK with default headers values

func (*ReplaceLogForwardOK) Code added in v1.1.5

func (o *ReplaceLogForwardOK) Code() int

Code gets the status code for the replace log forward o k response

func (*ReplaceLogForwardOK) Error

func (o *ReplaceLogForwardOK) Error() string

func (*ReplaceLogForwardOK) GetPayload

func (o *ReplaceLogForwardOK) GetPayload() *models.LogForward

func (*ReplaceLogForwardOK) IsClientError added in v1.1.0

func (o *ReplaceLogForwardOK) IsClientError() bool

IsClientError returns true when this replace log forward o k response has a 4xx status code

func (*ReplaceLogForwardOK) IsCode added in v1.1.0

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

IsCode returns true when this replace log forward o k response a status code equal to that given

func (*ReplaceLogForwardOK) IsRedirect added in v1.1.0

func (o *ReplaceLogForwardOK) IsRedirect() bool

IsRedirect returns true when this replace log forward o k response has a 3xx status code

func (*ReplaceLogForwardOK) IsServerError added in v1.1.0

func (o *ReplaceLogForwardOK) IsServerError() bool

IsServerError returns true when this replace log forward o k response has a 5xx status code

func (*ReplaceLogForwardOK) IsSuccess added in v1.1.0

func (o *ReplaceLogForwardOK) IsSuccess() bool

IsSuccess returns true when this replace log forward o k response has a 2xx status code

func (*ReplaceLogForwardOK) String added in v1.1.0

func (o *ReplaceLogForwardOK) String() string

type ReplaceLogForwardParams

type ReplaceLogForwardParams struct {

	// Data.
	Data *models.LogForward

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   Log Forward name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

ReplaceLogForwardParams contains all the parameters to send to the API endpoint

for the replace log forward operation.

Typically these are written to a http.Request.

func NewReplaceLogForwardParams

func NewReplaceLogForwardParams() *ReplaceLogForwardParams

NewReplaceLogForwardParams creates a new ReplaceLogForwardParams 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 NewReplaceLogForwardParamsWithContext

func NewReplaceLogForwardParamsWithContext(ctx context.Context) *ReplaceLogForwardParams

NewReplaceLogForwardParamsWithContext creates a new ReplaceLogForwardParams object with the ability to set a context for a request.

func NewReplaceLogForwardParamsWithHTTPClient

func NewReplaceLogForwardParamsWithHTTPClient(client *http.Client) *ReplaceLogForwardParams

NewReplaceLogForwardParamsWithHTTPClient creates a new ReplaceLogForwardParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceLogForwardParamsWithTimeout

func NewReplaceLogForwardParamsWithTimeout(timeout time.Duration) *ReplaceLogForwardParams

NewReplaceLogForwardParamsWithTimeout creates a new ReplaceLogForwardParams object with the ability to set a timeout on a request.

func (*ReplaceLogForwardParams) SetContext

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

SetContext adds the context to the replace log forward params

func (*ReplaceLogForwardParams) SetData

func (o *ReplaceLogForwardParams) SetData(data *models.LogForward)

SetData adds the data to the replace log forward params

func (*ReplaceLogForwardParams) SetDefaults

func (o *ReplaceLogForwardParams) SetDefaults()

SetDefaults hydrates default values in the replace log forward params (not the query body).

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

func (*ReplaceLogForwardParams) SetForceReload

func (o *ReplaceLogForwardParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace log forward params

func (*ReplaceLogForwardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace log forward params

func (*ReplaceLogForwardParams) SetName

func (o *ReplaceLogForwardParams) SetName(name string)

SetName adds the name to the replace log forward params

func (*ReplaceLogForwardParams) SetTimeout

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

SetTimeout adds the timeout to the replace log forward params

func (*ReplaceLogForwardParams) SetTransactionID

func (o *ReplaceLogForwardParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace log forward params

func (*ReplaceLogForwardParams) SetVersion

func (o *ReplaceLogForwardParams) SetVersion(version *int64)

SetVersion adds the version to the replace log forward params

func (*ReplaceLogForwardParams) WithContext

WithContext adds the context to the replace log forward params

func (*ReplaceLogForwardParams) WithData

WithData adds the data to the replace log forward params

func (*ReplaceLogForwardParams) WithDefaults

WithDefaults hydrates default values in the replace log forward params (not the query body).

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

func (*ReplaceLogForwardParams) WithForceReload

func (o *ReplaceLogForwardParams) WithForceReload(forceReload *bool) *ReplaceLogForwardParams

WithForceReload adds the forceReload to the replace log forward params

func (*ReplaceLogForwardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace log forward params

func (*ReplaceLogForwardParams) WithName

WithName adds the name to the replace log forward params

func (*ReplaceLogForwardParams) WithTimeout

WithTimeout adds the timeout to the replace log forward params

func (*ReplaceLogForwardParams) WithTransactionID

func (o *ReplaceLogForwardParams) WithTransactionID(transactionID *string) *ReplaceLogForwardParams

WithTransactionID adds the transactionID to the replace log forward params

func (*ReplaceLogForwardParams) WithVersion

func (o *ReplaceLogForwardParams) WithVersion(version *int64) *ReplaceLogForwardParams

WithVersion adds the version to the replace log forward params

func (*ReplaceLogForwardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceLogForwardReader

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

ReplaceLogForwardReader is a Reader for the ReplaceLogForward structure.

func (*ReplaceLogForwardReader) ReadResponse

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