Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTCPCheck(params *CreateTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTCPCheckCreated, *CreateTCPCheckAccepted, error)
- func (a *Client) DeleteTCPCheck(params *DeleteTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTCPCheckAccepted, *DeleteTCPCheckNoContent, error)
- func (a *Client) GetTCPCheck(params *GetTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTCPCheckOK, error)
- func (a *Client) GetTCPChecks(params *GetTCPChecksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTCPChecksOK, error)
- func (a *Client) ReplaceTCPCheck(params *ReplaceTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceTCPCheckOK, *ReplaceTCPCheckAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTCPCheckAccepted
- func (o *CreateTCPCheckAccepted) Error() string
- func (o *CreateTCPCheckAccepted) GetPayload() *models.TCPCheck
- func (o *CreateTCPCheckAccepted) IsClientError() bool
- func (o *CreateTCPCheckAccepted) IsCode(code int) bool
- func (o *CreateTCPCheckAccepted) IsRedirect() bool
- func (o *CreateTCPCheckAccepted) IsServerError() bool
- func (o *CreateTCPCheckAccepted) IsSuccess() bool
- func (o *CreateTCPCheckAccepted) String() string
- type CreateTCPCheckBadRequest
- func (o *CreateTCPCheckBadRequest) Error() string
- func (o *CreateTCPCheckBadRequest) GetPayload() *models.Error
- func (o *CreateTCPCheckBadRequest) IsClientError() bool
- func (o *CreateTCPCheckBadRequest) IsCode(code int) bool
- func (o *CreateTCPCheckBadRequest) IsRedirect() bool
- func (o *CreateTCPCheckBadRequest) IsServerError() bool
- func (o *CreateTCPCheckBadRequest) IsSuccess() bool
- func (o *CreateTCPCheckBadRequest) String() string
- type CreateTCPCheckConflict
- func (o *CreateTCPCheckConflict) Error() string
- func (o *CreateTCPCheckConflict) GetPayload() *models.Error
- func (o *CreateTCPCheckConflict) IsClientError() bool
- func (o *CreateTCPCheckConflict) IsCode(code int) bool
- func (o *CreateTCPCheckConflict) IsRedirect() bool
- func (o *CreateTCPCheckConflict) IsServerError() bool
- func (o *CreateTCPCheckConflict) IsSuccess() bool
- func (o *CreateTCPCheckConflict) String() string
- type CreateTCPCheckCreated
- func (o *CreateTCPCheckCreated) Error() string
- func (o *CreateTCPCheckCreated) GetPayload() *models.TCPCheck
- func (o *CreateTCPCheckCreated) IsClientError() bool
- func (o *CreateTCPCheckCreated) IsCode(code int) bool
- func (o *CreateTCPCheckCreated) IsRedirect() bool
- func (o *CreateTCPCheckCreated) IsServerError() bool
- func (o *CreateTCPCheckCreated) IsSuccess() bool
- func (o *CreateTCPCheckCreated) String() string
- type CreateTCPCheckDefault
- func (o *CreateTCPCheckDefault) Code() int
- func (o *CreateTCPCheckDefault) Error() string
- func (o *CreateTCPCheckDefault) GetPayload() *models.Error
- func (o *CreateTCPCheckDefault) IsClientError() bool
- func (o *CreateTCPCheckDefault) IsCode(code int) bool
- func (o *CreateTCPCheckDefault) IsRedirect() bool
- func (o *CreateTCPCheckDefault) IsServerError() bool
- func (o *CreateTCPCheckDefault) IsSuccess() bool
- func (o *CreateTCPCheckDefault) String() string
- type CreateTCPCheckParams
- func NewCreateTCPCheckParams() *CreateTCPCheckParams
- func NewCreateTCPCheckParamsWithContext(ctx context.Context) *CreateTCPCheckParams
- func NewCreateTCPCheckParamsWithHTTPClient(client *http.Client) *CreateTCPCheckParams
- func NewCreateTCPCheckParamsWithTimeout(timeout time.Duration) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) SetContext(ctx context.Context)
- func (o *CreateTCPCheckParams) SetData(data *models.TCPCheck)
- func (o *CreateTCPCheckParams) SetDefaults()
- func (o *CreateTCPCheckParams) SetForceReload(forceReload *bool)
- func (o *CreateTCPCheckParams) SetHTTPClient(client *http.Client)
- func (o *CreateTCPCheckParams) SetParentName(parentName *string)
- func (o *CreateTCPCheckParams) SetParentType(parentType string)
- func (o *CreateTCPCheckParams) SetTimeout(timeout time.Duration)
- func (o *CreateTCPCheckParams) SetTransactionID(transactionID *string)
- func (o *CreateTCPCheckParams) SetVersion(version *int64)
- func (o *CreateTCPCheckParams) WithContext(ctx context.Context) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithData(data *models.TCPCheck) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithDefaults() *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithForceReload(forceReload *bool) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithHTTPClient(client *http.Client) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithParentName(parentName *string) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithParentType(parentType string) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithTimeout(timeout time.Duration) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithTransactionID(transactionID *string) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WithVersion(version *int64) *CreateTCPCheckParams
- func (o *CreateTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTCPCheckReader
- type DeleteTCPCheckAccepted
- func (o *DeleteTCPCheckAccepted) Error() string
- func (o *DeleteTCPCheckAccepted) IsClientError() bool
- func (o *DeleteTCPCheckAccepted) IsCode(code int) bool
- func (o *DeleteTCPCheckAccepted) IsRedirect() bool
- func (o *DeleteTCPCheckAccepted) IsServerError() bool
- func (o *DeleteTCPCheckAccepted) IsSuccess() bool
- func (o *DeleteTCPCheckAccepted) String() string
- type DeleteTCPCheckDefault
- func (o *DeleteTCPCheckDefault) Code() int
- func (o *DeleteTCPCheckDefault) Error() string
- func (o *DeleteTCPCheckDefault) GetPayload() *models.Error
- func (o *DeleteTCPCheckDefault) IsClientError() bool
- func (o *DeleteTCPCheckDefault) IsCode(code int) bool
- func (o *DeleteTCPCheckDefault) IsRedirect() bool
- func (o *DeleteTCPCheckDefault) IsServerError() bool
- func (o *DeleteTCPCheckDefault) IsSuccess() bool
- func (o *DeleteTCPCheckDefault) String() string
- type DeleteTCPCheckNoContent
- func (o *DeleteTCPCheckNoContent) Error() string
- func (o *DeleteTCPCheckNoContent) IsClientError() bool
- func (o *DeleteTCPCheckNoContent) IsCode(code int) bool
- func (o *DeleteTCPCheckNoContent) IsRedirect() bool
- func (o *DeleteTCPCheckNoContent) IsServerError() bool
- func (o *DeleteTCPCheckNoContent) IsSuccess() bool
- func (o *DeleteTCPCheckNoContent) String() string
- type DeleteTCPCheckNotFound
- func (o *DeleteTCPCheckNotFound) Error() string
- func (o *DeleteTCPCheckNotFound) GetPayload() *models.Error
- func (o *DeleteTCPCheckNotFound) IsClientError() bool
- func (o *DeleteTCPCheckNotFound) IsCode(code int) bool
- func (o *DeleteTCPCheckNotFound) IsRedirect() bool
- func (o *DeleteTCPCheckNotFound) IsServerError() bool
- func (o *DeleteTCPCheckNotFound) IsSuccess() bool
- func (o *DeleteTCPCheckNotFound) String() string
- type DeleteTCPCheckParams
- func NewDeleteTCPCheckParams() *DeleteTCPCheckParams
- func NewDeleteTCPCheckParamsWithContext(ctx context.Context) *DeleteTCPCheckParams
- func NewDeleteTCPCheckParamsWithHTTPClient(client *http.Client) *DeleteTCPCheckParams
- func NewDeleteTCPCheckParamsWithTimeout(timeout time.Duration) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) SetContext(ctx context.Context)
- func (o *DeleteTCPCheckParams) SetDefaults()
- func (o *DeleteTCPCheckParams) SetForceReload(forceReload *bool)
- func (o *DeleteTCPCheckParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTCPCheckParams) SetIndex(index int64)
- func (o *DeleteTCPCheckParams) SetParentName(parentName *string)
- func (o *DeleteTCPCheckParams) SetParentType(parentType string)
- func (o *DeleteTCPCheckParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTCPCheckParams) SetTransactionID(transactionID *string)
- func (o *DeleteTCPCheckParams) SetVersion(version *int64)
- func (o *DeleteTCPCheckParams) WithContext(ctx context.Context) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithDefaults() *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithForceReload(forceReload *bool) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithHTTPClient(client *http.Client) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithIndex(index int64) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithParentName(parentName *string) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithParentType(parentType string) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithTimeout(timeout time.Duration) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithTransactionID(transactionID *string) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WithVersion(version *int64) *DeleteTCPCheckParams
- func (o *DeleteTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTCPCheckReader
- type GetTCPCheckDefault
- func (o *GetTCPCheckDefault) Code() int
- func (o *GetTCPCheckDefault) Error() string
- func (o *GetTCPCheckDefault) GetPayload() *models.Error
- func (o *GetTCPCheckDefault) IsClientError() bool
- func (o *GetTCPCheckDefault) IsCode(code int) bool
- func (o *GetTCPCheckDefault) IsRedirect() bool
- func (o *GetTCPCheckDefault) IsServerError() bool
- func (o *GetTCPCheckDefault) IsSuccess() bool
- func (o *GetTCPCheckDefault) String() string
- type GetTCPCheckNotFound
- func (o *GetTCPCheckNotFound) Error() string
- func (o *GetTCPCheckNotFound) GetPayload() *models.Error
- func (o *GetTCPCheckNotFound) IsClientError() bool
- func (o *GetTCPCheckNotFound) IsCode(code int) bool
- func (o *GetTCPCheckNotFound) IsRedirect() bool
- func (o *GetTCPCheckNotFound) IsServerError() bool
- func (o *GetTCPCheckNotFound) IsSuccess() bool
- func (o *GetTCPCheckNotFound) String() string
- type GetTCPCheckOK
- func (o *GetTCPCheckOK) Error() string
- func (o *GetTCPCheckOK) GetPayload() *GetTCPCheckOKBody
- func (o *GetTCPCheckOK) IsClientError() bool
- func (o *GetTCPCheckOK) IsCode(code int) bool
- func (o *GetTCPCheckOK) IsRedirect() bool
- func (o *GetTCPCheckOK) IsServerError() bool
- func (o *GetTCPCheckOK) IsSuccess() bool
- func (o *GetTCPCheckOK) String() string
- type GetTCPCheckOKBody
- type GetTCPCheckParams
- func (o *GetTCPCheckParams) SetContext(ctx context.Context)
- func (o *GetTCPCheckParams) SetDefaults()
- func (o *GetTCPCheckParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPCheckParams) SetIndex(index int64)
- func (o *GetTCPCheckParams) SetParentName(parentName *string)
- func (o *GetTCPCheckParams) SetParentType(parentType string)
- func (o *GetTCPCheckParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPCheckParams) SetTransactionID(transactionID *string)
- func (o *GetTCPCheckParams) WithContext(ctx context.Context) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithDefaults() *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithHTTPClient(client *http.Client) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithIndex(index int64) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithParentName(parentName *string) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithParentType(parentType string) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithTimeout(timeout time.Duration) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WithTransactionID(transactionID *string) *GetTCPCheckParams
- func (o *GetTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPCheckReader
- type GetTCPChecksDefault
- func (o *GetTCPChecksDefault) Code() int
- func (o *GetTCPChecksDefault) Error() string
- func (o *GetTCPChecksDefault) GetPayload() *models.Error
- func (o *GetTCPChecksDefault) IsClientError() bool
- func (o *GetTCPChecksDefault) IsCode(code int) bool
- func (o *GetTCPChecksDefault) IsRedirect() bool
- func (o *GetTCPChecksDefault) IsServerError() bool
- func (o *GetTCPChecksDefault) IsSuccess() bool
- func (o *GetTCPChecksDefault) String() string
- type GetTCPChecksOK
- func (o *GetTCPChecksOK) Error() string
- func (o *GetTCPChecksOK) GetPayload() *GetTCPChecksOKBody
- func (o *GetTCPChecksOK) IsClientError() bool
- func (o *GetTCPChecksOK) IsCode(code int) bool
- func (o *GetTCPChecksOK) IsRedirect() bool
- func (o *GetTCPChecksOK) IsServerError() bool
- func (o *GetTCPChecksOK) IsSuccess() bool
- func (o *GetTCPChecksOK) String() string
- type GetTCPChecksOKBody
- type GetTCPChecksParams
- func (o *GetTCPChecksParams) SetContext(ctx context.Context)
- func (o *GetTCPChecksParams) SetDefaults()
- func (o *GetTCPChecksParams) SetHTTPClient(client *http.Client)
- func (o *GetTCPChecksParams) SetParentName(parentName *string)
- func (o *GetTCPChecksParams) SetParentType(parentType string)
- func (o *GetTCPChecksParams) SetTimeout(timeout time.Duration)
- func (o *GetTCPChecksParams) SetTransactionID(transactionID *string)
- func (o *GetTCPChecksParams) WithContext(ctx context.Context) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithDefaults() *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithHTTPClient(client *http.Client) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithParentName(parentName *string) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithParentType(parentType string) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithTimeout(timeout time.Duration) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WithTransactionID(transactionID *string) *GetTCPChecksParams
- func (o *GetTCPChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTCPChecksReader
- type ReplaceTCPCheckAccepted
- func (o *ReplaceTCPCheckAccepted) Error() string
- func (o *ReplaceTCPCheckAccepted) GetPayload() *models.TCPCheck
- func (o *ReplaceTCPCheckAccepted) IsClientError() bool
- func (o *ReplaceTCPCheckAccepted) IsCode(code int) bool
- func (o *ReplaceTCPCheckAccepted) IsRedirect() bool
- func (o *ReplaceTCPCheckAccepted) IsServerError() bool
- func (o *ReplaceTCPCheckAccepted) IsSuccess() bool
- func (o *ReplaceTCPCheckAccepted) String() string
- type ReplaceTCPCheckBadRequest
- func (o *ReplaceTCPCheckBadRequest) Error() string
- func (o *ReplaceTCPCheckBadRequest) GetPayload() *models.Error
- func (o *ReplaceTCPCheckBadRequest) IsClientError() bool
- func (o *ReplaceTCPCheckBadRequest) IsCode(code int) bool
- func (o *ReplaceTCPCheckBadRequest) IsRedirect() bool
- func (o *ReplaceTCPCheckBadRequest) IsServerError() bool
- func (o *ReplaceTCPCheckBadRequest) IsSuccess() bool
- func (o *ReplaceTCPCheckBadRequest) String() string
- type ReplaceTCPCheckDefault
- func (o *ReplaceTCPCheckDefault) Code() int
- func (o *ReplaceTCPCheckDefault) Error() string
- func (o *ReplaceTCPCheckDefault) GetPayload() *models.Error
- func (o *ReplaceTCPCheckDefault) IsClientError() bool
- func (o *ReplaceTCPCheckDefault) IsCode(code int) bool
- func (o *ReplaceTCPCheckDefault) IsRedirect() bool
- func (o *ReplaceTCPCheckDefault) IsServerError() bool
- func (o *ReplaceTCPCheckDefault) IsSuccess() bool
- func (o *ReplaceTCPCheckDefault) String() string
- type ReplaceTCPCheckNotFound
- func (o *ReplaceTCPCheckNotFound) Error() string
- func (o *ReplaceTCPCheckNotFound) GetPayload() *models.Error
- func (o *ReplaceTCPCheckNotFound) IsClientError() bool
- func (o *ReplaceTCPCheckNotFound) IsCode(code int) bool
- func (o *ReplaceTCPCheckNotFound) IsRedirect() bool
- func (o *ReplaceTCPCheckNotFound) IsServerError() bool
- func (o *ReplaceTCPCheckNotFound) IsSuccess() bool
- func (o *ReplaceTCPCheckNotFound) String() string
- type ReplaceTCPCheckOK
- func (o *ReplaceTCPCheckOK) Error() string
- func (o *ReplaceTCPCheckOK) GetPayload() *models.TCPCheck
- func (o *ReplaceTCPCheckOK) IsClientError() bool
- func (o *ReplaceTCPCheckOK) IsCode(code int) bool
- func (o *ReplaceTCPCheckOK) IsRedirect() bool
- func (o *ReplaceTCPCheckOK) IsServerError() bool
- func (o *ReplaceTCPCheckOK) IsSuccess() bool
- func (o *ReplaceTCPCheckOK) String() string
- type ReplaceTCPCheckParams
- func NewReplaceTCPCheckParams() *ReplaceTCPCheckParams
- func NewReplaceTCPCheckParamsWithContext(ctx context.Context) *ReplaceTCPCheckParams
- func NewReplaceTCPCheckParamsWithHTTPClient(client *http.Client) *ReplaceTCPCheckParams
- func NewReplaceTCPCheckParamsWithTimeout(timeout time.Duration) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) SetContext(ctx context.Context)
- func (o *ReplaceTCPCheckParams) SetData(data *models.TCPCheck)
- func (o *ReplaceTCPCheckParams) SetDefaults()
- func (o *ReplaceTCPCheckParams) SetForceReload(forceReload *bool)
- func (o *ReplaceTCPCheckParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceTCPCheckParams) SetIndex(index int64)
- func (o *ReplaceTCPCheckParams) SetParentName(parentName *string)
- func (o *ReplaceTCPCheckParams) SetParentType(parentType string)
- func (o *ReplaceTCPCheckParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceTCPCheckParams) SetTransactionID(transactionID *string)
- func (o *ReplaceTCPCheckParams) SetVersion(version *int64)
- func (o *ReplaceTCPCheckParams) WithContext(ctx context.Context) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithData(data *models.TCPCheck) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithDefaults() *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithForceReload(forceReload *bool) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithHTTPClient(client *http.Client) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithIndex(index int64) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithParentName(parentName *string) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithParentType(parentType string) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithTimeout(timeout time.Duration) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithTransactionID(transactionID *string) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WithVersion(version *int64) *ReplaceTCPCheckParams
- func (o *ReplaceTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceTCPCheckReader
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 tcp check API
func (*Client) CreateTCPCheck ¶
func (a *Client) CreateTCPCheck(params *CreateTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTCPCheckCreated, *CreateTCPCheckAccepted, error)
CreateTCPCheck adds a new TCP check
Adds a new TCP check of the specified type in the specified parent.
func (*Client) DeleteTCPCheck ¶
func (a *Client) DeleteTCPCheck(params *DeleteTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTCPCheckAccepted, *DeleteTCPCheckNoContent, error)
DeleteTCPCheck deletes a TCP check
Deletes a TCP check configuration by it's index from the specified parent.
func (*Client) GetTCPCheck ¶
func (a *Client) GetTCPCheck(params *GetTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPCheckOK, error)
GetTCPCheck returns one TCP check
Returns one TCP check configuration by it's index in the specified parent.
func (*Client) GetTCPChecks ¶
func (a *Client) GetTCPChecks(params *GetTCPChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPChecksOK, error)
GetTCPChecks returns an array of TCP checks
Returns all TCP checks that are configured in specified parent.
func (*Client) ReplaceTCPCheck ¶
func (a *Client) ReplaceTCPCheck(params *ReplaceTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTCPCheckOK, *ReplaceTCPCheckAccepted, error)
ReplaceTCPCheck replaces a TCP check
Replaces a TCP 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 { CreateTCPCheck(params *CreateTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTCPCheckCreated, *CreateTCPCheckAccepted, error) DeleteTCPCheck(params *DeleteTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTCPCheckAccepted, *DeleteTCPCheckNoContent, error) GetTCPCheck(params *GetTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPCheckOK, error) GetTCPChecks(params *GetTCPChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPChecksOK, error) ReplaceTCPCheck(params *ReplaceTCPCheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTCPCheckOK, *ReplaceTCPCheckAccepted, 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 tcp check API client.
type CreateTCPCheckAccepted ¶
type CreateTCPCheckAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.TCPCheck }
CreateTCPCheckAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateTCPCheckAccepted ¶
func NewCreateTCPCheckAccepted() *CreateTCPCheckAccepted
NewCreateTCPCheckAccepted creates a CreateTCPCheckAccepted with default headers values
func (*CreateTCPCheckAccepted) Error ¶
func (o *CreateTCPCheckAccepted) Error() string
func (*CreateTCPCheckAccepted) GetPayload ¶
func (o *CreateTCPCheckAccepted) GetPayload() *models.TCPCheck
func (*CreateTCPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) IsClientError() bool
IsClientError returns true when this create Tcp check accepted response has a 4xx status code
func (*CreateTCPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) IsCode(code int) bool
IsCode returns true when this create Tcp check accepted response a status code equal to that given
func (*CreateTCPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this create Tcp check accepted response has a 3xx status code
func (*CreateTCPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) IsServerError() bool
IsServerError returns true when this create Tcp check accepted response has a 5xx status code
func (*CreateTCPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this create Tcp check accepted response has a 2xx status code
func (*CreateTCPCheckAccepted) String ¶ added in v1.1.0
func (o *CreateTCPCheckAccepted) String() string
type CreateTCPCheckBadRequest ¶
type CreateTCPCheckBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPCheckBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateTCPCheckBadRequest ¶
func NewCreateTCPCheckBadRequest() *CreateTCPCheckBadRequest
NewCreateTCPCheckBadRequest creates a CreateTCPCheckBadRequest with default headers values
func (*CreateTCPCheckBadRequest) Error ¶
func (o *CreateTCPCheckBadRequest) Error() string
func (*CreateTCPCheckBadRequest) GetPayload ¶
func (o *CreateTCPCheckBadRequest) GetPayload() *models.Error
func (*CreateTCPCheckBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) IsClientError() bool
IsClientError returns true when this create Tcp check bad request response has a 4xx status code
func (*CreateTCPCheckBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) IsCode(code int) bool
IsCode returns true when this create Tcp check bad request response a status code equal to that given
func (*CreateTCPCheckBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this create Tcp check bad request response has a 3xx status code
func (*CreateTCPCheckBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) IsServerError() bool
IsServerError returns true when this create Tcp check bad request response has a 5xx status code
func (*CreateTCPCheckBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this create Tcp check bad request response has a 2xx status code
func (*CreateTCPCheckBadRequest) String ¶ added in v1.1.0
func (o *CreateTCPCheckBadRequest) String() string
type CreateTCPCheckConflict ¶
type CreateTCPCheckConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTCPCheckConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateTCPCheckConflict ¶
func NewCreateTCPCheckConflict() *CreateTCPCheckConflict
NewCreateTCPCheckConflict creates a CreateTCPCheckConflict with default headers values
func (*CreateTCPCheckConflict) Error ¶
func (o *CreateTCPCheckConflict) Error() string
func (*CreateTCPCheckConflict) GetPayload ¶
func (o *CreateTCPCheckConflict) GetPayload() *models.Error
func (*CreateTCPCheckConflict) IsClientError ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) IsClientError() bool
IsClientError returns true when this create Tcp check conflict response has a 4xx status code
func (*CreateTCPCheckConflict) IsCode ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) IsCode(code int) bool
IsCode returns true when this create Tcp check conflict response a status code equal to that given
func (*CreateTCPCheckConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) IsRedirect() bool
IsRedirect returns true when this create Tcp check conflict response has a 3xx status code
func (*CreateTCPCheckConflict) IsServerError ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) IsServerError() bool
IsServerError returns true when this create Tcp check conflict response has a 5xx status code
func (*CreateTCPCheckConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) IsSuccess() bool
IsSuccess returns true when this create Tcp check conflict response has a 2xx status code
func (*CreateTCPCheckConflict) String ¶ added in v1.1.0
func (o *CreateTCPCheckConflict) String() string
type CreateTCPCheckCreated ¶
CreateTCPCheckCreated describes a response with status code 201, with default header values.
TCP check created
func NewCreateTCPCheckCreated ¶
func NewCreateTCPCheckCreated() *CreateTCPCheckCreated
NewCreateTCPCheckCreated creates a CreateTCPCheckCreated with default headers values
func (*CreateTCPCheckCreated) Error ¶
func (o *CreateTCPCheckCreated) Error() string
func (*CreateTCPCheckCreated) GetPayload ¶
func (o *CreateTCPCheckCreated) GetPayload() *models.TCPCheck
func (*CreateTCPCheckCreated) IsClientError ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) IsClientError() bool
IsClientError returns true when this create Tcp check created response has a 4xx status code
func (*CreateTCPCheckCreated) IsCode ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) IsCode(code int) bool
IsCode returns true when this create Tcp check created response a status code equal to that given
func (*CreateTCPCheckCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) IsRedirect() bool
IsRedirect returns true when this create Tcp check created response has a 3xx status code
func (*CreateTCPCheckCreated) IsServerError ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) IsServerError() bool
IsServerError returns true when this create Tcp check created response has a 5xx status code
func (*CreateTCPCheckCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) IsSuccess() bool
IsSuccess returns true when this create Tcp check created response has a 2xx status code
func (*CreateTCPCheckCreated) String ¶ added in v1.1.0
func (o *CreateTCPCheckCreated) String() string
type CreateTCPCheckDefault ¶
type CreateTCPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateTCPCheckDefault describes a response with status code -1, with default header values.
General Error
func NewCreateTCPCheckDefault ¶
func NewCreateTCPCheckDefault(code int) *CreateTCPCheckDefault
NewCreateTCPCheckDefault creates a CreateTCPCheckDefault with default headers values
func (*CreateTCPCheckDefault) Code ¶
func (o *CreateTCPCheckDefault) Code() int
Code gets the status code for the create TCP check default response
func (*CreateTCPCheckDefault) Error ¶
func (o *CreateTCPCheckDefault) Error() string
func (*CreateTCPCheckDefault) GetPayload ¶
func (o *CreateTCPCheckDefault) GetPayload() *models.Error
func (*CreateTCPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) IsClientError() bool
IsClientError returns true when this create TCP check default response has a 4xx status code
func (*CreateTCPCheckDefault) IsCode ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) IsCode(code int) bool
IsCode returns true when this create TCP check default response a status code equal to that given
func (*CreateTCPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) IsRedirect() bool
IsRedirect returns true when this create TCP check default response has a 3xx status code
func (*CreateTCPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) IsServerError() bool
IsServerError returns true when this create TCP check default response has a 5xx status code
func (*CreateTCPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) IsSuccess() bool
IsSuccess returns true when this create TCP check default response has a 2xx status code
func (*CreateTCPCheckDefault) String ¶ added in v1.1.0
func (o *CreateTCPCheckDefault) String() string
type CreateTCPCheckParams ¶
type CreateTCPCheckParams struct { // Data. Data *models.TCPCheck /* 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 }
CreateTCPCheckParams contains all the parameters to send to the API endpoint
for the create TCP check operation. Typically these are written to a http.Request.
func NewCreateTCPCheckParams ¶
func NewCreateTCPCheckParams() *CreateTCPCheckParams
NewCreateTCPCheckParams creates a new CreateTCPCheckParams 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 NewCreateTCPCheckParamsWithContext ¶
func NewCreateTCPCheckParamsWithContext(ctx context.Context) *CreateTCPCheckParams
NewCreateTCPCheckParamsWithContext creates a new CreateTCPCheckParams object with the ability to set a context for a request.
func NewCreateTCPCheckParamsWithHTTPClient ¶
func NewCreateTCPCheckParamsWithHTTPClient(client *http.Client) *CreateTCPCheckParams
NewCreateTCPCheckParamsWithHTTPClient creates a new CreateTCPCheckParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTCPCheckParamsWithTimeout ¶
func NewCreateTCPCheckParamsWithTimeout(timeout time.Duration) *CreateTCPCheckParams
NewCreateTCPCheckParamsWithTimeout creates a new CreateTCPCheckParams object with the ability to set a timeout on a request.
func (*CreateTCPCheckParams) SetContext ¶
func (o *CreateTCPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the create TCP check params
func (*CreateTCPCheckParams) SetData ¶
func (o *CreateTCPCheckParams) SetData(data *models.TCPCheck)
SetData adds the data to the create TCP check params
func (*CreateTCPCheckParams) SetDefaults ¶
func (o *CreateTCPCheckParams) SetDefaults()
SetDefaults hydrates default values in the create TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTCPCheckParams) SetForceReload ¶
func (o *CreateTCPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create TCP check params
func (*CreateTCPCheckParams) SetHTTPClient ¶
func (o *CreateTCPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create TCP check params
func (*CreateTCPCheckParams) SetParentName ¶
func (o *CreateTCPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the create TCP check params
func (*CreateTCPCheckParams) SetParentType ¶
func (o *CreateTCPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the create TCP check params
func (*CreateTCPCheckParams) SetTimeout ¶
func (o *CreateTCPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create TCP check params
func (*CreateTCPCheckParams) SetTransactionID ¶
func (o *CreateTCPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create TCP check params
func (*CreateTCPCheckParams) SetVersion ¶
func (o *CreateTCPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the create TCP check params
func (*CreateTCPCheckParams) WithContext ¶
func (o *CreateTCPCheckParams) WithContext(ctx context.Context) *CreateTCPCheckParams
WithContext adds the context to the create TCP check params
func (*CreateTCPCheckParams) WithData ¶
func (o *CreateTCPCheckParams) WithData(data *models.TCPCheck) *CreateTCPCheckParams
WithData adds the data to the create TCP check params
func (*CreateTCPCheckParams) WithDefaults ¶
func (o *CreateTCPCheckParams) WithDefaults() *CreateTCPCheckParams
WithDefaults hydrates default values in the create TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTCPCheckParams) WithForceReload ¶
func (o *CreateTCPCheckParams) WithForceReload(forceReload *bool) *CreateTCPCheckParams
WithForceReload adds the forceReload to the create TCP check params
func (*CreateTCPCheckParams) WithHTTPClient ¶
func (o *CreateTCPCheckParams) WithHTTPClient(client *http.Client) *CreateTCPCheckParams
WithHTTPClient adds the HTTPClient to the create TCP check params
func (*CreateTCPCheckParams) WithParentName ¶
func (o *CreateTCPCheckParams) WithParentName(parentName *string) *CreateTCPCheckParams
WithParentName adds the parentName to the create TCP check params
func (*CreateTCPCheckParams) WithParentType ¶
func (o *CreateTCPCheckParams) WithParentType(parentType string) *CreateTCPCheckParams
WithParentType adds the parentType to the create TCP check params
func (*CreateTCPCheckParams) WithTimeout ¶
func (o *CreateTCPCheckParams) WithTimeout(timeout time.Duration) *CreateTCPCheckParams
WithTimeout adds the timeout to the create TCP check params
func (*CreateTCPCheckParams) WithTransactionID ¶
func (o *CreateTCPCheckParams) WithTransactionID(transactionID *string) *CreateTCPCheckParams
WithTransactionID adds the transactionID to the create TCP check params
func (*CreateTCPCheckParams) WithVersion ¶
func (o *CreateTCPCheckParams) WithVersion(version *int64) *CreateTCPCheckParams
WithVersion adds the version to the create TCP check params
func (*CreateTCPCheckParams) WriteToRequest ¶
func (o *CreateTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTCPCheckReader ¶
type CreateTCPCheckReader struct {
// contains filtered or unexported fields
}
CreateTCPCheckReader is a Reader for the CreateTCPCheck structure.
func (*CreateTCPCheckReader) ReadResponse ¶
func (o *CreateTCPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTCPCheckAccepted ¶
type DeleteTCPCheckAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteTCPCheckAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteTCPCheckAccepted ¶
func NewDeleteTCPCheckAccepted() *DeleteTCPCheckAccepted
NewDeleteTCPCheckAccepted creates a DeleteTCPCheckAccepted with default headers values
func (*DeleteTCPCheckAccepted) Error ¶
func (o *DeleteTCPCheckAccepted) Error() string
func (*DeleteTCPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) IsClientError() bool
IsClientError returns true when this delete Tcp check accepted response has a 4xx status code
func (*DeleteTCPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) IsCode(code int) bool
IsCode returns true when this delete Tcp check accepted response a status code equal to that given
func (*DeleteTCPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this delete Tcp check accepted response has a 3xx status code
func (*DeleteTCPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) IsServerError() bool
IsServerError returns true when this delete Tcp check accepted response has a 5xx status code
func (*DeleteTCPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this delete Tcp check accepted response has a 2xx status code
func (*DeleteTCPCheckAccepted) String ¶ added in v1.1.0
func (o *DeleteTCPCheckAccepted) String() string
type DeleteTCPCheckDefault ¶
type DeleteTCPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteTCPCheckDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteTCPCheckDefault ¶
func NewDeleteTCPCheckDefault(code int) *DeleteTCPCheckDefault
NewDeleteTCPCheckDefault creates a DeleteTCPCheckDefault with default headers values
func (*DeleteTCPCheckDefault) Code ¶
func (o *DeleteTCPCheckDefault) Code() int
Code gets the status code for the delete TCP check default response
func (*DeleteTCPCheckDefault) Error ¶
func (o *DeleteTCPCheckDefault) Error() string
func (*DeleteTCPCheckDefault) GetPayload ¶
func (o *DeleteTCPCheckDefault) GetPayload() *models.Error
func (*DeleteTCPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) IsClientError() bool
IsClientError returns true when this delete TCP check default response has a 4xx status code
func (*DeleteTCPCheckDefault) IsCode ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) IsCode(code int) bool
IsCode returns true when this delete TCP check default response a status code equal to that given
func (*DeleteTCPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) IsRedirect() bool
IsRedirect returns true when this delete TCP check default response has a 3xx status code
func (*DeleteTCPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) IsServerError() bool
IsServerError returns true when this delete TCP check default response has a 5xx status code
func (*DeleteTCPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) IsSuccess() bool
IsSuccess returns true when this delete TCP check default response has a 2xx status code
func (*DeleteTCPCheckDefault) String ¶ added in v1.1.0
func (o *DeleteTCPCheckDefault) String() string
type DeleteTCPCheckNoContent ¶
type DeleteTCPCheckNoContent struct { }
DeleteTCPCheckNoContent describes a response with status code 204, with default header values.
TCP check deleted
func NewDeleteTCPCheckNoContent ¶
func NewDeleteTCPCheckNoContent() *DeleteTCPCheckNoContent
NewDeleteTCPCheckNoContent creates a DeleteTCPCheckNoContent with default headers values
func (*DeleteTCPCheckNoContent) Error ¶
func (o *DeleteTCPCheckNoContent) Error() string
func (*DeleteTCPCheckNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) IsClientError() bool
IsClientError returns true when this delete Tcp check no content response has a 4xx status code
func (*DeleteTCPCheckNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) IsCode(code int) bool
IsCode returns true when this delete Tcp check no content response a status code equal to that given
func (*DeleteTCPCheckNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) IsRedirect() bool
IsRedirect returns true when this delete Tcp check no content response has a 3xx status code
func (*DeleteTCPCheckNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) IsServerError() bool
IsServerError returns true when this delete Tcp check no content response has a 5xx status code
func (*DeleteTCPCheckNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) IsSuccess() bool
IsSuccess returns true when this delete Tcp check no content response has a 2xx status code
func (*DeleteTCPCheckNoContent) String ¶ added in v1.1.0
func (o *DeleteTCPCheckNoContent) String() string
type DeleteTCPCheckNotFound ¶
type DeleteTCPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteTCPCheckNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteTCPCheckNotFound ¶
func NewDeleteTCPCheckNotFound() *DeleteTCPCheckNotFound
NewDeleteTCPCheckNotFound creates a DeleteTCPCheckNotFound with default headers values
func (*DeleteTCPCheckNotFound) Error ¶
func (o *DeleteTCPCheckNotFound) Error() string
func (*DeleteTCPCheckNotFound) GetPayload ¶
func (o *DeleteTCPCheckNotFound) GetPayload() *models.Error
func (*DeleteTCPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) IsClientError() bool
IsClientError returns true when this delete Tcp check not found response has a 4xx status code
func (*DeleteTCPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) IsCode(code int) bool
IsCode returns true when this delete Tcp check not found response a status code equal to that given
func (*DeleteTCPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this delete Tcp check not found response has a 3xx status code
func (*DeleteTCPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) IsServerError() bool
IsServerError returns true when this delete Tcp check not found response has a 5xx status code
func (*DeleteTCPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this delete Tcp check not found response has a 2xx status code
func (*DeleteTCPCheckNotFound) String ¶ added in v1.1.0
func (o *DeleteTCPCheckNotFound) String() string
type DeleteTCPCheckParams ¶
type DeleteTCPCheckParams 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. TCP 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 }
DeleteTCPCheckParams contains all the parameters to send to the API endpoint
for the delete TCP check operation. Typically these are written to a http.Request.
func NewDeleteTCPCheckParams ¶
func NewDeleteTCPCheckParams() *DeleteTCPCheckParams
NewDeleteTCPCheckParams creates a new DeleteTCPCheckParams 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 NewDeleteTCPCheckParamsWithContext ¶
func NewDeleteTCPCheckParamsWithContext(ctx context.Context) *DeleteTCPCheckParams
NewDeleteTCPCheckParamsWithContext creates a new DeleteTCPCheckParams object with the ability to set a context for a request.
func NewDeleteTCPCheckParamsWithHTTPClient ¶
func NewDeleteTCPCheckParamsWithHTTPClient(client *http.Client) *DeleteTCPCheckParams
NewDeleteTCPCheckParamsWithHTTPClient creates a new DeleteTCPCheckParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTCPCheckParamsWithTimeout ¶
func NewDeleteTCPCheckParamsWithTimeout(timeout time.Duration) *DeleteTCPCheckParams
NewDeleteTCPCheckParamsWithTimeout creates a new DeleteTCPCheckParams object with the ability to set a timeout on a request.
func (*DeleteTCPCheckParams) SetContext ¶
func (o *DeleteTCPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the delete TCP check params
func (*DeleteTCPCheckParams) SetDefaults ¶
func (o *DeleteTCPCheckParams) SetDefaults()
SetDefaults hydrates default values in the delete TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTCPCheckParams) SetForceReload ¶
func (o *DeleteTCPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete TCP check params
func (*DeleteTCPCheckParams) SetHTTPClient ¶
func (o *DeleteTCPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete TCP check params
func (*DeleteTCPCheckParams) SetIndex ¶
func (o *DeleteTCPCheckParams) SetIndex(index int64)
SetIndex adds the index to the delete TCP check params
func (*DeleteTCPCheckParams) SetParentName ¶
func (o *DeleteTCPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the delete TCP check params
func (*DeleteTCPCheckParams) SetParentType ¶
func (o *DeleteTCPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete TCP check params
func (*DeleteTCPCheckParams) SetTimeout ¶
func (o *DeleteTCPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete TCP check params
func (*DeleteTCPCheckParams) SetTransactionID ¶
func (o *DeleteTCPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete TCP check params
func (*DeleteTCPCheckParams) SetVersion ¶
func (o *DeleteTCPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the delete TCP check params
func (*DeleteTCPCheckParams) WithContext ¶
func (o *DeleteTCPCheckParams) WithContext(ctx context.Context) *DeleteTCPCheckParams
WithContext adds the context to the delete TCP check params
func (*DeleteTCPCheckParams) WithDefaults ¶
func (o *DeleteTCPCheckParams) WithDefaults() *DeleteTCPCheckParams
WithDefaults hydrates default values in the delete TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTCPCheckParams) WithForceReload ¶
func (o *DeleteTCPCheckParams) WithForceReload(forceReload *bool) *DeleteTCPCheckParams
WithForceReload adds the forceReload to the delete TCP check params
func (*DeleteTCPCheckParams) WithHTTPClient ¶
func (o *DeleteTCPCheckParams) WithHTTPClient(client *http.Client) *DeleteTCPCheckParams
WithHTTPClient adds the HTTPClient to the delete TCP check params
func (*DeleteTCPCheckParams) WithIndex ¶
func (o *DeleteTCPCheckParams) WithIndex(index int64) *DeleteTCPCheckParams
WithIndex adds the index to the delete TCP check params
func (*DeleteTCPCheckParams) WithParentName ¶
func (o *DeleteTCPCheckParams) WithParentName(parentName *string) *DeleteTCPCheckParams
WithParentName adds the parentName to the delete TCP check params
func (*DeleteTCPCheckParams) WithParentType ¶
func (o *DeleteTCPCheckParams) WithParentType(parentType string) *DeleteTCPCheckParams
WithParentType adds the parentType to the delete TCP check params
func (*DeleteTCPCheckParams) WithTimeout ¶
func (o *DeleteTCPCheckParams) WithTimeout(timeout time.Duration) *DeleteTCPCheckParams
WithTimeout adds the timeout to the delete TCP check params
func (*DeleteTCPCheckParams) WithTransactionID ¶
func (o *DeleteTCPCheckParams) WithTransactionID(transactionID *string) *DeleteTCPCheckParams
WithTransactionID adds the transactionID to the delete TCP check params
func (*DeleteTCPCheckParams) WithVersion ¶
func (o *DeleteTCPCheckParams) WithVersion(version *int64) *DeleteTCPCheckParams
WithVersion adds the version to the delete TCP check params
func (*DeleteTCPCheckParams) WriteToRequest ¶
func (o *DeleteTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTCPCheckReader ¶
type DeleteTCPCheckReader struct {
// contains filtered or unexported fields
}
DeleteTCPCheckReader is a Reader for the DeleteTCPCheck structure.
func (*DeleteTCPCheckReader) ReadResponse ¶
func (o *DeleteTCPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPCheckDefault ¶
type GetTCPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPCheckDefault describes a response with status code -1, with default header values.
General Error
func NewGetTCPCheckDefault ¶
func NewGetTCPCheckDefault(code int) *GetTCPCheckDefault
NewGetTCPCheckDefault creates a GetTCPCheckDefault with default headers values
func (*GetTCPCheckDefault) Code ¶
func (o *GetTCPCheckDefault) Code() int
Code gets the status code for the get TCP check default response
func (*GetTCPCheckDefault) Error ¶
func (o *GetTCPCheckDefault) Error() string
func (*GetTCPCheckDefault) GetPayload ¶
func (o *GetTCPCheckDefault) GetPayload() *models.Error
func (*GetTCPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *GetTCPCheckDefault) IsClientError() bool
IsClientError returns true when this get TCP check default response has a 4xx status code
func (*GetTCPCheckDefault) IsCode ¶ added in v1.1.0
func (o *GetTCPCheckDefault) IsCode(code int) bool
IsCode returns true when this get TCP check default response a status code equal to that given
func (*GetTCPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *GetTCPCheckDefault) IsRedirect() bool
IsRedirect returns true when this get TCP check default response has a 3xx status code
func (*GetTCPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *GetTCPCheckDefault) IsServerError() bool
IsServerError returns true when this get TCP check default response has a 5xx status code
func (*GetTCPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *GetTCPCheckDefault) IsSuccess() bool
IsSuccess returns true when this get TCP check default response has a 2xx status code
func (*GetTCPCheckDefault) String ¶ added in v1.1.0
func (o *GetTCPCheckDefault) String() string
type GetTCPCheckNotFound ¶
type GetTCPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetTCPCheckNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetTCPCheckNotFound ¶
func NewGetTCPCheckNotFound() *GetTCPCheckNotFound
NewGetTCPCheckNotFound creates a GetTCPCheckNotFound with default headers values
func (*GetTCPCheckNotFound) Error ¶
func (o *GetTCPCheckNotFound) Error() string
func (*GetTCPCheckNotFound) GetPayload ¶
func (o *GetTCPCheckNotFound) GetPayload() *models.Error
func (*GetTCPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) IsClientError() bool
IsClientError returns true when this get Tcp check not found response has a 4xx status code
func (*GetTCPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) IsCode(code int) bool
IsCode returns true when this get Tcp check not found response a status code equal to that given
func (*GetTCPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this get Tcp check not found response has a 3xx status code
func (*GetTCPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) IsServerError() bool
IsServerError returns true when this get Tcp check not found response has a 5xx status code
func (*GetTCPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this get Tcp check not found response has a 2xx status code
func (*GetTCPCheckNotFound) String ¶ added in v1.1.0
func (o *GetTCPCheckNotFound) String() string
type GetTCPCheckOK ¶
type GetTCPCheckOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTCPCheckOKBody }
GetTCPCheckOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTCPCheckOK ¶
func NewGetTCPCheckOK() *GetTCPCheckOK
NewGetTCPCheckOK creates a GetTCPCheckOK with default headers values
func (*GetTCPCheckOK) Error ¶
func (o *GetTCPCheckOK) Error() string
func (*GetTCPCheckOK) GetPayload ¶
func (o *GetTCPCheckOK) GetPayload() *GetTCPCheckOKBody
func (*GetTCPCheckOK) IsClientError ¶ added in v1.1.0
func (o *GetTCPCheckOK) IsClientError() bool
IsClientError returns true when this get Tcp check o k response has a 4xx status code
func (*GetTCPCheckOK) IsCode ¶ added in v1.1.0
func (o *GetTCPCheckOK) IsCode(code int) bool
IsCode returns true when this get Tcp check o k response a status code equal to that given
func (*GetTCPCheckOK) IsRedirect ¶ added in v1.1.0
func (o *GetTCPCheckOK) IsRedirect() bool
IsRedirect returns true when this get Tcp check o k response has a 3xx status code
func (*GetTCPCheckOK) IsServerError ¶ added in v1.1.0
func (o *GetTCPCheckOK) IsServerError() bool
IsServerError returns true when this get Tcp check o k response has a 5xx status code
func (*GetTCPCheckOK) IsSuccess ¶ added in v1.1.0
func (o *GetTCPCheckOK) IsSuccess() bool
IsSuccess returns true when this get Tcp check o k response has a 2xx status code
func (*GetTCPCheckOK) String ¶ added in v1.1.0
func (o *GetTCPCheckOK) String() string
type GetTCPCheckOKBody ¶
type GetTCPCheckOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.TCPCheck `json:"data,omitempty"` }
GetTCPCheckOKBody get TCP check o k body swagger:model GetTCPCheckOKBody
func (*GetTCPCheckOKBody) ContextValidate ¶
ContextValidate validate this get TCP check o k body based on the context it is used
func (*GetTCPCheckOKBody) MarshalBinary ¶
func (o *GetTCPCheckOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPCheckOKBody) UnmarshalBinary ¶
func (o *GetTCPCheckOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPCheckParams ¶
type GetTCPCheckParams struct { /* Index. TCP 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 }
GetTCPCheckParams contains all the parameters to send to the API endpoint
for the get TCP check operation. Typically these are written to a http.Request.
func NewGetTCPCheckParams ¶
func NewGetTCPCheckParams() *GetTCPCheckParams
NewGetTCPCheckParams creates a new GetTCPCheckParams 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 NewGetTCPCheckParamsWithContext ¶
func NewGetTCPCheckParamsWithContext(ctx context.Context) *GetTCPCheckParams
NewGetTCPCheckParamsWithContext creates a new GetTCPCheckParams object with the ability to set a context for a request.
func NewGetTCPCheckParamsWithHTTPClient ¶
func NewGetTCPCheckParamsWithHTTPClient(client *http.Client) *GetTCPCheckParams
NewGetTCPCheckParamsWithHTTPClient creates a new GetTCPCheckParams object with the ability to set a custom HTTPClient for a request.
func NewGetTCPCheckParamsWithTimeout ¶
func NewGetTCPCheckParamsWithTimeout(timeout time.Duration) *GetTCPCheckParams
NewGetTCPCheckParamsWithTimeout creates a new GetTCPCheckParams object with the ability to set a timeout on a request.
func (*GetTCPCheckParams) SetContext ¶
func (o *GetTCPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP check params
func (*GetTCPCheckParams) SetDefaults ¶
func (o *GetTCPCheckParams) SetDefaults()
SetDefaults hydrates default values in the get TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPCheckParams) SetHTTPClient ¶
func (o *GetTCPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP check params
func (*GetTCPCheckParams) SetIndex ¶
func (o *GetTCPCheckParams) SetIndex(index int64)
SetIndex adds the index to the get TCP check params
func (*GetTCPCheckParams) SetParentName ¶
func (o *GetTCPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get TCP check params
func (*GetTCPCheckParams) SetParentType ¶
func (o *GetTCPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the get TCP check params
func (*GetTCPCheckParams) SetTimeout ¶
func (o *GetTCPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP check params
func (*GetTCPCheckParams) SetTransactionID ¶
func (o *GetTCPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP check params
func (*GetTCPCheckParams) WithContext ¶
func (o *GetTCPCheckParams) WithContext(ctx context.Context) *GetTCPCheckParams
WithContext adds the context to the get TCP check params
func (*GetTCPCheckParams) WithDefaults ¶
func (o *GetTCPCheckParams) WithDefaults() *GetTCPCheckParams
WithDefaults hydrates default values in the get TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPCheckParams) WithHTTPClient ¶
func (o *GetTCPCheckParams) WithHTTPClient(client *http.Client) *GetTCPCheckParams
WithHTTPClient adds the HTTPClient to the get TCP check params
func (*GetTCPCheckParams) WithIndex ¶
func (o *GetTCPCheckParams) WithIndex(index int64) *GetTCPCheckParams
WithIndex adds the index to the get TCP check params
func (*GetTCPCheckParams) WithParentName ¶
func (o *GetTCPCheckParams) WithParentName(parentName *string) *GetTCPCheckParams
WithParentName adds the parentName to the get TCP check params
func (*GetTCPCheckParams) WithParentType ¶
func (o *GetTCPCheckParams) WithParentType(parentType string) *GetTCPCheckParams
WithParentType adds the parentType to the get TCP check params
func (*GetTCPCheckParams) WithTimeout ¶
func (o *GetTCPCheckParams) WithTimeout(timeout time.Duration) *GetTCPCheckParams
WithTimeout adds the timeout to the get TCP check params
func (*GetTCPCheckParams) WithTransactionID ¶
func (o *GetTCPCheckParams) WithTransactionID(transactionID *string) *GetTCPCheckParams
WithTransactionID adds the transactionID to the get TCP check params
func (*GetTCPCheckParams) WriteToRequest ¶
func (o *GetTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPCheckReader ¶
type GetTCPCheckReader struct {
// contains filtered or unexported fields
}
GetTCPCheckReader is a Reader for the GetTCPCheck structure.
func (*GetTCPCheckReader) ReadResponse ¶
func (o *GetTCPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTCPChecksDefault ¶
type GetTCPChecksDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTCPChecksDefault describes a response with status code -1, with default header values.
General Error
func NewGetTCPChecksDefault ¶
func NewGetTCPChecksDefault(code int) *GetTCPChecksDefault
NewGetTCPChecksDefault creates a GetTCPChecksDefault with default headers values
func (*GetTCPChecksDefault) Code ¶
func (o *GetTCPChecksDefault) Code() int
Code gets the status code for the get TCP checks default response
func (*GetTCPChecksDefault) Error ¶
func (o *GetTCPChecksDefault) Error() string
func (*GetTCPChecksDefault) GetPayload ¶
func (o *GetTCPChecksDefault) GetPayload() *models.Error
func (*GetTCPChecksDefault) IsClientError ¶ added in v1.1.0
func (o *GetTCPChecksDefault) IsClientError() bool
IsClientError returns true when this get TCP checks default response has a 4xx status code
func (*GetTCPChecksDefault) IsCode ¶ added in v1.1.0
func (o *GetTCPChecksDefault) IsCode(code int) bool
IsCode returns true when this get TCP checks default response a status code equal to that given
func (*GetTCPChecksDefault) IsRedirect ¶ added in v1.1.0
func (o *GetTCPChecksDefault) IsRedirect() bool
IsRedirect returns true when this get TCP checks default response has a 3xx status code
func (*GetTCPChecksDefault) IsServerError ¶ added in v1.1.0
func (o *GetTCPChecksDefault) IsServerError() bool
IsServerError returns true when this get TCP checks default response has a 5xx status code
func (*GetTCPChecksDefault) IsSuccess ¶ added in v1.1.0
func (o *GetTCPChecksDefault) IsSuccess() bool
IsSuccess returns true when this get TCP checks default response has a 2xx status code
func (*GetTCPChecksDefault) String ¶ added in v1.1.0
func (o *GetTCPChecksDefault) String() string
type GetTCPChecksOK ¶
type GetTCPChecksOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTCPChecksOKBody }
GetTCPChecksOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTCPChecksOK ¶
func NewGetTCPChecksOK() *GetTCPChecksOK
NewGetTCPChecksOK creates a GetTCPChecksOK with default headers values
func (*GetTCPChecksOK) Error ¶
func (o *GetTCPChecksOK) Error() string
func (*GetTCPChecksOK) GetPayload ¶
func (o *GetTCPChecksOK) GetPayload() *GetTCPChecksOKBody
func (*GetTCPChecksOK) IsClientError ¶ added in v1.1.0
func (o *GetTCPChecksOK) IsClientError() bool
IsClientError returns true when this get Tcp checks o k response has a 4xx status code
func (*GetTCPChecksOK) IsCode ¶ added in v1.1.0
func (o *GetTCPChecksOK) IsCode(code int) bool
IsCode returns true when this get Tcp checks o k response a status code equal to that given
func (*GetTCPChecksOK) IsRedirect ¶ added in v1.1.0
func (o *GetTCPChecksOK) IsRedirect() bool
IsRedirect returns true when this get Tcp checks o k response has a 3xx status code
func (*GetTCPChecksOK) IsServerError ¶ added in v1.1.0
func (o *GetTCPChecksOK) IsServerError() bool
IsServerError returns true when this get Tcp checks o k response has a 5xx status code
func (*GetTCPChecksOK) IsSuccess ¶ added in v1.1.0
func (o *GetTCPChecksOK) IsSuccess() bool
IsSuccess returns true when this get Tcp checks o k response has a 2xx status code
func (*GetTCPChecksOK) String ¶ added in v1.1.0
func (o *GetTCPChecksOK) String() string
type GetTCPChecksOKBody ¶
type GetTCPChecksOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.TCPChecks `json:"data"` }
GetTCPChecksOKBody get TCP checks o k body swagger:model GetTCPChecksOKBody
func (*GetTCPChecksOKBody) ContextValidate ¶
ContextValidate validate this get TCP checks o k body based on the context it is used
func (*GetTCPChecksOKBody) MarshalBinary ¶
func (o *GetTCPChecksOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTCPChecksOKBody) UnmarshalBinary ¶
func (o *GetTCPChecksOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTCPChecksParams ¶
type GetTCPChecksParams 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 }
GetTCPChecksParams contains all the parameters to send to the API endpoint
for the get TCP checks operation. Typically these are written to a http.Request.
func NewGetTCPChecksParams ¶
func NewGetTCPChecksParams() *GetTCPChecksParams
NewGetTCPChecksParams creates a new GetTCPChecksParams 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 NewGetTCPChecksParamsWithContext ¶
func NewGetTCPChecksParamsWithContext(ctx context.Context) *GetTCPChecksParams
NewGetTCPChecksParamsWithContext creates a new GetTCPChecksParams object with the ability to set a context for a request.
func NewGetTCPChecksParamsWithHTTPClient ¶
func NewGetTCPChecksParamsWithHTTPClient(client *http.Client) *GetTCPChecksParams
NewGetTCPChecksParamsWithHTTPClient creates a new GetTCPChecksParams object with the ability to set a custom HTTPClient for a request.
func NewGetTCPChecksParamsWithTimeout ¶
func NewGetTCPChecksParamsWithTimeout(timeout time.Duration) *GetTCPChecksParams
NewGetTCPChecksParamsWithTimeout creates a new GetTCPChecksParams object with the ability to set a timeout on a request.
func (*GetTCPChecksParams) SetContext ¶
func (o *GetTCPChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the get TCP checks params
func (*GetTCPChecksParams) SetDefaults ¶
func (o *GetTCPChecksParams) SetDefaults()
SetDefaults hydrates default values in the get TCP checks params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPChecksParams) SetHTTPClient ¶
func (o *GetTCPChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get TCP checks params
func (*GetTCPChecksParams) SetParentName ¶
func (o *GetTCPChecksParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get TCP checks params
func (*GetTCPChecksParams) SetParentType ¶
func (o *GetTCPChecksParams) SetParentType(parentType string)
SetParentType adds the parentType to the get TCP checks params
func (*GetTCPChecksParams) SetTimeout ¶
func (o *GetTCPChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get TCP checks params
func (*GetTCPChecksParams) SetTransactionID ¶
func (o *GetTCPChecksParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get TCP checks params
func (*GetTCPChecksParams) WithContext ¶
func (o *GetTCPChecksParams) WithContext(ctx context.Context) *GetTCPChecksParams
WithContext adds the context to the get TCP checks params
func (*GetTCPChecksParams) WithDefaults ¶
func (o *GetTCPChecksParams) WithDefaults() *GetTCPChecksParams
WithDefaults hydrates default values in the get TCP checks params (not the query body).
All values with no default are reset to their zero value.
func (*GetTCPChecksParams) WithHTTPClient ¶
func (o *GetTCPChecksParams) WithHTTPClient(client *http.Client) *GetTCPChecksParams
WithHTTPClient adds the HTTPClient to the get TCP checks params
func (*GetTCPChecksParams) WithParentName ¶
func (o *GetTCPChecksParams) WithParentName(parentName *string) *GetTCPChecksParams
WithParentName adds the parentName to the get TCP checks params
func (*GetTCPChecksParams) WithParentType ¶
func (o *GetTCPChecksParams) WithParentType(parentType string) *GetTCPChecksParams
WithParentType adds the parentType to the get TCP checks params
func (*GetTCPChecksParams) WithTimeout ¶
func (o *GetTCPChecksParams) WithTimeout(timeout time.Duration) *GetTCPChecksParams
WithTimeout adds the timeout to the get TCP checks params
func (*GetTCPChecksParams) WithTransactionID ¶
func (o *GetTCPChecksParams) WithTransactionID(transactionID *string) *GetTCPChecksParams
WithTransactionID adds the transactionID to the get TCP checks params
func (*GetTCPChecksParams) WriteToRequest ¶
func (o *GetTCPChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTCPChecksReader ¶
type GetTCPChecksReader struct {
// contains filtered or unexported fields
}
GetTCPChecksReader is a Reader for the GetTCPChecks structure.
func (*GetTCPChecksReader) ReadResponse ¶
func (o *GetTCPChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceTCPCheckAccepted ¶
type ReplaceTCPCheckAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.TCPCheck }
ReplaceTCPCheckAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceTCPCheckAccepted ¶
func NewReplaceTCPCheckAccepted() *ReplaceTCPCheckAccepted
NewReplaceTCPCheckAccepted creates a ReplaceTCPCheckAccepted with default headers values
func (*ReplaceTCPCheckAccepted) Error ¶
func (o *ReplaceTCPCheckAccepted) Error() string
func (*ReplaceTCPCheckAccepted) GetPayload ¶
func (o *ReplaceTCPCheckAccepted) GetPayload() *models.TCPCheck
func (*ReplaceTCPCheckAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) IsClientError() bool
IsClientError returns true when this replace Tcp check accepted response has a 4xx status code
func (*ReplaceTCPCheckAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) IsCode(code int) bool
IsCode returns true when this replace Tcp check accepted response a status code equal to that given
func (*ReplaceTCPCheckAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) IsRedirect() bool
IsRedirect returns true when this replace Tcp check accepted response has a 3xx status code
func (*ReplaceTCPCheckAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) IsServerError() bool
IsServerError returns true when this replace Tcp check accepted response has a 5xx status code
func (*ReplaceTCPCheckAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) IsSuccess() bool
IsSuccess returns true when this replace Tcp check accepted response has a 2xx status code
func (*ReplaceTCPCheckAccepted) String ¶ added in v1.1.0
func (o *ReplaceTCPCheckAccepted) String() string
type ReplaceTCPCheckBadRequest ¶
type ReplaceTCPCheckBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPCheckBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceTCPCheckBadRequest ¶
func NewReplaceTCPCheckBadRequest() *ReplaceTCPCheckBadRequest
NewReplaceTCPCheckBadRequest creates a ReplaceTCPCheckBadRequest with default headers values
func (*ReplaceTCPCheckBadRequest) Error ¶
func (o *ReplaceTCPCheckBadRequest) Error() string
func (*ReplaceTCPCheckBadRequest) GetPayload ¶
func (o *ReplaceTCPCheckBadRequest) GetPayload() *models.Error
func (*ReplaceTCPCheckBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) IsClientError() bool
IsClientError returns true when this replace Tcp check bad request response has a 4xx status code
func (*ReplaceTCPCheckBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) IsCode(code int) bool
IsCode returns true when this replace Tcp check bad request response a status code equal to that given
func (*ReplaceTCPCheckBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Tcp check bad request response has a 3xx status code
func (*ReplaceTCPCheckBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) IsServerError() bool
IsServerError returns true when this replace Tcp check bad request response has a 5xx status code
func (*ReplaceTCPCheckBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Tcp check bad request response has a 2xx status code
func (*ReplaceTCPCheckBadRequest) String ¶ added in v1.1.0
func (o *ReplaceTCPCheckBadRequest) String() string
type ReplaceTCPCheckDefault ¶
type ReplaceTCPCheckDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceTCPCheckDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceTCPCheckDefault ¶
func NewReplaceTCPCheckDefault(code int) *ReplaceTCPCheckDefault
NewReplaceTCPCheckDefault creates a ReplaceTCPCheckDefault with default headers values
func (*ReplaceTCPCheckDefault) Code ¶
func (o *ReplaceTCPCheckDefault) Code() int
Code gets the status code for the replace TCP check default response
func (*ReplaceTCPCheckDefault) Error ¶
func (o *ReplaceTCPCheckDefault) Error() string
func (*ReplaceTCPCheckDefault) GetPayload ¶
func (o *ReplaceTCPCheckDefault) GetPayload() *models.Error
func (*ReplaceTCPCheckDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) IsClientError() bool
IsClientError returns true when this replace TCP check default response has a 4xx status code
func (*ReplaceTCPCheckDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) IsCode(code int) bool
IsCode returns true when this replace TCP check default response a status code equal to that given
func (*ReplaceTCPCheckDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) IsRedirect() bool
IsRedirect returns true when this replace TCP check default response has a 3xx status code
func (*ReplaceTCPCheckDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) IsServerError() bool
IsServerError returns true when this replace TCP check default response has a 5xx status code
func (*ReplaceTCPCheckDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) IsSuccess() bool
IsSuccess returns true when this replace TCP check default response has a 2xx status code
func (*ReplaceTCPCheckDefault) String ¶ added in v1.1.0
func (o *ReplaceTCPCheckDefault) String() string
type ReplaceTCPCheckNotFound ¶
type ReplaceTCPCheckNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTCPCheckNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceTCPCheckNotFound ¶
func NewReplaceTCPCheckNotFound() *ReplaceTCPCheckNotFound
NewReplaceTCPCheckNotFound creates a ReplaceTCPCheckNotFound with default headers values
func (*ReplaceTCPCheckNotFound) Error ¶
func (o *ReplaceTCPCheckNotFound) Error() string
func (*ReplaceTCPCheckNotFound) GetPayload ¶
func (o *ReplaceTCPCheckNotFound) GetPayload() *models.Error
func (*ReplaceTCPCheckNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) IsClientError() bool
IsClientError returns true when this replace Tcp check not found response has a 4xx status code
func (*ReplaceTCPCheckNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) IsCode(code int) bool
IsCode returns true when this replace Tcp check not found response a status code equal to that given
func (*ReplaceTCPCheckNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) IsRedirect() bool
IsRedirect returns true when this replace Tcp check not found response has a 3xx status code
func (*ReplaceTCPCheckNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) IsServerError() bool
IsServerError returns true when this replace Tcp check not found response has a 5xx status code
func (*ReplaceTCPCheckNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) IsSuccess() bool
IsSuccess returns true when this replace Tcp check not found response has a 2xx status code
func (*ReplaceTCPCheckNotFound) String ¶ added in v1.1.0
func (o *ReplaceTCPCheckNotFound) String() string
type ReplaceTCPCheckOK ¶
ReplaceTCPCheckOK describes a response with status code 200, with default header values.
TCP check replaced
func NewReplaceTCPCheckOK ¶
func NewReplaceTCPCheckOK() *ReplaceTCPCheckOK
NewReplaceTCPCheckOK creates a ReplaceTCPCheckOK with default headers values
func (*ReplaceTCPCheckOK) Error ¶
func (o *ReplaceTCPCheckOK) Error() string
func (*ReplaceTCPCheckOK) GetPayload ¶
func (o *ReplaceTCPCheckOK) GetPayload() *models.TCPCheck
func (*ReplaceTCPCheckOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) IsClientError() bool
IsClientError returns true when this replace Tcp check o k response has a 4xx status code
func (*ReplaceTCPCheckOK) IsCode ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) IsCode(code int) bool
IsCode returns true when this replace Tcp check o k response a status code equal to that given
func (*ReplaceTCPCheckOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) IsRedirect() bool
IsRedirect returns true when this replace Tcp check o k response has a 3xx status code
func (*ReplaceTCPCheckOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) IsServerError() bool
IsServerError returns true when this replace Tcp check o k response has a 5xx status code
func (*ReplaceTCPCheckOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) IsSuccess() bool
IsSuccess returns true when this replace Tcp check o k response has a 2xx status code
func (*ReplaceTCPCheckOK) String ¶ added in v1.1.0
func (o *ReplaceTCPCheckOK) String() string
type ReplaceTCPCheckParams ¶
type ReplaceTCPCheckParams struct { // Data. Data *models.TCPCheck /* 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. TCP 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 }
ReplaceTCPCheckParams contains all the parameters to send to the API endpoint
for the replace TCP check operation. Typically these are written to a http.Request.
func NewReplaceTCPCheckParams ¶
func NewReplaceTCPCheckParams() *ReplaceTCPCheckParams
NewReplaceTCPCheckParams creates a new ReplaceTCPCheckParams 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 NewReplaceTCPCheckParamsWithContext ¶
func NewReplaceTCPCheckParamsWithContext(ctx context.Context) *ReplaceTCPCheckParams
NewReplaceTCPCheckParamsWithContext creates a new ReplaceTCPCheckParams object with the ability to set a context for a request.
func NewReplaceTCPCheckParamsWithHTTPClient ¶
func NewReplaceTCPCheckParamsWithHTTPClient(client *http.Client) *ReplaceTCPCheckParams
NewReplaceTCPCheckParamsWithHTTPClient creates a new ReplaceTCPCheckParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceTCPCheckParamsWithTimeout ¶
func NewReplaceTCPCheckParamsWithTimeout(timeout time.Duration) *ReplaceTCPCheckParams
NewReplaceTCPCheckParamsWithTimeout creates a new ReplaceTCPCheckParams object with the ability to set a timeout on a request.
func (*ReplaceTCPCheckParams) SetContext ¶
func (o *ReplaceTCPCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the replace TCP check params
func (*ReplaceTCPCheckParams) SetData ¶
func (o *ReplaceTCPCheckParams) SetData(data *models.TCPCheck)
SetData adds the data to the replace TCP check params
func (*ReplaceTCPCheckParams) SetDefaults ¶
func (o *ReplaceTCPCheckParams) SetDefaults()
SetDefaults hydrates default values in the replace TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTCPCheckParams) SetForceReload ¶
func (o *ReplaceTCPCheckParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace TCP check params
func (*ReplaceTCPCheckParams) SetHTTPClient ¶
func (o *ReplaceTCPCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace TCP check params
func (*ReplaceTCPCheckParams) SetIndex ¶
func (o *ReplaceTCPCheckParams) SetIndex(index int64)
SetIndex adds the index to the replace TCP check params
func (*ReplaceTCPCheckParams) SetParentName ¶
func (o *ReplaceTCPCheckParams) SetParentName(parentName *string)
SetParentName adds the parentName to the replace TCP check params
func (*ReplaceTCPCheckParams) SetParentType ¶
func (o *ReplaceTCPCheckParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace TCP check params
func (*ReplaceTCPCheckParams) SetTimeout ¶
func (o *ReplaceTCPCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace TCP check params
func (*ReplaceTCPCheckParams) SetTransactionID ¶
func (o *ReplaceTCPCheckParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace TCP check params
func (*ReplaceTCPCheckParams) SetVersion ¶
func (o *ReplaceTCPCheckParams) SetVersion(version *int64)
SetVersion adds the version to the replace TCP check params
func (*ReplaceTCPCheckParams) WithContext ¶
func (o *ReplaceTCPCheckParams) WithContext(ctx context.Context) *ReplaceTCPCheckParams
WithContext adds the context to the replace TCP check params
func (*ReplaceTCPCheckParams) WithData ¶
func (o *ReplaceTCPCheckParams) WithData(data *models.TCPCheck) *ReplaceTCPCheckParams
WithData adds the data to the replace TCP check params
func (*ReplaceTCPCheckParams) WithDefaults ¶
func (o *ReplaceTCPCheckParams) WithDefaults() *ReplaceTCPCheckParams
WithDefaults hydrates default values in the replace TCP check params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTCPCheckParams) WithForceReload ¶
func (o *ReplaceTCPCheckParams) WithForceReload(forceReload *bool) *ReplaceTCPCheckParams
WithForceReload adds the forceReload to the replace TCP check params
func (*ReplaceTCPCheckParams) WithHTTPClient ¶
func (o *ReplaceTCPCheckParams) WithHTTPClient(client *http.Client) *ReplaceTCPCheckParams
WithHTTPClient adds the HTTPClient to the replace TCP check params
func (*ReplaceTCPCheckParams) WithIndex ¶
func (o *ReplaceTCPCheckParams) WithIndex(index int64) *ReplaceTCPCheckParams
WithIndex adds the index to the replace TCP check params
func (*ReplaceTCPCheckParams) WithParentName ¶
func (o *ReplaceTCPCheckParams) WithParentName(parentName *string) *ReplaceTCPCheckParams
WithParentName adds the parentName to the replace TCP check params
func (*ReplaceTCPCheckParams) WithParentType ¶
func (o *ReplaceTCPCheckParams) WithParentType(parentType string) *ReplaceTCPCheckParams
WithParentType adds the parentType to the replace TCP check params
func (*ReplaceTCPCheckParams) WithTimeout ¶
func (o *ReplaceTCPCheckParams) WithTimeout(timeout time.Duration) *ReplaceTCPCheckParams
WithTimeout adds the timeout to the replace TCP check params
func (*ReplaceTCPCheckParams) WithTransactionID ¶
func (o *ReplaceTCPCheckParams) WithTransactionID(transactionID *string) *ReplaceTCPCheckParams
WithTransactionID adds the transactionID to the replace TCP check params
func (*ReplaceTCPCheckParams) WithVersion ¶
func (o *ReplaceTCPCheckParams) WithVersion(version *int64) *ReplaceTCPCheckParams
WithVersion adds the version to the replace TCP check params
func (*ReplaceTCPCheckParams) WriteToRequest ¶
func (o *ReplaceTCPCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceTCPCheckReader ¶
type ReplaceTCPCheckReader struct {
// contains filtered or unexported fields
}
ReplaceTCPCheckReader is a Reader for the ReplaceTCPCheck structure.
func (*ReplaceTCPCheckReader) ReadResponse ¶
func (o *ReplaceTCPCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_tcp_check_parameters.go
- create_tcp_check_responses.go
- delete_tcp_check_parameters.go
- delete_tcp_check_responses.go
- get_tcp_check_parameters.go
- get_tcp_check_responses.go
- get_tcp_checks_parameters.go
- get_tcp_checks_responses.go
- replace_tcp_check_parameters.go
- replace_tcp_check_responses.go
- tcp_check_client.go