log_target

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 target API

func (*Client) CreateLogTarget

CreateLogTarget adds a new log target

Adds a new Log Target of the specified type in the specified parent.

func (*Client) DeleteLogTarget

DeleteLogTarget deletes a log target

Deletes a Log Target configuration by it's index from the specified parent.

func (*Client) GetLogTarget

func (a *Client) GetLogTarget(params *GetLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogTargetOK, error)

GetLogTarget returns one log target

Returns one Log Target configuration by it's index in the specified parent.

func (*Client) GetLogTargets

func (a *Client) GetLogTargets(params *GetLogTargetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogTargetsOK, error)

GetLogTargets returns an array of all log targets

Returns all Log Targets that are configured in specified parent.

func (*Client) ReplaceLogTarget

ReplaceLogTarget replaces a log target

Replaces a Log Target configuration by it's index in the specified parent.

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 target API client.

type CreateLogTargetAccepted

type CreateLogTargetAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.LogTarget
}

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

Configuration change accepted and reload requested

func NewCreateLogTargetAccepted

func NewCreateLogTargetAccepted() *CreateLogTargetAccepted

NewCreateLogTargetAccepted creates a CreateLogTargetAccepted with default headers values

func (*CreateLogTargetAccepted) Code added in v1.1.5

func (o *CreateLogTargetAccepted) Code() int

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

func (*CreateLogTargetAccepted) Error

func (o *CreateLogTargetAccepted) Error() string

func (*CreateLogTargetAccepted) GetPayload

func (o *CreateLogTargetAccepted) GetPayload() *models.LogTarget

func (*CreateLogTargetAccepted) IsClientError added in v1.1.0

func (o *CreateLogTargetAccepted) IsClientError() bool

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

func (*CreateLogTargetAccepted) IsCode added in v1.1.0

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

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

func (*CreateLogTargetAccepted) IsRedirect added in v1.1.0

func (o *CreateLogTargetAccepted) IsRedirect() bool

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

func (*CreateLogTargetAccepted) IsServerError added in v1.1.0

func (o *CreateLogTargetAccepted) IsServerError() bool

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

func (*CreateLogTargetAccepted) IsSuccess added in v1.1.0

func (o *CreateLogTargetAccepted) IsSuccess() bool

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

func (*CreateLogTargetAccepted) String added in v1.1.0

func (o *CreateLogTargetAccepted) String() string

type CreateLogTargetBadRequest

type CreateLogTargetBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateLogTargetBadRequest

func NewCreateLogTargetBadRequest() *CreateLogTargetBadRequest

NewCreateLogTargetBadRequest creates a CreateLogTargetBadRequest with default headers values

func (*CreateLogTargetBadRequest) Code added in v1.1.5

func (o *CreateLogTargetBadRequest) Code() int

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

func (*CreateLogTargetBadRequest) Error

func (o *CreateLogTargetBadRequest) Error() string

func (*CreateLogTargetBadRequest) GetPayload

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

func (*CreateLogTargetBadRequest) IsClientError added in v1.1.0

func (o *CreateLogTargetBadRequest) IsClientError() bool

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

func (*CreateLogTargetBadRequest) IsCode added in v1.1.0

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

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

func (*CreateLogTargetBadRequest) IsRedirect added in v1.1.0

func (o *CreateLogTargetBadRequest) IsRedirect() bool

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

func (*CreateLogTargetBadRequest) IsServerError added in v1.1.0

func (o *CreateLogTargetBadRequest) IsServerError() bool

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

func (*CreateLogTargetBadRequest) IsSuccess added in v1.1.0

func (o *CreateLogTargetBadRequest) IsSuccess() bool

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

func (*CreateLogTargetBadRequest) String added in v1.1.0

func (o *CreateLogTargetBadRequest) String() string

type CreateLogTargetConflict

type CreateLogTargetConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateLogTargetConflict

func NewCreateLogTargetConflict() *CreateLogTargetConflict

NewCreateLogTargetConflict creates a CreateLogTargetConflict with default headers values

func (*CreateLogTargetConflict) Code added in v1.1.5

func (o *CreateLogTargetConflict) Code() int

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

func (*CreateLogTargetConflict) Error

func (o *CreateLogTargetConflict) Error() string

func (*CreateLogTargetConflict) GetPayload

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

func (*CreateLogTargetConflict) IsClientError added in v1.1.0

func (o *CreateLogTargetConflict) IsClientError() bool

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

func (*CreateLogTargetConflict) IsCode added in v1.1.0

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

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

func (*CreateLogTargetConflict) IsRedirect added in v1.1.0

func (o *CreateLogTargetConflict) IsRedirect() bool

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

func (*CreateLogTargetConflict) IsServerError added in v1.1.0

func (o *CreateLogTargetConflict) IsServerError() bool

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

func (*CreateLogTargetConflict) IsSuccess added in v1.1.0

func (o *CreateLogTargetConflict) IsSuccess() bool

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

func (*CreateLogTargetConflict) String added in v1.1.0

func (o *CreateLogTargetConflict) String() string

type CreateLogTargetCreated

type CreateLogTargetCreated struct {
	Payload *models.LogTarget
}

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

Log Target created

func NewCreateLogTargetCreated

func NewCreateLogTargetCreated() *CreateLogTargetCreated

NewCreateLogTargetCreated creates a CreateLogTargetCreated with default headers values

func (*CreateLogTargetCreated) Code added in v1.1.5

func (o *CreateLogTargetCreated) Code() int

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

func (*CreateLogTargetCreated) Error

func (o *CreateLogTargetCreated) Error() string

