Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHTTPCheck(params *CreateHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPCheckCreated, *CreateHTTPCheckAccepted, error)
- func (a *Client) DeleteHTTPCheck(params *DeleteHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPCheckAccepted, *DeleteHTTPCheckNoContent, error)
- func (a *Client) GetHTTPCheck(params *GetHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPCheckOK, error)
- func (a *Client) GetHTTPChecks(params *GetHTTPChecksParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPChecksOK, error)
- func (a *Client) ReplaceHTTPCheck(params *ReplaceHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPCheckOK, *ReplaceHTTPCheckAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateHTTPCheckAccepted
- type CreateHTTPCheckBadRequest
- type CreateHTTPCheckConflict
- type CreateHTTPCheckCreated
- type CreateHTTPCheckDefault
- type CreateHTTPCheckParams
- func NewCreateHTTPCheckParams() *CreateHTTPCheckParams
- func NewCreateHTTPCheckParamsWithContext(ctx context.Context) *CreateHTTPCheckParams
- func NewCreateHTTPCheckParamsWithHTTPClient(client *http.Client) *CreateHTTPCheckParams
- func NewCreateHTTPCheckParamsWithTimeout(timeout time.Duration) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) SetContext(ctx context.Context)
- func (o *CreateHTTPCheckParams) SetData(data *models.HTTPCheck)
- func (o *CreateHTTPCheckParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPCheckParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPCheckParams) SetParentName(parentName *string)
- func (o *CreateHTTPCheckParams) SetParentType(parentType string)
- func (o *CreateHTTPCheckParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPCheckParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPCheckParams) SetVersion(version *int64)
- func (o *CreateHTTPCheckParams) WithContext(ctx context.Context) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithData(data *models.HTTPCheck) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithForceReload(forceReload *bool) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithHTTPClient(client *http.Client) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithParentName(parentName *string) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithParentType(parentType string) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithTimeout(timeout time.Duration) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithTransactionID(transactionID *string) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WithVersion(version *int64) *CreateHTTPCheckParams
- func (o *CreateHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPCheckReader
- type DeleteHTTPCheckAccepted
- type DeleteHTTPCheckDefault
- type DeleteHTTPCheckNoContent
- type DeleteHTTPCheckNotFound
- type DeleteHTTPCheckParams
- func NewDeleteHTTPCheckParams() *DeleteHTTPCheckParams
- func NewDeleteHTTPCheckParamsWithContext(ctx context.Context) *DeleteHTTPCheckParams
- func NewDeleteHTTPCheckParamsWithHTTPClient(client *http.Client) *DeleteHTTPCheckParams
- func NewDeleteHTTPCheckParamsWithTimeout(timeout time.Duration) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPCheckParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPCheckParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPCheckParams) SetIndex(index int64)
- func (o *DeleteHTTPCheckParams) SetParentName(parentName *string)
- func (o *DeleteHTTPCheckParams) SetParentType(parentType string)
- func (o *DeleteHTTPCheckParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPCheckParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPCheckParams) SetVersion(version *int64)
- func (o *DeleteHTTPCheckParams) WithContext(ctx context.Context) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithForceReload(forceReload *bool) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithHTTPClient(client *http.Client) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithIndex(index int64) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithParentName(parentName *string) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithParentType(parentType string) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithTimeout(timeout time.Duration) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithTransactionID(transactionID *string) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WithVersion(version *int64) *DeleteHTTPCheckParams
- func (o *DeleteHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPCheckReader
- type GetHTTPCheckDefault
- type GetHTTPCheckNotFound
- type GetHTTPCheckOK
- type GetHTTPCheckOKBody
- type GetHTTPCheckParams
- func (o *GetHTTPCheckParams) SetContext(ctx context.Context)
- func (o *GetHTTPCheckParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPCheckParams) SetIndex(index int64)
- func (o *GetHTTPCheckParams) SetParentName(parentName *string)
- func (o *GetHTTPCheckParams) SetParentType(parentType string)
- func (o *GetHTTPCheckParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPCheckParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPCheckParams) WithContext(ctx context.Context) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithHTTPClient(client *http.Client) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithIndex(index int64) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithParentName(parentName *string) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithParentType(parentType string) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithTimeout(timeout time.Duration) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WithTransactionID(transactionID *string) *GetHTTPCheckParams
- func (o *GetHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPCheckReader
- type GetHTTPChecksDefault
- type GetHTTPChecksOK
- type GetHTTPChecksOKBody
- type GetHTTPChecksParams
- func (o *GetHTTPChecksParams) SetContext(ctx context.Context)
- func (o *GetHTTPChecksParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPChecksParams) SetParentName(parentName *string)
- func (o *GetHTTPChecksParams) SetParentType(parentType string)
- func (o *GetHTTPChecksParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPChecksParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPChecksParams) WithContext(ctx context.Context) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WithHTTPClient(client *http.Client) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WithParentName(parentName *string) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WithParentType(parentType string) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WithTimeout(timeout time.Duration) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WithTransactionID(transactionID *string) *GetHTTPChecksParams
- func (o *GetHTTPChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPChecksReader
- type ReplaceHTTPCheckAccepted
- type ReplaceHTTPCheckBadRequest
- type ReplaceHTTPCheckDefault
- type ReplaceHTTPCheckNotFound
- type ReplaceHTTPCheckOK
- type ReplaceHTTPCheckParams
- func NewReplaceHTTPCheckParams() *ReplaceHTTPCheckParams
- func NewReplaceHTTPCheckParamsWithContext(ctx context.Context) *ReplaceHTTPCheckParams
- func NewReplaceHTTPCheckParamsWithHTTPClient(client *http.Client) *ReplaceHTTPCheckParams
- func NewReplaceHTTPCheckParamsWithTimeout(timeout time.Duration) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPCheckParams) SetData(data *models.HTTPCheck)
- func (o *ReplaceHTTPCheckParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPCheckParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPCheckParams) SetIndex(index int64)
- func (o *ReplaceHTTPCheckParams) SetParentName(parentName *string)
- func (o *ReplaceHTTPCheckParams) SetParentType(parentType string)
- func (o *ReplaceHTTPCheckParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPCheckParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPCheckParams) SetVersion(version *int64)
- func (o *ReplaceHTTPCheckParams) WithContext(ctx context.Context) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithData(data *models.HTTPCheck) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithForceReload(forceReload *bool) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithHTTPClient(client *http.Client) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithIndex(index int64) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithParentName(parentName *string) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithParentType(parentType string) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithTimeout(timeout time.Duration) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithTransactionID(transactionID *string) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WithVersion(version *int64) *ReplaceHTTPCheckParams
- func (o *ReplaceHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPCheckReader
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 http check API
func (*Client) CreateHTTPCheck ¶
func (a *Client) CreateHTTPCheck(params *CreateHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPCheckCreated, *CreateHTTPCheckAccepted, error)
CreateHTTPCheck adds a new HTTP check
Adds a new HTTP check of the specified type in the specified parent.
func (*Client) DeleteHTTPCheck ¶
func (a *Client) DeleteHTTPCheck(params *DeleteHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPCheckAccepted, *DeleteHTTPCheckNoContent, error)
DeleteHTTPCheck deletes a HTTP check
Deletes a HTTP check configuration by it's index from the specified parent.
func (*Client) GetHTTPCheck ¶
func (a *Client) GetHTTPCheck(params *GetHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPCheckOK, error)
GetHTTPCheck returns one HTTP check
Returns one HTTP check configuration by it's index in the specified parent.
func (*Client) GetHTTPChecks ¶
func (a *Client) GetHTTPChecks(params *GetHTTPChecksParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPChecksOK, error)
GetHTTPChecks returns an array of HTTP checks
Returns all HTTP checks that are configured in specified parent.
func (*Client) ReplaceHTTPCheck ¶
func (a *Client) ReplaceHTTPCheck(params *ReplaceHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPCheckOK, *ReplaceHTTPCheckAccepted, error)
ReplaceHTTPCheck replaces a HTTP check
Replaces a HTTP Check 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 ClientService ¶
type ClientService interface { CreateHTTPCheck(params *CreateHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*CreateHTTPCheckCreated, *CreateHTTPCheckAccepted, error) DeleteHTTPCheck(params *DeleteHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHTTPCheckAccepted, *DeleteHTTPCheckNoContent, error) GetHTTPCheck(params *GetHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPCheckOK, error) GetHTTPChecks(params *GetHTTPChecksParams, authInfo runtime.ClientAuthInfoWriter) (*GetHTTPChecksOK, error) ReplaceHTTPCheck(params *ReplaceHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceHTTPCheckOK, *ReplaceHTTPCheckAccepted, 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 http check API client.
type CreateHTTPCheckAccepted ¶
type CreateHTTPCheckAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPCheck }
CreateHTTPCheckAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPCheckAccepted ¶
func NewCreateHTTPCheckAccepted() *CreateHTTPCheckAccepted
NewCreateHTTPCheckAccepted creates a CreateHTTPCheckAccepted with default headers values
func (*CreateHTTPCheckAccepted) Error ¶
func (o *CreateHTTPCheckAccepted) Error() string
func (*CreateHTTPCheckAccepted) GetPayload ¶
func (o *CreateHTTPCheckAccepted) GetPayload() *models.HTTPCheck
type CreateHTTPCheckBadRequest ¶
type CreateHTTPCheckBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPCheckBadRequest handles this case with default header values.
Bad request
func NewCreateHTTPCheckBadRequest ¶
func NewCreateHTTPCheckBadRequest() *CreateHTTPCheckBadRequest
NewCreateHTTPCheckBadRequest creates a CreateHTTPCheckBadRequest with default headers values
func (*CreateHTTPCheckBadRequest) Error ¶
func (o *CreateHTTPCheckBadRequest) Error() string
func (*CreateHTTPCheckBadRequest) GetPayload ¶
func (o *CreateHTTPCheckBadRequest) GetPayload() *models.Error
type CreateHTTPCheckConflict ¶
type CreateHTTPCheckConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPCheckConflict handles this case with default header values.
The specified resource already exists
func NewCreateHTTPCheckConflict ¶
func NewCreateHTTPCheckConflict() *CreateHTTPCheckConflict
NewCreateHTTPCheckConflict creates a CreateHTTPCheckConflict with default headers values
func (*CreateHTTPCheckConflict) Error ¶
func (o *CreateHTTPCheckConflict) Error() string
func (*CreateHTTPCheckConflict) GetPayload ¶
func (o *CreateHTTPCheckConflict) GetPayload() *models.Error
type CreateHTTPCheckCreated ¶
CreateHTTPCheckCreated handles this case with default header values.
HTTP check created
func NewCreateHTTPCheckCreated ¶
func NewCreateHTTPCheckCreated() *CreateHTTPCheckCreated
NewCreateHTTPCheckCreated creates a CreateHTTPCheckCreated with default headers values
func (*CreateHTTPCheckCreated) Error ¶
func (o *CreateHTTPCheckCreated) Error() string
func (*CreateHTTPCheckCreated) GetPayload ¶
func (o *CreateHTTPCheckCreated) GetPayload() *models.HTTPCheck
type CreateHTTPCheckDefault ¶
type CreateHTTPCheckDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPCheckDefault handles this case with default header values.
General Error
func NewCreateHTTPCheckDefault ¶
func NewCreateHTTPCheckDefault(code int) *CreateHTTPCheckDefault
NewCreateHTTPCheckDefault creates a CreateHTTPCheckDefault with default headers values
func (*CreateHTTPCheckDefault) Code ¶
func (o *CreateHTTPCheckDefault) Code() int
Code gets the status code for the create HTTP check default response
func (*CreateHTTPCheckDefault) Error ¶
func (o *CreateHTTPCheckDefault) Error() string
func (*CreateHTTPCheckDefault) GetPayload ¶
func (o *CreateHTTPCheckDefault) GetPayload() *models.Error
type CreateHTTPCheckParams ¶
type CreateHTTPCheckParams struct { /*Data*/ Data *models.HTTPCheck /*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 }
CreateHTTPCheckParams contains all the parameters to send to the API endpoint for the create HTTP check operation typically these are written to a http.Request
func NewCreateHTTPCheckParams ¶
func NewCreateHTTPCheckParams() *CreateHTTPCheckParams
NewCreateHTTPCheckParams creates a new CreateHTTPCheckParams object with the default values initialized.
func NewCreateHTTPCheckParamsWithContext ¶
func NewCreateHTTPCheckParamsWithContext(ctx context.Context) *CreateHTTPCheckParams
NewCreateHTTPCheckParamsWithContext creates a new CreateHTTPCheckParams object with the default values initialized, and the ability to set a context for a request
func NewCreateHTTPCheckParamsWithHTTPClient ¶
func NewCreateHTTPCheckParamsWithHTTPClient(client *http.Client) *CreateHTTPCheckParams
NewCreateHTTPCheckParamsWithHTTPClient creates a new CreateHTTPCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateHTTPCheckParamsWithTimeout ¶
func NewCreateHTTPCheckParamsWithTimeout(timeout time.Duration) *CreateHTTPCheckParams
NewCreateHTTPCheckParamsWithTimeout creates a new CreateHTTPCheckParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateHTTPCheckParams) SetContext ¶
func (o *CreateHTTPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP check params
func (*CreateHTTPCheckParams) SetData ¶
func (o *CreateHTTPCheckParams) SetData(data *models.HTTPCheck)
SetData adds the data to the create HTTP check params
func (*CreateHTTPCheckParams) SetForceReload ¶
func (o *CreateHTTPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP check params
func (*CreateHTTPCheckParams) SetHTTPClient ¶
func (o *CreateHTTPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP check params
func (*CreateHTTPCheckParams) SetParentName ¶
func (o *CreateHTTPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the create HTTP check params
func (*CreateHTTPCheckParams) SetParentType ¶
func (o *CreateHTTPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP check params
func (*CreateHTTPCheckParams) SetTimeout ¶
func (o *CreateHTTPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP check params
func (*CreateHTTPCheckParams) SetTransactionID ¶
func (o *CreateHTTPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP check params
func (*CreateHTTPCheckParams) SetVersion ¶
func (o *CreateHTTPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP check params
func (*CreateHTTPCheckParams) WithContext ¶
func (o *CreateHTTPCheckParams) WithContext(ctx context.Context) *CreateHTTPCheckParams
WithContext adds the context to the create HTTP check params
func (*CreateHTTPCheckParams) WithData ¶
func (o *CreateHTTPCheckParams) WithData(data *models.HTTPCheck) *CreateHTTPCheckParams
WithData adds the data to the create HTTP check params
func (*CreateHTTPCheckParams) WithForceReload ¶
func (o *CreateHTTPCheckParams) WithForceReload(forceReload *bool) *CreateHTTPCheckParams
WithForceReload adds the forceReload to the create HTTP check params
func (*CreateHTTPCheckParams) WithHTTPClient ¶
func (o *CreateHTTPCheckParams) WithHTTPClient(client *http.Client) *CreateHTTPCheckParams
WithHTTPClient adds the HTTPClient to the create HTTP check params
func (*CreateHTTPCheckParams) WithParentName ¶
func (o *CreateHTTPCheckParams) WithParentName(parentName *string) *CreateHTTPCheckParams
WithParentName adds the parentName to the create HTTP check params
func (*CreateHTTPCheckParams) WithParentType ¶
func (o *CreateHTTPCheckParams) WithParentType(parentType string) *CreateHTTPCheckParams
WithParentType adds the parentType to the create HTTP check params
func (*CreateHTTPCheckParams) WithTimeout ¶
func (o *CreateHTTPCheckParams) WithTimeout(timeout time.Duration) *CreateHTTPCheckParams
WithTimeout adds the timeout to the create HTTP check params
func (*CreateHTTPCheckParams) WithTransactionID ¶
func (o *CreateHTTPCheckParams) WithTransactionID(transactionID *string) *CreateHTTPCheckParams
WithTransactionID adds the transactionID to the create HTTP check params
func (*CreateHTTPCheckParams) WithVersion ¶
func (o *CreateHTTPCheckParams) WithVersion(version *int64) *CreateHTTPCheckParams
WithVersion adds the version to the create HTTP check params
func (*CreateHTTPCheckParams) WriteToRequest ¶
func (o *CreateHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPCheckReader ¶
type CreateHTTPCheckReader struct {
// contains filtered or unexported fields
}
CreateHTTPCheckReader is a Reader for the CreateHTTPCheck structure.
func (*CreateHTTPCheckReader) ReadResponse ¶
func (o *CreateHTTPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPCheckAccepted ¶
type DeleteHTTPCheckAccepted struct { /*ID of the requested reload */ ReloadID string }
DeleteHTTPCheckAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPCheckAccepted ¶
func NewDeleteHTTPCheckAccepted() *DeleteHTTPCheckAccepted
NewDeleteHTTPCheckAccepted creates a DeleteHTTPCheckAccepted with default headers values
func (*DeleteHTTPCheckAccepted) Error ¶
func (o *DeleteHTTPCheckAccepted) Error() string
type DeleteHTTPCheckDefault ¶
type DeleteHTTPCheckDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPCheckDefault handles this case with default header values.
General Error
func NewDeleteHTTPCheckDefault ¶
func NewDeleteHTTPCheckDefault(code int) *DeleteHTTPCheckDefault
NewDeleteHTTPCheckDefault creates a DeleteHTTPCheckDefault with default headers values
func (*DeleteHTTPCheckDefault) Code ¶
func (o *DeleteHTTPCheckDefault) Code() int
Code gets the status code for the delete HTTP check default response
func (*DeleteHTTPCheckDefault) Error ¶
func (o *DeleteHTTPCheckDefault) Error() string
func (*DeleteHTTPCheckDefault) GetPayload ¶
func (o *DeleteHTTPCheckDefault) GetPayload() *models.Error
type DeleteHTTPCheckNoContent ¶
type DeleteHTTPCheckNoContent struct { }
DeleteHTTPCheckNoContent handles this case with default header values.
HTTP check deleted
func NewDeleteHTTPCheckNoContent ¶
func NewDeleteHTTPCheckNoContent() *DeleteHTTPCheckNoContent
NewDeleteHTTPCheckNoContent creates a DeleteHTTPCheckNoContent with default headers values
func (*DeleteHTTPCheckNoContent) Error ¶
func (o *DeleteHTTPCheckNoContent) Error() string
type DeleteHTTPCheckNotFound ¶
type DeleteHTTPCheckNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPCheckNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteHTTPCheckNotFound ¶
func NewDeleteHTTPCheckNotFound() *DeleteHTTPCheckNotFound
NewDeleteHTTPCheckNotFound creates a DeleteHTTPCheckNotFound with default headers values
func (*DeleteHTTPCheckNotFound) Error ¶
func (o *DeleteHTTPCheckNotFound) Error() string
func (*DeleteHTTPCheckNotFound) GetPayload ¶
func (o *DeleteHTTPCheckNotFound) GetPayload() *models.Error
type DeleteHTTPCheckParams ¶
type DeleteHTTPCheckParams 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 HTTP check 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 }
DeleteHTTPCheckParams contains all the parameters to send to the API endpoint for the delete HTTP check operation typically these are written to a http.Request
func NewDeleteHTTPCheckParams ¶
func NewDeleteHTTPCheckParams() *DeleteHTTPCheckParams
NewDeleteHTTPCheckParams creates a new DeleteHTTPCheckParams object with the default values initialized.
func NewDeleteHTTPCheckParamsWithContext ¶
func NewDeleteHTTPCheckParamsWithContext(ctx context.Context) *DeleteHTTPCheckParams
NewDeleteHTTPCheckParamsWithContext creates a new DeleteHTTPCheckParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteHTTPCheckParamsWithHTTPClient ¶
func NewDeleteHTTPCheckParamsWithHTTPClient(client *http.Client) *DeleteHTTPCheckParams
NewDeleteHTTPCheckParamsWithHTTPClient creates a new DeleteHTTPCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteHTTPCheckParamsWithTimeout ¶
func NewDeleteHTTPCheckParamsWithTimeout(timeout time.Duration) *DeleteHTTPCheckParams
NewDeleteHTTPCheckParamsWithTimeout creates a new DeleteHTTPCheckParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteHTTPCheckParams) SetContext ¶
func (o *DeleteHTTPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetForceReload ¶
func (o *DeleteHTTPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetHTTPClient ¶
func (o *DeleteHTTPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetIndex ¶
func (o *DeleteHTTPCheckParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetParentName ¶
func (o *DeleteHTTPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetParentType ¶
func (o *DeleteHTTPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetTimeout ¶
func (o *DeleteHTTPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetTransactionID ¶
func (o *DeleteHTTPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP check params
func (*DeleteHTTPCheckParams) SetVersion ¶
func (o *DeleteHTTPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithContext ¶
func (o *DeleteHTTPCheckParams) WithContext(ctx context.Context) *DeleteHTTPCheckParams
WithContext adds the context to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithForceReload ¶
func (o *DeleteHTTPCheckParams) WithForceReload(forceReload *bool) *DeleteHTTPCheckParams
WithForceReload adds the forceReload to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithHTTPClient ¶
func (o *DeleteHTTPCheckParams) WithHTTPClient(client *http.Client) *DeleteHTTPCheckParams
WithHTTPClient adds the HTTPClient to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithIndex ¶
func (o *DeleteHTTPCheckParams) WithIndex(index int64) *DeleteHTTPCheckParams
WithIndex adds the index to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithParentName ¶
func (o *DeleteHTTPCheckParams) WithParentName(parentName *string) *DeleteHTTPCheckParams
WithParentName adds the parentName to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithParentType ¶
func (o *DeleteHTTPCheckParams) WithParentType(parentType string) *DeleteHTTPCheckParams
WithParentType adds the parentType to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithTimeout ¶
func (o *DeleteHTTPCheckParams) WithTimeout(timeout time.Duration) *DeleteHTTPCheckParams
WithTimeout adds the timeout to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithTransactionID ¶
func (o *DeleteHTTPCheckParams) WithTransactionID(transactionID *string) *DeleteHTTPCheckParams
WithTransactionID adds the transactionID to the delete HTTP check params
func (*DeleteHTTPCheckParams) WithVersion ¶
func (o *DeleteHTTPCheckParams) WithVersion(version *int64) *DeleteHTTPCheckParams
WithVersion adds the version to the delete HTTP check params
func (*DeleteHTTPCheckParams) WriteToRequest ¶
func (o *DeleteHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPCheckReader ¶
type DeleteHTTPCheckReader struct {
// contains filtered or unexported fields
}
DeleteHTTPCheckReader is a Reader for the DeleteHTTPCheck structure.
func (*DeleteHTTPCheckReader) ReadResponse ¶
func (o *DeleteHTTPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPCheckDefault ¶
type GetHTTPCheckDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPCheckDefault handles this case with default header values.
General Error
func NewGetHTTPCheckDefault ¶
func NewGetHTTPCheckDefault(code int) *GetHTTPCheckDefault
NewGetHTTPCheckDefault creates a GetHTTPCheckDefault with default headers values
func (*GetHTTPCheckDefault) Code ¶
func (o *GetHTTPCheckDefault) Code() int
Code gets the status code for the get HTTP check default response
func (*GetHTTPCheckDefault) Error ¶
func (o *GetHTTPCheckDefault) Error() string
func (*GetHTTPCheckDefault) GetPayload ¶
func (o *GetHTTPCheckDefault) GetPayload() *models.Error
type GetHTTPCheckNotFound ¶
type GetHTTPCheckNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPCheckNotFound handles this case with default header values.
The specified resource was not found
func NewGetHTTPCheckNotFound ¶
func NewGetHTTPCheckNotFound() *GetHTTPCheckNotFound
NewGetHTTPCheckNotFound creates a GetHTTPCheckNotFound with default headers values
func (*GetHTTPCheckNotFound) Error ¶
func (o *GetHTTPCheckNotFound) Error() string
func (*GetHTTPCheckNotFound) GetPayload ¶
func (o *GetHTTPCheckNotFound) GetPayload() *models.Error
type GetHTTPCheckOK ¶
type GetHTTPCheckOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetHTTPCheckOKBody }
GetHTTPCheckOK handles this case with default header values.
Successful operation
func NewGetHTTPCheckOK ¶
func NewGetHTTPCheckOK() *GetHTTPCheckOK
NewGetHTTPCheckOK creates a GetHTTPCheckOK with default headers values
func (*GetHTTPCheckOK) Error ¶
func (o *GetHTTPCheckOK) Error() string
func (*GetHTTPCheckOK) GetPayload ¶
func (o *GetHTTPCheckOK) GetPayload() *GetHTTPCheckOKBody
type GetHTTPCheckOKBody ¶
type GetHTTPCheckOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPCheck `json:"data,omitempty"` }
GetHTTPCheckOKBody get HTTP check o k body swagger:model GetHTTPCheckOKBody
func (*GetHTTPCheckOKBody) MarshalBinary ¶
func (o *GetHTTPCheckOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPCheckOKBody) UnmarshalBinary ¶
func (o *GetHTTPCheckOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPCheckParams ¶
type GetHTTPCheckParams struct { /*Index HTTP Check 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 }
GetHTTPCheckParams contains all the parameters to send to the API endpoint for the get HTTP check operation typically these are written to a http.Request
func NewGetHTTPCheckParams ¶
func NewGetHTTPCheckParams() *GetHTTPCheckParams
NewGetHTTPCheckParams creates a new GetHTTPCheckParams object with the default values initialized.
func NewGetHTTPCheckParamsWithContext ¶
func NewGetHTTPCheckParamsWithContext(ctx context.Context) *GetHTTPCheckParams
NewGetHTTPCheckParamsWithContext creates a new GetHTTPCheckParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPCheckParamsWithHTTPClient ¶
func NewGetHTTPCheckParamsWithHTTPClient(client *http.Client) *GetHTTPCheckParams
NewGetHTTPCheckParamsWithHTTPClient creates a new GetHTTPCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPCheckParamsWithTimeout ¶
func NewGetHTTPCheckParamsWithTimeout(timeout time.Duration) *GetHTTPCheckParams
NewGetHTTPCheckParamsWithTimeout creates a new GetHTTPCheckParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPCheckParams) SetContext ¶
func (o *GetHTTPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP check params
func (*GetHTTPCheckParams) SetHTTPClient ¶
func (o *GetHTTPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP check params
func (*GetHTTPCheckParams) SetIndex ¶
func (o *GetHTTPCheckParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP check params
func (*GetHTTPCheckParams) SetParentName ¶
func (o *GetHTTPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get HTTP check params
func (*GetHTTPCheckParams) SetParentType ¶
func (o *GetHTTPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP check params
func (*GetHTTPCheckParams) SetTimeout ¶
func (o *GetHTTPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP check params
func (*GetHTTPCheckParams) SetTransactionID ¶
func (o *GetHTTPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP check params
func (*GetHTTPCheckParams) WithContext ¶
func (o *GetHTTPCheckParams) WithContext(ctx context.Context) *GetHTTPCheckParams
WithContext adds the context to the get HTTP check params
func (*GetHTTPCheckParams) WithHTTPClient ¶
func (o *GetHTTPCheckParams) WithHTTPClient(client *http.Client) *GetHTTPCheckParams
WithHTTPClient adds the HTTPClient to the get HTTP check params
func (*GetHTTPCheckParams) WithIndex ¶
func (o *GetHTTPCheckParams) WithIndex(index int64) *GetHTTPCheckParams
WithIndex adds the index to the get HTTP check params
func (*GetHTTPCheckParams) WithParentName ¶
func (o *GetHTTPCheckParams) WithParentName(parentName *string) *GetHTTPCheckParams
WithParentName adds the parentName to the get HTTP check params
func (*GetHTTPCheckParams) WithParentType ¶
func (o *GetHTTPCheckParams) WithParentType(parentType string) *GetHTTPCheckParams
WithParentType adds the parentType to the get HTTP check params
func (*GetHTTPCheckParams) WithTimeout ¶
func (o *GetHTTPCheckParams) WithTimeout(timeout time.Duration) *GetHTTPCheckParams
WithTimeout adds the timeout to the get HTTP check params
func (*GetHTTPCheckParams) WithTransactionID ¶
func (o *GetHTTPCheckParams) WithTransactionID(transactionID *string) *GetHTTPCheckParams
WithTransactionID adds the transactionID to the get HTTP check params
func (*GetHTTPCheckParams) WriteToRequest ¶
func (o *GetHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPCheckReader ¶
type GetHTTPCheckReader struct {
// contains filtered or unexported fields
}
GetHTTPCheckReader is a Reader for the GetHTTPCheck structure.
func (*GetHTTPCheckReader) ReadResponse ¶
func (o *GetHTTPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPChecksDefault ¶
type GetHTTPChecksDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPChecksDefault handles this case with default header values.
General Error
func NewGetHTTPChecksDefault ¶
func NewGetHTTPChecksDefault(code int) *GetHTTPChecksDefault
NewGetHTTPChecksDefault creates a GetHTTPChecksDefault with default headers values
func (*GetHTTPChecksDefault) Code ¶
func (o *GetHTTPChecksDefault) Code() int
Code gets the status code for the get HTTP checks default response
func (*GetHTTPChecksDefault) Error ¶
func (o *GetHTTPChecksDefault) Error() string
func (*GetHTTPChecksDefault) GetPayload ¶
func (o *GetHTTPChecksDefault) GetPayload() *models.Error
type GetHTTPChecksOK ¶
type GetHTTPChecksOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetHTTPChecksOKBody }
GetHTTPChecksOK handles this case with default header values.
Successful operation
func NewGetHTTPChecksOK ¶
func NewGetHTTPChecksOK() *GetHTTPChecksOK
NewGetHTTPChecksOK creates a GetHTTPChecksOK with default headers values
func (*GetHTTPChecksOK) Error ¶
func (o *GetHTTPChecksOK) Error() string
func (*GetHTTPChecksOK) GetPayload ¶
func (o *GetHTTPChecksOK) GetPayload() *GetHTTPChecksOKBody
type GetHTTPChecksOKBody ¶
type GetHTTPChecksOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPChecks `json:"data"` }
GetHTTPChecksOKBody get HTTP checks o k body swagger:model GetHTTPChecksOKBody
func (*GetHTTPChecksOKBody) MarshalBinary ¶
func (o *GetHTTPChecksOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPChecksOKBody) UnmarshalBinary ¶
func (o *GetHTTPChecksOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPChecksParams ¶
type GetHTTPChecksParams 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 }
GetHTTPChecksParams contains all the parameters to send to the API endpoint for the get HTTP checks operation typically these are written to a http.Request
func NewGetHTTPChecksParams ¶
func NewGetHTTPChecksParams() *GetHTTPChecksParams
NewGetHTTPChecksParams creates a new GetHTTPChecksParams object with the default values initialized.
func NewGetHTTPChecksParamsWithContext ¶
func NewGetHTTPChecksParamsWithContext(ctx context.Context) *GetHTTPChecksParams
NewGetHTTPChecksParamsWithContext creates a new GetHTTPChecksParams object with the default values initialized, and the ability to set a context for a request
func NewGetHTTPChecksParamsWithHTTPClient ¶
func NewGetHTTPChecksParamsWithHTTPClient(client *http.Client) *GetHTTPChecksParams
NewGetHTTPChecksParamsWithHTTPClient creates a new GetHTTPChecksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHTTPChecksParamsWithTimeout ¶
func NewGetHTTPChecksParamsWithTimeout(timeout time.Duration) *GetHTTPChecksParams
NewGetHTTPChecksParamsWithTimeout creates a new GetHTTPChecksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetHTTPChecksParams) SetContext ¶
func (o *GetHTTPChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP checks params
func (*GetHTTPChecksParams) SetHTTPClient ¶
func (o *GetHTTPChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP checks params
func (*GetHTTPChecksParams) SetParentName ¶
func (o *GetHTTPChecksParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get HTTP checks params
func (*GetHTTPChecksParams) SetParentType ¶
func (o *GetHTTPChecksParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP checks params
func (*GetHTTPChecksParams) SetTimeout ¶
func (o *GetHTTPChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP checks params
func (*GetHTTPChecksParams) SetTransactionID ¶
func (o *GetHTTPChecksParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP checks params
func (*GetHTTPChecksParams) WithContext ¶
func (o *GetHTTPChecksParams) WithContext(ctx context.Context) *GetHTTPChecksParams
WithContext adds the context to the get HTTP checks params
func (*GetHTTPChecksParams) WithHTTPClient ¶
func (o *GetHTTPChecksParams) WithHTTPClient(client *http.Client) *GetHTTPChecksParams
WithHTTPClient adds the HTTPClient to the get HTTP checks params
func (*GetHTTPChecksParams) WithParentName ¶
func (o *GetHTTPChecksParams) WithParentName(parentName *string) *GetHTTPChecksParams
WithParentName adds the parentName to the get HTTP checks params
func (*GetHTTPChecksParams) WithParentType ¶
func (o *GetHTTPChecksParams) WithParentType(parentType string) *GetHTTPChecksParams
WithParentType adds the parentType to the get HTTP checks params
func (*GetHTTPChecksParams) WithTimeout ¶
func (o *GetHTTPChecksParams) WithTimeout(timeout time.Duration) *GetHTTPChecksParams
WithTimeout adds the timeout to the get HTTP checks params
func (*GetHTTPChecksParams) WithTransactionID ¶
func (o *GetHTTPChecksParams) WithTransactionID(transactionID *string) *GetHTTPChecksParams
WithTransactionID adds the transactionID to the get HTTP checks params
func (*GetHTTPChecksParams) WriteToRequest ¶
func (o *GetHTTPChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPChecksReader ¶
type GetHTTPChecksReader struct {
// contains filtered or unexported fields
}
GetHTTPChecksReader is a Reader for the GetHTTPChecks structure.
func (*GetHTTPChecksReader) ReadResponse ¶
func (o *GetHTTPChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPCheckAccepted ¶
type ReplaceHTTPCheckAccepted struct { /*ID of the requested reload */ ReloadID string Payload *models.HTTPCheck }
ReplaceHTTPCheckAccepted handles this case with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPCheckAccepted ¶
func NewReplaceHTTPCheckAccepted() *ReplaceHTTPCheckAccepted
NewReplaceHTTPCheckAccepted creates a ReplaceHTTPCheckAccepted with default headers values
func (*ReplaceHTTPCheckAccepted) Error ¶
func (o *ReplaceHTTPCheckAccepted) Error() string
func (*ReplaceHTTPCheckAccepted) GetPayload ¶
func (o *ReplaceHTTPCheckAccepted) GetPayload() *models.HTTPCheck
type ReplaceHTTPCheckBadRequest ¶
type ReplaceHTTPCheckBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPCheckBadRequest handles this case with default header values.
Bad request
func NewReplaceHTTPCheckBadRequest ¶
func NewReplaceHTTPCheckBadRequest() *ReplaceHTTPCheckBadRequest
NewReplaceHTTPCheckBadRequest creates a ReplaceHTTPCheckBadRequest with default headers values
func (*ReplaceHTTPCheckBadRequest) Error ¶
func (o *ReplaceHTTPCheckBadRequest) Error() string
func (*ReplaceHTTPCheckBadRequest) GetPayload ¶
func (o *ReplaceHTTPCheckBadRequest) GetPayload() *models.Error
type ReplaceHTTPCheckDefault ¶
type ReplaceHTTPCheckDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPCheckDefault handles this case with default header values.
General Error
func NewReplaceHTTPCheckDefault ¶
func NewReplaceHTTPCheckDefault(code int) *ReplaceHTTPCheckDefault
NewReplaceHTTPCheckDefault creates a ReplaceHTTPCheckDefault with default headers values
func (*ReplaceHTTPCheckDefault) Code ¶
func (o *ReplaceHTTPCheckDefault) Code() int
Code gets the status code for the replace HTTP check default response
func (*ReplaceHTTPCheckDefault) Error ¶
func (o *ReplaceHTTPCheckDefault) Error() string
func (*ReplaceHTTPCheckDefault) GetPayload ¶
func (o *ReplaceHTTPCheckDefault) GetPayload() *models.Error
type ReplaceHTTPCheckNotFound ¶
type ReplaceHTTPCheckNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPCheckNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceHTTPCheckNotFound ¶
func NewReplaceHTTPCheckNotFound() *ReplaceHTTPCheckNotFound
NewReplaceHTTPCheckNotFound creates a ReplaceHTTPCheckNotFound with default headers values
func (*ReplaceHTTPCheckNotFound) Error ¶
func (o *ReplaceHTTPCheckNotFound) Error() string
func (*ReplaceHTTPCheckNotFound) GetPayload ¶
func (o *ReplaceHTTPCheckNotFound) GetPayload() *models.Error
type ReplaceHTTPCheckOK ¶
ReplaceHTTPCheckOK handles this case with default header values.
HTTP check replaced
func NewReplaceHTTPCheckOK ¶
func NewReplaceHTTPCheckOK() *ReplaceHTTPCheckOK
NewReplaceHTTPCheckOK creates a ReplaceHTTPCheckOK with default headers values
func (*ReplaceHTTPCheckOK) Error ¶
func (o *ReplaceHTTPCheckOK) Error() string
func (*ReplaceHTTPCheckOK) GetPayload ¶
func (o *ReplaceHTTPCheckOK) GetPayload() *models.HTTPCheck
type ReplaceHTTPCheckParams ¶
type ReplaceHTTPCheckParams struct { /*Data*/ Data *models.HTTPCheck /*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 HTTP Check 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 }
ReplaceHTTPCheckParams contains all the parameters to send to the API endpoint for the replace HTTP check operation typically these are written to a http.Request
func NewReplaceHTTPCheckParams ¶
func NewReplaceHTTPCheckParams() *ReplaceHTTPCheckParams
NewReplaceHTTPCheckParams creates a new ReplaceHTTPCheckParams object with the default values initialized.
func NewReplaceHTTPCheckParamsWithContext ¶
func NewReplaceHTTPCheckParamsWithContext(ctx context.Context) *ReplaceHTTPCheckParams
NewReplaceHTTPCheckParamsWithContext creates a new ReplaceHTTPCheckParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceHTTPCheckParamsWithHTTPClient ¶
func NewReplaceHTTPCheckParamsWithHTTPClient(client *http.Client) *ReplaceHTTPCheckParams
NewReplaceHTTPCheckParamsWithHTTPClient creates a new ReplaceHTTPCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceHTTPCheckParamsWithTimeout ¶
func NewReplaceHTTPCheckParamsWithTimeout(timeout time.Duration) *ReplaceHTTPCheckParams
NewReplaceHTTPCheckParamsWithTimeout creates a new ReplaceHTTPCheckParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceHTTPCheckParams) SetContext ¶
func (o *ReplaceHTTPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetData ¶
func (o *ReplaceHTTPCheckParams) SetData(data *models.HTTPCheck)
SetData adds the data to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetForceReload ¶
func (o *ReplaceHTTPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetHTTPClient ¶
func (o *ReplaceHTTPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetIndex ¶
func (o *ReplaceHTTPCheckParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetParentName ¶
func (o *ReplaceHTTPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetParentType ¶
func (o *ReplaceHTTPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetTimeout ¶
func (o *ReplaceHTTPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetTransactionID ¶
func (o *ReplaceHTTPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP check params
func (*ReplaceHTTPCheckParams) SetVersion ¶
func (o *ReplaceHTTPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithContext ¶
func (o *ReplaceHTTPCheckParams) WithContext(ctx context.Context) *ReplaceHTTPCheckParams
WithContext adds the context to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithData ¶
func (o *ReplaceHTTPCheckParams) WithData(data *models.HTTPCheck) *ReplaceHTTPCheckParams
WithData adds the data to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithForceReload ¶
func (o *ReplaceHTTPCheckParams) WithForceReload(forceReload *bool) *ReplaceHTTPCheckParams
WithForceReload adds the forceReload to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithHTTPClient ¶
func (o *ReplaceHTTPCheckParams) WithHTTPClient(client *http.Client) *ReplaceHTTPCheckParams
WithHTTPClient adds the HTTPClient to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithIndex ¶
func (o *ReplaceHTTPCheckParams) WithIndex(index int64) *ReplaceHTTPCheckParams
WithIndex adds the index to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithParentName ¶
func (o *ReplaceHTTPCheckParams) WithParentName(parentName *string) *ReplaceHTTPCheckParams
WithParentName adds the parentName to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithParentType ¶
func (o *ReplaceHTTPCheckParams) WithParentType(parentType string) *ReplaceHTTPCheckParams
WithParentType adds the parentType to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithTimeout ¶
func (o *ReplaceHTTPCheckParams) WithTimeout(timeout time.Duration) *ReplaceHTTPCheckParams
WithTimeout adds the timeout to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithTransactionID ¶
func (o *ReplaceHTTPCheckParams) WithTransactionID(transactionID *string) *ReplaceHTTPCheckParams
WithTransactionID adds the transactionID to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WithVersion ¶
func (o *ReplaceHTTPCheckParams) WithVersion(version *int64) *ReplaceHTTPCheckParams
WithVersion adds the version to the replace HTTP check params
func (*ReplaceHTTPCheckParams) WriteToRequest ¶
func (o *ReplaceHTTPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPCheckReader ¶
type ReplaceHTTPCheckReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPCheckReader is a Reader for the ReplaceHTTPCheck structure.
func (*ReplaceHTTPCheckReader) ReadResponse ¶
func (o *ReplaceHTTPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_http_check_parameters.go
- create_http_check_responses.go
- delete_http_check_parameters.go
- delete_http_check_responses.go
- get_http_check_parameters.go
- get_http_check_responses.go
- get_http_checks_parameters.go
- get_http_checks_responses.go
- http_check_client.go
- replace_http_check_parameters.go
- replace_http_check_responses.go