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 ClientOption
- type ClientService
- type CreateHTTPCheckAccepted
- func (o *CreateHTTPCheckAccepted) Code() int
- func (o *CreateHTTPCheckAccepted) Error() string
- func (o *CreateHTTPCheckAccepted) GetPayload() *models.HTTPCheck
- func (o *CreateHTTPCheckAccepted) IsClientError() bool
- func (o *CreateHTTPCheckAccepted) IsCode(code int) bool
- func (o *CreateHTTPCheckAccepted) IsRedirect() bool
- func (o *CreateHTTPCheckAccepted) IsServerError() bool
- func (o *CreateHTTPCheckAccepted) IsSuccess() bool
- func (o *CreateHTTPCheckAccepted) String() string
- type CreateHTTPCheckBadRequest
- func (o *CreateHTTPCheckBadRequest) Code() int
- func (o *CreateHTTPCheckBadRequest) Error() string
- func (o *CreateHTTPCheckBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPCheckBadRequest) IsClientError() bool
- func (o *CreateHTTPCheckBadRequest) IsCode(code int) bool
- func (o *CreateHTTPCheckBadRequest) IsRedirect() bool
- func (o *CreateHTTPCheckBadRequest) IsServerError() bool
- func (o *CreateHTTPCheckBadRequest) IsSuccess() bool
- func (o *CreateHTTPCheckBadRequest) String() string
- type CreateHTTPCheckConflict
- func (o *CreateHTTPCheckConflict) Code() int
- func (o *CreateHTTPCheckConflict) Error() string
- func (o *CreateHTTPCheckConflict) GetPayload() *models.Error
- func (o *CreateHTTPCheckConflict) IsClientError() bool
- func (o *CreateHTTPCheckConflict) IsCode(code int) bool
- func (o *CreateHTTPCheckConflict) IsRedirect() bool
- func (o *CreateHTTPCheckConflict) IsServerError() bool
- func (o *CreateHTTPCheckConflict) IsSuccess() bool
- func (o *CreateHTTPCheckConflict) String() string
- type CreateHTTPCheckCreated
- func (o *CreateHTTPCheckCreated) Code() int
- func (o *CreateHTTPCheckCreated) Error() string
- func (o *CreateHTTPCheckCreated) GetPayload() *models.HTTPCheck
- func (o *CreateHTTPCheckCreated) IsClientError() bool
- func (o *CreateHTTPCheckCreated) IsCode(code int) bool
- func (o *CreateHTTPCheckCreated) IsRedirect() bool
- func (o *CreateHTTPCheckCreated) IsServerError() bool
- func (o *CreateHTTPCheckCreated) IsSuccess() bool
- func (o *CreateHTTPCheckCreated) String() string
- type CreateHTTPCheckDefault
- func (o *CreateHTTPCheckDefault) Code() int
- func (o *CreateHTTPCheckDefault) Error() string
- func (o *CreateHTTPCheckDefault) GetPayload() *models.Error
- func (o *CreateHTTPCheckDefault) IsClientError() bool
- func (o *CreateHTTPCheckDefault) IsCode(code int) bool
- func (o *CreateHTTPCheckDefault) IsRedirect() bool
- func (o *CreateHTTPCheckDefault) IsServerError() bool
- func (o *CreateHTTPCheckDefault) IsSuccess() bool
- func (o *CreateHTTPCheckDefault) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteHTTPCheckAccepted) Code() int
- func (o *DeleteHTTPCheckAccepted) Error() string
- func (o *DeleteHTTPCheckAccepted) IsClientError() bool
- func (o *DeleteHTTPCheckAccepted) IsCode(code int) bool
- func (o *DeleteHTTPCheckAccepted) IsRedirect() bool
- func (o *DeleteHTTPCheckAccepted) IsServerError() bool
- func (o *DeleteHTTPCheckAccepted) IsSuccess() bool
- func (o *DeleteHTTPCheckAccepted) String() string
- type DeleteHTTPCheckDefault
- func (o *DeleteHTTPCheckDefault) Code() int
- func (o *DeleteHTTPCheckDefault) Error() string
- func (o *DeleteHTTPCheckDefault) GetPayload() *models.Error
- func (o *DeleteHTTPCheckDefault) IsClientError() bool
- func (o *DeleteHTTPCheckDefault) IsCode(code int) bool
- func (o *DeleteHTTPCheckDefault) IsRedirect() bool
- func (o *DeleteHTTPCheckDefault) IsServerError() bool
- func (o *DeleteHTTPCheckDefault) IsSuccess() bool
- func (o *DeleteHTTPCheckDefault) String() string
- type DeleteHTTPCheckNoContent
- func (o *DeleteHTTPCheckNoContent) Code() int
- func (o *DeleteHTTPCheckNoContent) Error() string
- func (o *DeleteHTTPCheckNoContent) IsClientError() bool
- func (o *DeleteHTTPCheckNoContent) IsCode(code int) bool
- func (o *DeleteHTTPCheckNoContent) IsRedirect() bool
- func (o *DeleteHTTPCheckNoContent) IsServerError() bool
- func (o *DeleteHTTPCheckNoContent) IsSuccess() bool
- func (o *DeleteHTTPCheckNoContent) String() string
- type DeleteHTTPCheckNotFound
- func (o *DeleteHTTPCheckNotFound) Code() int
- func (o *DeleteHTTPCheckNotFound) Error() string
- func (o *DeleteHTTPCheckNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPCheckNotFound) IsClientError() bool
- func (o *DeleteHTTPCheckNotFound) IsCode(code int) bool
- func (o *DeleteHTTPCheckNotFound) IsRedirect() bool
- func (o *DeleteHTTPCheckNotFound) IsServerError() bool
- func (o *DeleteHTTPCheckNotFound) IsSuccess() bool
- func (o *DeleteHTTPCheckNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetHTTPCheckDefault) Code() int
- func (o *GetHTTPCheckDefault) Error() string
- func (o *GetHTTPCheckDefault) GetPayload() *models.Error
- func (o *GetHTTPCheckDefault) IsClientError() bool
- func (o *GetHTTPCheckDefault) IsCode(code int) bool
- func (o *GetHTTPCheckDefault) IsRedirect() bool
- func (o *GetHTTPCheckDefault) IsServerError() bool
- func (o *GetHTTPCheckDefault) IsSuccess() bool
- func (o *GetHTTPCheckDefault) String() string
- type GetHTTPCheckNotFound
- func (o *GetHTTPCheckNotFound) Code() int
- func (o *GetHTTPCheckNotFound) Error() string
- func (o *GetHTTPCheckNotFound) GetPayload() *models.Error
- func (o *GetHTTPCheckNotFound) IsClientError() bool
- func (o *GetHTTPCheckNotFound) IsCode(code int) bool
- func (o *GetHTTPCheckNotFound) IsRedirect() bool
- func (o *GetHTTPCheckNotFound) IsServerError() bool
- func (o *GetHTTPCheckNotFound) IsSuccess() bool
- func (o *GetHTTPCheckNotFound) String() string
- type GetHTTPCheckOK
- func (o *GetHTTPCheckOK) Code() int
- func (o *GetHTTPCheckOK) Error() string
- func (o *GetHTTPCheckOK) GetPayload() *GetHTTPCheckOKBody
- func (o *GetHTTPCheckOK) IsClientError() bool
- func (o *GetHTTPCheckOK) IsCode(code int) bool
- func (o *GetHTTPCheckOK) IsRedirect() bool
- func (o *GetHTTPCheckOK) IsServerError() bool
- func (o *GetHTTPCheckOK) IsSuccess() bool
- func (o *GetHTTPCheckOK) String() string
- type GetHTTPCheckOKBody
- type GetHTTPCheckParams
- func (o *GetHTTPCheckParams) SetContext(ctx context.Context)
- func (o *GetHTTPCheckParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetHTTPChecksDefault) Code() int
- func (o *GetHTTPChecksDefault) Error() string
- func (o *GetHTTPChecksDefault) GetPayload() *models.Error
- func (o *GetHTTPChecksDefault) IsClientError() bool
- func (o *GetHTTPChecksDefault) IsCode(code int) bool
- func (o *GetHTTPChecksDefault) IsRedirect() bool
- func (o *GetHTTPChecksDefault) IsServerError() bool
- func (o *GetHTTPChecksDefault) IsSuccess() bool
- func (o *GetHTTPChecksDefault) String() string
- type GetHTTPChecksOK
- func (o *GetHTTPChecksOK) Code() int
- func (o *GetHTTPChecksOK) Error() string
- func (o *GetHTTPChecksOK) GetPayload() *GetHTTPChecksOKBody
- func (o *GetHTTPChecksOK) IsClientError() bool
- func (o *GetHTTPChecksOK) IsCode(code int) bool
- func (o *GetHTTPChecksOK) IsRedirect() bool
- func (o *GetHTTPChecksOK) IsServerError() bool
- func (o *GetHTTPChecksOK) IsSuccess() bool
- func (o *GetHTTPChecksOK) String() string
- type GetHTTPChecksOKBody
- type GetHTTPChecksParams
- func (o *GetHTTPChecksParams) SetContext(ctx context.Context)
- func (o *GetHTTPChecksParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *ReplaceHTTPCheckAccepted) Code() int
- func (o *ReplaceHTTPCheckAccepted) Error() string
- func (o *ReplaceHTTPCheckAccepted) GetPayload() *models.HTTPCheck
- func (o *ReplaceHTTPCheckAccepted) IsClientError() bool
- func (o *ReplaceHTTPCheckAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPCheckAccepted) IsRedirect() bool
- func (o *ReplaceHTTPCheckAccepted) IsServerError() bool
- func (o *ReplaceHTTPCheckAccepted) IsSuccess() bool
- func (o *ReplaceHTTPCheckAccepted) String() string
- type ReplaceHTTPCheckBadRequest
- func (o *ReplaceHTTPCheckBadRequest) Code() int
- func (o *ReplaceHTTPCheckBadRequest) Error() string
- func (o *ReplaceHTTPCheckBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPCheckBadRequest) IsClientError() bool
- func (o *ReplaceHTTPCheckBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPCheckBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPCheckBadRequest) IsServerError() bool
- func (o *ReplaceHTTPCheckBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPCheckBadRequest) String() string
- type ReplaceHTTPCheckDefault
- func (o *ReplaceHTTPCheckDefault) Code() int
- func (o *ReplaceHTTPCheckDefault) Error() string
- func (o *ReplaceHTTPCheckDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPCheckDefault) IsClientError() bool
- func (o *ReplaceHTTPCheckDefault) IsCode(code int) bool
- func (o *ReplaceHTTPCheckDefault) IsRedirect() bool
- func (o *ReplaceHTTPCheckDefault) IsServerError() bool
- func (o *ReplaceHTTPCheckDefault) IsSuccess() bool
- func (o *ReplaceHTTPCheckDefault) String() string
- type ReplaceHTTPCheckNotFound
- func (o *ReplaceHTTPCheckNotFound) Code() int
- func (o *ReplaceHTTPCheckNotFound) Error() string
- func (o *ReplaceHTTPCheckNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPCheckNotFound) IsClientError() bool
- func (o *ReplaceHTTPCheckNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPCheckNotFound) IsRedirect() bool
- func (o *ReplaceHTTPCheckNotFound) IsServerError() bool
- func (o *ReplaceHTTPCheckNotFound) IsSuccess() bool
- func (o *ReplaceHTTPCheckNotFound) String() string
- type ReplaceHTTPCheckOK
- func (o *ReplaceHTTPCheckOK) Code() int
- func (o *ReplaceHTTPCheckOK) Error() string
- func (o *ReplaceHTTPCheckOK) GetPayload() *models.HTTPCheck
- func (o *ReplaceHTTPCheckOK) IsClientError() bool
- func (o *ReplaceHTTPCheckOK) IsCode(code int) bool
- func (o *ReplaceHTTPCheckOK) IsRedirect() bool
- func (o *ReplaceHTTPCheckOK) IsServerError() bool
- func (o *ReplaceHTTPCheckOK) IsSuccess() bool
- func (o *ReplaceHTTPCheckOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateHTTPCheck(params *CreateHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPCheckCreated, *CreateHTTPCheckAccepted, error) DeleteHTTPCheck(params *DeleteHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPCheckAccepted, *DeleteHTTPCheckNoContent, error) GetHTTPCheck(params *GetHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPCheckOK, error) GetHTTPChecks(params *GetHTTPChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPChecksOK, error) ReplaceHTTPCheck(params *ReplaceHTTPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *CreateHTTPCheckAccepted) Code() int
Code gets the status code for the create Http check accepted response
func (*CreateHTTPCheckAccepted) Error ¶
func (o *CreateHTTPCheckAccepted) Error() string
func (*CreateHTTPCheckAccepted) GetPayload ¶
func (o *CreateHTTPCheckAccepted) GetPayload() *models.HTTPCheck
func (*CreateHTTPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) IsClientError() bool
IsClientError returns true when this create Http check accepted response has a 4xx status code
func (*CreateHTTPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) IsCode(code int) bool
IsCode returns true when this create Http check accepted response a status code equal to that given
func (*CreateHTTPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this create Http check accepted response has a 3xx status code
func (*CreateHTTPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) IsServerError() bool
IsServerError returns true when this create Http check accepted response has a 5xx status code
func (*CreateHTTPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this create Http check accepted response has a 2xx status code
func (*CreateHTTPCheckAccepted) String ¶ added in v1.1.0
func (o *CreateHTTPCheckAccepted) String() string
type CreateHTTPCheckBadRequest ¶
type CreateHTTPCheckBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPCheckBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHTTPCheckBadRequest ¶
func NewCreateHTTPCheckBadRequest() *CreateHTTPCheckBadRequest
NewCreateHTTPCheckBadRequest creates a CreateHTTPCheckBadRequest with default headers values
func (*CreateHTTPCheckBadRequest) Code ¶ added in v1.1.5
func (o *CreateHTTPCheckBadRequest) Code() int
Code gets the status code for the create Http check bad request response
func (*CreateHTTPCheckBadRequest) Error ¶
func (o *CreateHTTPCheckBadRequest) Error() string
func (*CreateHTTPCheckBadRequest) GetPayload ¶
func (o *CreateHTTPCheckBadRequest) GetPayload() *models.Error
func (*CreateHTTPCheckBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) IsClientError() bool
IsClientError returns true when this create Http check bad request response has a 4xx status code
func (*CreateHTTPCheckBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) IsCode(code int) bool
IsCode returns true when this create Http check bad request response a status code equal to that given
func (*CreateHTTPCheckBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this create Http check bad request response has a 3xx status code
func (*CreateHTTPCheckBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) IsServerError() bool
IsServerError returns true when this create Http check bad request response has a 5xx status code
func (*CreateHTTPCheckBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this create Http check bad request response has a 2xx status code
func (*CreateHTTPCheckBadRequest) String ¶ added in v1.1.0
func (o *CreateHTTPCheckBadRequest) String() string
type CreateHTTPCheckConflict ¶
type CreateHTTPCheckConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPCheckConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateHTTPCheckConflict ¶
func NewCreateHTTPCheckConflict() *CreateHTTPCheckConflict
NewCreateHTTPCheckConflict creates a CreateHTTPCheckConflict with default headers values
func (*CreateHTTPCheckConflict) Code ¶ added in v1.1.5
func (o *CreateHTTPCheckConflict) Code() int
Code gets the status code for the create Http check conflict response
func (*CreateHTTPCheckConflict) Error ¶
func (o *CreateHTTPCheckConflict) Error() string
func (*CreateHTTPCheckConflict) GetPayload ¶
func (o *CreateHTTPCheckConflict) GetPayload() *models.Error
func (*CreateHTTPCheckConflict) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) IsClientError() bool
IsClientError returns true when this create Http check conflict response has a 4xx status code
func (*CreateHTTPCheckConflict) IsCode ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) IsCode(code int) bool
IsCode returns true when this create Http check conflict response a status code equal to that given
func (*CreateHTTPCheckConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) IsRedirect() bool
IsRedirect returns true when this create Http check conflict response has a 3xx status code
func (*CreateHTTPCheckConflict) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) IsServerError() bool
IsServerError returns true when this create Http check conflict response has a 5xx status code
func (*CreateHTTPCheckConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) IsSuccess() bool
IsSuccess returns true when this create Http check conflict response has a 2xx status code
func (*CreateHTTPCheckConflict) String ¶ added in v1.1.0
func (o *CreateHTTPCheckConflict) String() string
type CreateHTTPCheckCreated ¶
CreateHTTPCheckCreated describes a response with status code 201, with default header values.
HTTP check created
func NewCreateHTTPCheckCreated ¶
func NewCreateHTTPCheckCreated() *CreateHTTPCheckCreated
NewCreateHTTPCheckCreated creates a CreateHTTPCheckCreated with default headers values
func (*CreateHTTPCheckCreated) Code ¶ added in v1.1.5
func (o *CreateHTTPCheckCreated) Code() int
Code gets the status code for the create Http check created response
func (*CreateHTTPCheckCreated) Error ¶
func (o *CreateHTTPCheckCreated) Error() string
func (*CreateHTTPCheckCreated) GetPayload ¶
func (o *CreateHTTPCheckCreated) GetPayload() *models.HTTPCheck
func (*CreateHTTPCheckCreated) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) IsClientError() bool
IsClientError returns true when this create Http check created response has a 4xx status code
func (*CreateHTTPCheckCreated) IsCode ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) IsCode(code int) bool
IsCode returns true when this create Http check created response a status code equal to that given
func (*CreateHTTPCheckCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) IsRedirect() bool
IsRedirect returns true when this create Http check created response has a 3xx status code
func (*CreateHTTPCheckCreated) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) IsServerError() bool
IsServerError returns true when this create Http check created response has a 5xx status code
func (*CreateHTTPCheckCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) IsSuccess() bool
IsSuccess returns true when this create Http check created response has a 2xx status code
func (*CreateHTTPCheckCreated) String ¶ added in v1.1.0
func (o *CreateHTTPCheckCreated) String() string
type CreateHTTPCheckDefault ¶
type CreateHTTPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPCheckDefault describes a response with status code -1, 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
func (*CreateHTTPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) IsClientError() bool
IsClientError returns true when this create HTTP check default response has a 4xx status code
func (*CreateHTTPCheckDefault) IsCode ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) IsCode(code int) bool
IsCode returns true when this create HTTP check default response a status code equal to that given
func (*CreateHTTPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) IsRedirect() bool
IsRedirect returns true when this create HTTP check default response has a 3xx status code
func (*CreateHTTPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) IsServerError() bool
IsServerError returns true when this create HTTP check default response has a 5xx status code
func (*CreateHTTPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) IsSuccess() bool
IsSuccess returns true when this create HTTP check default response has a 2xx status code
func (*CreateHTTPCheckDefault) String ¶ added in v1.1.0
func (o *CreateHTTPCheckDefault) String() string
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 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 NewCreateHTTPCheckParamsWithContext ¶
func NewCreateHTTPCheckParamsWithContext(ctx context.Context) *CreateHTTPCheckParams
NewCreateHTTPCheckParamsWithContext creates a new CreateHTTPCheckParams object with 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 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 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) SetDefaults ¶
func (o *CreateHTTPCheckParams) SetDefaults()
SetDefaults hydrates default values in the create HTTP check params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateHTTPCheckParams) WithDefaults() *CreateHTTPCheckParams
WithDefaults hydrates default values in the create HTTP check params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *DeleteHTTPCheckAccepted) Code() int
Code gets the status code for the delete Http check accepted response
func (*DeleteHTTPCheckAccepted) Error ¶
func (o *DeleteHTTPCheckAccepted) Error() string
func (*DeleteHTTPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) IsClientError() bool
IsClientError returns true when this delete Http check accepted response has a 4xx status code
func (*DeleteHTTPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) IsCode(code int) bool
IsCode returns true when this delete Http check accepted response a status code equal to that given
func (*DeleteHTTPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this delete Http check accepted response has a 3xx status code
func (*DeleteHTTPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) IsServerError() bool
IsServerError returns true when this delete Http check accepted response has a 5xx status code
func (*DeleteHTTPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this delete Http check accepted response has a 2xx status code
func (*DeleteHTTPCheckAccepted) String ¶ added in v1.1.0
func (o *DeleteHTTPCheckAccepted) String() string
type DeleteHTTPCheckDefault ¶
type DeleteHTTPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPCheckDefault describes a response with status code -1, 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
func (*DeleteHTTPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) IsClientError() bool
IsClientError returns true when this delete HTTP check default response has a 4xx status code
func (*DeleteHTTPCheckDefault) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) IsCode(code int) bool
IsCode returns true when this delete HTTP check default response a status code equal to that given
func (*DeleteHTTPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) IsRedirect() bool
IsRedirect returns true when this delete HTTP check default response has a 3xx status code
func (*DeleteHTTPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) IsServerError() bool
IsServerError returns true when this delete HTTP check default response has a 5xx status code
func (*DeleteHTTPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) IsSuccess() bool
IsSuccess returns true when this delete HTTP check default response has a 2xx status code
func (*DeleteHTTPCheckDefault) String ¶ added in v1.1.0
func (o *DeleteHTTPCheckDefault) String() string
type DeleteHTTPCheckNoContent ¶
type DeleteHTTPCheckNoContent struct { }
DeleteHTTPCheckNoContent describes a response with status code 204, with default header values.
HTTP check deleted
func NewDeleteHTTPCheckNoContent ¶
func NewDeleteHTTPCheckNoContent() *DeleteHTTPCheckNoContent
NewDeleteHTTPCheckNoContent creates a DeleteHTTPCheckNoContent with default headers values
func (*DeleteHTTPCheckNoContent) Code ¶ added in v1.1.5
func (o *DeleteHTTPCheckNoContent) Code() int
Code gets the status code for the delete Http check no content response
func (*DeleteHTTPCheckNoContent) Error ¶
func (o *DeleteHTTPCheckNoContent) Error() string
func (*DeleteHTTPCheckNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) IsClientError() bool
IsClientError returns true when this delete Http check no content response has a 4xx status code
func (*DeleteHTTPCheckNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) IsCode(code int) bool
IsCode returns true when this delete Http check no content response a status code equal to that given
func (*DeleteHTTPCheckNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) IsRedirect() bool
IsRedirect returns true when this delete Http check no content response has a 3xx status code
func (*DeleteHTTPCheckNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) IsServerError() bool
IsServerError returns true when this delete Http check no content response has a 5xx status code
func (*DeleteHTTPCheckNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) IsSuccess() bool
IsSuccess returns true when this delete Http check no content response has a 2xx status code
func (*DeleteHTTPCheckNoContent) String ¶ added in v1.1.0
func (o *DeleteHTTPCheckNoContent) String() string
type DeleteHTTPCheckNotFound ¶
type DeleteHTTPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPCheckNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *DeleteHTTPCheckNotFound) Code() int
Code gets the status code for the delete Http check not found response
func (*DeleteHTTPCheckNotFound) Error ¶
func (o *DeleteHTTPCheckNotFound) Error() string
func (*DeleteHTTPCheckNotFound) GetPayload ¶
func (o *DeleteHTTPCheckNotFound) GetPayload() *models.Error
func (*DeleteHTTPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) IsClientError() bool
IsClientError returns true when this delete Http check not found response has a 4xx status code
func (*DeleteHTTPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) IsCode(code int) bool
IsCode returns true when this delete Http check not found response a status code equal to that given
func (*DeleteHTTPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this delete Http check not found response has a 3xx status code
func (*DeleteHTTPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) IsServerError() bool
IsServerError returns true when this delete Http check not found response has a 5xx status code
func (*DeleteHTTPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this delete Http check not found response has a 2xx status code
func (*DeleteHTTPCheckNotFound) String ¶ added in v1.1.0
func (o *DeleteHTTPCheckNotFound) String() string
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 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 NewDeleteHTTPCheckParamsWithContext ¶
func NewDeleteHTTPCheckParamsWithContext(ctx context.Context) *DeleteHTTPCheckParams
NewDeleteHTTPCheckParamsWithContext creates a new DeleteHTTPCheckParams object with 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 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 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) SetDefaults ¶
func (o *DeleteHTTPCheckParams) SetDefaults()
SetDefaults hydrates default values in the delete HTTP check params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteHTTPCheckParams) WithDefaults() *DeleteHTTPCheckParams
WithDefaults hydrates default values in the delete HTTP check params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetHTTPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) IsClientError() bool
IsClientError returns true when this get HTTP check default response has a 4xx status code
func (*GetHTTPCheckDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) IsCode(code int) bool
IsCode returns true when this get HTTP check default response a status code equal to that given
func (*GetHTTPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP check default response has a 3xx status code
func (*GetHTTPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) IsServerError() bool
IsServerError returns true when this get HTTP check default response has a 5xx status code
func (*GetHTTPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP check default response has a 2xx status code
func (*GetHTTPCheckDefault) String ¶ added in v1.1.0
func (o *GetHTTPCheckDefault) String() string
type GetHTTPCheckNotFound ¶
type GetHTTPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPCheckNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *GetHTTPCheckNotFound) Code() int
Code gets the status code for the get Http check not found response
func (*GetHTTPCheckNotFound) Error ¶
func (o *GetHTTPCheckNotFound) Error() string
func (*GetHTTPCheckNotFound) GetPayload ¶
func (o *GetHTTPCheckNotFound) GetPayload() *models.Error
func (*GetHTTPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) IsClientError() bool
IsClientError returns true when this get Http check not found response has a 4xx status code
func (*GetHTTPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) IsCode(code int) bool
IsCode returns true when this get Http check not found response a status code equal to that given
func (*GetHTTPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this get Http check not found response has a 3xx status code
func (*GetHTTPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) IsServerError() bool
IsServerError returns true when this get Http check not found response has a 5xx status code
func (*GetHTTPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this get Http check not found response has a 2xx status code
func (*GetHTTPCheckNotFound) String ¶ added in v1.1.0
func (o *GetHTTPCheckNotFound) String() string
type GetHTTPCheckOK ¶
type GetHTTPCheckOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPCheckOKBody }
GetHTTPCheckOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPCheckOK ¶
func NewGetHTTPCheckOK() *GetHTTPCheckOK
NewGetHTTPCheckOK creates a GetHTTPCheckOK with default headers values
func (*GetHTTPCheckOK) Code ¶ added in v1.1.5
func (o *GetHTTPCheckOK) Code() int
Code gets the status code for the get Http check o k response
func (*GetHTTPCheckOK) Error ¶
func (o *GetHTTPCheckOK) Error() string
func (*GetHTTPCheckOK) GetPayload ¶
func (o *GetHTTPCheckOK) GetPayload() *GetHTTPCheckOKBody
func (*GetHTTPCheckOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPCheckOK) IsClientError() bool
IsClientError returns true when this get Http check o k response has a 4xx status code
func (*GetHTTPCheckOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPCheckOK) IsCode(code int) bool
IsCode returns true when this get Http check o k response a status code equal to that given
func (*GetHTTPCheckOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPCheckOK) IsRedirect() bool
IsRedirect returns true when this get Http check o k response has a 3xx status code
func (*GetHTTPCheckOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPCheckOK) IsServerError() bool
IsServerError returns true when this get Http check o k response has a 5xx status code
func (*GetHTTPCheckOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPCheckOK) IsSuccess() bool
IsSuccess returns true when this get Http check o k response has a 2xx status code
func (*GetHTTPCheckOK) String ¶ added in v1.1.0
func (o *GetHTTPCheckOK) String() string
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) ContextValidate ¶
ContextValidate validate this get HTTP check o k body based on the context it is used
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 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 NewGetHTTPCheckParamsWithContext ¶
func NewGetHTTPCheckParamsWithContext(ctx context.Context) *GetHTTPCheckParams
NewGetHTTPCheckParamsWithContext creates a new GetHTTPCheckParams object with 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 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 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) SetDefaults ¶
func (o *GetHTTPCheckParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP check params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetHTTPCheckParams) WithDefaults() *GetHTTPCheckParams
WithDefaults hydrates default values in the get HTTP check params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetHTTPChecksDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) IsClientError() bool
IsClientError returns true when this get HTTP checks default response has a 4xx status code
func (*GetHTTPChecksDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) IsCode(code int) bool
IsCode returns true when this get HTTP checks default response a status code equal to that given
func (*GetHTTPChecksDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP checks default response has a 3xx status code
func (*GetHTTPChecksDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) IsServerError() bool
IsServerError returns true when this get HTTP checks default response has a 5xx status code
func (*GetHTTPChecksDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP checks default response has a 2xx status code
func (*GetHTTPChecksDefault) String ¶ added in v1.1.0
func (o *GetHTTPChecksDefault) String() string
type GetHTTPChecksOK ¶
type GetHTTPChecksOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPChecksOKBody }
GetHTTPChecksOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPChecksOK ¶
func NewGetHTTPChecksOK() *GetHTTPChecksOK
NewGetHTTPChecksOK creates a GetHTTPChecksOK with default headers values
func (*GetHTTPChecksOK) Code ¶ added in v1.1.5
func (o *GetHTTPChecksOK) Code() int
Code gets the status code for the get Http checks o k response
func (*GetHTTPChecksOK) Error ¶
func (o *GetHTTPChecksOK) Error() string
func (*GetHTTPChecksOK) GetPayload ¶
func (o *GetHTTPChecksOK) GetPayload() *GetHTTPChecksOKBody
func (*GetHTTPChecksOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPChecksOK) IsClientError() bool
IsClientError returns true when this get Http checks o k response has a 4xx status code
func (*GetHTTPChecksOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPChecksOK) IsCode(code int) bool
IsCode returns true when this get Http checks o k response a status code equal to that given
func (*GetHTTPChecksOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPChecksOK) IsRedirect() bool
IsRedirect returns true when this get Http checks o k response has a 3xx status code
func (*GetHTTPChecksOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPChecksOK) IsServerError() bool
IsServerError returns true when this get Http checks o k response has a 5xx status code
func (*GetHTTPChecksOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPChecksOK) IsSuccess() bool
IsSuccess returns true when this get Http checks o k response has a 2xx status code
func (*GetHTTPChecksOK) String ¶ added in v1.1.0
func (o *GetHTTPChecksOK) String() string
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) ContextValidate ¶
ContextValidate validate this get HTTP checks o k body based on the context it is used
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 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 NewGetHTTPChecksParamsWithContext ¶
func NewGetHTTPChecksParamsWithContext(ctx context.Context) *GetHTTPChecksParams
NewGetHTTPChecksParamsWithContext creates a new GetHTTPChecksParams object with 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 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 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) SetDefaults ¶
func (o *GetHTTPChecksParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP checks params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetHTTPChecksParams) WithDefaults() *GetHTTPChecksParams
WithDefaults hydrates default values in the get HTTP checks params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPCheckAccepted) Code() int
Code gets the status code for the replace Http check accepted response
func (*ReplaceHTTPCheckAccepted) Error ¶
func (o *ReplaceHTTPCheckAccepted) Error() string
func (*ReplaceHTTPCheckAccepted) GetPayload ¶
func (o *ReplaceHTTPCheckAccepted) GetPayload() *models.HTTPCheck
func (*ReplaceHTTPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) IsClientError() bool
IsClientError returns true when this replace Http check accepted response has a 4xx status code
func (*ReplaceHTTPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) IsCode(code int) bool
IsCode returns true when this replace Http check accepted response a status code equal to that given
func (*ReplaceHTTPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this replace Http check accepted response has a 3xx status code
func (*ReplaceHTTPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) IsServerError() bool
IsServerError returns true when this replace Http check accepted response has a 5xx status code
func (*ReplaceHTTPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this replace Http check accepted response has a 2xx status code
func (*ReplaceHTTPCheckAccepted) String ¶ added in v1.1.0
func (o *ReplaceHTTPCheckAccepted) String() string
type ReplaceHTTPCheckBadRequest ¶
type ReplaceHTTPCheckBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPCheckBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceHTTPCheckBadRequest ¶
func NewReplaceHTTPCheckBadRequest() *ReplaceHTTPCheckBadRequest
NewReplaceHTTPCheckBadRequest creates a ReplaceHTTPCheckBadRequest with default headers values
func (*ReplaceHTTPCheckBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceHTTPCheckBadRequest) Code() int
Code gets the status code for the replace Http check bad request response
func (*ReplaceHTTPCheckBadRequest) Error ¶
func (o *ReplaceHTTPCheckBadRequest) Error() string
func (*ReplaceHTTPCheckBadRequest) GetPayload ¶
func (o *ReplaceHTTPCheckBadRequest) GetPayload() *models.Error
func (*ReplaceHTTPCheckBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) IsClientError() bool
IsClientError returns true when this replace Http check bad request response has a 4xx status code
func (*ReplaceHTTPCheckBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) IsCode(code int) bool
IsCode returns true when this replace Http check bad request response a status code equal to that given
func (*ReplaceHTTPCheckBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Http check bad request response has a 3xx status code
func (*ReplaceHTTPCheckBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) IsServerError() bool
IsServerError returns true when this replace Http check bad request response has a 5xx status code
func (*ReplaceHTTPCheckBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http check bad request response has a 2xx status code
func (*ReplaceHTTPCheckBadRequest) String ¶ added in v1.1.0
func (o *ReplaceHTTPCheckBadRequest) String() string
type ReplaceHTTPCheckDefault ¶
type ReplaceHTTPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPCheckDefault describes a response with status code -1, 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
func (*ReplaceHTTPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) IsClientError() bool
IsClientError returns true when this replace HTTP check default response has a 4xx status code
func (*ReplaceHTTPCheckDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) IsCode(code int) bool
IsCode returns true when this replace HTTP check default response a status code equal to that given
func (*ReplaceHTTPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) IsRedirect() bool
IsRedirect returns true when this replace HTTP check default response has a 3xx status code
func (*ReplaceHTTPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) IsServerError() bool
IsServerError returns true when this replace HTTP check default response has a 5xx status code
func (*ReplaceHTTPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) IsSuccess() bool
IsSuccess returns true when this replace HTTP check default response has a 2xx status code
func (*ReplaceHTTPCheckDefault) String ¶ added in v1.1.0
func (o *ReplaceHTTPCheckDefault) String() string
type ReplaceHTTPCheckNotFound ¶
type ReplaceHTTPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPCheckNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *ReplaceHTTPCheckNotFound) Code() int
Code gets the status code for the replace Http check not found response
func (*ReplaceHTTPCheckNotFound) Error ¶
func (o *ReplaceHTTPCheckNotFound) Error() string
func (*ReplaceHTTPCheckNotFound) GetPayload ¶
func (o *ReplaceHTTPCheckNotFound) GetPayload() *models.Error
func (*ReplaceHTTPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) IsClientError() bool
IsClientError returns true when this replace Http check not found response has a 4xx status code
func (*ReplaceHTTPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) IsCode(code int) bool
IsCode returns true when this replace Http check not found response a status code equal to that given
func (*ReplaceHTTPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this replace Http check not found response has a 3xx status code
func (*ReplaceHTTPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) IsServerError() bool
IsServerError returns true when this replace Http check not found response has a 5xx status code
func (*ReplaceHTTPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this replace Http check not found response has a 2xx status code
func (*ReplaceHTTPCheckNotFound) String ¶ added in v1.1.0
func (o *ReplaceHTTPCheckNotFound) String() string
type ReplaceHTTPCheckOK ¶
ReplaceHTTPCheckOK describes a response with status code 200, with default header values.
HTTP check replaced
func NewReplaceHTTPCheckOK ¶
func NewReplaceHTTPCheckOK() *ReplaceHTTPCheckOK
NewReplaceHTTPCheckOK creates a ReplaceHTTPCheckOK with default headers values
func (*ReplaceHTTPCheckOK) Code ¶ added in v1.1.5
func (o *ReplaceHTTPCheckOK) Code() int
Code gets the status code for the replace Http check o k response
func (*ReplaceHTTPCheckOK) Error ¶
func (o *ReplaceHTTPCheckOK) Error() string
func (*ReplaceHTTPCheckOK) GetPayload ¶
func (o *ReplaceHTTPCheckOK) GetPayload() *models.HTTPCheck
func (*ReplaceHTTPCheckOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) IsClientError() bool
IsClientError returns true when this replace Http check o k response has a 4xx status code
func (*ReplaceHTTPCheckOK) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) IsCode(code int) bool
IsCode returns true when this replace Http check o k response a status code equal to that given
func (*ReplaceHTTPCheckOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) IsRedirect() bool
IsRedirect returns true when this replace Http check o k response has a 3xx status code
func (*ReplaceHTTPCheckOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) IsServerError() bool
IsServerError returns true when this replace Http check o k response has a 5xx status code
func (*ReplaceHTTPCheckOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) IsSuccess() bool
IsSuccess returns true when this replace Http check o k response has a 2xx status code
func (*ReplaceHTTPCheckOK) String ¶ added in v1.1.0
func (o *ReplaceHTTPCheckOK) String() string
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 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 NewReplaceHTTPCheckParamsWithContext ¶
func NewReplaceHTTPCheckParamsWithContext(ctx context.Context) *ReplaceHTTPCheckParams
NewReplaceHTTPCheckParamsWithContext creates a new ReplaceHTTPCheckParams object with 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 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 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) SetDefaults ¶
func (o *ReplaceHTTPCheckParams) SetDefaults()
SetDefaults hydrates default values in the replace HTTP check params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *ReplaceHTTPCheckParams) WithDefaults() *ReplaceHTTPCheckParams
WithDefaults hydrates default values in the replace HTTP check params (not the query body).
All values with no default are reset to their zero value.
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