func (*CreateLogTargetCreated) GetPayload

func (o *CreateLogTargetCreated) GetPayload() *models.LogTarget

func (*CreateLogTargetCreated) IsClientError added in v1.1.0

func (o *CreateLogTargetCreated) IsClientError() bool

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

func (*CreateLogTargetCreated) IsCode added in v1.1.0

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

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

func (*CreateLogTargetCreated) IsRedirect added in v1.1.0

func (o *CreateLogTargetCreated) IsRedirect() bool

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

func (*CreateLogTargetCreated) IsServerError added in v1.1.0

func (o *CreateLogTargetCreated) IsServerError() bool

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

func (*CreateLogTargetCreated) IsSuccess added in v1.1.0

func (o *CreateLogTargetCreated) IsSuccess() bool

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

func (*CreateLogTargetCreated) String added in v1.1.0

func (o *CreateLogTargetCreated) String() string

type CreateLogTargetDefault

type CreateLogTargetDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewCreateLogTargetDefault

func NewCreateLogTargetDefault(code int) *CreateLogTargetDefault

NewCreateLogTargetDefault creates a CreateLogTargetDefault with default headers values

func (*CreateLogTargetDefault) Code

func (o *CreateLogTargetDefault) Code() int

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

func (*CreateLogTargetDefault) Error

func (o *CreateLogTargetDefault) Error() string

func (*CreateLogTargetDefault) GetPayload

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

func (*CreateLogTargetDefault) IsClientError added in v1.1.0

func (o *CreateLogTargetDefault) IsClientError() bool

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

func (*CreateLogTargetDefault) IsCode added in v1.1.0

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

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

func (*CreateLogTargetDefault) IsRedirect added in v1.1.0

func (o *CreateLogTargetDefault) IsRedirect() bool

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

func (*CreateLogTargetDefault) IsServerError added in v1.1.0

func (o *CreateLogTargetDefault) IsServerError() bool

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

func (*CreateLogTargetDefault) IsSuccess added in v1.1.0

func (o *CreateLogTargetDefault) IsSuccess() bool

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

func (*CreateLogTargetDefault) String added in v1.1.0

func (o *CreateLogTargetDefault) String() string

type CreateLogTargetParams

