Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateLogTarget(params *CreateLogTargetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateLogTargetCreated, *CreateLogTargetAccepted, error)
- func (a *Client) DeleteLogTarget(params *DeleteLogTargetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteLogTargetAccepted, *DeleteLogTargetNoContent, error)
- func (a *Client) GetLogTarget(params *GetLogTargetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLogTargetOK, error)
- func (a *Client) GetLogTargets(params *GetLogTargetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetLogTargetsOK, error)
- func (a *Client) ReplaceLogTarget(params *ReplaceLogTargetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceLogTargetOK, *ReplaceLogTargetAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateLogTargetAccepted
- func (o *CreateLogTargetAccepted) Code() int
- func (o *CreateLogTargetAccepted) Error() string
- func (o *CreateLogTargetAccepted) GetPayload() *models.LogTarget
- func (o *CreateLogTargetAccepted) IsClientError() bool
- func (o *CreateLogTargetAccepted) IsCode(code int) bool
- func (o *CreateLogTargetAccepted) IsRedirect() bool
- func (o *CreateLogTargetAccepted) IsServerError() bool
- func (o *CreateLogTargetAccepted) IsSuccess() bool
- func (o *CreateLogTargetAccepted) String() string
- type CreateLogTargetBadRequest
- func (o *CreateLogTargetBadRequest) Code() int
- func (o *CreateLogTargetBadRequest) Error() string
- func (o *CreateLogTargetBadRequest) GetPayload() *models.Error
- func (o *CreateLogTargetBadRequest) IsClientError() bool
- func (o *CreateLogTargetBadRequest) IsCode(code int) bool
- func (o *CreateLogTargetBadRequest) IsRedirect() bool
- func (o *CreateLogTargetBadRequest) IsServerError() bool
- func (o *CreateLogTargetBadRequest) IsSuccess() bool
- func (o *CreateLogTargetBadRequest) String() string
- type CreateLogTargetConflict
- func (o *CreateLogTargetConflict) Code() int
- func (o *CreateLogTargetConflict) Error() string
- func (o *CreateLogTargetConflict) GetPayload() *models.Error
- func (o *CreateLogTargetConflict) IsClientError() bool
- func (o *CreateLogTargetConflict) IsCode(code int) bool
- func (o *CreateLogTargetConflict) IsRedirect() bool
- func (o *CreateLogTargetConflict) IsServerError() bool
- func (o *CreateLogTargetConflict) IsSuccess() bool
- func (o *CreateLogTargetConflict) String() string
- type CreateLogTargetCreated
- func (o *CreateLogTargetCreated) Code() int
- func (o *CreateLogTargetCreated) Error() string
- func (o *CreateLogTargetCreated) GetPayload() *models.LogTarget
- func (o *CreateLogTargetCreated) IsClientError() bool
- func (o *CreateLogTargetCreated) IsCode(code int) bool
- func (o *CreateLogTargetCreated) IsRedirect() bool
- func (o *CreateLogTargetCreated) IsServerError() bool
- func (o *CreateLogTargetCreated) IsSuccess() bool
- func (o *CreateLogTargetCreated) String() string
- type CreateLogTargetDefault
- func (o *CreateLogTargetDefault) Code() int
- func (o *CreateLogTargetDefault) Error() string
- func (o *CreateLogTargetDefault) GetPayload() *models.Error
- func (o *CreateLogTargetDefault) IsClientError() bool
- func (o *CreateLogTargetDefault) IsCode(code int) bool
- func (o *CreateLogTargetDefault) IsRedirect() bool
- func (o *CreateLogTargetDefault) IsServerError() bool
- func (o *CreateLogTargetDefault) IsSuccess() bool
- func (o *CreateLogTargetDefault) String() string
- type CreateLogTargetParams
- func NewCreateLogTargetParams() *CreateLogTargetParams
- func NewCreateLogTargetParamsWithContext(ctx context.Context) *CreateLogTargetParams
- func NewCreateLogTargetParamsWithHTTPClient(client *http.Client) *CreateLogTargetParams
- func NewCreateLogTargetParamsWithTimeout(timeout time.Duration) *CreateLogTargetParams
- func (o *CreateLogTargetParams) SetContext(ctx context.Context)
- func (o *CreateLogTargetParams) SetData(data *models.LogTarget)
- func (o *CreateLogTargetParams) SetDefaults()
- func (o *CreateLogTargetParams) SetForceReload(forceReload *bool)
- func (o *CreateLogTargetParams) SetHTTPClient(client *http.Client)
- func (o *CreateLogTargetParams) SetParentName(parentName *string)
- func (o *CreateLogTargetParams) SetParentType(parentType string)
- func (o *CreateLogTargetParams) SetTimeout(timeout time.Duration)
- func (o *CreateLogTargetParams) SetTransactionID(transactionID *string)
- func (o *CreateLogTargetParams) SetVersion(version *int64)
- func (o *CreateLogTargetParams) WithContext(ctx context.Context) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithData(data *models.LogTarget) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithDefaults() *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithForceReload(forceReload *bool) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithHTTPClient(client *http.Client) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithParentName(parentName *string) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithParentType(parentType string) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithTimeout(timeout time.Duration) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithTransactionID(transactionID *string) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WithVersion(version *int64) *CreateLogTargetParams
- func (o *CreateLogTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLogTargetReader
- type DeleteLogTargetAccepted
- func (o *DeleteLogTargetAccepted) Code() int
- func (o *DeleteLogTargetAccepted) Error() string
- func (o *DeleteLogTargetAccepted) IsClientError() bool
- func (o *DeleteLogTargetAccepted) IsCode(code int) bool
- func (o *DeleteLogTargetAccepted) IsRedirect() bool
- func (o *DeleteLogTargetAccepted) IsServerError() bool
- func (o *DeleteLogTargetAccepted) IsSuccess() bool
- func (o *DeleteLogTargetAccepted) String() string
- type DeleteLogTargetDefault
- func (o *DeleteLogTargetDefault) Code() int
- func (o *DeleteLogTargetDefault) Error() string
- func (o *DeleteLogTargetDefault) GetPayload() *models.Error
- func (o *DeleteLogTargetDefault) IsClientError() bool
- func (o *DeleteLogTargetDefault) IsCode(code int) bool
- func (o *DeleteLogTargetDefault) IsRedirect() bool
- func (o *DeleteLogTargetDefault) IsServerError() bool
- func (o *DeleteLogTargetDefault) IsSuccess() bool
- func (o *DeleteLogTargetDefault) String() string
- type DeleteLogTargetNoContent
- func (o *DeleteLogTargetNoContent) Code() int
- func (o *DeleteLogTargetNoContent) Error() string
- func (o *DeleteLogTargetNoContent) IsClientError() bool
- func (o *DeleteLogTargetNoContent) IsCode(code int) bool
- func (o *DeleteLogTargetNoContent) IsRedirect() bool
- func (o *DeleteLogTargetNoContent) IsServerError() bool
- func (o *DeleteLogTargetNoContent) IsSuccess() bool
- func (o *DeleteLogTargetNoContent) String() string
- type DeleteLogTargetNotFound
- func (o *DeleteLogTargetNotFound) Code() int
- func (o *DeleteLogTargetNotFound) Error() string
- func (o *DeleteLogTargetNotFound) GetPayload() *models.Error
- func (o *DeleteLogTargetNotFound) IsClientError() bool
- func (o *DeleteLogTargetNotFound) IsCode(code int) bool
- func (o *DeleteLogTargetNotFound) IsRedirect() bool
- func (o *DeleteLogTargetNotFound) IsServerError() bool
- func (o *DeleteLogTargetNotFound) IsSuccess() bool
- func (o *DeleteLogTargetNotFound) String() string
- type DeleteLogTargetParams
- func NewDeleteLogTargetParams() *DeleteLogTargetParams
- func NewDeleteLogTargetParamsWithContext(ctx context.Context) *DeleteLogTargetParams
- func NewDeleteLogTargetParamsWithHTTPClient(client *http.Client) *DeleteLogTargetParams
- func NewDeleteLogTargetParamsWithTimeout(timeout time.Duration) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) SetContext(ctx context.Context)
- func (o *DeleteLogTargetParams) SetDefaults()
- func (o *DeleteLogTargetParams) SetForceReload(forceReload *bool)
- func (o *DeleteLogTargetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLogTargetParams) SetIndex(index int64)
- func (o *DeleteLogTargetParams) SetParentName(parentName *string)
- func (o *DeleteLogTargetParams) SetParentType(parentType string)
- func (o *DeleteLogTargetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLogTargetParams) SetTransactionID(transactionID *string)
- func (o *DeleteLogTargetParams) SetVersion(version *int64)
- func (o *DeleteLogTargetParams) WithContext(ctx context.Context) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithDefaults() *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithForceReload(forceReload *bool) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithHTTPClient(client *http.Client) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithIndex(index int64) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithParentName(parentName *string) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithParentType(parentType string) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithTimeout(timeout time.Duration) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithTransactionID(transactionID *string) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WithVersion(version *int64) *DeleteLogTargetParams
- func (o *DeleteLogTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLogTargetReader
- type GetLogTargetDefault
- func (o *GetLogTargetDefault) Code() int
- func (o *GetLogTargetDefault) Error() string
- func (o *GetLogTargetDefault) GetPayload() *models.Error
- func (o *GetLogTargetDefault) IsClientError() bool
- func (o *GetLogTargetDefault) IsCode(code int) bool
- func (o *GetLogTargetDefault) IsRedirect() bool
- func (o *GetLogTargetDefault) IsServerError() bool
- func (o *GetLogTargetDefault) IsSuccess() bool
- func (o *GetLogTargetDefault) String() string
- type GetLogTargetNotFound
- func (o *GetLogTargetNotFound) Code() int
- func (o *GetLogTargetNotFound) Error() string
- func (o *GetLogTargetNotFound) GetPayload() *models.Error
- func (o *GetLogTargetNotFound) IsClientError() bool
- func (o *GetLogTargetNotFound) IsCode(code int) bool
- func (o *GetLogTargetNotFound) IsRedirect() bool
- func (o *GetLogTargetNotFound) IsServerError() bool
- func (o *GetLogTargetNotFound) IsSuccess() bool
- func (o *GetLogTargetNotFound) String() string
- type GetLogTargetOK
- func (o *GetLogTargetOK) Code() int
- func (o *GetLogTargetOK) Error() string
- func (o *GetLogTargetOK) GetPayload() *GetLogTargetOKBody
- func (o *GetLogTargetOK) IsClientError() bool
- func (o *GetLogTargetOK) IsCode(code int) bool
- func (o *GetLogTargetOK) IsRedirect() bool
- func (o *GetLogTargetOK) IsServerError() bool
- func (o *GetLogTargetOK) IsSuccess() bool
- func (o *GetLogTargetOK) String() string
- type GetLogTargetOKBody
- type GetLogTargetParams
- func (o *GetLogTargetParams) SetContext(ctx context.Context)
- func (o *GetLogTargetParams) SetDefaults()
- func (o *GetLogTargetParams) SetHTTPClient(client *http.Client)
- func (o *GetLogTargetParams) SetIndex(index int64)
- func (o *GetLogTargetParams) SetParentName(parentName *string)
- func (o *GetLogTargetParams) SetParentType(parentType string)
- func (o *GetLogTargetParams) SetTimeout(timeout time.Duration)
- func (o *GetLogTargetParams) SetTransactionID(transactionID *string)
- func (o *GetLogTargetParams) WithContext(ctx context.Context) *GetLogTargetParams
- func (o *GetLogTargetParams) WithDefaults() *GetLogTargetParams
- func (o *GetLogTargetParams) WithHTTPClient(client *http.Client) *GetLogTargetParams
- func (o *GetLogTargetParams) WithIndex(index int64) *GetLogTargetParams
- func (o *GetLogTargetParams) WithParentName(parentName *string) *GetLogTargetParams
- func (o *GetLogTargetParams) WithParentType(parentType string) *GetLogTargetParams
- func (o *GetLogTargetParams) WithTimeout(timeout time.Duration) *GetLogTargetParams
- func (o *GetLogTargetParams) WithTransactionID(transactionID *string) *GetLogTargetParams
- func (o *GetLogTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogTargetReader
- type GetLogTargetsDefault
- func (o *GetLogTargetsDefault) Code() int
- func (o *GetLogTargetsDefault) Error() string
- func (o *GetLogTargetsDefault) GetPayload() *models.Error
- func (o *GetLogTargetsDefault) IsClientError() bool
- func (o *GetLogTargetsDefault) IsCode(code int) bool
- func (o *GetLogTargetsDefault) IsRedirect() bool
- func (o *GetLogTargetsDefault) IsServerError() bool
- func (o *GetLogTargetsDefault) IsSuccess() bool
- func (o *GetLogTargetsDefault) String() string
- type GetLogTargetsOK
- func (o *GetLogTargetsOK) Code() int
- func (o *GetLogTargetsOK) Error() string
- func (o *GetLogTargetsOK) GetPayload() *GetLogTargetsOKBody
- func (o *GetLogTargetsOK) IsClientError() bool
- func (o *GetLogTargetsOK) IsCode(code int) bool
- func (o *GetLogTargetsOK) IsRedirect() bool
- func (o *GetLogTargetsOK) IsServerError() bool
- func (o *GetLogTargetsOK) IsSuccess() bool
- func (o *GetLogTargetsOK) String() string
- type GetLogTargetsOKBody
- type GetLogTargetsParams
- func (o *GetLogTargetsParams) SetContext(ctx context.Context)
- func (o *GetLogTargetsParams) SetDefaults()
- func (o *GetLogTargetsParams) SetHTTPClient(client *http.Client)
- func (o *GetLogTargetsParams) SetParentName(parentName *string)
- func (o *GetLogTargetsParams) SetParentType(parentType string)
- func (o *GetLogTargetsParams) SetTimeout(timeout time.Duration)
- func (o *GetLogTargetsParams) SetTransactionID(transactionID *string)
- func (o *GetLogTargetsParams) WithContext(ctx context.Context) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithDefaults() *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithHTTPClient(client *http.Client) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithParentName(parentName *string) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithParentType(parentType string) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithTimeout(timeout time.Duration) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WithTransactionID(transactionID *string) *GetLogTargetsParams
- func (o *GetLogTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogTargetsReader
- type ReplaceLogTargetAccepted
- func (o *ReplaceLogTargetAccepted) Code() int
- func (o *ReplaceLogTargetAccepted) Error() string
- func (o *ReplaceLogTargetAccepted) GetPayload() *models.LogTarget
- func (o *ReplaceLogTargetAccepted) IsClientError() bool
- func (o *ReplaceLogTargetAccepted) IsCode(code int) bool
- func (o *ReplaceLogTargetAccepted) IsRedirect() bool
- func (o *ReplaceLogTargetAccepted) IsServerError() bool
- func (o *ReplaceLogTargetAccepted) IsSuccess() bool
- func (o *ReplaceLogTargetAccepted) String() string
- type ReplaceLogTargetBadRequest
- func (o *ReplaceLogTargetBadRequest) Code() int
- func (o *ReplaceLogTargetBadRequest) Error() string
- func (o *ReplaceLogTargetBadRequest) GetPayload() *models.Error
- func (o *ReplaceLogTargetBadRequest) IsClientError() bool
- func (o *ReplaceLogTargetBadRequest) IsCode(code int) bool
- func (o *ReplaceLogTargetBadRequest) IsRedirect() bool
- func (o *ReplaceLogTargetBadRequest) IsServerError() bool
- func (o *ReplaceLogTargetBadRequest) IsSuccess() bool
- func (o *ReplaceLogTargetBadRequest) String() string
- type ReplaceLogTargetDefault
- func (o *ReplaceLogTargetDefault) Code() int
- func (o *ReplaceLogTargetDefault) Error() string
- func (o *ReplaceLogTargetDefault) GetPayload() *models.Error
- func (o *ReplaceLogTargetDefault) IsClientError() bool
- func (o *ReplaceLogTargetDefault) IsCode(code int) bool
- func (o *ReplaceLogTargetDefault) IsRedirect() bool
- func (o *ReplaceLogTargetDefault) IsServerError() bool
- func (o *ReplaceLogTargetDefault) IsSuccess() bool
- func (o *ReplaceLogTargetDefault) String() string
- type ReplaceLogTargetNotFound
- func (o *ReplaceLogTargetNotFound) Code() int
- func (o *ReplaceLogTargetNotFound) Error() string
- func (o *ReplaceLogTargetNotFound) GetPayload() *models.Error
- func (o *ReplaceLogTargetNotFound) IsClientError() bool
- func (o *ReplaceLogTargetNotFound) IsCode(code int) bool
- func (o *ReplaceLogTargetNotFound) IsRedirect() bool
- func (o *ReplaceLogTargetNotFound) IsServerError() bool
- func (o *ReplaceLogTargetNotFound) IsSuccess() bool
- func (o *ReplaceLogTargetNotFound) String() string
- type ReplaceLogTargetOK
- func (o *ReplaceLogTargetOK) Code() int
- func (o *ReplaceLogTargetOK) Error() string
- func (o *ReplaceLogTargetOK) GetPayload() *models.LogTarget
- func (o *ReplaceLogTargetOK) IsClientError() bool
- func (o *ReplaceLogTargetOK) IsCode(code int) bool
- func (o *ReplaceLogTargetOK) IsRedirect() bool
- func (o *ReplaceLogTargetOK) IsServerError() bool
- func (o *ReplaceLogTargetOK) IsSuccess() bool
- func (o *ReplaceLogTargetOK) String() string
- type ReplaceLogTargetParams
- func NewReplaceLogTargetParams() *ReplaceLogTargetParams
- func NewReplaceLogTargetParamsWithContext(ctx context.Context) *ReplaceLogTargetParams
- func NewReplaceLogTargetParamsWithHTTPClient(client *http.Client) *ReplaceLogTargetParams
- func NewReplaceLogTargetParamsWithTimeout(timeout time.Duration) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) SetContext(ctx context.Context)
- func (o *ReplaceLogTargetParams) SetData(data *models.LogTarget)
- func (o *ReplaceLogTargetParams) SetDefaults()
- func (o *ReplaceLogTargetParams) SetForceReload(forceReload *bool)
- func (o *ReplaceLogTargetParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceLogTargetParams) SetIndex(index int64)
- func (o *ReplaceLogTargetParams) SetParentName(parentName *string)
- func (o *ReplaceLogTargetParams) SetParentType(parentType string)
- func (o *ReplaceLogTargetParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceLogTargetParams) SetTransactionID(transactionID *string)
- func (o *ReplaceLogTargetParams) SetVersion(version *int64)
- func (o *ReplaceLogTargetParams) WithContext(ctx context.Context) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithData(data *models.LogTarget) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithDefaults() *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithForceReload(forceReload *bool) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithHTTPClient(client *http.Client) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithIndex(index int64) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithParentName(parentName *string) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithParentType(parentType string) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithTimeout(timeout time.Duration) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithTransactionID(transactionID *string) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WithVersion(version *int64) *ReplaceLogTargetParams
- func (o *ReplaceLogTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceLogTargetReader
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 ¶
func (a *Client) CreateLogTarget(params *CreateLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLogTargetCreated, *CreateLogTargetAccepted, error)
CreateLogTarget adds a new log target
Adds a new Log Target of the specified type in the specified parent.
func (*Client) DeleteLogTarget ¶
func (a *Client) DeleteLogTarget(params *DeleteLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLogTargetAccepted, *DeleteLogTargetNoContent, error)
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 ¶
func (a *Client) ReplaceLogTarget(params *ReplaceLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceLogTargetOK, *ReplaceLogTargetAccepted, error)
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 ¶
type ClientService interface { CreateLogTarget(params *CreateLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLogTargetCreated, *CreateLogTargetAccepted, error) DeleteLogTarget(params *DeleteLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLogTargetAccepted, *DeleteLogTargetNoContent, error) GetLogTarget(params *GetLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogTargetOK, error) GetLogTargets(params *GetLogTargetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLogTargetsOK, error) ReplaceLogTarget(params *ReplaceLogTargetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceLogTargetOK, *ReplaceLogTargetAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new log 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 ¶
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 ¶
func (o *CreateLogTargetParams) WithContext(ctx context.Context) *CreateLogTargetParams
WithContext adds the context to the create log target params
func (*CreateLogTargetParams) WithData ¶
func (o *CreateLogTargetParams) WithData(data *models.LogTarget) *CreateLogTargetParams
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 ¶
func (o *DeleteLogTargetParams) WithContext(ctx context.Context) *DeleteLogTargetParams
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 ¶
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
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 ¶
func (o *GetLogTargetParams) WithContext(ctx context.Context) *GetLogTargetParams
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 ¶
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
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 ¶
func (o *GetLogTargetsParams) WithContext(ctx context.Context) *GetLogTargetsParams
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 (o *ReplaceLogTargetBadRequest) Error() string
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 ¶
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 ¶
func (o *ReplaceLogTargetParams) WithContext(ctx context.Context) *ReplaceLogTargetParams
WithContext adds the context to the replace log target params
func (*ReplaceLogTargetParams) WithData ¶
func (o *ReplaceLogTargetParams) WithData(data *models.LogTarget) *ReplaceLogTargetParams
WithData adds the data to the replace log target params
func (*ReplaceLogTargetParams) WithDefaults ¶
func (o *ReplaceLogTargetParams) WithDefaults() *ReplaceLogTargetParams
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 ¶
func (o *ReplaceLogTargetParams) WithIndex(index int64) *ReplaceLogTargetParams
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 ¶
func (o *ReplaceLogTargetParams) WithTimeout(timeout time.Duration) *ReplaceLogTargetParams
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 ¶
func (o *ReplaceLogTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_log_target_parameters.go
- create_log_target_responses.go
- delete_log_target_parameters.go
- delete_log_target_responses.go
- get_log_target_parameters.go
- get_log_target_responses.go
- get_log_targets_parameters.go
- get_log_targets_responses.go
- log_target_client.go
- replace_log_target_parameters.go
- replace_log_target_responses.go