Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBind(params *CreateBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBindCreated, *CreateBindAccepted, error)
- func (a *Client) DeleteBind(params *DeleteBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBindAccepted, *DeleteBindNoContent, error)
- func (a *Client) GetBind(params *GetBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBindOK, error)
- func (a *Client) GetBinds(params *GetBindsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBindsOK, error)
- func (a *Client) ReplaceBind(params *ReplaceBindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceBindOK, *ReplaceBindAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateBindAccepted
- func (o *CreateBindAccepted) Code() int
- func (o *CreateBindAccepted) Error() string
- func (o *CreateBindAccepted) GetPayload() *models.Bind
- func (o *CreateBindAccepted) IsClientError() bool
- func (o *CreateBindAccepted) IsCode(code int) bool
- func (o *CreateBindAccepted) IsRedirect() bool
- func (o *CreateBindAccepted) IsServerError() bool
- func (o *CreateBindAccepted) IsSuccess() bool
- func (o *CreateBindAccepted) String() string
- type CreateBindBadRequest
- func (o *CreateBindBadRequest) Code() int
- func (o *CreateBindBadRequest) Error() string
- func (o *CreateBindBadRequest) GetPayload() *models.Error
- func (o *CreateBindBadRequest) IsClientError() bool
- func (o *CreateBindBadRequest) IsCode(code int) bool
- func (o *CreateBindBadRequest) IsRedirect() bool
- func (o *CreateBindBadRequest) IsServerError() bool
- func (o *CreateBindBadRequest) IsSuccess() bool
- func (o *CreateBindBadRequest) String() string
- type CreateBindConflict
- func (o *CreateBindConflict) Code() int
- func (o *CreateBindConflict) Error() string
- func (o *CreateBindConflict) GetPayload() *models.Error
- func (o *CreateBindConflict) IsClientError() bool
- func (o *CreateBindConflict) IsCode(code int) bool
- func (o *CreateBindConflict) IsRedirect() bool
- func (o *CreateBindConflict) IsServerError() bool
- func (o *CreateBindConflict) IsSuccess() bool
- func (o *CreateBindConflict) String() string
- type CreateBindCreated
- func (o *CreateBindCreated) Code() int
- func (o *CreateBindCreated) Error() string
- func (o *CreateBindCreated) GetPayload() *models.Bind
- func (o *CreateBindCreated) IsClientError() bool
- func (o *CreateBindCreated) IsCode(code int) bool
- func (o *CreateBindCreated) IsRedirect() bool
- func (o *CreateBindCreated) IsServerError() bool
- func (o *CreateBindCreated) IsSuccess() bool
- func (o *CreateBindCreated) String() string
- type CreateBindDefault
- func (o *CreateBindDefault) Code() int
- func (o *CreateBindDefault) Error() string
- func (o *CreateBindDefault) GetPayload() *models.Error
- func (o *CreateBindDefault) IsClientError() bool
- func (o *CreateBindDefault) IsCode(code int) bool
- func (o *CreateBindDefault) IsRedirect() bool
- func (o *CreateBindDefault) IsServerError() bool
- func (o *CreateBindDefault) IsSuccess() bool
- func (o *CreateBindDefault) String() string
- type CreateBindParams
- func (o *CreateBindParams) SetContext(ctx context.Context)
- func (o *CreateBindParams) SetData(data *models.Bind)
- func (o *CreateBindParams) SetDefaults()
- func (o *CreateBindParams) SetForceReload(forceReload *bool)
- func (o *CreateBindParams) SetFrontend(frontend *string)
- func (o *CreateBindParams) SetHTTPClient(client *http.Client)
- func (o *CreateBindParams) SetParentName(parentName *string)
- func (o *CreateBindParams) SetParentType(parentType *string)
- func (o *CreateBindParams) SetTimeout(timeout time.Duration)
- func (o *CreateBindParams) SetTransactionID(transactionID *string)
- func (o *CreateBindParams) SetVersion(version *int64)
- func (o *CreateBindParams) WithContext(ctx context.Context) *CreateBindParams
- func (o *CreateBindParams) WithData(data *models.Bind) *CreateBindParams
- func (o *CreateBindParams) WithDefaults() *CreateBindParams
- func (o *CreateBindParams) WithForceReload(forceReload *bool) *CreateBindParams
- func (o *CreateBindParams) WithFrontend(frontend *string) *CreateBindParams
- func (o *CreateBindParams) WithHTTPClient(client *http.Client) *CreateBindParams
- func (o *CreateBindParams) WithParentName(parentName *string) *CreateBindParams
- func (o *CreateBindParams) WithParentType(parentType *string) *CreateBindParams
- func (o *CreateBindParams) WithTimeout(timeout time.Duration) *CreateBindParams
- func (o *CreateBindParams) WithTransactionID(transactionID *string) *CreateBindParams
- func (o *CreateBindParams) WithVersion(version *int64) *CreateBindParams
- func (o *CreateBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBindReader
- type DeleteBindAccepted
- func (o *DeleteBindAccepted) Code() int
- func (o *DeleteBindAccepted) Error() string
- func (o *DeleteBindAccepted) IsClientError() bool
- func (o *DeleteBindAccepted) IsCode(code int) bool
- func (o *DeleteBindAccepted) IsRedirect() bool
- func (o *DeleteBindAccepted) IsServerError() bool
- func (o *DeleteBindAccepted) IsSuccess() bool
- func (o *DeleteBindAccepted) String() string
- type DeleteBindDefault
- func (o *DeleteBindDefault) Code() int
- func (o *DeleteBindDefault) Error() string
- func (o *DeleteBindDefault) GetPayload() *models.Error
- func (o *DeleteBindDefault) IsClientError() bool
- func (o *DeleteBindDefault) IsCode(code int) bool
- func (o *DeleteBindDefault) IsRedirect() bool
- func (o *DeleteBindDefault) IsServerError() bool
- func (o *DeleteBindDefault) IsSuccess() bool
- func (o *DeleteBindDefault) String() string
- type DeleteBindNoContent
- func (o *DeleteBindNoContent) Code() int
- func (o *DeleteBindNoContent) Error() string
- func (o *DeleteBindNoContent) IsClientError() bool
- func (o *DeleteBindNoContent) IsCode(code int) bool
- func (o *DeleteBindNoContent) IsRedirect() bool
- func (o *DeleteBindNoContent) IsServerError() bool
- func (o *DeleteBindNoContent) IsSuccess() bool
- func (o *DeleteBindNoContent) String() string
- type DeleteBindNotFound
- func (o *DeleteBindNotFound) Code() int
- func (o *DeleteBindNotFound) Error() string
- func (o *DeleteBindNotFound) GetPayload() *models.Error
- func (o *DeleteBindNotFound) IsClientError() bool
- func (o *DeleteBindNotFound) IsCode(code int) bool
- func (o *DeleteBindNotFound) IsRedirect() bool
- func (o *DeleteBindNotFound) IsServerError() bool
- func (o *DeleteBindNotFound) IsSuccess() bool
- func (o *DeleteBindNotFound) String() string
- type DeleteBindParams
- func (o *DeleteBindParams) SetContext(ctx context.Context)
- func (o *DeleteBindParams) SetDefaults()
- func (o *DeleteBindParams) SetForceReload(forceReload *bool)
- func (o *DeleteBindParams) SetFrontend(frontend *string)
- func (o *DeleteBindParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBindParams) SetName(name string)
- func (o *DeleteBindParams) SetParentName(parentName *string)
- func (o *DeleteBindParams) SetParentType(parentType *string)
- func (o *DeleteBindParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBindParams) SetTransactionID(transactionID *string)
- func (o *DeleteBindParams) SetVersion(version *int64)
- func (o *DeleteBindParams) WithContext(ctx context.Context) *DeleteBindParams
- func (o *DeleteBindParams) WithDefaults() *DeleteBindParams
- func (o *DeleteBindParams) WithForceReload(forceReload *bool) *DeleteBindParams
- func (o *DeleteBindParams) WithFrontend(frontend *string) *DeleteBindParams
- func (o *DeleteBindParams) WithHTTPClient(client *http.Client) *DeleteBindParams
- func (o *DeleteBindParams) WithName(name string) *DeleteBindParams
- func (o *DeleteBindParams) WithParentName(parentName *string) *DeleteBindParams
- func (o *DeleteBindParams) WithParentType(parentType *string) *DeleteBindParams
- func (o *DeleteBindParams) WithTimeout(timeout time.Duration) *DeleteBindParams
- func (o *DeleteBindParams) WithTransactionID(transactionID *string) *DeleteBindParams
- func (o *DeleteBindParams) WithVersion(version *int64) *DeleteBindParams
- func (o *DeleteBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBindReader
- type GetBindDefault
- func (o *GetBindDefault) Code() int
- func (o *GetBindDefault) Error() string
- func (o *GetBindDefault) GetPayload() *models.Error
- func (o *GetBindDefault) IsClientError() bool
- func (o *GetBindDefault) IsCode(code int) bool
- func (o *GetBindDefault) IsRedirect() bool
- func (o *GetBindDefault) IsServerError() bool
- func (o *GetBindDefault) IsSuccess() bool
- func (o *GetBindDefault) String() string
- type GetBindNotFound
- func (o *GetBindNotFound) Code() int
- func (o *GetBindNotFound) Error() string
- func (o *GetBindNotFound) GetPayload() *models.Error
- func (o *GetBindNotFound) IsClientError() bool
- func (o *GetBindNotFound) IsCode(code int) bool
- func (o *GetBindNotFound) IsRedirect() bool
- func (o *GetBindNotFound) IsServerError() bool
- func (o *GetBindNotFound) IsSuccess() bool
- func (o *GetBindNotFound) String() string
- type GetBindOK
- func (o *GetBindOK) Code() int
- func (o *GetBindOK) Error() string
- func (o *GetBindOK) GetPayload() *GetBindOKBody
- func (o *GetBindOK) IsClientError() bool
- func (o *GetBindOK) IsCode(code int) bool
- func (o *GetBindOK) IsRedirect() bool
- func (o *GetBindOK) IsServerError() bool
- func (o *GetBindOK) IsSuccess() bool
- func (o *GetBindOK) String() string
- type GetBindOKBody
- type GetBindParams
- func (o *GetBindParams) SetContext(ctx context.Context)
- func (o *GetBindParams) SetDefaults()
- func (o *GetBindParams) SetFrontend(frontend *string)
- func (o *GetBindParams) SetHTTPClient(client *http.Client)
- func (o *GetBindParams) SetName(name string)
- func (o *GetBindParams) SetParentName(parentName *string)
- func (o *GetBindParams) SetParentType(parentType *string)
- func (o *GetBindParams) SetTimeout(timeout time.Duration)
- func (o *GetBindParams) SetTransactionID(transactionID *string)
- func (o *GetBindParams) WithContext(ctx context.Context) *GetBindParams
- func (o *GetBindParams) WithDefaults() *GetBindParams
- func (o *GetBindParams) WithFrontend(frontend *string) *GetBindParams
- func (o *GetBindParams) WithHTTPClient(client *http.Client) *GetBindParams
- func (o *GetBindParams) WithName(name string) *GetBindParams
- func (o *GetBindParams) WithParentName(parentName *string) *GetBindParams
- func (o *GetBindParams) WithParentType(parentType *string) *GetBindParams
- func (o *GetBindParams) WithTimeout(timeout time.Duration) *GetBindParams
- func (o *GetBindParams) WithTransactionID(transactionID *string) *GetBindParams
- func (o *GetBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBindReader
- type GetBindsDefault
- func (o *GetBindsDefault) Code() int
- func (o *GetBindsDefault) Error() string
- func (o *GetBindsDefault) GetPayload() *models.Error
- func (o *GetBindsDefault) IsClientError() bool
- func (o *GetBindsDefault) IsCode(code int) bool
- func (o *GetBindsDefault) IsRedirect() bool
- func (o *GetBindsDefault) IsServerError() bool
- func (o *GetBindsDefault) IsSuccess() bool
- func (o *GetBindsDefault) String() string
- type GetBindsOK
- func (o *GetBindsOK) Code() int
- func (o *GetBindsOK) Error() string
- func (o *GetBindsOK) GetPayload() *GetBindsOKBody
- func (o *GetBindsOK) IsClientError() bool
- func (o *GetBindsOK) IsCode(code int) bool
- func (o *GetBindsOK) IsRedirect() bool
- func (o *GetBindsOK) IsServerError() bool
- func (o *GetBindsOK) IsSuccess() bool
- func (o *GetBindsOK) String() string
- type GetBindsOKBody
- type GetBindsParams
- func (o *GetBindsParams) SetContext(ctx context.Context)
- func (o *GetBindsParams) SetDefaults()
- func (o *GetBindsParams) SetFrontend(frontend *string)
- func (o *GetBindsParams) SetHTTPClient(client *http.Client)
- func (o *GetBindsParams) SetParentName(parentName *string)
- func (o *GetBindsParams) SetParentType(parentType *string)
- func (o *GetBindsParams) SetTimeout(timeout time.Duration)
- func (o *GetBindsParams) SetTransactionID(transactionID *string)
- func (o *GetBindsParams) WithContext(ctx context.Context) *GetBindsParams
- func (o *GetBindsParams) WithDefaults() *GetBindsParams
- func (o *GetBindsParams) WithFrontend(frontend *string) *GetBindsParams
- func (o *GetBindsParams) WithHTTPClient(client *http.Client) *GetBindsParams
- func (o *GetBindsParams) WithParentName(parentName *string) *GetBindsParams
- func (o *GetBindsParams) WithParentType(parentType *string) *GetBindsParams
- func (o *GetBindsParams) WithTimeout(timeout time.Duration) *GetBindsParams
- func (o *GetBindsParams) WithTransactionID(transactionID *string) *GetBindsParams
- func (o *GetBindsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBindsReader
- type ReplaceBindAccepted
- func (o *ReplaceBindAccepted) Code() int
- func (o *ReplaceBindAccepted) Error() string
- func (o *ReplaceBindAccepted) GetPayload() *models.Bind
- func (o *ReplaceBindAccepted) IsClientError() bool
- func (o *ReplaceBindAccepted) IsCode(code int) bool
- func (o *ReplaceBindAccepted) IsRedirect() bool
- func (o *ReplaceBindAccepted) IsServerError() bool
- func (o *ReplaceBindAccepted) IsSuccess() bool
- func (o *ReplaceBindAccepted) String() string
- type ReplaceBindBadRequest
- func (o *ReplaceBindBadRequest) Code() int
- func (o *ReplaceBindBadRequest) Error() string
- func (o *ReplaceBindBadRequest) GetPayload() *models.Error
- func (o *ReplaceBindBadRequest) IsClientError() bool
- func (o *ReplaceBindBadRequest) IsCode(code int) bool
- func (o *ReplaceBindBadRequest) IsRedirect() bool
- func (o *ReplaceBindBadRequest) IsServerError() bool
- func (o *ReplaceBindBadRequest) IsSuccess() bool
- func (o *ReplaceBindBadRequest) String() string
- type ReplaceBindDefault
- func (o *ReplaceBindDefault) Code() int
- func (o *ReplaceBindDefault) Error() string
- func (o *ReplaceBindDefault) GetPayload() *models.Error
- func (o *ReplaceBindDefault) IsClientError() bool
- func (o *ReplaceBindDefault) IsCode(code int) bool
- func (o *ReplaceBindDefault) IsRedirect() bool
- func (o *ReplaceBindDefault) IsServerError() bool
- func (o *ReplaceBindDefault) IsSuccess() bool
- func (o *ReplaceBindDefault) String() string
- type ReplaceBindNotFound
- func (o *ReplaceBindNotFound) Code() int
- func (o *ReplaceBindNotFound) Error() string
- func (o *ReplaceBindNotFound) GetPayload() *models.Error
- func (o *ReplaceBindNotFound) IsClientError() bool
- func (o *ReplaceBindNotFound) IsCode(code int) bool
- func (o *ReplaceBindNotFound) IsRedirect() bool
- func (o *ReplaceBindNotFound) IsServerError() bool
- func (o *ReplaceBindNotFound) IsSuccess() bool
- func (o *ReplaceBindNotFound) String() string
- type ReplaceBindOK
- func (o *ReplaceBindOK) Code() int
- func (o *ReplaceBindOK) Error() string
- func (o *ReplaceBindOK) GetPayload() *models.Bind
- func (o *ReplaceBindOK) IsClientError() bool
- func (o *ReplaceBindOK) IsCode(code int) bool
- func (o *ReplaceBindOK) IsRedirect() bool
- func (o *ReplaceBindOK) IsServerError() bool
- func (o *ReplaceBindOK) IsSuccess() bool
- func (o *ReplaceBindOK) String() string
- type ReplaceBindParams
- func (o *ReplaceBindParams) SetContext(ctx context.Context)
- func (o *ReplaceBindParams) SetData(data *models.Bind)
- func (o *ReplaceBindParams) SetDefaults()
- func (o *ReplaceBindParams) SetForceReload(forceReload *bool)
- func (o *ReplaceBindParams) SetFrontend(frontend *string)
- func (o *ReplaceBindParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceBindParams) SetName(name string)
- func (o *ReplaceBindParams) SetParentName(parentName *string)
- func (o *ReplaceBindParams) SetParentType(parentType *string)
- func (o *ReplaceBindParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceBindParams) SetTransactionID(transactionID *string)
- func (o *ReplaceBindParams) SetVersion(version *int64)
- func (o *ReplaceBindParams) WithContext(ctx context.Context) *ReplaceBindParams
- func (o *ReplaceBindParams) WithData(data *models.Bind) *ReplaceBindParams
- func (o *ReplaceBindParams) WithDefaults() *ReplaceBindParams
- func (o *ReplaceBindParams) WithForceReload(forceReload *bool) *ReplaceBindParams
- func (o *ReplaceBindParams) WithFrontend(frontend *string) *ReplaceBindParams
- func (o *ReplaceBindParams) WithHTTPClient(client *http.Client) *ReplaceBindParams
- func (o *ReplaceBindParams) WithName(name string) *ReplaceBindParams
- func (o *ReplaceBindParams) WithParentName(parentName *string) *ReplaceBindParams
- func (o *ReplaceBindParams) WithParentType(parentType *string) *ReplaceBindParams
- func (o *ReplaceBindParams) WithTimeout(timeout time.Duration) *ReplaceBindParams
- func (o *ReplaceBindParams) WithTransactionID(transactionID *string) *ReplaceBindParams
- func (o *ReplaceBindParams) WithVersion(version *int64) *ReplaceBindParams
- func (o *ReplaceBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceBindReader
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 bind API
func (*Client) CreateBind ¶
func (a *Client) CreateBind(params *CreateBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBindCreated, *CreateBindAccepted, error)
CreateBind adds a new bind
Adds a new bind in the specified frontend in the configuration file.
func (*Client) DeleteBind ¶
func (a *Client) DeleteBind(params *DeleteBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBindAccepted, *DeleteBindNoContent, error)
DeleteBind deletes a bind
Deletes a bind configuration by it's name in the specified frontend.
func (*Client) GetBind ¶
func (a *Client) GetBind(params *GetBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBindOK, error)
GetBind returns one bind
Returns one bind configuration by it's name in the specified frontend.
func (*Client) GetBinds ¶
func (a *Client) GetBinds(params *GetBindsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBindsOK, error)
GetBinds returns an array of binds
Returns an array of all binds that are configured in specified frontend.
func (*Client) ReplaceBind ¶
func (a *Client) ReplaceBind(params *ReplaceBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceBindOK, *ReplaceBindAccepted, error)
ReplaceBind replaces a bind
Replaces a bind configuration by it's name in the specified frontend.
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 { CreateBind(params *CreateBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBindCreated, *CreateBindAccepted, error) DeleteBind(params *DeleteBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBindAccepted, *DeleteBindNoContent, error) GetBind(params *GetBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBindOK, error) GetBinds(params *GetBindsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBindsOK, error) ReplaceBind(params *ReplaceBindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceBindOK, *ReplaceBindAccepted, 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 bind API client.
type CreateBindAccepted ¶
type CreateBindAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Bind }
CreateBindAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateBindAccepted ¶
func NewCreateBindAccepted() *CreateBindAccepted
NewCreateBindAccepted creates a CreateBindAccepted with default headers values
func (*CreateBindAccepted) Code ¶ added in v1.1.5
func (o *CreateBindAccepted) Code() int
Code gets the status code for the create bind accepted response
func (*CreateBindAccepted) Error ¶
func (o *CreateBindAccepted) Error() string
func (*CreateBindAccepted) GetPayload ¶
func (o *CreateBindAccepted) GetPayload() *models.Bind
func (*CreateBindAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateBindAccepted) IsClientError() bool
IsClientError returns true when this create bind accepted response has a 4xx status code
func (*CreateBindAccepted) IsCode ¶ added in v1.1.0
func (o *CreateBindAccepted) IsCode(code int) bool
IsCode returns true when this create bind accepted response a status code equal to that given
func (*CreateBindAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateBindAccepted) IsRedirect() bool
IsRedirect returns true when this create bind accepted response has a 3xx status code
func (*CreateBindAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateBindAccepted) IsServerError() bool
IsServerError returns true when this create bind accepted response has a 5xx status code
func (*CreateBindAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateBindAccepted) IsSuccess() bool
IsSuccess returns true when this create bind accepted response has a 2xx status code
func (*CreateBindAccepted) String ¶ added in v1.1.0
func (o *CreateBindAccepted) String() string
type CreateBindBadRequest ¶
type CreateBindBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateBindBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateBindBadRequest ¶
func NewCreateBindBadRequest() *CreateBindBadRequest
NewCreateBindBadRequest creates a CreateBindBadRequest with default headers values
func (*CreateBindBadRequest) Code ¶ added in v1.1.5
func (o *CreateBindBadRequest) Code() int
Code gets the status code for the create bind bad request response
func (*CreateBindBadRequest) Error ¶
func (o *CreateBindBadRequest) Error() string
func (*CreateBindBadRequest) GetPayload ¶
func (o *CreateBindBadRequest) GetPayload() *models.Error
func (*CreateBindBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateBindBadRequest) IsClientError() bool
IsClientError returns true when this create bind bad request response has a 4xx status code
func (*CreateBindBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateBindBadRequest) IsCode(code int) bool
IsCode returns true when this create bind bad request response a status code equal to that given
func (*CreateBindBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateBindBadRequest) IsRedirect() bool
IsRedirect returns true when this create bind bad request response has a 3xx status code
func (*CreateBindBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateBindBadRequest) IsServerError() bool
IsServerError returns true when this create bind bad request response has a 5xx status code
func (*CreateBindBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateBindBadRequest) IsSuccess() bool
IsSuccess returns true when this create bind bad request response has a 2xx status code
func (*CreateBindBadRequest) String ¶ added in v1.1.0
func (o *CreateBindBadRequest) String() string
type CreateBindConflict ¶
type CreateBindConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateBindConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateBindConflict ¶
func NewCreateBindConflict() *CreateBindConflict
NewCreateBindConflict creates a CreateBindConflict with default headers values
func (*CreateBindConflict) Code ¶ added in v1.1.5
func (o *CreateBindConflict) Code() int
Code gets the status code for the create bind conflict response
func (*CreateBindConflict) Error ¶
func (o *CreateBindConflict) Error() string
func (*CreateBindConflict) GetPayload ¶
func (o *CreateBindConflict) GetPayload() *models.Error
func (*CreateBindConflict) IsClientError ¶ added in v1.1.0
func (o *CreateBindConflict) IsClientError() bool
IsClientError returns true when this create bind conflict response has a 4xx status code
func (*CreateBindConflict) IsCode ¶ added in v1.1.0
func (o *CreateBindConflict) IsCode(code int) bool
IsCode returns true when this create bind conflict response a status code equal to that given
func (*CreateBindConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateBindConflict) IsRedirect() bool
IsRedirect returns true when this create bind conflict response has a 3xx status code
func (*CreateBindConflict) IsServerError ¶ added in v1.1.0
func (o *CreateBindConflict) IsServerError() bool
IsServerError returns true when this create bind conflict response has a 5xx status code
func (*CreateBindConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateBindConflict) IsSuccess() bool
IsSuccess returns true when this create bind conflict response has a 2xx status code
func (*CreateBindConflict) String ¶ added in v1.1.0
func (o *CreateBindConflict) String() string
type CreateBindCreated ¶
CreateBindCreated describes a response with status code 201, with default header values.
Bind created
func NewCreateBindCreated ¶
func NewCreateBindCreated() *CreateBindCreated
NewCreateBindCreated creates a CreateBindCreated with default headers values
func (*CreateBindCreated) Code ¶ added in v1.1.5
func (o *CreateBindCreated) Code() int
Code gets the status code for the create bind created response
func (*CreateBindCreated) Error ¶
func (o *CreateBindCreated) Error() string
func (*CreateBindCreated) GetPayload ¶
func (o *CreateBindCreated) GetPayload() *models.Bind
func (*CreateBindCreated) IsClientError ¶ added in v1.1.0
func (o *CreateBindCreated) IsClientError() bool
IsClientError returns true when this create bind created response has a 4xx status code
func (*CreateBindCreated) IsCode ¶ added in v1.1.0
func (o *CreateBindCreated) IsCode(code int) bool
IsCode returns true when this create bind created response a status code equal to that given
func (*CreateBindCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateBindCreated) IsRedirect() bool
IsRedirect returns true when this create bind created response has a 3xx status code
func (*CreateBindCreated) IsServerError ¶ added in v1.1.0
func (o *CreateBindCreated) IsServerError() bool
IsServerError returns true when this create bind created response has a 5xx status code
func (*CreateBindCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateBindCreated) IsSuccess() bool
IsSuccess returns true when this create bind created response has a 2xx status code
func (*CreateBindCreated) String ¶ added in v1.1.0
func (o *CreateBindCreated) String() string
type CreateBindDefault ¶
type CreateBindDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateBindDefault describes a response with status code -1, with default header values.
General Error
func NewCreateBindDefault ¶
func NewCreateBindDefault(code int) *CreateBindDefault
NewCreateBindDefault creates a CreateBindDefault with default headers values
func (*CreateBindDefault) Code ¶
func (o *CreateBindDefault) Code() int
Code gets the status code for the create bind default response
func (*CreateBindDefault) Error ¶
func (o *CreateBindDefault) Error() string
func (*CreateBindDefault) GetPayload ¶
func (o *CreateBindDefault) GetPayload() *models.Error
func (*CreateBindDefault) IsClientError ¶ added in v1.1.0
func (o *CreateBindDefault) IsClientError() bool
IsClientError returns true when this create bind default response has a 4xx status code
func (*CreateBindDefault) IsCode ¶ added in v1.1.0
func (o *CreateBindDefault) IsCode(code int) bool
IsCode returns true when this create bind default response a status code equal to that given
func (*CreateBindDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateBindDefault) IsRedirect() bool
IsRedirect returns true when this create bind default response has a 3xx status code
func (*CreateBindDefault) IsServerError ¶ added in v1.1.0
func (o *CreateBindDefault) IsServerError() bool
IsServerError returns true when this create bind default response has a 5xx status code
func (*CreateBindDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateBindDefault) IsSuccess() bool
IsSuccess returns true when this create bind default response has a 2xx status code
func (*CreateBindDefault) String ¶ added in v1.1.0
func (o *CreateBindDefault) String() string
type CreateBindParams ¶
type CreateBindParams struct { // Data. Data *models.Bind /* 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 /* Frontend. Parent frontend name */ Frontend *string /* 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 }
CreateBindParams contains all the parameters to send to the API endpoint
for the create bind operation. Typically these are written to a http.Request.
func NewCreateBindParams ¶
func NewCreateBindParams() *CreateBindParams
NewCreateBindParams creates a new CreateBindParams 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 NewCreateBindParamsWithContext ¶
func NewCreateBindParamsWithContext(ctx context.Context) *CreateBindParams
NewCreateBindParamsWithContext creates a new CreateBindParams object with the ability to set a context for a request.
func NewCreateBindParamsWithHTTPClient ¶
func NewCreateBindParamsWithHTTPClient(client *http.Client) *CreateBindParams
NewCreateBindParamsWithHTTPClient creates a new CreateBindParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBindParamsWithTimeout ¶
func NewCreateBindParamsWithTimeout(timeout time.Duration) *CreateBindParams
NewCreateBindParamsWithTimeout creates a new CreateBindParams object with the ability to set a timeout on a request.
func (*CreateBindParams) SetContext ¶
func (o *CreateBindParams) SetContext(ctx context.Context)
SetContext adds the context to the create bind params
func (*CreateBindParams) SetData ¶
func (o *CreateBindParams) SetData(data *models.Bind)
SetData adds the data to the create bind params
func (*CreateBindParams) SetDefaults ¶
func (o *CreateBindParams) SetDefaults()
SetDefaults hydrates default values in the create bind params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBindParams) SetForceReload ¶
func (o *CreateBindParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create bind params
func (*CreateBindParams) SetFrontend ¶
func (o *CreateBindParams) SetFrontend(frontend *string)
SetFrontend adds the frontend to the create bind params
func (*CreateBindParams) SetHTTPClient ¶
func (o *CreateBindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create bind params
func (*CreateBindParams) SetParentName ¶ added in v1.0.0
func (o *CreateBindParams) SetParentName(parentName *string)
SetParentName adds the parentName to the create bind params
func (*CreateBindParams) SetParentType ¶ added in v1.0.0
func (o *CreateBindParams) SetParentType(parentType *string)
SetParentType adds the parentType to the create bind params
func (*CreateBindParams) SetTimeout ¶
func (o *CreateBindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create bind params
func (*CreateBindParams) SetTransactionID ¶
func (o *CreateBindParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create bind params
func (*CreateBindParams) SetVersion ¶
func (o *CreateBindParams) SetVersion(version *int64)
SetVersion adds the version to the create bind params
func (*CreateBindParams) WithContext ¶
func (o *CreateBindParams) WithContext(ctx context.Context) *CreateBindParams
WithContext adds the context to the create bind params
func (*CreateBindParams) WithData ¶
func (o *CreateBindParams) WithData(data *models.Bind) *CreateBindParams
WithData adds the data to the create bind params
func (*CreateBindParams) WithDefaults ¶
func (o *CreateBindParams) WithDefaults() *CreateBindParams
WithDefaults hydrates default values in the create bind params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBindParams) WithForceReload ¶
func (o *CreateBindParams) WithForceReload(forceReload *bool) *CreateBindParams
WithForceReload adds the forceReload to the create bind params
func (*CreateBindParams) WithFrontend ¶
func (o *CreateBindParams) WithFrontend(frontend *string) *CreateBindParams
WithFrontend adds the frontend to the create bind params
func (*CreateBindParams) WithHTTPClient ¶
func (o *CreateBindParams) WithHTTPClient(client *http.Client) *CreateBindParams
WithHTTPClient adds the HTTPClient to the create bind params
func (*CreateBindParams) WithParentName ¶ added in v1.0.0
func (o *CreateBindParams) WithParentName(parentName *string) *CreateBindParams
WithParentName adds the parentName to the create bind params
func (*CreateBindParams) WithParentType ¶ added in v1.0.0
func (o *CreateBindParams) WithParentType(parentType *string) *CreateBindParams
WithParentType adds the parentType to the create bind params
func (*CreateBindParams) WithTimeout ¶
func (o *CreateBindParams) WithTimeout(timeout time.Duration) *CreateBindParams
WithTimeout adds the timeout to the create bind params
func (*CreateBindParams) WithTransactionID ¶
func (o *CreateBindParams) WithTransactionID(transactionID *string) *CreateBindParams
WithTransactionID adds the transactionID to the create bind params
func (*CreateBindParams) WithVersion ¶
func (o *CreateBindParams) WithVersion(version *int64) *CreateBindParams
WithVersion adds the version to the create bind params
func (*CreateBindParams) WriteToRequest ¶
func (o *CreateBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBindReader ¶
type CreateBindReader struct {
// contains filtered or unexported fields
}
CreateBindReader is a Reader for the CreateBind structure.
func (*CreateBindReader) ReadResponse ¶
func (o *CreateBindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBindAccepted ¶
type DeleteBindAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteBindAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteBindAccepted ¶
func NewDeleteBindAccepted() *DeleteBindAccepted
NewDeleteBindAccepted creates a DeleteBindAccepted with default headers values
func (*DeleteBindAccepted) Code ¶ added in v1.1.5
func (o *DeleteBindAccepted) Code() int
Code gets the status code for the delete bind accepted response
func (*DeleteBindAccepted) Error ¶
func (o *DeleteBindAccepted) Error() string
func (*DeleteBindAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteBindAccepted) IsClientError() bool
IsClientError returns true when this delete bind accepted response has a 4xx status code
func (*DeleteBindAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteBindAccepted) IsCode(code int) bool
IsCode returns true when this delete bind accepted response a status code equal to that given
func (*DeleteBindAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteBindAccepted) IsRedirect() bool
IsRedirect returns true when this delete bind accepted response has a 3xx status code
func (*DeleteBindAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteBindAccepted) IsServerError() bool
IsServerError returns true when this delete bind accepted response has a 5xx status code
func (*DeleteBindAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteBindAccepted) IsSuccess() bool
IsSuccess returns true when this delete bind accepted response has a 2xx status code
func (*DeleteBindAccepted) String ¶ added in v1.1.0
func (o *DeleteBindAccepted) String() string
type DeleteBindDefault ¶
type DeleteBindDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteBindDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteBindDefault ¶
func NewDeleteBindDefault(code int) *DeleteBindDefault
NewDeleteBindDefault creates a DeleteBindDefault with default headers values
func (*DeleteBindDefault) Code ¶
func (o *DeleteBindDefault) Code() int
Code gets the status code for the delete bind default response
func (*DeleteBindDefault) Error ¶
func (o *DeleteBindDefault) Error() string
func (*DeleteBindDefault) GetPayload ¶
func (o *DeleteBindDefault) GetPayload() *models.Error
func (*DeleteBindDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteBindDefault) IsClientError() bool
IsClientError returns true when this delete bind default response has a 4xx status code
func (*DeleteBindDefault) IsCode ¶ added in v1.1.0
func (o *DeleteBindDefault) IsCode(code int) bool
IsCode returns true when this delete bind default response a status code equal to that given
func (*DeleteBindDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteBindDefault) IsRedirect() bool
IsRedirect returns true when this delete bind default response has a 3xx status code
func (*DeleteBindDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteBindDefault) IsServerError() bool
IsServerError returns true when this delete bind default response has a 5xx status code
func (*DeleteBindDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteBindDefault) IsSuccess() bool
IsSuccess returns true when this delete bind default response has a 2xx status code
func (*DeleteBindDefault) String ¶ added in v1.1.0
func (o *DeleteBindDefault) String() string
type DeleteBindNoContent ¶
type DeleteBindNoContent struct { }
DeleteBindNoContent describes a response with status code 204, with default header values.
Bind deleted
func NewDeleteBindNoContent ¶
func NewDeleteBindNoContent() *DeleteBindNoContent
NewDeleteBindNoContent creates a DeleteBindNoContent with default headers values
func (*DeleteBindNoContent) Code ¶ added in v1.1.5
func (o *DeleteBindNoContent) Code() int
Code gets the status code for the delete bind no content response
func (*DeleteBindNoContent) Error ¶
func (o *DeleteBindNoContent) Error() string
func (*DeleteBindNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteBindNoContent) IsClientError() bool
IsClientError returns true when this delete bind no content response has a 4xx status code
func (*DeleteBindNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteBindNoContent) IsCode(code int) bool
IsCode returns true when this delete bind no content response a status code equal to that given
func (*DeleteBindNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteBindNoContent) IsRedirect() bool
IsRedirect returns true when this delete bind no content response has a 3xx status code
func (*DeleteBindNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteBindNoContent) IsServerError() bool
IsServerError returns true when this delete bind no content response has a 5xx status code
func (*DeleteBindNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteBindNoContent) IsSuccess() bool
IsSuccess returns true when this delete bind no content response has a 2xx status code
func (*DeleteBindNoContent) String ¶ added in v1.1.0
func (o *DeleteBindNoContent) String() string
type DeleteBindNotFound ¶
type DeleteBindNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteBindNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteBindNotFound ¶
func NewDeleteBindNotFound() *DeleteBindNotFound
NewDeleteBindNotFound creates a DeleteBindNotFound with default headers values
func (*DeleteBindNotFound) Code ¶ added in v1.1.5
func (o *DeleteBindNotFound) Code() int
Code gets the status code for the delete bind not found response
func (*DeleteBindNotFound) Error ¶
func (o *DeleteBindNotFound) Error() string
func (*DeleteBindNotFound) GetPayload ¶
func (o *DeleteBindNotFound) GetPayload() *models.Error
func (*DeleteBindNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteBindNotFound) IsClientError() bool
IsClientError returns true when this delete bind not found response has a 4xx status code
func (*DeleteBindNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteBindNotFound) IsCode(code int) bool
IsCode returns true when this delete bind not found response a status code equal to that given
func (*DeleteBindNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteBindNotFound) IsRedirect() bool
IsRedirect returns true when this delete bind not found response has a 3xx status code
func (*DeleteBindNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteBindNotFound) IsServerError() bool
IsServerError returns true when this delete bind not found response has a 5xx status code
func (*DeleteBindNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteBindNotFound) IsSuccess() bool
IsSuccess returns true when this delete bind not found response has a 2xx status code
func (*DeleteBindNotFound) String ¶ added in v1.1.0
func (o *DeleteBindNotFound) String() string
type DeleteBindParams ¶
type DeleteBindParams 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 /* Frontend. Parent frontend name */ Frontend *string /* Name. Bind name */ Name string /* 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 }
DeleteBindParams contains all the parameters to send to the API endpoint
for the delete bind operation. Typically these are written to a http.Request.
func NewDeleteBindParams ¶
func NewDeleteBindParams() *DeleteBindParams
NewDeleteBindParams creates a new DeleteBindParams 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 NewDeleteBindParamsWithContext ¶
func NewDeleteBindParamsWithContext(ctx context.Context) *DeleteBindParams
NewDeleteBindParamsWithContext creates a new DeleteBindParams object with the ability to set a context for a request.
func NewDeleteBindParamsWithHTTPClient ¶
func NewDeleteBindParamsWithHTTPClient(client *http.Client) *DeleteBindParams
NewDeleteBindParamsWithHTTPClient creates a new DeleteBindParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBindParamsWithTimeout ¶
func NewDeleteBindParamsWithTimeout(timeout time.Duration) *DeleteBindParams
NewDeleteBindParamsWithTimeout creates a new DeleteBindParams object with the ability to set a timeout on a request.
func (*DeleteBindParams) SetContext ¶
func (o *DeleteBindParams) SetContext(ctx context.Context)
SetContext adds the context to the delete bind params
func (*DeleteBindParams) SetDefaults ¶
func (o *DeleteBindParams) SetDefaults()
SetDefaults hydrates default values in the delete bind params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBindParams) SetForceReload ¶
func (o *DeleteBindParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete bind params
func (*DeleteBindParams) SetFrontend ¶
func (o *DeleteBindParams) SetFrontend(frontend *string)
SetFrontend adds the frontend to the delete bind params
func (*DeleteBindParams) SetHTTPClient ¶
func (o *DeleteBindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete bind params
func (*DeleteBindParams) SetName ¶
func (o *DeleteBindParams) SetName(name string)
SetName adds the name to the delete bind params
func (*DeleteBindParams) SetParentName ¶ added in v1.0.0
func (o *DeleteBindParams) SetParentName(parentName *string)
SetParentName adds the parentName to the delete bind params
func (*DeleteBindParams) SetParentType ¶ added in v1.0.0
func (o *DeleteBindParams) SetParentType(parentType *string)
SetParentType adds the parentType to the delete bind params
func (*DeleteBindParams) SetTimeout ¶
func (o *DeleteBindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete bind params
func (*DeleteBindParams) SetTransactionID ¶
func (o *DeleteBindParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete bind params
func (*DeleteBindParams) SetVersion ¶
func (o *DeleteBindParams) SetVersion(version *int64)
SetVersion adds the version to the delete bind params
func (*DeleteBindParams) WithContext ¶
func (o *DeleteBindParams) WithContext(ctx context.Context) *DeleteBindParams
WithContext adds the context to the delete bind params
func (*DeleteBindParams) WithDefaults ¶
func (o *DeleteBindParams) WithDefaults() *DeleteBindParams
WithDefaults hydrates default values in the delete bind params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBindParams) WithForceReload ¶
func (o *DeleteBindParams) WithForceReload(forceReload *bool) *DeleteBindParams
WithForceReload adds the forceReload to the delete bind params
func (*DeleteBindParams) WithFrontend ¶
func (o *DeleteBindParams) WithFrontend(frontend *string) *DeleteBindParams
WithFrontend adds the frontend to the delete bind params
func (*DeleteBindParams) WithHTTPClient ¶
func (o *DeleteBindParams) WithHTTPClient(client *http.Client) *DeleteBindParams
WithHTTPClient adds the HTTPClient to the delete bind params
func (*DeleteBindParams) WithName ¶
func (o *DeleteBindParams) WithName(name string) *DeleteBindParams
WithName adds the name to the delete bind params
func (*DeleteBindParams) WithParentName ¶ added in v1.0.0
func (o *DeleteBindParams) WithParentName(parentName *string) *DeleteBindParams
WithParentName adds the parentName to the delete bind params
func (*DeleteBindParams) WithParentType ¶ added in v1.0.0
func (o *DeleteBindParams) WithParentType(parentType *string) *DeleteBindParams
WithParentType adds the parentType to the delete bind params
func (*DeleteBindParams) WithTimeout ¶
func (o *DeleteBindParams) WithTimeout(timeout time.Duration) *DeleteBindParams
WithTimeout adds the timeout to the delete bind params
func (*DeleteBindParams) WithTransactionID ¶
func (o *DeleteBindParams) WithTransactionID(transactionID *string) *DeleteBindParams
WithTransactionID adds the transactionID to the delete bind params
func (*DeleteBindParams) WithVersion ¶
func (o *DeleteBindParams) WithVersion(version *int64) *DeleteBindParams
WithVersion adds the version to the delete bind params
func (*DeleteBindParams) WriteToRequest ¶
func (o *DeleteBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBindReader ¶
type DeleteBindReader struct {
// contains filtered or unexported fields
}
DeleteBindReader is a Reader for the DeleteBind structure.
func (*DeleteBindReader) ReadResponse ¶
func (o *DeleteBindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBindDefault ¶
type GetBindDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetBindDefault describes a response with status code -1, with default header values.
General Error
func NewGetBindDefault ¶
func NewGetBindDefault(code int) *GetBindDefault
NewGetBindDefault creates a GetBindDefault with default headers values
func (*GetBindDefault) Code ¶
func (o *GetBindDefault) Code() int
Code gets the status code for the get bind default response
func (*GetBindDefault) Error ¶
func (o *GetBindDefault) Error() string
func (*GetBindDefault) GetPayload ¶
func (o *GetBindDefault) GetPayload() *models.Error
func (*GetBindDefault) IsClientError ¶ added in v1.1.0
func (o *GetBindDefault) IsClientError() bool
IsClientError returns true when this get bind default response has a 4xx status code
func (*GetBindDefault) IsCode ¶ added in v1.1.0
func (o *GetBindDefault) IsCode(code int) bool
IsCode returns true when this get bind default response a status code equal to that given
func (*GetBindDefault) IsRedirect ¶ added in v1.1.0
func (o *GetBindDefault) IsRedirect() bool
IsRedirect returns true when this get bind default response has a 3xx status code
func (*GetBindDefault) IsServerError ¶ added in v1.1.0
func (o *GetBindDefault) IsServerError() bool
IsServerError returns true when this get bind default response has a 5xx status code
func (*GetBindDefault) IsSuccess ¶ added in v1.1.0
func (o *GetBindDefault) IsSuccess() bool
IsSuccess returns true when this get bind default response has a 2xx status code
func (*GetBindDefault) String ¶ added in v1.1.0
func (o *GetBindDefault) String() string
type GetBindNotFound ¶
type GetBindNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetBindNotFound describes a response with status code 404, with default header values.
The specified resource already exists
func NewGetBindNotFound ¶
func NewGetBindNotFound() *GetBindNotFound
NewGetBindNotFound creates a GetBindNotFound with default headers values
func (*GetBindNotFound) Code ¶ added in v1.1.5
func (o *GetBindNotFound) Code() int
Code gets the status code for the get bind not found response
func (*GetBindNotFound) Error ¶
func (o *GetBindNotFound) Error() string
func (*GetBindNotFound) GetPayload ¶
func (o *GetBindNotFound) GetPayload() *models.Error
func (*GetBindNotFound) IsClientError ¶ added in v1.1.0
func (o *GetBindNotFound) IsClientError() bool
IsClientError returns true when this get bind not found response has a 4xx status code
func (*GetBindNotFound) IsCode ¶ added in v1.1.0
func (o *GetBindNotFound) IsCode(code int) bool
IsCode returns true when this get bind not found response a status code equal to that given
func (*GetBindNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetBindNotFound) IsRedirect() bool
IsRedirect returns true when this get bind not found response has a 3xx status code
func (*GetBindNotFound) IsServerError ¶ added in v1.1.0
func (o *GetBindNotFound) IsServerError() bool
IsServerError returns true when this get bind not found response has a 5xx status code
func (*GetBindNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetBindNotFound) IsSuccess() bool
IsSuccess returns true when this get bind not found response has a 2xx status code
func (*GetBindNotFound) String ¶ added in v1.1.0
func (o *GetBindNotFound) String() string
type GetBindOK ¶
type GetBindOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetBindOKBody }
GetBindOK describes a response with status code 200, with default header values.
Successful operation
func NewGetBindOK ¶
func NewGetBindOK() *GetBindOK
NewGetBindOK creates a GetBindOK with default headers values
func (*GetBindOK) GetPayload ¶
func (o *GetBindOK) GetPayload() *GetBindOKBody
func (*GetBindOK) IsClientError ¶ added in v1.1.0
IsClientError returns true when this get bind o k response has a 4xx status code
func (*GetBindOK) IsCode ¶ added in v1.1.0
IsCode returns true when this get bind o k response a status code equal to that given
func (*GetBindOK) IsRedirect ¶ added in v1.1.0
IsRedirect returns true when this get bind o k response has a 3xx status code
func (*GetBindOK) IsServerError ¶ added in v1.1.0
IsServerError returns true when this get bind o k response has a 5xx status code
type GetBindOKBody ¶
type GetBindOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Bind `json:"data,omitempty"` }
GetBindOKBody get bind o k body swagger:model GetBindOKBody
func (*GetBindOKBody) ContextValidate ¶
ContextValidate validate this get bind o k body based on the context it is used
func (*GetBindOKBody) MarshalBinary ¶
func (o *GetBindOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBindOKBody) UnmarshalBinary ¶
func (o *GetBindOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBindParams ¶
type GetBindParams struct { /* Frontend. Parent frontend name */ Frontend *string /* Name. Bind name */ Name string /* 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 }
GetBindParams contains all the parameters to send to the API endpoint
for the get bind operation. Typically these are written to a http.Request.
func NewGetBindParams ¶
func NewGetBindParams() *GetBindParams
NewGetBindParams creates a new GetBindParams 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 NewGetBindParamsWithContext ¶
func NewGetBindParamsWithContext(ctx context.Context) *GetBindParams
NewGetBindParamsWithContext creates a new GetBindParams object with the ability to set a context for a request.
func NewGetBindParamsWithHTTPClient ¶
func NewGetBindParamsWithHTTPClient(client *http.Client) *GetBindParams
NewGetBindParamsWithHTTPClient creates a new GetBindParams object with the ability to set a custom HTTPClient for a request.
func NewGetBindParamsWithTimeout ¶
func NewGetBindParamsWithTimeout(timeout time.Duration) *GetBindParams
NewGetBindParamsWithTimeout creates a new GetBindParams object with the ability to set a timeout on a request.
func (*GetBindParams) SetContext ¶
func (o *GetBindParams) SetContext(ctx context.Context)
SetContext adds the context to the get bind params
func (*GetBindParams) SetDefaults ¶
func (o *GetBindParams) SetDefaults()
SetDefaults hydrates default values in the get bind params (not the query body).
All values with no default are reset to their zero value.
func (*GetBindParams) SetFrontend ¶
func (o *GetBindParams) SetFrontend(frontend *string)
SetFrontend adds the frontend to the get bind params
func (*GetBindParams) SetHTTPClient ¶
func (o *GetBindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bind params
func (*GetBindParams) SetName ¶
func (o *GetBindParams) SetName(name string)
SetName adds the name to the get bind params
func (*GetBindParams) SetParentName ¶ added in v1.0.0
func (o *GetBindParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get bind params
func (*GetBindParams) SetParentType ¶ added in v1.0.0
func (o *GetBindParams) SetParentType(parentType *string)
SetParentType adds the parentType to the get bind params
func (*GetBindParams) SetTimeout ¶
func (o *GetBindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bind params
func (*GetBindParams) SetTransactionID ¶
func (o *GetBindParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get bind params
func (*GetBindParams) WithContext ¶
func (o *GetBindParams) WithContext(ctx context.Context) *GetBindParams
WithContext adds the context to the get bind params
func (*GetBindParams) WithDefaults ¶
func (o *GetBindParams) WithDefaults() *GetBindParams
WithDefaults hydrates default values in the get bind params (not the query body).
All values with no default are reset to their zero value.
func (*GetBindParams) WithFrontend ¶
func (o *GetBindParams) WithFrontend(frontend *string) *GetBindParams
WithFrontend adds the frontend to the get bind params
func (*GetBindParams) WithHTTPClient ¶
func (o *GetBindParams) WithHTTPClient(client *http.Client) *GetBindParams
WithHTTPClient adds the HTTPClient to the get bind params
func (*GetBindParams) WithName ¶
func (o *GetBindParams) WithName(name string) *GetBindParams
WithName adds the name to the get bind params
func (*GetBindParams) WithParentName ¶ added in v1.0.0
func (o *GetBindParams) WithParentName(parentName *string) *GetBindParams
WithParentName adds the parentName to the get bind params
func (*GetBindParams) WithParentType ¶ added in v1.0.0
func (o *GetBindParams) WithParentType(parentType *string) *GetBindParams
WithParentType adds the parentType to the get bind params
func (*GetBindParams) WithTimeout ¶
func (o *GetBindParams) WithTimeout(timeout time.Duration) *GetBindParams
WithTimeout adds the timeout to the get bind params
func (*GetBindParams) WithTransactionID ¶
func (o *GetBindParams) WithTransactionID(transactionID *string) *GetBindParams
WithTransactionID adds the transactionID to the get bind params
func (*GetBindParams) WriteToRequest ¶
func (o *GetBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBindReader ¶
type GetBindReader struct {
// contains filtered or unexported fields
}
GetBindReader is a Reader for the GetBind structure.
func (*GetBindReader) ReadResponse ¶
func (o *GetBindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBindsDefault ¶
type GetBindsDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetBindsDefault describes a response with status code -1, with default header values.
General Error
func NewGetBindsDefault ¶
func NewGetBindsDefault(code int) *GetBindsDefault
NewGetBindsDefault creates a GetBindsDefault with default headers values
func (*GetBindsDefault) Code ¶
func (o *GetBindsDefault) Code() int
Code gets the status code for the get binds default response
func (*GetBindsDefault) Error ¶
func (o *GetBindsDefault) Error() string
func (*GetBindsDefault) GetPayload ¶
func (o *GetBindsDefault) GetPayload() *models.Error
func (*GetBindsDefault) IsClientError ¶ added in v1.1.0
func (o *GetBindsDefault) IsClientError() bool
IsClientError returns true when this get binds default response has a 4xx status code
func (*GetBindsDefault) IsCode ¶ added in v1.1.0
func (o *GetBindsDefault) IsCode(code int) bool
IsCode returns true when this get binds default response a status code equal to that given
func (*GetBindsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetBindsDefault) IsRedirect() bool
IsRedirect returns true when this get binds default response has a 3xx status code
func (*GetBindsDefault) IsServerError ¶ added in v1.1.0
func (o *GetBindsDefault) IsServerError() bool
IsServerError returns true when this get binds default response has a 5xx status code
func (*GetBindsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetBindsDefault) IsSuccess() bool
IsSuccess returns true when this get binds default response has a 2xx status code
func (*GetBindsDefault) String ¶ added in v1.1.0
func (o *GetBindsDefault) String() string
type GetBindsOK ¶
type GetBindsOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetBindsOKBody }
GetBindsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetBindsOK ¶
func NewGetBindsOK() *GetBindsOK
NewGetBindsOK creates a GetBindsOK with default headers values
func (*GetBindsOK) Code ¶ added in v1.1.5
func (o *GetBindsOK) Code() int
Code gets the status code for the get binds o k response
func (*GetBindsOK) Error ¶
func (o *GetBindsOK) Error() string
func (*GetBindsOK) GetPayload ¶
func (o *GetBindsOK) GetPayload() *GetBindsOKBody
func (*GetBindsOK) IsClientError ¶ added in v1.1.0
func (o *GetBindsOK) IsClientError() bool
IsClientError returns true when this get binds o k response has a 4xx status code
func (*GetBindsOK) IsCode ¶ added in v1.1.0
func (o *GetBindsOK) IsCode(code int) bool
IsCode returns true when this get binds o k response a status code equal to that given
func (*GetBindsOK) IsRedirect ¶ added in v1.1.0
func (o *GetBindsOK) IsRedirect() bool
IsRedirect returns true when this get binds o k response has a 3xx status code
func (*GetBindsOK) IsServerError ¶ added in v1.1.0
func (o *GetBindsOK) IsServerError() bool
IsServerError returns true when this get binds o k response has a 5xx status code
func (*GetBindsOK) IsSuccess ¶ added in v1.1.0
func (o *GetBindsOK) IsSuccess() bool
IsSuccess returns true when this get binds o k response has a 2xx status code
func (*GetBindsOK) String ¶ added in v1.1.0
func (o *GetBindsOK) String() string
type GetBindsOKBody ¶
type GetBindsOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Binds `json:"data"` }
GetBindsOKBody get binds o k body swagger:model GetBindsOKBody
func (*GetBindsOKBody) ContextValidate ¶
ContextValidate validate this get binds o k body based on the context it is used
func (*GetBindsOKBody) MarshalBinary ¶
func (o *GetBindsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBindsOKBody) UnmarshalBinary ¶
func (o *GetBindsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBindsParams ¶
type GetBindsParams struct { /* Frontend. Parent frontend name */ Frontend *string /* 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 }
GetBindsParams contains all the parameters to send to the API endpoint
for the get binds operation. Typically these are written to a http.Request.
func NewGetBindsParams ¶
func NewGetBindsParams() *GetBindsParams
NewGetBindsParams creates a new GetBindsParams 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 NewGetBindsParamsWithContext ¶
func NewGetBindsParamsWithContext(ctx context.Context) *GetBindsParams
NewGetBindsParamsWithContext creates a new GetBindsParams object with the ability to set a context for a request.
func NewGetBindsParamsWithHTTPClient ¶
func NewGetBindsParamsWithHTTPClient(client *http.Client) *GetBindsParams
NewGetBindsParamsWithHTTPClient creates a new GetBindsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBindsParamsWithTimeout ¶
func NewGetBindsParamsWithTimeout(timeout time.Duration) *GetBindsParams
NewGetBindsParamsWithTimeout creates a new GetBindsParams object with the ability to set a timeout on a request.
func (*GetBindsParams) SetContext ¶
func (o *GetBindsParams) SetContext(ctx context.Context)
SetContext adds the context to the get binds params
func (*GetBindsParams) SetDefaults ¶
func (o *GetBindsParams) SetDefaults()
SetDefaults hydrates default values in the get binds params (not the query body).
All values with no default are reset to their zero value.
func (*GetBindsParams) SetFrontend ¶
func (o *GetBindsParams) SetFrontend(frontend *string)
SetFrontend adds the frontend to the get binds params
func (*GetBindsParams) SetHTTPClient ¶
func (o *GetBindsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get binds params
func (*GetBindsParams) SetParentName ¶ added in v1.0.0
func (o *GetBindsParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get binds params
func (*GetBindsParams) SetParentType ¶ added in v1.0.0
func (o *GetBindsParams) SetParentType(parentType *string)
SetParentType adds the parentType to the get binds params
func (*GetBindsParams) SetTimeout ¶
func (o *GetBindsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get binds params
func (*GetBindsParams) SetTransactionID ¶
func (o *GetBindsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get binds params
func (*GetBindsParams) WithContext ¶
func (o *GetBindsParams) WithContext(ctx context.Context) *GetBindsParams
WithContext adds the context to the get binds params
func (*GetBindsParams) WithDefaults ¶
func (o *GetBindsParams) WithDefaults() *GetBindsParams
WithDefaults hydrates default values in the get binds params (not the query body).
All values with no default are reset to their zero value.
func (*GetBindsParams) WithFrontend ¶
func (o *GetBindsParams) WithFrontend(frontend *string) *GetBindsParams
WithFrontend adds the frontend to the get binds params
func (*GetBindsParams) WithHTTPClient ¶
func (o *GetBindsParams) WithHTTPClient(client *http.Client) *GetBindsParams
WithHTTPClient adds the HTTPClient to the get binds params
func (*GetBindsParams) WithParentName ¶ added in v1.0.0
func (o *GetBindsParams) WithParentName(parentName *string) *GetBindsParams
WithParentName adds the parentName to the get binds params
func (*GetBindsParams) WithParentType ¶ added in v1.0.0
func (o *GetBindsParams) WithParentType(parentType *string) *GetBindsParams
WithParentType adds the parentType to the get binds params
func (*GetBindsParams) WithTimeout ¶
func (o *GetBindsParams) WithTimeout(timeout time.Duration) *GetBindsParams
WithTimeout adds the timeout to the get binds params
func (*GetBindsParams) WithTransactionID ¶
func (o *GetBindsParams) WithTransactionID(transactionID *string) *GetBindsParams
WithTransactionID adds the transactionID to the get binds params
func (*GetBindsParams) WriteToRequest ¶
func (o *GetBindsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBindsReader ¶
type GetBindsReader struct {
// contains filtered or unexported fields
}
GetBindsReader is a Reader for the GetBinds structure.
func (*GetBindsReader) ReadResponse ¶
func (o *GetBindsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceBindAccepted ¶
type ReplaceBindAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Bind }
ReplaceBindAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceBindAccepted ¶
func NewReplaceBindAccepted() *ReplaceBindAccepted
NewReplaceBindAccepted creates a ReplaceBindAccepted with default headers values
func (*ReplaceBindAccepted) Code ¶ added in v1.1.5
func (o *ReplaceBindAccepted) Code() int
Code gets the status code for the replace bind accepted response
func (*ReplaceBindAccepted) Error ¶
func (o *ReplaceBindAccepted) Error() string
func (*ReplaceBindAccepted) GetPayload ¶
func (o *ReplaceBindAccepted) GetPayload() *models.Bind
func (*ReplaceBindAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceBindAccepted) IsClientError() bool
IsClientError returns true when this replace bind accepted response has a 4xx status code
func (*ReplaceBindAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceBindAccepted) IsCode(code int) bool
IsCode returns true when this replace bind accepted response a status code equal to that given
func (*ReplaceBindAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceBindAccepted) IsRedirect() bool
IsRedirect returns true when this replace bind accepted response has a 3xx status code
func (*ReplaceBindAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceBindAccepted) IsServerError() bool
IsServerError returns true when this replace bind accepted response has a 5xx status code
func (*ReplaceBindAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceBindAccepted) IsSuccess() bool
IsSuccess returns true when this replace bind accepted response has a 2xx status code
func (*ReplaceBindAccepted) String ¶ added in v1.1.0
func (o *ReplaceBindAccepted) String() string
type ReplaceBindBadRequest ¶
type ReplaceBindBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceBindBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceBindBadRequest ¶
func NewReplaceBindBadRequest() *ReplaceBindBadRequest
NewReplaceBindBadRequest creates a ReplaceBindBadRequest with default headers values
func (*ReplaceBindBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceBindBadRequest) Code() int
Code gets the status code for the replace bind bad request response
func (*ReplaceBindBadRequest) Error ¶
func (o *ReplaceBindBadRequest) Error() string
func (*ReplaceBindBadRequest) GetPayload ¶
func (o *ReplaceBindBadRequest) GetPayload() *models.Error
func (*ReplaceBindBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) IsClientError() bool
IsClientError returns true when this replace bind bad request response has a 4xx status code
func (*ReplaceBindBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) IsCode(code int) bool
IsCode returns true when this replace bind bad request response a status code equal to that given
func (*ReplaceBindBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) IsRedirect() bool
IsRedirect returns true when this replace bind bad request response has a 3xx status code
func (*ReplaceBindBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) IsServerError() bool
IsServerError returns true when this replace bind bad request response has a 5xx status code
func (*ReplaceBindBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) IsSuccess() bool
IsSuccess returns true when this replace bind bad request response has a 2xx status code
func (*ReplaceBindBadRequest) String ¶ added in v1.1.0
func (o *ReplaceBindBadRequest) String() string
type ReplaceBindDefault ¶
type ReplaceBindDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceBindDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceBindDefault ¶
func NewReplaceBindDefault(code int) *ReplaceBindDefault
NewReplaceBindDefault creates a ReplaceBindDefault with default headers values
func (*ReplaceBindDefault) Code ¶
func (o *ReplaceBindDefault) Code() int
Code gets the status code for the replace bind default response
func (*ReplaceBindDefault) Error ¶
func (o *ReplaceBindDefault) Error() string
func (*ReplaceBindDefault) GetPayload ¶
func (o *ReplaceBindDefault) GetPayload() *models.Error
func (*ReplaceBindDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceBindDefault) IsClientError() bool
IsClientError returns true when this replace bind default response has a 4xx status code
func (*ReplaceBindDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceBindDefault) IsCode(code int) bool
IsCode returns true when this replace bind default response a status code equal to that given
func (*ReplaceBindDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceBindDefault) IsRedirect() bool
IsRedirect returns true when this replace bind default response has a 3xx status code
func (*ReplaceBindDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceBindDefault) IsServerError() bool
IsServerError returns true when this replace bind default response has a 5xx status code
func (*ReplaceBindDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceBindDefault) IsSuccess() bool
IsSuccess returns true when this replace bind default response has a 2xx status code
func (*ReplaceBindDefault) String ¶ added in v1.1.0
func (o *ReplaceBindDefault) String() string
type ReplaceBindNotFound ¶
type ReplaceBindNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceBindNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceBindNotFound ¶
func NewReplaceBindNotFound() *ReplaceBindNotFound
NewReplaceBindNotFound creates a ReplaceBindNotFound with default headers values
func (*ReplaceBindNotFound) Code ¶ added in v1.1.5
func (o *ReplaceBindNotFound) Code() int
Code gets the status code for the replace bind not found response
func (*ReplaceBindNotFound) Error ¶
func (o *ReplaceBindNotFound) Error() string
func (*ReplaceBindNotFound) GetPayload ¶
func (o *ReplaceBindNotFound) GetPayload() *models.Error
func (*ReplaceBindNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceBindNotFound) IsClientError() bool
IsClientError returns true when this replace bind not found response has a 4xx status code
func (*ReplaceBindNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceBindNotFound) IsCode(code int) bool
IsCode returns true when this replace bind not found response a status code equal to that given
func (*ReplaceBindNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceBindNotFound) IsRedirect() bool
IsRedirect returns true when this replace bind not found response has a 3xx status code
func (*ReplaceBindNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceBindNotFound) IsServerError() bool
IsServerError returns true when this replace bind not found response has a 5xx status code
func (*ReplaceBindNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceBindNotFound) IsSuccess() bool
IsSuccess returns true when this replace bind not found response has a 2xx status code
func (*ReplaceBindNotFound) String ¶ added in v1.1.0
func (o *ReplaceBindNotFound) String() string
type ReplaceBindOK ¶
ReplaceBindOK describes a response with status code 200, with default header values.
Bind replaced
func NewReplaceBindOK ¶
func NewReplaceBindOK() *ReplaceBindOK
NewReplaceBindOK creates a ReplaceBindOK with default headers values
func (*ReplaceBindOK) Code ¶ added in v1.1.5
func (o *ReplaceBindOK) Code() int
Code gets the status code for the replace bind o k response
func (*ReplaceBindOK) Error ¶
func (o *ReplaceBindOK) Error() string
func (*ReplaceBindOK) GetPayload ¶
func (o *ReplaceBindOK) GetPayload() *models.Bind
func (*ReplaceBindOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceBindOK) IsClientError() bool
IsClientError returns true when this replace bind o k response has a 4xx status code
func (*ReplaceBindOK) IsCode ¶ added in v1.1.0
func (o *ReplaceBindOK) IsCode(code int) bool
IsCode returns true when this replace bind o k response a status code equal to that given
func (*ReplaceBindOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceBindOK) IsRedirect() bool
IsRedirect returns true when this replace bind o k response has a 3xx status code
func (*ReplaceBindOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceBindOK) IsServerError() bool
IsServerError returns true when this replace bind o k response has a 5xx status code
func (*ReplaceBindOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceBindOK) IsSuccess() bool
IsSuccess returns true when this replace bind o k response has a 2xx status code
func (*ReplaceBindOK) String ¶ added in v1.1.0
func (o *ReplaceBindOK) String() string
type ReplaceBindParams ¶
type ReplaceBindParams struct { // Data. Data *models.Bind /* 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 /* Frontend. Parent frontend name */ Frontend *string /* Name. Bind name */ Name string /* 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 }
ReplaceBindParams contains all the parameters to send to the API endpoint
for the replace bind operation. Typically these are written to a http.Request.
func NewReplaceBindParams ¶
func NewReplaceBindParams() *ReplaceBindParams
NewReplaceBindParams creates a new ReplaceBindParams 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 NewReplaceBindParamsWithContext ¶
func NewReplaceBindParamsWithContext(ctx context.Context) *ReplaceBindParams
NewReplaceBindParamsWithContext creates a new ReplaceBindParams object with the ability to set a context for a request.
func NewReplaceBindParamsWithHTTPClient ¶
func NewReplaceBindParamsWithHTTPClient(client *http.Client) *ReplaceBindParams
NewReplaceBindParamsWithHTTPClient creates a new ReplaceBindParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceBindParamsWithTimeout ¶
func NewReplaceBindParamsWithTimeout(timeout time.Duration) *ReplaceBindParams
NewReplaceBindParamsWithTimeout creates a new ReplaceBindParams object with the ability to set a timeout on a request.
func (*ReplaceBindParams) SetContext ¶
func (o *ReplaceBindParams) SetContext(ctx context.Context)
SetContext adds the context to the replace bind params
func (*ReplaceBindParams) SetData ¶
func (o *ReplaceBindParams) SetData(data *models.Bind)
SetData adds the data to the replace bind params
func (*ReplaceBindParams) SetDefaults ¶
func (o *ReplaceBindParams) SetDefaults()
SetDefaults hydrates default values in the replace bind params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceBindParams) SetForceReload ¶
func (o *ReplaceBindParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace bind params
func (*ReplaceBindParams) SetFrontend ¶
func (o *ReplaceBindParams) SetFrontend(frontend *string)
SetFrontend adds the frontend to the replace bind params
func (*ReplaceBindParams) SetHTTPClient ¶
func (o *ReplaceBindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace bind params
func (*ReplaceBindParams) SetName ¶
func (o *ReplaceBindParams) SetName(name string)
SetName adds the name to the replace bind params
func (*ReplaceBindParams) SetParentName ¶ added in v1.0.0
func (o *ReplaceBindParams) SetParentName(parentName *string)
SetParentName adds the parentName to the replace bind params
func (*ReplaceBindParams) SetParentType ¶ added in v1.0.0
func (o *ReplaceBindParams) SetParentType(parentType *string)
SetParentType adds the parentType to the replace bind params
func (*ReplaceBindParams) SetTimeout ¶
func (o *ReplaceBindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace bind params
func (*ReplaceBindParams) SetTransactionID ¶
func (o *ReplaceBindParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace bind params
func (*ReplaceBindParams) SetVersion ¶
func (o *ReplaceBindParams) SetVersion(version *int64)
SetVersion adds the version to the replace bind params
func (*ReplaceBindParams) WithContext ¶
func (o *ReplaceBindParams) WithContext(ctx context.Context) *ReplaceBindParams
WithContext adds the context to the replace bind params
func (*ReplaceBindParams) WithData ¶
func (o *ReplaceBindParams) WithData(data *models.Bind) *ReplaceBindParams
WithData adds the data to the replace bind params
func (*ReplaceBindParams) WithDefaults ¶
func (o *ReplaceBindParams) WithDefaults() *ReplaceBindParams
WithDefaults hydrates default values in the replace bind params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceBindParams) WithForceReload ¶
func (o *ReplaceBindParams) WithForceReload(forceReload *bool) *ReplaceBindParams
WithForceReload adds the forceReload to the replace bind params
func (*ReplaceBindParams) WithFrontend ¶
func (o *ReplaceBindParams) WithFrontend(frontend *string) *ReplaceBindParams
WithFrontend adds the frontend to the replace bind params
func (*ReplaceBindParams) WithHTTPClient ¶
func (o *ReplaceBindParams) WithHTTPClient(client *http.Client) *ReplaceBindParams
WithHTTPClient adds the HTTPClient to the replace bind params
func (*ReplaceBindParams) WithName ¶
func (o *ReplaceBindParams) WithName(name string) *ReplaceBindParams
WithName adds the name to the replace bind params
func (*ReplaceBindParams) WithParentName ¶ added in v1.0.0
func (o *ReplaceBindParams) WithParentName(parentName *string) *ReplaceBindParams
WithParentName adds the parentName to the replace bind params
func (*ReplaceBindParams) WithParentType ¶ added in v1.0.0
func (o *ReplaceBindParams) WithParentType(parentType *string) *ReplaceBindParams
WithParentType adds the parentType to the replace bind params
func (*ReplaceBindParams) WithTimeout ¶
func (o *ReplaceBindParams) WithTimeout(timeout time.Duration) *ReplaceBindParams
WithTimeout adds the timeout to the replace bind params
func (*ReplaceBindParams) WithTransactionID ¶
func (o *ReplaceBindParams) WithTransactionID(transactionID *string) *ReplaceBindParams
WithTransactionID adds the transactionID to the replace bind params
func (*ReplaceBindParams) WithVersion ¶
func (o *ReplaceBindParams) WithVersion(version *int64) *ReplaceBindParams
WithVersion adds the version to the replace bind params
func (*ReplaceBindParams) WriteToRequest ¶
func (o *ReplaceBindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceBindReader ¶
type ReplaceBindReader struct {
// contains filtered or unexported fields
}
ReplaceBindReader is a Reader for the ReplaceBind structure.
func (*ReplaceBindReader) ReadResponse ¶
func (o *ReplaceBindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.