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 ClientService
- type CreateBindAccepted
- type CreateBindBadRequest
- type CreateBindConflict
- type CreateBindCreated
- type CreateBindDefault
- type CreateBindParams
- func (o *CreateBindParams) SetContext(ctx context.Context)
- func (o *CreateBindParams) SetData(data *models.Bind)
- func (o *CreateBindParams) SetForceReload(forceReload *bool)
- func (o *CreateBindParams) SetFrontend(frontend string)
- func (o *CreateBindParams) SetHTTPClient(client *http.Client)
- 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) WithForceReload(forceReload *bool) *CreateBindParams
- func (o *CreateBindParams) WithFrontend(frontend string) *CreateBindParams
- func (o *CreateBindParams) WithHTTPClient(client *http.Client) *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
- type DeleteBindDefault
- type DeleteBindNoContent
- type DeleteBindNotFound
- type DeleteBindParams
- func (o *DeleteBindParams) SetContext(ctx context.Context)
- 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) 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) 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) 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
- type GetBindNotFound
- type GetBindOK
- type GetBindOKBody
- type GetBindParams
- func (o *GetBindParams) SetContext(ctx context.Context)
- func (o *GetBindParams) SetFrontend(frontend string)
- func (o *GetBindParams) SetHTTPClient(client *http.Client)
- func (o *GetBindParams) SetName(name 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) WithFrontend(frontend string) *GetBindParams
- func (o *GetBindParams) WithHTTPClient(client *http.Client) *GetBindParams
- func (o *GetBindParams) WithName(name 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
- type GetBindsOK
- type GetBindsOKBody
- type GetBindsParams
- func (o *GetBindsParams) SetContext(ctx context.Context)
- func (o *GetBindsParams) SetFrontend(frontend string)
- func (o *GetBindsParams) SetHTTPClient(client *http.Client)
- func (o *GetBindsParams) SetTimeout(timeout time.Duration)
- func (o *GetBindsParams) SetTransactionID(transactionID *string)
- func (o *GetBindsParams) WithContext(ctx context.Context) *GetBindsParams
- func (o *GetBindsParams) WithFrontend(frontend string) *GetBindsParams
- func (o *GetBindsParams) WithHTTPClient(client *http.Client) *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
- type ReplaceBindBadRequest
- type ReplaceBindDefault
- type ReplaceBindNotFound
- type ReplaceBindOK
- type ReplaceBindParams
- func (o *ReplaceBindParams) SetContext(ctx context.Context)
- func (o *ReplaceBindParams) SetData(data *models.Bind)
- 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) 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) 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) 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) (*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) (*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) (*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) (*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) (*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 ClientService ¶
type ClientService interface { CreateBind(params *CreateBindParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBindCreated, *CreateBindAccepted, error) DeleteBind(params *DeleteBindParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBindAccepted, *DeleteBindNoContent, error) GetBind(params *GetBindParams, authInfo runtime.ClientAuthInfoWriter) (*GetBindOK, error) GetBinds(params *GetBindsParams, authInfo runtime.ClientAuthInfoWriter) (*GetBindsOK, error) ReplaceBind(params *ReplaceBindParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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) Error ¶
func (o *CreateBindAccepted) Error() string
func (*CreateBindAccepted) GetPayload ¶
func (o *CreateBindAccepted) GetPayload() *models.Bind
type CreateBindBadRequest ¶
type CreateBindBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateBindBadRequest handles this case with default header values.
Bad request
func NewCreateBindBadRequest ¶
func NewCreateBindBadRequest() *CreateBindBadRequest
NewCreateBindBadRequest creates a CreateBindBadRequest with default headers values
func (*CreateBindBadRequest) Error ¶
func (o *CreateBindBadRequest) Error() string
func (*CreateBindBadRequest) GetPayload ¶
func (o *CreateBindBadRequest) GetPayload() *models.Error
type CreateBindConflict ¶
type CreateBindConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateBindConflict handles this case with default header values.
The specified resource already exists
func NewCreateBindConflict ¶
func NewCreateBindConflict() *CreateBindConflict
NewCreateBindConflict creates a CreateBindConflict with default headers values
func (*CreateBindConflict) Error ¶
func (o *CreateBindConflict) Error() string
func (*CreateBindConflict) GetPayload ¶
func (o *CreateBindConflict) GetPayload() *models.Error
type CreateBindCreated ¶
CreateBindCreated handles this case with default header values.
Bind created
func NewCreateBindCreated ¶
func NewCreateBindCreated() *CreateBindCreated
NewCreateBindCreated creates a CreateBindCreated with default headers values
func (*CreateBindCreated) Error ¶
func (o *CreateBindCreated) Error() string
func (*CreateBindCreated) GetPayload ¶
func (o *CreateBindCreated) GetPayload() *models.Bind
type CreateBindDefault ¶
type CreateBindDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateBindDefault handles this case 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
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 /*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 values initialized.
func NewCreateBindParamsWithContext ¶
func NewCreateBindParamsWithContext(ctx context.Context) *CreateBindParams
NewCreateBindParamsWithContext creates a new CreateBindParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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 handles this case 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) Error ¶
func (o *DeleteBindAccepted) Error() string
type DeleteBindDefault ¶
type DeleteBindDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteBindDefault handles this case 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
type DeleteBindNoContent ¶
type DeleteBindNoContent struct { }
DeleteBindNoContent handles this case with default header values.
Bind deleted
func NewDeleteBindNoContent ¶
func NewDeleteBindNoContent() *DeleteBindNoContent
NewDeleteBindNoContent creates a DeleteBindNoContent with default headers values
func (*DeleteBindNoContent) Error ¶
func (o *DeleteBindNoContent) Error() string
type DeleteBindNotFound ¶
type DeleteBindNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteBindNotFound handles this case 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) Error ¶
func (o *DeleteBindNotFound) Error() string
func (*DeleteBindNotFound) GetPayload ¶
func (o *DeleteBindNotFound) GetPayload() *models.Error
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 /*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 values initialized.
func NewDeleteBindParamsWithContext ¶
func NewDeleteBindParamsWithContext(ctx context.Context) *DeleteBindParams
NewDeleteBindParamsWithContext creates a new DeleteBindParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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 handles this case 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
type GetBindNotFound ¶
type GetBindNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetBindNotFound handles this case with default header values.
The specified resource already exists
func NewGetBindNotFound ¶
func NewGetBindNotFound() *GetBindNotFound
NewGetBindNotFound creates a GetBindNotFound with default headers values
func (*GetBindNotFound) Error ¶
func (o *GetBindNotFound) Error() string
func (*GetBindNotFound) GetPayload ¶
func (o *GetBindNotFound) GetPayload() *models.Error
type GetBindOK ¶
type GetBindOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetBindOKBody }
GetBindOK handles this case 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
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) 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 /*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 values initialized.
func NewGetBindParamsWithContext ¶
func NewGetBindParamsWithContext(ctx context.Context) *GetBindParams
NewGetBindParamsWithContext creates a new GetBindParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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 handles this case 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
type GetBindsOK ¶
type GetBindsOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetBindsOKBody }
GetBindsOK handles this case with default header values.
Successful operation
func NewGetBindsOK ¶
func NewGetBindsOK() *GetBindsOK
NewGetBindsOK creates a GetBindsOK with default headers values
func (*GetBindsOK) Error ¶
func (o *GetBindsOK) Error() string
func (*GetBindsOK) GetPayload ¶
func (o *GetBindsOK) GetPayload() *GetBindsOKBody
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) 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 /*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 values initialized.
func NewGetBindsParamsWithContext ¶
func NewGetBindsParamsWithContext(ctx context.Context) *GetBindsParams
NewGetBindsParamsWithContext creates a new GetBindsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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 handles this case 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) Error ¶
func (o *ReplaceBindAccepted) Error() string
func (*ReplaceBindAccepted) GetPayload ¶
func (o *ReplaceBindAccepted) GetPayload() *models.Bind
type ReplaceBindBadRequest ¶
type ReplaceBindBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceBindBadRequest handles this case with default header values.
Bad request
func NewReplaceBindBadRequest ¶
func NewReplaceBindBadRequest() *ReplaceBindBadRequest
NewReplaceBindBadRequest creates a ReplaceBindBadRequest with default headers values
func (*ReplaceBindBadRequest) Error ¶
func (o *ReplaceBindBadRequest) Error() string
func (*ReplaceBindBadRequest) GetPayload ¶
func (o *ReplaceBindBadRequest) GetPayload() *models.Error
type ReplaceBindDefault ¶
type ReplaceBindDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceBindDefault handles this case 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
type ReplaceBindNotFound ¶
type ReplaceBindNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceBindNotFound handles this case 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) Error ¶
func (o *ReplaceBindNotFound) Error() string
func (*ReplaceBindNotFound) GetPayload ¶
func (o *ReplaceBindNotFound) GetPayload() *models.Error
type ReplaceBindOK ¶
ReplaceBindOK handles this case with default header values.
Bind replaced
func NewReplaceBindOK ¶
func NewReplaceBindOK() *ReplaceBindOK
NewReplaceBindOK creates a ReplaceBindOK with default headers values
func (*ReplaceBindOK) Error ¶
func (o *ReplaceBindOK) Error() string
func (*ReplaceBindOK) GetPayload ¶
func (o *ReplaceBindOK) GetPayload() *models.Bind
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 /*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 values initialized.
func NewReplaceBindParamsWithContext ¶
func NewReplaceBindParamsWithContext(ctx context.Context) *ReplaceBindParams
NewReplaceBindParamsWithContext creates a new ReplaceBindParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) 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) 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.