type CreateLogTargetParams struct {

	// Data.
	Data *models.LogTarget

	/* 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

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType 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
}

CreateLogTargetParams contains all the parameters to send to the API endpoint

for the create log target operation.

Typically these are written to a http.Request.

func NewCreateLogTargetParams

func NewCreateLogTargetParams() *CreateLogTargetParams

NewCreateLogTargetParams creates a new CreateLogTargetParams 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 NewCreateLogTargetParamsWithContext

func NewCreateLogTargetParamsWithContext(ctx context.Context) *CreateLogTargetParams

NewCreateLogTargetParamsWithContext creates a new CreateLogTargetParams object with the ability to set a context for a request.

func NewCreateLogTargetParamsWithHTTPClient

func NewCreateLogTargetParamsWithHTTPClient(client *http.Client) *CreateLogTargetParams

NewCreateLogTargetParamsWithHTTPClient creates a new CreateLogTargetParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogTargetParamsWithTimeout

func NewCreateLogTargetParamsWithTimeout(timeout time.Duration) *CreateLogTargetParams

NewCreateLogTargetParamsWithTimeout creates a new CreateLogTargetParams object with the ability to set a timeout on a request.

func (*CreateLogTargetParams) SetContext

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

SetContext adds the context to the create log target params

func (*CreateLogTargetParams) SetData

func (o *CreateLogTargetParams) SetData(data *models.LogTarget)

SetData adds the data to the create log target params

func (*CreateLogTargetParams) SetDefaults

func (o *CreateLogTargetParams) SetDefaults()

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

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

func (*CreateLogTargetParams) SetForceReload

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

SetForceReload adds the forceReload to the create log target params

func (*CreateLogTargetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log target params

func (*CreateLogTargetParams) SetParentName

func (o *CreateLogTargetParams) SetParentName(parentName *string)

SetParentName adds the parentName to the create log target params

func (*CreateLogTargetParams) SetParentType

func (o *CreateLogTargetParams) SetParentType(parentType string)

SetParentType adds the parentType to the create log target params

func (*CreateLogTargetParams) SetTimeout

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

SetTimeout adds the timeout to the create log target params

func (*CreateLogTargetParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create log target params

func (*CreateLogTargetParams) SetVersion

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

SetVersion adds the version to the create log target params

func (*CreateLogTargetParams) WithContext

WithContext adds the context to the create log target params

func (*CreateLogTargetParams) WithData

WithData adds the data to the create log target params

func (*CreateLogTargetParams) WithDefaults

func (o *CreateLogTargetParams) WithDefaults() *CreateLogTargetParams

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

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

func (*CreateLogTargetParams) WithForceReload

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

WithForceReload adds the forceReload to the create log target params

func (*CreateLogTargetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create log target params

func (*CreateLogTargetParams) WithParentName

func (o *CreateLogTargetParams) WithParentName(parentName *string) *CreateLogTargetParams

WithParentName adds the parentName to the create log target params

func (*CreateLogTargetParams) WithParentType

func (o *CreateLogTargetParams) WithParentType(parentType string) *CreateLogTargetParams

WithParentType adds the parentType to the create log target params

func (*CreateLogTargetParams) WithTimeout

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

WithTimeout adds the timeout to the create log target params

func (*CreateLogTargetParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create log target params

func (*CreateLogTargetParams) WithVersion

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

WithVersion adds the version to the create log target params

func (*CreateLogTargetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateLogTargetReader

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

CreateLogTargetReader is a Reader for the CreateLogTarget structure.

func (*CreateLogTargetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogTargetAccepted

type DeleteLogTargetAccepted struct {

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

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

Configuration change accepted and reload requested

func NewDeleteLogTargetAccepted

func NewDeleteLogTargetAccepted() *DeleteLogTargetAccepted

NewDeleteLogTargetAccepted creates a DeleteLogTargetAccepted with default headers values

func (*DeleteLogTargetAccepted) Code added in v1.1.5

func (o *DeleteLogTargetAccepted) Code() int

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

func (*DeleteLogTargetAccepted) Error

func (o *DeleteLogTargetAccepted) Error() string

func (*DeleteLogTargetAccepted) IsClientError added in v1.1.0

func (o *DeleteLogTargetAccepted) IsClientError() bool

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

func (*DeleteLogTargetAccepted) IsCode added in v1.1.0

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

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

func (*DeleteLogTargetAccepted) IsRedirect added in v1.1.0

func (o *DeleteLogTargetAccepted) IsRedirect() bool

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

func (*DeleteLogTargetAccepted) IsServerError added in v1.1.0

func (o *DeleteLogTargetAccepted) IsServerError() bool

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

func (*DeleteLogTargetAccepted) IsSuccess added in v1.1.0

func (o *DeleteLogTargetAccepted) IsSuccess() bool

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

func (*DeleteLogTargetAccepted) String added in v1.1.0

func (o *DeleteLogTargetAccepted) String() string

type DeleteLogTargetDefault

type DeleteLogTargetDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewDeleteLogTargetDefault

func NewDeleteLogTargetDefault(code int) *DeleteLogTargetDefault

NewDeleteLogTargetDefault creates a DeleteLogTargetDefault with default headers values

func (*DeleteLogTargetDefault) Code

func (o *DeleteLogTargetDefault) Code() int

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

func (*DeleteLogTargetDefault) Error

func (o *DeleteLogTargetDefault) Error() string

func (*DeleteLogTargetDefault) GetPayload

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

func (*DeleteLogTargetDefault) IsClientError added in v1.1.0

func (o *DeleteLogTargetDefault) IsClientError() bool

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

func (*DeleteLogTargetDefault) IsCode added in v1.1.0

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

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

func (*DeleteLogTargetDefault) IsRedirect added in v1.1.0

func (o *DeleteLogTargetDefault) IsRedirect() bool

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

func (*DeleteLogTargetDefault) IsServerError added in v1.1.0

func (o *DeleteLogTargetDefault) IsServerError() bool

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

func (*DeleteLogTargetDefault) IsSuccess added in v1.1.0

func (o *DeleteLogTargetDefault) IsSuccess() bool

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

func (*DeleteLogTargetDefault) String added in v1.1.0

func (o *DeleteLogTargetDefault) String() string

type DeleteLogTargetNoContent

type DeleteLogTargetNoContent struct {
}

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

Log Target deleted

func NewDeleteLogTargetNoContent

func NewDeleteLogTargetNoContent() *DeleteLogTargetNoContent

NewDeleteLogTargetNoContent creates a DeleteLogTargetNoContent with default headers values

func (*DeleteLogTargetNoContent) Code added in v1.1.5

func (o *DeleteLogTargetNoContent) Code() int

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

func (*DeleteLogTargetNoContent) Error

func (o *DeleteLogTargetNoContent) Error() string

func (*DeleteLogTargetNoContent) IsClientError added in v1.1.0

func (o *DeleteLogTargetNoContent) IsClientError() bool

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

func (*DeleteLogTargetNoContent) IsCode added in v1.1.0

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

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

func (*DeleteLogTargetNoContent) IsRedirect added in v1.1.0

func (o *DeleteLogTargetNoContent) IsRedirect() bool

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

func (*DeleteLogTargetNoContent) IsServerError added in v1.1.0

func (o *DeleteLogTargetNoContent) IsServerError() bool

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

func (*DeleteLogTargetNoContent) IsSuccess added in v1.1.0

func (o *DeleteLogTargetNoContent) IsSuccess() bool

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

func (*DeleteLogTargetNoContent) String added in v1.1.0

func (o *DeleteLogTargetNoContent) String() string

type DeleteLogTargetNotFound

type DeleteLogTargetNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteLogTargetNotFound

func NewDeleteLogTargetNotFound() *DeleteLogTargetNotFound

NewDeleteLogTargetNotFound creates a DeleteLogTargetNotFound with default headers values

func (*DeleteLogTargetNotFound) Code added in v1.1.5

func (o *DeleteLogTargetNotFound) Code() int

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

func (*DeleteLogTargetNotFound) Error

func (o *DeleteLogTargetNotFound) Error() string

func (*DeleteLogTargetNotFound) GetPayload

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

func (*DeleteLogTargetNotFound) IsClientError added in v1.1.0

func (o *DeleteLogTargetNotFound) IsClientError() bool

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

func (*DeleteLogTargetNotFound) IsCode added in v1.1.0

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

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

func (*DeleteLogTargetNotFound) IsRedirect added in v1.1.0

func (o *DeleteLogTargetNotFound) IsRedirect() bool

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

func (*DeleteLogTargetNotFound) IsServerError added in v1.1.0

func (o *DeleteLogTargetNotFound) IsServerError() bool

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

func (*DeleteLogTargetNotFound) IsSuccess added in v1.1.0

func (o *DeleteLogTargetNotFound) IsSuccess() bool

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

func (*DeleteLogTargetNotFound) String added in v1.1.0

func (o *DeleteLogTargetNotFound) String() string

type DeleteLogTargetParams

type DeleteLogTargetParams 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

	/* Index.

	   Log Target Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType 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
}

DeleteLogTargetParams contains all the parameters to send to the API endpoint

for the delete log target operation.

Typically these are written to a http.Request.

func NewDeleteLogTargetParams

func NewDeleteLogTargetParams() *DeleteLogTargetParams

NewDeleteLogTargetParams creates a new DeleteLogTargetParams 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 NewDeleteLogTargetParamsWithContext

func NewDeleteLogTargetParamsWithContext(ctx context.Context) *DeleteLogTargetParams

NewDeleteLogTargetParamsWithContext creates a new DeleteLogTargetParams object with the ability to set a context for a request.

func NewDeleteLogTargetParamsWithHTTPClient

func NewDeleteLogTargetParamsWithHTTPClient(client *http.Client) *DeleteLogTargetParams

NewDeleteLogTargetParamsWithHTTPClient creates a new DeleteLogTargetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogTargetParamsWithTimeout

func NewDeleteLogTargetParamsWithTimeout(timeout time.Duration) *DeleteLogTargetParams

NewDeleteLogTargetParamsWithTimeout creates a new DeleteLogTargetParams object with the ability to set a timeout on a request.

func (*DeleteLogTargetParams) SetContext

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

SetContext adds the context to the delete log target params

func (*DeleteLogTargetParams) SetDefaults

func (o *DeleteLogTargetParams) SetDefaults()

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

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

func (*DeleteLogTargetParams) SetForceReload

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

SetForceReload adds the forceReload to the delete log target params

func (*DeleteLogTargetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log target params

func (*DeleteLogTargetParams) SetIndex

func (o *DeleteLogTargetParams) SetIndex(index int64)

SetIndex adds the index to the delete log target params

func (*DeleteLogTargetParams) SetParentName

func (o *DeleteLogTargetParams) SetParentName(parentName *string)

SetParentName adds the parentName to the delete log target params

func (*DeleteLogTargetParams) SetParentType

func (o *DeleteLogTargetParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete log target params

func (*DeleteLogTargetParams) SetTimeout

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

SetTimeout adds the timeout to the delete log target params

func (*DeleteLogTargetParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete log target params

func (*DeleteLogTargetParams) SetVersion

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

SetVersion adds the version to the delete log target params

func (*DeleteLogTargetParams) WithContext

WithContext adds the context to the delete log target params

func (*DeleteLogTargetParams) WithDefaults

func (o *DeleteLogTargetParams) WithDefaults() *DeleteLogTargetParams

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

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

func (*DeleteLogTargetParams) WithForceReload

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

WithForceReload adds the forceReload to the delete log target params

func (*DeleteLogTargetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete log target params

func (*DeleteLogTargetParams) WithIndex

func (o *DeleteLogTargetParams) WithIndex(index int64) *DeleteLogTargetParams

WithIndex adds the index to the delete log target params

func (*DeleteLogTargetParams) WithParentName

func (o *DeleteLogTargetParams) WithParentName(parentName *string) *DeleteLogTargetParams

WithParentName adds the parentName to the delete log target params

func (*DeleteLogTargetParams) WithParentType

func (o *DeleteLogTargetParams) WithParentType(parentType string) *DeleteLogTargetParams

WithParentType adds the parentType to the delete log target params

func (*DeleteLogTargetParams) WithTimeout

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

WithTimeout adds the timeout to the delete log target params

func (*DeleteLogTargetParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete log target params

func (*DeleteLogTargetParams) WithVersion

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

WithVersion adds the version to the delete log target params

func (*DeleteLogTargetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteLogTargetReader

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

DeleteLogTargetReader is a Reader for the DeleteLogTarget structure.

func (*DeleteLogTargetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogTargetDefault

type GetLogTargetDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetLogTargetDefault

func NewGetLogTargetDefault(code int) *GetLogTargetDefault

NewGetLogTargetDefault creates a GetLogTargetDefault with default headers values

func (*GetLogTargetDefault) Code

func (o *GetLogTargetDefault) Code() int

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

func (*GetLogTargetDefault) Error

func (o *GetLogTargetDefault) Error() string

func (*GetLogTargetDefault) GetPayload

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

func (*GetLogTargetDefault) IsClientError added in v1.1.0

func (o *GetLogTargetDefault) IsClientError() bool

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

func (*GetLogTargetDefault) IsCode added in v1.1.0

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

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

func (*GetLogTargetDefault) IsRedirect added in v1.1.0

func (o *GetLogTargetDefault) IsRedirect() bool

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

func (*GetLogTargetDefault) IsServerError added in v1.1.0

func (o *GetLogTargetDefault) IsServerError() bool

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

func (*GetLogTargetDefault) IsSuccess added in v1.1.0

func (o *GetLogTargetDefault) IsSuccess() bool

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

func (*GetLogTargetDefault) String added in v1.1.0

func (o *GetLogTargetDefault) String() string

type GetLogTargetNotFound

type GetLogTargetNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetLogTargetNotFound

func NewGetLogTargetNotFound() *GetLogTargetNotFound

NewGetLogTargetNotFound creates a GetLogTargetNotFound with default headers values

func (*GetLogTargetNotFound) Code added in v1.1.5

func (o *GetLogTargetNotFound) Code() int

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

func (*GetLogTargetNotFound) Error

func (o *GetLogTargetNotFound) Error() string

func (*GetLogTargetNotFound) GetPayload

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

func (*GetLogTargetNotFound) IsClientError added in v1.1.0

func (o *GetLogTargetNotFound) IsClientError() bool

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

func (*GetLogTargetNotFound) IsCode added in v1.1.0

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

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

func (*GetLogTargetNotFound) IsRedirect added in v1.1.0

func (o *GetLogTargetNotFound) IsRedirect() bool

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

func (*GetLogTargetNotFound) IsServerError added in v1.1.0

func (o *GetLogTargetNotFound) IsServerError() bool

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

func (*GetLogTargetNotFound) IsSuccess added in v1.1.0

func (o *GetLogTargetNotFound) IsSuccess() bool

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

func (*GetLogTargetNotFound) String added in v1.1.0

func (o *GetLogTargetNotFound) String() string

type GetLogTargetOK

type GetLogTargetOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetLogTargetOKBody
}

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

Successful operation

func NewGetLogTargetOK

func NewGetLogTargetOK() *GetLogTargetOK

NewGetLogTargetOK creates a GetLogTargetOK with default headers values

func (*GetLogTargetOK) Code added in v1.1.5

func (o *GetLogTargetOK) Code() int

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

func (*GetLogTargetOK) Error

func (o *GetLogTargetOK) Error() string

func (*GetLogTargetOK) GetPayload

func (o *GetLogTargetOK) GetPayload() *GetLogTargetOKBody

func (*GetLogTargetOK) IsClientError added in v1.1.0

func (o *GetLogTargetOK) IsClientError() bool

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

func (*GetLogTargetOK) IsCode added in v1.1.0

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

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

func (*GetLogTargetOK) IsRedirect added in v1.1.0

func (o *GetLogTargetOK) IsRedirect() bool

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

func (*GetLogTargetOK) IsServerError added in v1.1.0

func (o *GetLogTargetOK) IsServerError() bool

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

func (*GetLogTargetOK) IsSuccess added in v1.1.0

func (o *GetLogTargetOK) IsSuccess() bool

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

func (*GetLogTargetOK) String added in v1.1.0

func (o *GetLogTargetOK) String() string

type GetLogTargetOKBody

type GetLogTargetOKBody struct {

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

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

GetLogTargetOKBody get log target o k body swagger:model GetLogTargetOKBody

func (*GetLogTargetOKBody) ContextValidate

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

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

func (*GetLogTargetOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogTargetOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogTargetOKBody) Validate

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

Validate validates this get log target o k body

type GetLogTargetParams

type GetLogTargetParams struct {

	/* Index.

	   Log Target Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType 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
}

GetLogTargetParams contains all the parameters to send to the API endpoint

for the get log target operation.

Typically these are written to a http.Request.

func NewGetLogTargetParams

func NewGetLogTargetParams() *GetLogTargetParams

NewGetLogTargetParams creates a new GetLogTargetParams 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 NewGetLogTargetParamsWithContext

func NewGetLogTargetParamsWithContext(ctx context.Context) *GetLogTargetParams

NewGetLogTargetParamsWithContext creates a new GetLogTargetParams object with the ability to set a context for a request.

func NewGetLogTargetParamsWithHTTPClient

func NewGetLogTargetParamsWithHTTPClient(client *http.Client) *GetLogTargetParams

NewGetLogTargetParamsWithHTTPClient creates a new GetLogTargetParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogTargetParamsWithTimeout

func NewGetLogTargetParamsWithTimeout(timeout time.Duration) *GetLogTargetParams

NewGetLogTargetParamsWithTimeout creates a new GetLogTargetParams object with the ability to set a timeout on a request.

func (*GetLogTargetParams) SetContext

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

SetContext adds the context to the get log target params

func (*GetLogTargetParams) SetDefaults

func (o *GetLogTargetParams) SetDefaults()

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

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

func (*GetLogTargetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log target params

func (*GetLogTargetParams) SetIndex

func (o *GetLogTargetParams) SetIndex(index int64)

SetIndex adds the index to the get log target params

func (*GetLogTargetParams) SetParentName

func (o *GetLogTargetParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get log target params

func (*GetLogTargetParams) SetParentType

func (o *GetLogTargetParams) SetParentType(parentType string)

SetParentType adds the parentType to the get log target params

func (*GetLogTargetParams) SetTimeout

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

SetTimeout adds the timeout to the get log target params

func (*GetLogTargetParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get log target params

func (*GetLogTargetParams) WithContext

WithContext adds the context to the get log target params

func (*GetLogTargetParams) WithDefaults

func (o *GetLogTargetParams) WithDefaults() *GetLogTargetParams

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

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

func (*GetLogTargetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log target params

func (*GetLogTargetParams) WithIndex

func (o *GetLogTargetParams) WithIndex(index int64) *GetLogTargetParams

WithIndex adds the index to the get log target params

func (*GetLogTargetParams) WithParentName

func (o *GetLogTargetParams) WithParentName(parentName *string) *GetLogTargetParams

WithParentName adds the parentName to the get log target params

func (*GetLogTargetParams) WithParentType

func (o *GetLogTargetParams) WithParentType(parentType string) *GetLogTargetParams

WithParentType adds the parentType to the get log target params

func (*GetLogTargetParams) WithTimeout

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

WithTimeout adds the timeout to the get log target params

func (*GetLogTargetParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get log target params

func (*GetLogTargetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogTargetReader

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

GetLogTargetReader is a Reader for the GetLogTarget structure.

func (*GetLogTargetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogTargetsDefault

type GetLogTargetsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetLogTargetsDefault

func NewGetLogTargetsDefault(code int) *GetLogTargetsDefault

NewGetLogTargetsDefault creates a GetLogTargetsDefault with default headers values

func (*GetLogTargetsDefault) Code

func (o *GetLogTargetsDefault) Code() int

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

func (*GetLogTargetsDefault) Error

func (o *GetLogTargetsDefault) Error() string

func (*GetLogTargetsDefault) GetPayload

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

func (*GetLogTargetsDefault) IsClientError added in v1.1.0

func (o *GetLogTargetsDefault) IsClientError() bool

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

func (*GetLogTargetsDefault) IsCode added in v1.1.0

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

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

func (*GetLogTargetsDefault) IsRedirect added in v1.1.0

func (o *GetLogTargetsDefault) IsRedirect() bool

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

func (*GetLogTargetsDefault) IsServerError added in v1.1.0

func (o *GetLogTargetsDefault) IsServerError() bool

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

func (*GetLogTargetsDefault) IsSuccess added in v1.1.0

func (o *GetLogTargetsDefault) IsSuccess() bool

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

func (*GetLogTargetsDefault) String added in v1.1.0

func (o *GetLogTargetsDefault) String() string

type GetLogTargetsOK

type GetLogTargetsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetLogTargetsOKBody
}

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

Successful operation

func NewGetLogTargetsOK

func NewGetLogTargetsOK() *GetLogTargetsOK

NewGetLogTargetsOK creates a GetLogTargetsOK with default headers values

func (*GetLogTargetsOK) Code added in v1.1.5

func (o *GetLogTargetsOK) Code() int

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

func (*GetLogTargetsOK) Error

func (o *GetLogTargetsOK) Error() string

func (*GetLogTargetsOK) GetPayload

func (o *GetLogTargetsOK) GetPayload() *GetLogTargetsOKBody

func (*GetLogTargetsOK) IsClientError added in v1.1.0

func (o *GetLogTargetsOK) IsClientError() bool

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

func (*GetLogTargetsOK) IsCode added in v1.1.0

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

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

func (*GetLogTargetsOK) IsRedirect added in v1.1.0

func (o *GetLogTargetsOK) IsRedirect() bool

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

func (*GetLogTargetsOK) IsServerError added in v1.1.0

func (o *GetLogTargetsOK) IsServerError() bool

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

func (*GetLogTargetsOK) IsSuccess added in v1.1.0

func (o *GetLogTargetsOK) IsSuccess() bool

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

func (*GetLogTargetsOK) String added in v1.1.0

func (o *GetLogTargetsOK) String() string

type GetLogTargetsOKBody

type GetLogTargetsOKBody struct {

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

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

GetLogTargetsOKBody get log targets o k body swagger:model GetLogTargetsOKBody

func (*GetLogTargetsOKBody) ContextValidate

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

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

func (*GetLogTargetsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogTargetsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogTargetsOKBody) Validate

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

Validate validates this get log targets o k body

type GetLogTargetsParams

type GetLogTargetsParams struct {

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType 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
}

GetLogTargetsParams contains all the parameters to send to the API endpoint

for the get log targets operation.

Typically these are written to a http.Request.

func NewGetLogTargetsParams

func NewGetLogTargetsParams() *GetLogTargetsParams

NewGetLogTargetsParams creates a new GetLogTargetsParams 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 NewGetLogTargetsParamsWithContext

func NewGetLogTargetsParamsWithContext(ctx context.Context) *GetLogTargetsParams

NewGetLogTargetsParamsWithContext creates a new GetLogTargetsParams object with the ability to set a context for a request.

func NewGetLogTargetsParamsWithHTTPClient

func NewGetLogTargetsParamsWithHTTPClient(client *http.Client) *GetLogTargetsParams

NewGetLogTargetsParamsWithHTTPClient creates a new GetLogTargetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogTargetsParamsWithTimeout

func NewGetLogTargetsParamsWithTimeout(timeout time.Duration) *GetLogTargetsParams

NewGetLogTargetsParamsWithTimeout creates a new GetLogTargetsParams object with the ability to set a timeout on a request.

func (*GetLogTargetsParams) SetContext

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

SetContext adds the context to the get log targets params

func (*GetLogTargetsParams) SetDefaults

func (o *GetLogTargetsParams) SetDefaults()

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

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

func (*GetLogTargetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log targets params

func (*GetLogTargetsParams) SetParentName

func (o *GetLogTargetsParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get log targets params

func (*GetLogTargetsParams) SetParentType

func (o *GetLogTargetsParams) SetParentType(parentType string)

SetParentType adds the parentType to the get log targets params

func (*GetLogTargetsParams) SetTimeout

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

SetTimeout adds the timeout to the get log targets params

func (*GetLogTargetsParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get log targets params

func (*GetLogTargetsParams) WithContext

WithContext adds the context to the get log targets params

func (*GetLogTargetsParams) WithDefaults

func (o *GetLogTargetsParams) WithDefaults() *GetLogTargetsParams

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

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

func (*GetLogTargetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log targets params

func (*GetLogTargetsParams) WithParentName

func (o *GetLogTargetsParams) WithParentName(parentName *string) *GetLogTargetsParams

WithParentName adds the parentName to the get log targets params

func (*GetLogTargetsParams) WithParentType

func (o *GetLogTargetsParams) WithParentType(parentType string) *GetLogTargetsParams

WithParentType adds the parentType to the get log targets params

func (*GetLogTargetsParams) WithTimeout

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

WithTimeout adds the timeout to the get log targets params

func (*GetLogTargetsParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get log targets params

func (*GetLogTargetsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogTargetsReader

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

GetLogTargetsReader is a Reader for the GetLogTargets structure.

func (*GetLogTargetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceLogTargetAccepted

type ReplaceLogTargetAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.LogTarget
}

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

Configuration change accepted and reload requested

func NewReplaceLogTargetAccepted

func NewReplaceLogTargetAccepted() *ReplaceLogTargetAccepted

NewReplaceLogTargetAccepted creates a ReplaceLogTargetAccepted with default headers values

func (*ReplaceLogTargetAccepted) Code added in v1.1.5

func (o *ReplaceLogTargetAccepted) Code() int

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

func (*ReplaceLogTargetAccepted) Error

func (o *ReplaceLogTargetAccepted) Error() string

func (*ReplaceLogTargetAccepted) GetPayload

func (o *ReplaceLogTargetAccepted) GetPayload() *models.LogTarget

func (*ReplaceLogTargetAccepted) IsClientError added in v1.1.0

func (o *ReplaceLogTargetAccepted) IsClientError() bool

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

func (*ReplaceLogTargetAccepted) IsCode added in v1.1.0

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

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

func (*ReplaceLogTargetAccepted) IsRedirect added in v1.1.0

func (o *ReplaceLogTargetAccepted) IsRedirect() bool

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

func (*ReplaceLogTargetAccepted) IsServerError added in v1.1.0

func (o *ReplaceLogTargetAccepted) IsServerError() bool

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

func (*ReplaceLogTargetAccepted) IsSuccess added in v1.1.0

func (o *ReplaceLogTargetAccepted) IsSuccess() bool

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

func (*ReplaceLogTargetAccepted) String added in v1.1.0

func (o *ReplaceLogTargetAccepted) String() string

type ReplaceLogTargetBadRequest

type ReplaceLogTargetBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceLogTargetBadRequest

func NewReplaceLogTargetBadRequest() *ReplaceLogTargetBadRequest

NewReplaceLogTargetBadRequest creates a ReplaceLogTargetBadRequest with default headers values

func (*ReplaceLogTargetBadRequest) Code added in v1.1.5

func (o *ReplaceLogTargetBadRequest) Code() int

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

func (*ReplaceLogTargetBadRequest) Error

func (*ReplaceLogTargetBadRequest) GetPayload

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

func (*ReplaceLogTargetBadRequest) IsClientError added in v1.1.0

func (o *ReplaceLogTargetBadRequest) IsClientError() bool

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

func (*ReplaceLogTargetBadRequest) IsCode added in v1.1.0

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

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

func (*ReplaceLogTargetBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceLogTargetBadRequest) IsRedirect() bool

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

func (*ReplaceLogTargetBadRequest) IsServerError added in v1.1.0

func (o *ReplaceLogTargetBadRequest) IsServerError() bool

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

func (*ReplaceLogTargetBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceLogTargetBadRequest) IsSuccess() bool

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

func (*ReplaceLogTargetBadRequest) String added in v1.1.0

func (o *ReplaceLogTargetBadRequest) String() string

type ReplaceLogTargetDefault

type ReplaceLogTargetDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewReplaceLogTargetDefault

func NewReplaceLogTargetDefault(code int) *ReplaceLogTargetDefault

NewReplaceLogTargetDefault creates a ReplaceLogTargetDefault with default headers values

func (*ReplaceLogTargetDefault) Code

func (o *ReplaceLogTargetDefault) Code() int

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

func (*ReplaceLogTargetDefault) Error

func (o *ReplaceLogTargetDefault) Error() string

func (*ReplaceLogTargetDefault) GetPayload

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

func (*ReplaceLogTargetDefault) IsClientError added in v1.1.0

func (o *ReplaceLogTargetDefault) IsClientError() bool

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

func (*ReplaceLogTargetDefault) IsCode added in v1.1.0

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

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

func (*ReplaceLogTargetDefault) IsRedirect added in v1.1.0

func (o *ReplaceLogTargetDefault) IsRedirect() bool

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

func (*ReplaceLogTargetDefault) IsServerError added in v1.1.0

func (o *ReplaceLogTargetDefault) IsServerError() bool

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

func (*ReplaceLogTargetDefault) IsSuccess added in v1.1.0

func (o *ReplaceLogTargetDefault) IsSuccess() bool

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

func (*ReplaceLogTargetDefault) String added in v1.1.0

func (o *ReplaceLogTargetDefault) String() string

type ReplaceLogTargetNotFound

type ReplaceLogTargetNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceLogTargetNotFound

func NewReplaceLogTargetNotFound() *ReplaceLogTargetNotFound

NewReplaceLogTargetNotFound creates a ReplaceLogTargetNotFound with default headers values

func (*ReplaceLogTargetNotFound) Code added in v1.1.5

func (o *ReplaceLogTargetNotFound) Code() int

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

func (*ReplaceLogTargetNotFound) Error

func (o *ReplaceLogTargetNotFound) Error() string

func (*ReplaceLogTargetNotFound) GetPayload

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

func (*ReplaceLogTargetNotFound) IsClientError added in v1.1.0

func (o *ReplaceLogTargetNotFound) IsClientError() bool

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

func (*ReplaceLogTargetNotFound) IsCode added in v1.1.0

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

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

func (*ReplaceLogTargetNotFound) IsRedirect added in v1.1.0

func (o *ReplaceLogTargetNotFound) IsRedirect() bool

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

func (*ReplaceLogTargetNotFound) IsServerError added in v1.1.0

func (o *ReplaceLogTargetNotFound) IsServerError() bool

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

func (*ReplaceLogTargetNotFound) IsSuccess added in v1.1.0

func (o *ReplaceLogTargetNotFound) IsSuccess() bool

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

func (*ReplaceLogTargetNotFound) String added in v1.1.0

func (o *ReplaceLogTargetNotFound) String() string

type ReplaceLogTargetOK

type ReplaceLogTargetOK struct {
	Payload *models.LogTarget
}

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

Log Target replaced

func NewReplaceLogTargetOK

func NewReplaceLogTargetOK() *ReplaceLogTargetOK

NewReplaceLogTargetOK creates a ReplaceLogTargetOK with default headers values

func (*ReplaceLogTargetOK) Code added in v1.1.5

func (o *ReplaceLogTargetOK) Code() int

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

func (*ReplaceLogTargetOK) Error

func (o *ReplaceLogTargetOK) Error() string

func (*ReplaceLogTargetOK) GetPayload

func (o *ReplaceLogTargetOK) GetPayload() *models.LogTarget

func (*ReplaceLogTargetOK) IsClientError added in v1.1.0

func (o *ReplaceLogTargetOK) IsClientError() bool

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

func (*ReplaceLogTargetOK) IsCode added in v1.1.0

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

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

func (*ReplaceLogTargetOK) IsRedirect added in v1.1.0

func (o *ReplaceLogTargetOK) IsRedirect() bool

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

func (*ReplaceLogTargetOK) IsServerError added in v1.1.0

func (o *ReplaceLogTargetOK) IsServerError() bool

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

func (*ReplaceLogTargetOK) IsSuccess added in v1.1.0

func (o *ReplaceLogTargetOK) IsSuccess() bool

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

func (*ReplaceLogTargetOK) String added in v1.1.0

func (o *ReplaceLogTargetOK) String() string

type ReplaceLogTargetParams

type ReplaceLogTargetParams struct {

	// Data.
	Data *models.LogTarget

	/* 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

	/* Index.

	   Log Target Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType 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
}

ReplaceLogTargetParams contains all the parameters to send to the API endpoint

for the replace log target operation.

Typically these are written to a http.Request.

func NewReplaceLogTargetParams

func NewReplaceLogTargetParams() *ReplaceLogTargetParams

NewReplaceLogTargetParams creates a new ReplaceLogTargetParams 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 NewReplaceLogTargetParamsWithContext

func NewReplaceLogTargetParamsWithContext(ctx context.Context) *ReplaceLogTargetParams

NewReplaceLogTargetParamsWithContext creates a new ReplaceLogTargetParams object with the ability to set a context for a request.

func NewReplaceLogTargetParamsWithHTTPClient

func NewReplaceLogTargetParamsWithHTTPClient(client *http.Client) *ReplaceLogTargetParams

NewReplaceLogTargetParamsWithHTTPClient creates a new ReplaceLogTargetParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceLogTargetParamsWithTimeout

func NewReplaceLogTargetParamsWithTimeout(timeout time.Duration) *ReplaceLogTargetParams

NewReplaceLogTargetParamsWithTimeout creates a new ReplaceLogTargetParams object with the ability to set a timeout on a request.

func (*ReplaceLogTargetParams) SetContext

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

SetContext adds the context to the replace log target params

func (*ReplaceLogTargetParams) SetData

func (o *ReplaceLogTargetParams) SetData(data *models.LogTarget)

SetData adds the data to the replace log target params

func (*ReplaceLogTargetParams) SetDefaults

func (o *ReplaceLogTargetParams) SetDefaults()

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

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

func (*ReplaceLogTargetParams) SetForceReload

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

SetForceReload adds the forceReload to the replace log target params

func (*ReplaceLogTargetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace log target params

func (*ReplaceLogTargetParams) SetIndex

func (o *ReplaceLogTargetParams) SetIndex(index int64)

SetIndex adds the index to the replace log target params

func (*ReplaceLogTargetParams) SetParentName

func (o *ReplaceLogTargetParams) SetParentName(parentName *string)

SetParentName adds the parentName to the replace log target params

func (*ReplaceLogTargetParams) SetParentType

func (o *ReplaceLogTargetParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace log target params

func (*ReplaceLogTargetParams) SetTimeout

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

SetTimeout adds the timeout to the replace log target params

func (*ReplaceLogTargetParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace log target params

func (*ReplaceLogTargetParams) SetVersion

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

SetVersion adds the version to the replace log target params

func (*ReplaceLogTargetParams) WithContext

WithContext adds the context to the replace log target params

func (*ReplaceLogTargetParams) WithData

WithData adds the data to the replace log target params

func (*ReplaceLogTargetParams) WithDefaults

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

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

func (*ReplaceLogTargetParams) WithForceReload

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

WithForceReload adds the forceReload to the replace log target params

func (*ReplaceLogTargetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace log target params

func (*ReplaceLogTargetParams) WithIndex

WithIndex adds the index to the replace log target params

func (*ReplaceLogTargetParams) WithParentName

func (o *ReplaceLogTargetParams) WithParentName(parentName *string) *ReplaceLogTargetParams

WithParentName adds the parentName to the replace log target params

func (*ReplaceLogTargetParams) WithParentType

func (o *ReplaceLogTargetParams) WithParentType(parentType string) *ReplaceLogTargetParams

WithParentType adds the parentType to the replace log target params

func (*ReplaceLogTargetParams) WithTimeout

WithTimeout adds the timeout to the replace log target params

func (*ReplaceLogTargetParams) WithTransactionID

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

WithTransactionID adds the transactionID to the replace log target params

func (*ReplaceLogTargetParams) WithVersion

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

WithVersion adds the version to the replace log target params

func (*ReplaceLogTargetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceLogTargetReader

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

ReplaceLogTargetReader is a Reader for the ReplaceLogTarget structure.

func (*ReplaceLogTargetReader) ReadResponse

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