Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServer(params *CreateServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServerCreated, *CreateServerAccepted, error)
- func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServerAccepted, *DeleteServerNoContent, error)
- func (a *Client) GetRuntimeServer(params *GetRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRuntimeServerOK, error)
- func (a *Client) GetRuntimeServers(params *GetRuntimeServersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRuntimeServersOK, error)
- func (a *Client) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServerOK, error)
- func (a *Client) GetServers(params *GetServersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServersOK, error)
- func (a *Client) ReplaceRuntimeServer(params *ReplaceRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceRuntimeServerOK, error)
- func (a *Client) ReplaceServer(params *ReplaceServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceServerOK, *ReplaceServerAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateServerAccepted
- type CreateServerBadRequest
- type CreateServerConflict
- type CreateServerCreated
- type CreateServerDefault
- type CreateServerParams
- func (o *CreateServerParams) SetBackend(backend string)
- func (o *CreateServerParams) SetContext(ctx context.Context)
- func (o *CreateServerParams) SetData(data *models.Server)
- func (o *CreateServerParams) SetDefaults()
- func (o *CreateServerParams) SetForceReload(forceReload *bool)
- func (o *CreateServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateServerParams) SetTransactionID(transactionID *string)
- func (o *CreateServerParams) SetVersion(version *int64)
- func (o *CreateServerParams) WithBackend(backend string) *CreateServerParams
- func (o *CreateServerParams) WithContext(ctx context.Context) *CreateServerParams
- func (o *CreateServerParams) WithData(data *models.Server) *CreateServerParams
- func (o *CreateServerParams) WithDefaults() *CreateServerParams
- func (o *CreateServerParams) WithForceReload(forceReload *bool) *CreateServerParams
- func (o *CreateServerParams) WithHTTPClient(client *http.Client) *CreateServerParams
- func (o *CreateServerParams) WithTimeout(timeout time.Duration) *CreateServerParams
- func (o *CreateServerParams) WithTransactionID(transactionID *string) *CreateServerParams
- func (o *CreateServerParams) WithVersion(version *int64) *CreateServerParams
- func (o *CreateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServerReader
- type DeleteServerAccepted
- type DeleteServerDefault
- type DeleteServerNoContent
- type DeleteServerNotFound
- type DeleteServerParams
- func (o *DeleteServerParams) SetBackend(backend string)
- func (o *DeleteServerParams) SetContext(ctx context.Context)
- func (o *DeleteServerParams) SetDefaults()
- func (o *DeleteServerParams) SetForceReload(forceReload *bool)
- func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServerParams) SetName(name string)
- func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServerParams) SetTransactionID(transactionID *string)
- func (o *DeleteServerParams) SetVersion(version *int64)
- func (o *DeleteServerParams) WithBackend(backend string) *DeleteServerParams
- func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
- func (o *DeleteServerParams) WithDefaults() *DeleteServerParams
- func (o *DeleteServerParams) WithForceReload(forceReload *bool) *DeleteServerParams
- func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
- func (o *DeleteServerParams) WithName(name string) *DeleteServerParams
- func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
- func (o *DeleteServerParams) WithTransactionID(transactionID *string) *DeleteServerParams
- func (o *DeleteServerParams) WithVersion(version *int64) *DeleteServerParams
- func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServerReader
- type GetRuntimeServerDefault
- type GetRuntimeServerNotFound
- type GetRuntimeServerOK
- type GetRuntimeServerParams
- func NewGetRuntimeServerParams() *GetRuntimeServerParams
- func NewGetRuntimeServerParamsWithContext(ctx context.Context) *GetRuntimeServerParams
- func NewGetRuntimeServerParamsWithHTTPClient(client *http.Client) *GetRuntimeServerParams
- func NewGetRuntimeServerParamsWithTimeout(timeout time.Duration) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) SetBackend(backend string)
- func (o *GetRuntimeServerParams) SetContext(ctx context.Context)
- func (o *GetRuntimeServerParams) SetDefaults()
- func (o *GetRuntimeServerParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeServerParams) SetName(name string)
- func (o *GetRuntimeServerParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeServerParams) WithBackend(backend string) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WithContext(ctx context.Context) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WithDefaults() *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WithHTTPClient(client *http.Client) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WithName(name string) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WithTimeout(timeout time.Duration) *GetRuntimeServerParams
- func (o *GetRuntimeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeServerReader
- type GetRuntimeServersDefault
- type GetRuntimeServersOK
- type GetRuntimeServersParams
- func NewGetRuntimeServersParams() *GetRuntimeServersParams
- func NewGetRuntimeServersParamsWithContext(ctx context.Context) *GetRuntimeServersParams
- func NewGetRuntimeServersParamsWithHTTPClient(client *http.Client) *GetRuntimeServersParams
- func NewGetRuntimeServersParamsWithTimeout(timeout time.Duration) *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) SetBackend(backend string)
- func (o *GetRuntimeServersParams) SetContext(ctx context.Context)
- func (o *GetRuntimeServersParams) SetDefaults()
- func (o *GetRuntimeServersParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeServersParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeServersParams) WithBackend(backend string) *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) WithContext(ctx context.Context) *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) WithDefaults() *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) WithHTTPClient(client *http.Client) *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) WithTimeout(timeout time.Duration) *GetRuntimeServersParams
- func (o *GetRuntimeServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeServersReader
- type GetServerDefault
- type GetServerNotFound
- type GetServerOK
- type GetServerOKBody
- type GetServerParams
- func (o *GetServerParams) SetBackend(backend string)
- func (o *GetServerParams) SetContext(ctx context.Context)
- func (o *GetServerParams) SetDefaults()
- func (o *GetServerParams) SetHTTPClient(client *http.Client)
- func (o *GetServerParams) SetName(name string)
- func (o *GetServerParams) SetTimeout(timeout time.Duration)
- func (o *GetServerParams) SetTransactionID(transactionID *string)
- func (o *GetServerParams) WithBackend(backend string) *GetServerParams
- func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams
- func (o *GetServerParams) WithDefaults() *GetServerParams
- func (o *GetServerParams) WithHTTPClient(client *http.Client) *GetServerParams
- func (o *GetServerParams) WithName(name string) *GetServerParams
- func (o *GetServerParams) WithTimeout(timeout time.Duration) *GetServerParams
- func (o *GetServerParams) WithTransactionID(transactionID *string) *GetServerParams
- func (o *GetServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerReader
- type GetServersDefault
- type GetServersOK
- type GetServersOKBody
- type GetServersParams
- func (o *GetServersParams) SetBackend(backend string)
- func (o *GetServersParams) SetContext(ctx context.Context)
- func (o *GetServersParams) SetDefaults()
- func (o *GetServersParams) SetHTTPClient(client *http.Client)
- func (o *GetServersParams) SetTimeout(timeout time.Duration)
- func (o *GetServersParams) SetTransactionID(transactionID *string)
- func (o *GetServersParams) WithBackend(backend string) *GetServersParams
- func (o *GetServersParams) WithContext(ctx context.Context) *GetServersParams
- func (o *GetServersParams) WithDefaults() *GetServersParams
- func (o *GetServersParams) WithHTTPClient(client *http.Client) *GetServersParams
- func (o *GetServersParams) WithTimeout(timeout time.Duration) *GetServersParams
- func (o *GetServersParams) WithTransactionID(transactionID *string) *GetServersParams
- func (o *GetServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServersReader
- type ReplaceRuntimeServerBadRequest
- type ReplaceRuntimeServerDefault
- type ReplaceRuntimeServerNotFound
- type ReplaceRuntimeServerOK
- type ReplaceRuntimeServerParams
- func NewReplaceRuntimeServerParams() *ReplaceRuntimeServerParams
- func NewReplaceRuntimeServerParamsWithContext(ctx context.Context) *ReplaceRuntimeServerParams
- func NewReplaceRuntimeServerParamsWithHTTPClient(client *http.Client) *ReplaceRuntimeServerParams
- func NewReplaceRuntimeServerParamsWithTimeout(timeout time.Duration) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) SetBackend(backend string)
- func (o *ReplaceRuntimeServerParams) SetContext(ctx context.Context)
- func (o *ReplaceRuntimeServerParams) SetData(data *models.RuntimeServer)
- func (o *ReplaceRuntimeServerParams) SetDefaults()
- func (o *ReplaceRuntimeServerParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceRuntimeServerParams) SetName(name string)
- func (o *ReplaceRuntimeServerParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceRuntimeServerParams) WithBackend(backend string) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithContext(ctx context.Context) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithData(data *models.RuntimeServer) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithDefaults() *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithHTTPClient(client *http.Client) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithName(name string) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WithTimeout(timeout time.Duration) *ReplaceRuntimeServerParams
- func (o *ReplaceRuntimeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceRuntimeServerReader
- type ReplaceServerAccepted
- type ReplaceServerBadRequest
- type ReplaceServerDefault
- type ReplaceServerNotFound
- type ReplaceServerOK
- type ReplaceServerParams
- func (o *ReplaceServerParams) SetBackend(backend string)
- func (o *ReplaceServerParams) SetContext(ctx context.Context)
- func (o *ReplaceServerParams) SetData(data *models.Server)
- func (o *ReplaceServerParams) SetDefaults()
- func (o *ReplaceServerParams) SetForceReload(forceReload *bool)
- func (o *ReplaceServerParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceServerParams) SetName(name string)
- func (o *ReplaceServerParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceServerParams) SetTransactionID(transactionID *string)
- func (o *ReplaceServerParams) SetVersion(version *int64)
- func (o *ReplaceServerParams) WithBackend(backend string) *ReplaceServerParams
- func (o *ReplaceServerParams) WithContext(ctx context.Context) *ReplaceServerParams
- func (o *ReplaceServerParams) WithData(data *models.Server) *ReplaceServerParams
- func (o *ReplaceServerParams) WithDefaults() *ReplaceServerParams
- func (o *ReplaceServerParams) WithForceReload(forceReload *bool) *ReplaceServerParams
- func (o *ReplaceServerParams) WithHTTPClient(client *http.Client) *ReplaceServerParams
- func (o *ReplaceServerParams) WithName(name string) *ReplaceServerParams
- func (o *ReplaceServerParams) WithTimeout(timeout time.Duration) *ReplaceServerParams
- func (o *ReplaceServerParams) WithTransactionID(transactionID *string) *ReplaceServerParams
- func (o *ReplaceServerParams) WithVersion(version *int64) *ReplaceServerParams
- func (o *ReplaceServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceServerReader
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 server API
func (*Client) CreateServer ¶
func (a *Client) CreateServer(params *CreateServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServerCreated, *CreateServerAccepted, error)
CreateServer adds a new server
Adds a new server in the specified backend in the configuration file.
func (*Client) DeleteServer ¶
func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServerAccepted, *DeleteServerNoContent, error)
DeleteServer deletes a server
Deletes a server configuration by it's name in the specified backend.
func (*Client) GetRuntimeServer ¶
func (a *Client) GetRuntimeServer(params *GetRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeServerOK, error)
GetRuntimeServer returns one server runtime settings
Returns one server runtime settings by it's name in the specified backend.
func (*Client) GetRuntimeServers ¶
func (a *Client) GetRuntimeServers(params *GetRuntimeServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeServersOK, error)
GetRuntimeServers returns an array of runtime servers settings
Returns an array of all servers' runtime settings.
func (*Client) GetServer ¶
func (a *Client) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServerOK, error)
GetServer returns one server
Returns one server configuration by it's name in the specified backend.
func (*Client) GetServers ¶
func (a *Client) GetServers(params *GetServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServersOK, error)
GetServers returns an array of servers
Returns an array of all servers that are configured in specified backend.
func (*Client) ReplaceRuntimeServer ¶
func (a *Client) ReplaceRuntimeServer(params *ReplaceRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceRuntimeServerOK, error)
ReplaceRuntimeServer replaces server transient settings
Replaces a server transient settings by it's name in the specified backend.
func (*Client) ReplaceServer ¶
func (a *Client) ReplaceServer(params *ReplaceServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceServerOK, *ReplaceServerAccepted, error)
ReplaceServer replaces a server
Replaces a server configuration by it's name in the specified backend.
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 { CreateServer(params *CreateServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServerCreated, *CreateServerAccepted, error) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServerAccepted, *DeleteServerNoContent, error) GetRuntimeServer(params *GetRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeServerOK, error) GetRuntimeServers(params *GetRuntimeServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRuntimeServersOK, error) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServerOK, error) GetServers(params *GetServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServersOK, error) ReplaceRuntimeServer(params *ReplaceRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceRuntimeServerOK, error) ReplaceServer(params *ReplaceServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceServerOK, *ReplaceServerAccepted, 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 server API client.
type CreateServerAccepted ¶
type CreateServerAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Server }
CreateServerAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateServerAccepted ¶
func NewCreateServerAccepted() *CreateServerAccepted
NewCreateServerAccepted creates a CreateServerAccepted with default headers values
func (*CreateServerAccepted) Error ¶
func (o *CreateServerAccepted) Error() string
func (*CreateServerAccepted) GetPayload ¶
func (o *CreateServerAccepted) GetPayload() *models.Server
type CreateServerBadRequest ¶
type CreateServerBadRequest struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateServerBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateServerBadRequest ¶
func NewCreateServerBadRequest() *CreateServerBadRequest
NewCreateServerBadRequest creates a CreateServerBadRequest with default headers values
func (*CreateServerBadRequest) Error ¶
func (o *CreateServerBadRequest) Error() string
func (*CreateServerBadRequest) GetPayload ¶
func (o *CreateServerBadRequest) GetPayload() *models.Error
type CreateServerConflict ¶
type CreateServerConflict struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
CreateServerConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateServerConflict ¶
func NewCreateServerConflict() *CreateServerConflict
NewCreateServerConflict creates a CreateServerConflict with default headers values
func (*CreateServerConflict) Error ¶
func (o *CreateServerConflict) Error() string
func (*CreateServerConflict) GetPayload ¶
func (o *CreateServerConflict) GetPayload() *models.Error
type CreateServerCreated ¶
CreateServerCreated describes a response with status code 201, with default header values.
Server created
func NewCreateServerCreated ¶
func NewCreateServerCreated() *CreateServerCreated
NewCreateServerCreated creates a CreateServerCreated with default headers values
func (*CreateServerCreated) Error ¶
func (o *CreateServerCreated) Error() string
func (*CreateServerCreated) GetPayload ¶
func (o *CreateServerCreated) GetPayload() *models.Server
type CreateServerDefault ¶
type CreateServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
CreateServerDefault describes a response with status code -1, with default header values.
General Error
func NewCreateServerDefault ¶
func NewCreateServerDefault(code int) *CreateServerDefault
NewCreateServerDefault creates a CreateServerDefault with default headers values
func (*CreateServerDefault) Code ¶
func (o *CreateServerDefault) Code() int
Code gets the status code for the create server default response
func (*CreateServerDefault) Error ¶
func (o *CreateServerDefault) Error() string
func (*CreateServerDefault) GetPayload ¶
func (o *CreateServerDefault) GetPayload() *models.Error
type CreateServerParams ¶
type CreateServerParams struct { /* Backend. Parent backend name */ Backend string // Data. Data *models.Server /* 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 /* 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 }
CreateServerParams contains all the parameters to send to the API endpoint
for the create server operation. Typically these are written to a http.Request.
func NewCreateServerParams ¶
func NewCreateServerParams() *CreateServerParams
NewCreateServerParams creates a new CreateServerParams 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 NewCreateServerParamsWithContext ¶
func NewCreateServerParamsWithContext(ctx context.Context) *CreateServerParams
NewCreateServerParamsWithContext creates a new CreateServerParams object with the ability to set a context for a request.
func NewCreateServerParamsWithHTTPClient ¶
func NewCreateServerParamsWithHTTPClient(client *http.Client) *CreateServerParams
NewCreateServerParamsWithHTTPClient creates a new CreateServerParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServerParamsWithTimeout ¶
func NewCreateServerParamsWithTimeout(timeout time.Duration) *CreateServerParams
NewCreateServerParamsWithTimeout creates a new CreateServerParams object with the ability to set a timeout on a request.
func (*CreateServerParams) SetBackend ¶
func (o *CreateServerParams) SetBackend(backend string)
SetBackend adds the backend to the create server params
func (*CreateServerParams) SetContext ¶
func (o *CreateServerParams) SetContext(ctx context.Context)
SetContext adds the context to the create server params
func (*CreateServerParams) SetData ¶
func (o *CreateServerParams) SetData(data *models.Server)
SetData adds the data to the create server params
func (*CreateServerParams) SetDefaults ¶
func (o *CreateServerParams) SetDefaults()
SetDefaults hydrates default values in the create server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServerParams) SetForceReload ¶
func (o *CreateServerParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create server params
func (*CreateServerParams) SetHTTPClient ¶
func (o *CreateServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create server params
func (*CreateServerParams) SetTimeout ¶
func (o *CreateServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create server params
func (*CreateServerParams) SetTransactionID ¶
func (o *CreateServerParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create server params
func (*CreateServerParams) SetVersion ¶
func (o *CreateServerParams) SetVersion(version *int64)
SetVersion adds the version to the create server params
func (*CreateServerParams) WithBackend ¶
func (o *CreateServerParams) WithBackend(backend string) *CreateServerParams
WithBackend adds the backend to the create server params
func (*CreateServerParams) WithContext ¶
func (o *CreateServerParams) WithContext(ctx context.Context) *CreateServerParams
WithContext adds the context to the create server params
func (*CreateServerParams) WithData ¶
func (o *CreateServerParams) WithData(data *models.Server) *CreateServerParams
WithData adds the data to the create server params
func (*CreateServerParams) WithDefaults ¶
func (o *CreateServerParams) WithDefaults() *CreateServerParams
WithDefaults hydrates default values in the create server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServerParams) WithForceReload ¶
func (o *CreateServerParams) WithForceReload(forceReload *bool) *CreateServerParams
WithForceReload adds the forceReload to the create server params
func (*CreateServerParams) WithHTTPClient ¶
func (o *CreateServerParams) WithHTTPClient(client *http.Client) *CreateServerParams
WithHTTPClient adds the HTTPClient to the create server params
func (*CreateServerParams) WithTimeout ¶
func (o *CreateServerParams) WithTimeout(timeout time.Duration) *CreateServerParams
WithTimeout adds the timeout to the create server params
func (*CreateServerParams) WithTransactionID ¶
func (o *CreateServerParams) WithTransactionID(transactionID *string) *CreateServerParams
WithTransactionID adds the transactionID to the create server params
func (*CreateServerParams) WithVersion ¶
func (o *CreateServerParams) WithVersion(version *int64) *CreateServerParams
WithVersion adds the version to the create server params
func (*CreateServerParams) WriteToRequest ¶
func (o *CreateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServerReader ¶
type CreateServerReader struct {
// contains filtered or unexported fields
}
CreateServerReader is a Reader for the CreateServer structure.
func (*CreateServerReader) ReadResponse ¶
func (o *CreateServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServerAccepted ¶
type DeleteServerAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteServerAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteServerAccepted ¶
func NewDeleteServerAccepted() *DeleteServerAccepted
NewDeleteServerAccepted creates a DeleteServerAccepted with default headers values
func (*DeleteServerAccepted) Error ¶
func (o *DeleteServerAccepted) Error() string
type DeleteServerDefault ¶
type DeleteServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
DeleteServerDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteServerDefault ¶
func NewDeleteServerDefault(code int) *DeleteServerDefault
NewDeleteServerDefault creates a DeleteServerDefault with default headers values
func (*DeleteServerDefault) Code ¶
func (o *DeleteServerDefault) Code() int
Code gets the status code for the delete server default response
func (*DeleteServerDefault) Error ¶
func (o *DeleteServerDefault) Error() string
func (*DeleteServerDefault) GetPayload ¶
func (o *DeleteServerDefault) GetPayload() *models.Error
type DeleteServerNoContent ¶
type DeleteServerNoContent struct { }
DeleteServerNoContent describes a response with status code 204, with default header values.
Server deleted
func NewDeleteServerNoContent ¶
func NewDeleteServerNoContent() *DeleteServerNoContent
NewDeleteServerNoContent creates a DeleteServerNoContent with default headers values
func (*DeleteServerNoContent) Error ¶
func (o *DeleteServerNoContent) Error() string
type DeleteServerNotFound ¶
type DeleteServerNotFound struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
DeleteServerNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteServerNotFound ¶
func NewDeleteServerNotFound() *DeleteServerNotFound
NewDeleteServerNotFound creates a DeleteServerNotFound with default headers values
func (*DeleteServerNotFound) Error ¶
func (o *DeleteServerNotFound) Error() string
func (*DeleteServerNotFound) GetPayload ¶
func (o *DeleteServerNotFound) GetPayload() *models.Error
type DeleteServerParams ¶
type DeleteServerParams struct { /* Backend. Parent backend name */ Backend string /* 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 /* Name. Server 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 }
DeleteServerParams contains all the parameters to send to the API endpoint
for the delete server operation. Typically these are written to a http.Request.
func NewDeleteServerParams ¶
func NewDeleteServerParams() *DeleteServerParams
NewDeleteServerParams creates a new DeleteServerParams 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 NewDeleteServerParamsWithContext ¶
func NewDeleteServerParamsWithContext(ctx context.Context) *DeleteServerParams
NewDeleteServerParamsWithContext creates a new DeleteServerParams object with the ability to set a context for a request.
func NewDeleteServerParamsWithHTTPClient ¶
func NewDeleteServerParamsWithHTTPClient(client *http.Client) *DeleteServerParams
NewDeleteServerParamsWithHTTPClient creates a new DeleteServerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServerParamsWithTimeout ¶
func NewDeleteServerParamsWithTimeout(timeout time.Duration) *DeleteServerParams
NewDeleteServerParamsWithTimeout creates a new DeleteServerParams object with the ability to set a timeout on a request.
func (*DeleteServerParams) SetBackend ¶
func (o *DeleteServerParams) SetBackend(backend string)
SetBackend adds the backend to the delete server params
func (*DeleteServerParams) SetContext ¶
func (o *DeleteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete server params
func (*DeleteServerParams) SetDefaults ¶
func (o *DeleteServerParams) SetDefaults()
SetDefaults hydrates default values in the delete server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServerParams) SetForceReload ¶
func (o *DeleteServerParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete server params
func (*DeleteServerParams) SetHTTPClient ¶
func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) SetName ¶
func (o *DeleteServerParams) SetName(name string)
SetName adds the name to the delete server params
func (*DeleteServerParams) SetTimeout ¶
func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete server params
func (*DeleteServerParams) SetTransactionID ¶
func (o *DeleteServerParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete server params
func (*DeleteServerParams) SetVersion ¶
func (o *DeleteServerParams) SetVersion(version *int64)
SetVersion adds the version to the delete server params
func (*DeleteServerParams) WithBackend ¶
func (o *DeleteServerParams) WithBackend(backend string) *DeleteServerParams
WithBackend adds the backend to the delete server params
func (*DeleteServerParams) WithContext ¶
func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
WithContext adds the context to the delete server params
func (*DeleteServerParams) WithDefaults ¶
func (o *DeleteServerParams) WithDefaults() *DeleteServerParams
WithDefaults hydrates default values in the delete server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServerParams) WithForceReload ¶
func (o *DeleteServerParams) WithForceReload(forceReload *bool) *DeleteServerParams
WithForceReload adds the forceReload to the delete server params
func (*DeleteServerParams) WithHTTPClient ¶
func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
WithHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) WithName ¶
func (o *DeleteServerParams) WithName(name string) *DeleteServerParams
WithName adds the name to the delete server params
func (*DeleteServerParams) WithTimeout ¶
func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
WithTimeout adds the timeout to the delete server params
func (*DeleteServerParams) WithTransactionID ¶
func (o *DeleteServerParams) WithTransactionID(transactionID *string) *DeleteServerParams
WithTransactionID adds the transactionID to the delete server params
func (*DeleteServerParams) WithVersion ¶
func (o *DeleteServerParams) WithVersion(version *int64) *DeleteServerParams
WithVersion adds the version to the delete server params
func (*DeleteServerParams) WriteToRequest ¶
func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServerReader ¶
type DeleteServerReader struct {
// contains filtered or unexported fields
}
DeleteServerReader is a Reader for the DeleteServer structure.
func (*DeleteServerReader) ReadResponse ¶
func (o *DeleteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuntimeServerDefault ¶
type GetRuntimeServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetRuntimeServerDefault describes a response with status code -1, with default header values.
General Error
func NewGetRuntimeServerDefault ¶
func NewGetRuntimeServerDefault(code int) *GetRuntimeServerDefault
NewGetRuntimeServerDefault creates a GetRuntimeServerDefault with default headers values
func (*GetRuntimeServerDefault) Code ¶
func (o *GetRuntimeServerDefault) Code() int
Code gets the status code for the get runtime server default response
func (*GetRuntimeServerDefault) Error ¶
func (o *GetRuntimeServerDefault) Error() string
func (*GetRuntimeServerDefault) GetPayload ¶
func (o *GetRuntimeServerDefault) GetPayload() *models.Error
type GetRuntimeServerNotFound ¶
type GetRuntimeServerNotFound struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetRuntimeServerNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetRuntimeServerNotFound ¶
func NewGetRuntimeServerNotFound() *GetRuntimeServerNotFound
NewGetRuntimeServerNotFound creates a GetRuntimeServerNotFound with default headers values
func (*GetRuntimeServerNotFound) Error ¶
func (o *GetRuntimeServerNotFound) Error() string
func (*GetRuntimeServerNotFound) GetPayload ¶
func (o *GetRuntimeServerNotFound) GetPayload() *models.Error
type GetRuntimeServerOK ¶
type GetRuntimeServerOK struct {
Payload *models.RuntimeServer
}
GetRuntimeServerOK describes a response with status code 200, with default header values.
Successful operation
func NewGetRuntimeServerOK ¶
func NewGetRuntimeServerOK() *GetRuntimeServerOK
NewGetRuntimeServerOK creates a GetRuntimeServerOK with default headers values
func (*GetRuntimeServerOK) Error ¶
func (o *GetRuntimeServerOK) Error() string
func (*GetRuntimeServerOK) GetPayload ¶
func (o *GetRuntimeServerOK) GetPayload() *models.RuntimeServer
type GetRuntimeServerParams ¶
type GetRuntimeServerParams struct { /* Backend. Parent backend name */ Backend string /* Name. Server name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuntimeServerParams contains all the parameters to send to the API endpoint
for the get runtime server operation. Typically these are written to a http.Request.
func NewGetRuntimeServerParams ¶
func NewGetRuntimeServerParams() *GetRuntimeServerParams
NewGetRuntimeServerParams creates a new GetRuntimeServerParams 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 NewGetRuntimeServerParamsWithContext ¶
func NewGetRuntimeServerParamsWithContext(ctx context.Context) *GetRuntimeServerParams
NewGetRuntimeServerParamsWithContext creates a new GetRuntimeServerParams object with the ability to set a context for a request.
func NewGetRuntimeServerParamsWithHTTPClient ¶
func NewGetRuntimeServerParamsWithHTTPClient(client *http.Client) *GetRuntimeServerParams
NewGetRuntimeServerParamsWithHTTPClient creates a new GetRuntimeServerParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuntimeServerParamsWithTimeout ¶
func NewGetRuntimeServerParamsWithTimeout(timeout time.Duration) *GetRuntimeServerParams
NewGetRuntimeServerParamsWithTimeout creates a new GetRuntimeServerParams object with the ability to set a timeout on a request.
func (*GetRuntimeServerParams) SetBackend ¶
func (o *GetRuntimeServerParams) SetBackend(backend string)
SetBackend adds the backend to the get runtime server params
func (*GetRuntimeServerParams) SetContext ¶
func (o *GetRuntimeServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get runtime server params
func (*GetRuntimeServerParams) SetDefaults ¶
func (o *GetRuntimeServerParams) SetDefaults()
SetDefaults hydrates default values in the get runtime server params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeServerParams) SetHTTPClient ¶
func (o *GetRuntimeServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runtime server params
func (*GetRuntimeServerParams) SetName ¶
func (o *GetRuntimeServerParams) SetName(name string)
SetName adds the name to the get runtime server params
func (*GetRuntimeServerParams) SetTimeout ¶
func (o *GetRuntimeServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runtime server params
func (*GetRuntimeServerParams) WithBackend ¶
func (o *GetRuntimeServerParams) WithBackend(backend string) *GetRuntimeServerParams
WithBackend adds the backend to the get runtime server params
func (*GetRuntimeServerParams) WithContext ¶
func (o *GetRuntimeServerParams) WithContext(ctx context.Context) *GetRuntimeServerParams
WithContext adds the context to the get runtime server params
func (*GetRuntimeServerParams) WithDefaults ¶
func (o *GetRuntimeServerParams) WithDefaults() *GetRuntimeServerParams
WithDefaults hydrates default values in the get runtime server params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeServerParams) WithHTTPClient ¶
func (o *GetRuntimeServerParams) WithHTTPClient(client *http.Client) *GetRuntimeServerParams
WithHTTPClient adds the HTTPClient to the get runtime server params
func (*GetRuntimeServerParams) WithName ¶
func (o *GetRuntimeServerParams) WithName(name string) *GetRuntimeServerParams
WithName adds the name to the get runtime server params
func (*GetRuntimeServerParams) WithTimeout ¶
func (o *GetRuntimeServerParams) WithTimeout(timeout time.Duration) *GetRuntimeServerParams
WithTimeout adds the timeout to the get runtime server params
func (*GetRuntimeServerParams) WriteToRequest ¶
func (o *GetRuntimeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuntimeServerReader ¶
type GetRuntimeServerReader struct {
// contains filtered or unexported fields
}
GetRuntimeServerReader is a Reader for the GetRuntimeServer structure.
func (*GetRuntimeServerReader) ReadResponse ¶
func (o *GetRuntimeServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuntimeServersDefault ¶
type GetRuntimeServersDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetRuntimeServersDefault describes a response with status code -1, with default header values.
General Error
func NewGetRuntimeServersDefault ¶
func NewGetRuntimeServersDefault(code int) *GetRuntimeServersDefault
NewGetRuntimeServersDefault creates a GetRuntimeServersDefault with default headers values
func (*GetRuntimeServersDefault) Code ¶
func (o *GetRuntimeServersDefault) Code() int
Code gets the status code for the get runtime servers default response
func (*GetRuntimeServersDefault) Error ¶
func (o *GetRuntimeServersDefault) Error() string
func (*GetRuntimeServersDefault) GetPayload ¶
func (o *GetRuntimeServersDefault) GetPayload() *models.Error
type GetRuntimeServersOK ¶
type GetRuntimeServersOK struct {
Payload models.RuntimeServers
}
GetRuntimeServersOK describes a response with status code 200, with default header values.
Successful operation
func NewGetRuntimeServersOK ¶
func NewGetRuntimeServersOK() *GetRuntimeServersOK
NewGetRuntimeServersOK creates a GetRuntimeServersOK with default headers values
func (*GetRuntimeServersOK) Error ¶
func (o *GetRuntimeServersOK) Error() string
func (*GetRuntimeServersOK) GetPayload ¶
func (o *GetRuntimeServersOK) GetPayload() models.RuntimeServers
type GetRuntimeServersParams ¶
type GetRuntimeServersParams struct { /* Backend. Parent backend name */ Backend string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuntimeServersParams contains all the parameters to send to the API endpoint
for the get runtime servers operation. Typically these are written to a http.Request.
func NewGetRuntimeServersParams ¶
func NewGetRuntimeServersParams() *GetRuntimeServersParams
NewGetRuntimeServersParams creates a new GetRuntimeServersParams 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 NewGetRuntimeServersParamsWithContext ¶
func NewGetRuntimeServersParamsWithContext(ctx context.Context) *GetRuntimeServersParams
NewGetRuntimeServersParamsWithContext creates a new GetRuntimeServersParams object with the ability to set a context for a request.
func NewGetRuntimeServersParamsWithHTTPClient ¶
func NewGetRuntimeServersParamsWithHTTPClient(client *http.Client) *GetRuntimeServersParams
NewGetRuntimeServersParamsWithHTTPClient creates a new GetRuntimeServersParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuntimeServersParamsWithTimeout ¶
func NewGetRuntimeServersParamsWithTimeout(timeout time.Duration) *GetRuntimeServersParams
NewGetRuntimeServersParamsWithTimeout creates a new GetRuntimeServersParams object with the ability to set a timeout on a request.
func (*GetRuntimeServersParams) SetBackend ¶
func (o *GetRuntimeServersParams) SetBackend(backend string)
SetBackend adds the backend to the get runtime servers params
func (*GetRuntimeServersParams) SetContext ¶
func (o *GetRuntimeServersParams) SetContext(ctx context.Context)
SetContext adds the context to the get runtime servers params
func (*GetRuntimeServersParams) SetDefaults ¶
func (o *GetRuntimeServersParams) SetDefaults()
SetDefaults hydrates default values in the get runtime servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeServersParams) SetHTTPClient ¶
func (o *GetRuntimeServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get runtime servers params
func (*GetRuntimeServersParams) SetTimeout ¶
func (o *GetRuntimeServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get runtime servers params
func (*GetRuntimeServersParams) WithBackend ¶
func (o *GetRuntimeServersParams) WithBackend(backend string) *GetRuntimeServersParams
WithBackend adds the backend to the get runtime servers params
func (*GetRuntimeServersParams) WithContext ¶
func (o *GetRuntimeServersParams) WithContext(ctx context.Context) *GetRuntimeServersParams
WithContext adds the context to the get runtime servers params
func (*GetRuntimeServersParams) WithDefaults ¶
func (o *GetRuntimeServersParams) WithDefaults() *GetRuntimeServersParams
WithDefaults hydrates default values in the get runtime servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuntimeServersParams) WithHTTPClient ¶
func (o *GetRuntimeServersParams) WithHTTPClient(client *http.Client) *GetRuntimeServersParams
WithHTTPClient adds the HTTPClient to the get runtime servers params
func (*GetRuntimeServersParams) WithTimeout ¶
func (o *GetRuntimeServersParams) WithTimeout(timeout time.Duration) *GetRuntimeServersParams
WithTimeout adds the timeout to the get runtime servers params
func (*GetRuntimeServersParams) WriteToRequest ¶
func (o *GetRuntimeServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuntimeServersReader ¶
type GetRuntimeServersReader struct {
// contains filtered or unexported fields
}
GetRuntimeServersReader is a Reader for the GetRuntimeServers structure.
func (*GetRuntimeServersReader) ReadResponse ¶
func (o *GetRuntimeServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerDefault ¶
type GetServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetServerDefault describes a response with status code -1, with default header values.
General Error
func NewGetServerDefault ¶
func NewGetServerDefault(code int) *GetServerDefault
NewGetServerDefault creates a GetServerDefault with default headers values
func (*GetServerDefault) Code ¶
func (o *GetServerDefault) Code() int
Code gets the status code for the get server default response
func (*GetServerDefault) Error ¶
func (o *GetServerDefault) Error() string
func (*GetServerDefault) GetPayload ¶
func (o *GetServerDefault) GetPayload() *models.Error
type GetServerNotFound ¶
type GetServerNotFound struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
GetServerNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetServerNotFound ¶
func NewGetServerNotFound() *GetServerNotFound
NewGetServerNotFound creates a GetServerNotFound with default headers values
func (*GetServerNotFound) Error ¶
func (o *GetServerNotFound) Error() string
func (*GetServerNotFound) GetPayload ¶
func (o *GetServerNotFound) GetPayload() *models.Error
type GetServerOK ¶
type GetServerOK struct { /* Configuration file version */ ConfigurationVersion int64 Payload *GetServerOKBody }
GetServerOK describes a response with status code 200, with default header values.
Successful operation
func NewGetServerOK ¶
func NewGetServerOK() *GetServerOK
NewGetServerOK creates a GetServerOK with default headers values
func (*GetServerOK) Error ¶
func (o *GetServerOK) Error() string
func (*GetServerOK) GetPayload ¶
func (o *GetServerOK) GetPayload() *GetServerOKBody
type GetServerOKBody ¶
type GetServerOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Server `json:"data,omitempty"` }
GetServerOKBody get server o k body swagger:model GetServerOKBody
func (*GetServerOKBody) ContextValidate ¶
ContextValidate validate this get server o k body based on the context it is used
func (*GetServerOKBody) MarshalBinary ¶
func (o *GetServerOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServerOKBody) UnmarshalBinary ¶
func (o *GetServerOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServerParams ¶
type GetServerParams struct { /* Backend. Parent backend name */ Backend string /* Name. Server 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 }
GetServerParams contains all the parameters to send to the API endpoint
for the get server operation. Typically these are written to a http.Request.
func NewGetServerParams ¶
func NewGetServerParams() *GetServerParams
NewGetServerParams creates a new GetServerParams 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 NewGetServerParamsWithContext ¶
func NewGetServerParamsWithContext(ctx context.Context) *GetServerParams
NewGetServerParamsWithContext creates a new GetServerParams object with the ability to set a context for a request.
func NewGetServerParamsWithHTTPClient ¶
func NewGetServerParamsWithHTTPClient(client *http.Client) *GetServerParams
NewGetServerParamsWithHTTPClient creates a new GetServerParams object with the ability to set a custom HTTPClient for a request.
func NewGetServerParamsWithTimeout ¶
func NewGetServerParamsWithTimeout(timeout time.Duration) *GetServerParams
NewGetServerParamsWithTimeout creates a new GetServerParams object with the ability to set a timeout on a request.
func (*GetServerParams) SetBackend ¶
func (o *GetServerParams) SetBackend(backend string)
SetBackend adds the backend to the get server params
func (*GetServerParams) SetContext ¶
func (o *GetServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get server params
func (*GetServerParams) SetDefaults ¶
func (o *GetServerParams) SetDefaults()
SetDefaults hydrates default values in the get server params (not the query body).
All values with no default are reset to their zero value.
func (*GetServerParams) SetHTTPClient ¶
func (o *GetServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server params
func (*GetServerParams) SetName ¶
func (o *GetServerParams) SetName(name string)
SetName adds the name to the get server params
func (*GetServerParams) SetTimeout ¶
func (o *GetServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server params
func (*GetServerParams) SetTransactionID ¶
func (o *GetServerParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get server params
func (*GetServerParams) WithBackend ¶
func (o *GetServerParams) WithBackend(backend string) *GetServerParams
WithBackend adds the backend to the get server params
func (*GetServerParams) WithContext ¶
func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams
WithContext adds the context to the get server params
func (*GetServerParams) WithDefaults ¶
func (o *GetServerParams) WithDefaults() *GetServerParams
WithDefaults hydrates default values in the get server params (not the query body).
All values with no default are reset to their zero value.
func (*GetServerParams) WithHTTPClient ¶
func (o *GetServerParams) WithHTTPClient(client *http.Client) *GetServerParams
WithHTTPClient adds the HTTPClient to the get server params
func (*GetServerParams) WithName ¶
func (o *GetServerParams) WithName(name string) *GetServerParams
WithName adds the name to the get server params
func (*GetServerParams) WithTimeout ¶
func (o *GetServerParams) WithTimeout(timeout time.Duration) *GetServerParams
WithTimeout adds the timeout to the get server params
func (*GetServerParams) WithTransactionID ¶
func (o *GetServerParams) WithTransactionID(transactionID *string) *GetServerParams
WithTransactionID adds the transactionID to the get server params
func (*GetServerParams) WriteToRequest ¶
func (o *GetServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerReader ¶
type GetServerReader struct {
// contains filtered or unexported fields
}
GetServerReader is a Reader for the GetServer structure.
func (*GetServerReader) ReadResponse ¶
func (o *GetServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServersDefault ¶
type GetServersDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
GetServersDefault describes a response with status code -1, with default header values.
General Error
func NewGetServersDefault ¶
func NewGetServersDefault(code int) *GetServersDefault
NewGetServersDefault creates a GetServersDefault with default headers values
func (*GetServersDefault) Code ¶
func (o *GetServersDefault) Code() int
Code gets the status code for the get servers default response
func (*GetServersDefault) Error ¶
func (o *GetServersDefault) Error() string
func (*GetServersDefault) GetPayload ¶
func (o *GetServersDefault) GetPayload() *models.Error
type GetServersOK ¶
type GetServersOK struct { /* Configuration file version */ ConfigurationVersion int64 Payload *GetServersOKBody }
GetServersOK describes a response with status code 200, with default header values.
Successful operation
func NewGetServersOK ¶
func NewGetServersOK() *GetServersOK
NewGetServersOK creates a GetServersOK with default headers values
func (*GetServersOK) Error ¶
func (o *GetServersOK) Error() string
func (*GetServersOK) GetPayload ¶
func (o *GetServersOK) GetPayload() *GetServersOKBody
type GetServersOKBody ¶
type GetServersOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Servers `json:"data"` }
GetServersOKBody get servers o k body swagger:model GetServersOKBody
func (*GetServersOKBody) ContextValidate ¶
ContextValidate validate this get servers o k body based on the context it is used
func (*GetServersOKBody) MarshalBinary ¶
func (o *GetServersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServersOKBody) UnmarshalBinary ¶
func (o *GetServersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServersParams ¶
type GetServersParams struct { /* Backend. Parent backend name */ Backend 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 }
GetServersParams contains all the parameters to send to the API endpoint
for the get servers operation. Typically these are written to a http.Request.
func NewGetServersParams ¶
func NewGetServersParams() *GetServersParams
NewGetServersParams creates a new GetServersParams 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 NewGetServersParamsWithContext ¶
func NewGetServersParamsWithContext(ctx context.Context) *GetServersParams
NewGetServersParamsWithContext creates a new GetServersParams object with the ability to set a context for a request.
func NewGetServersParamsWithHTTPClient ¶
func NewGetServersParamsWithHTTPClient(client *http.Client) *GetServersParams
NewGetServersParamsWithHTTPClient creates a new GetServersParams object with the ability to set a custom HTTPClient for a request.
func NewGetServersParamsWithTimeout ¶
func NewGetServersParamsWithTimeout(timeout time.Duration) *GetServersParams
NewGetServersParamsWithTimeout creates a new GetServersParams object with the ability to set a timeout on a request.
func (*GetServersParams) SetBackend ¶
func (o *GetServersParams) SetBackend(backend string)
SetBackend adds the backend to the get servers params
func (*GetServersParams) SetContext ¶
func (o *GetServersParams) SetContext(ctx context.Context)
SetContext adds the context to the get servers params
func (*GetServersParams) SetDefaults ¶
func (o *GetServersParams) SetDefaults()
SetDefaults hydrates default values in the get servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetServersParams) SetHTTPClient ¶
func (o *GetServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get servers params
func (*GetServersParams) SetTimeout ¶
func (o *GetServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get servers params
func (*GetServersParams) SetTransactionID ¶
func (o *GetServersParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get servers params
func (*GetServersParams) WithBackend ¶
func (o *GetServersParams) WithBackend(backend string) *GetServersParams
WithBackend adds the backend to the get servers params
func (*GetServersParams) WithContext ¶
func (o *GetServersParams) WithContext(ctx context.Context) *GetServersParams
WithContext adds the context to the get servers params
func (*GetServersParams) WithDefaults ¶
func (o *GetServersParams) WithDefaults() *GetServersParams
WithDefaults hydrates default values in the get servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetServersParams) WithHTTPClient ¶
func (o *GetServersParams) WithHTTPClient(client *http.Client) *GetServersParams
WithHTTPClient adds the HTTPClient to the get servers params
func (*GetServersParams) WithTimeout ¶
func (o *GetServersParams) WithTimeout(timeout time.Duration) *GetServersParams
WithTimeout adds the timeout to the get servers params
func (*GetServersParams) WithTransactionID ¶
func (o *GetServersParams) WithTransactionID(transactionID *string) *GetServersParams
WithTransactionID adds the transactionID to the get servers params
func (*GetServersParams) WriteToRequest ¶
func (o *GetServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServersReader ¶
type GetServersReader struct {
// contains filtered or unexported fields
}
GetServersReader is a Reader for the GetServers structure.
func (*GetServersReader) ReadResponse ¶
func (o *GetServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceRuntimeServerBadRequest ¶
type ReplaceRuntimeServerBadRequest struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceRuntimeServerBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceRuntimeServerBadRequest ¶
func NewReplaceRuntimeServerBadRequest() *ReplaceRuntimeServerBadRequest
NewReplaceRuntimeServerBadRequest creates a ReplaceRuntimeServerBadRequest with default headers values
func (*ReplaceRuntimeServerBadRequest) Error ¶
func (o *ReplaceRuntimeServerBadRequest) Error() string
func (*ReplaceRuntimeServerBadRequest) GetPayload ¶
func (o *ReplaceRuntimeServerBadRequest) GetPayload() *models.Error
type ReplaceRuntimeServerDefault ¶
type ReplaceRuntimeServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceRuntimeServerDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceRuntimeServerDefault ¶
func NewReplaceRuntimeServerDefault(code int) *ReplaceRuntimeServerDefault
NewReplaceRuntimeServerDefault creates a ReplaceRuntimeServerDefault with default headers values
func (*ReplaceRuntimeServerDefault) Code ¶
func (o *ReplaceRuntimeServerDefault) Code() int
Code gets the status code for the replace runtime server default response
func (*ReplaceRuntimeServerDefault) Error ¶
func (o *ReplaceRuntimeServerDefault) Error() string
func (*ReplaceRuntimeServerDefault) GetPayload ¶
func (o *ReplaceRuntimeServerDefault) GetPayload() *models.Error
type ReplaceRuntimeServerNotFound ¶
type ReplaceRuntimeServerNotFound struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceRuntimeServerNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceRuntimeServerNotFound ¶
func NewReplaceRuntimeServerNotFound() *ReplaceRuntimeServerNotFound
NewReplaceRuntimeServerNotFound creates a ReplaceRuntimeServerNotFound with default headers values
func (*ReplaceRuntimeServerNotFound) Error ¶
func (o *ReplaceRuntimeServerNotFound) Error() string
func (*ReplaceRuntimeServerNotFound) GetPayload ¶
func (o *ReplaceRuntimeServerNotFound) GetPayload() *models.Error
type ReplaceRuntimeServerOK ¶
type ReplaceRuntimeServerOK struct {
Payload *models.RuntimeServer
}
ReplaceRuntimeServerOK describes a response with status code 200, with default header values.
Server transient settings replaced
func NewReplaceRuntimeServerOK ¶
func NewReplaceRuntimeServerOK() *ReplaceRuntimeServerOK
NewReplaceRuntimeServerOK creates a ReplaceRuntimeServerOK with default headers values
func (*ReplaceRuntimeServerOK) Error ¶
func (o *ReplaceRuntimeServerOK) Error() string
func (*ReplaceRuntimeServerOK) GetPayload ¶
func (o *ReplaceRuntimeServerOK) GetPayload() *models.RuntimeServer
type ReplaceRuntimeServerParams ¶
type ReplaceRuntimeServerParams struct { /* Backend. Parent backend name */ Backend string // Data. Data *models.RuntimeServer /* Name. Server name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceRuntimeServerParams contains all the parameters to send to the API endpoint
for the replace runtime server operation. Typically these are written to a http.Request.
func NewReplaceRuntimeServerParams ¶
func NewReplaceRuntimeServerParams() *ReplaceRuntimeServerParams
NewReplaceRuntimeServerParams creates a new ReplaceRuntimeServerParams 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 NewReplaceRuntimeServerParamsWithContext ¶
func NewReplaceRuntimeServerParamsWithContext(ctx context.Context) *ReplaceRuntimeServerParams
NewReplaceRuntimeServerParamsWithContext creates a new ReplaceRuntimeServerParams object with the ability to set a context for a request.
func NewReplaceRuntimeServerParamsWithHTTPClient ¶
func NewReplaceRuntimeServerParamsWithHTTPClient(client *http.Client) *ReplaceRuntimeServerParams
NewReplaceRuntimeServerParamsWithHTTPClient creates a new ReplaceRuntimeServerParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceRuntimeServerParamsWithTimeout ¶
func NewReplaceRuntimeServerParamsWithTimeout(timeout time.Duration) *ReplaceRuntimeServerParams
NewReplaceRuntimeServerParamsWithTimeout creates a new ReplaceRuntimeServerParams object with the ability to set a timeout on a request.
func (*ReplaceRuntimeServerParams) SetBackend ¶
func (o *ReplaceRuntimeServerParams) SetBackend(backend string)
SetBackend adds the backend to the replace runtime server params
func (*ReplaceRuntimeServerParams) SetContext ¶
func (o *ReplaceRuntimeServerParams) SetContext(ctx context.Context)
SetContext adds the context to the replace runtime server params
func (*ReplaceRuntimeServerParams) SetData ¶
func (o *ReplaceRuntimeServerParams) SetData(data *models.RuntimeServer)
SetData adds the data to the replace runtime server params
func (*ReplaceRuntimeServerParams) SetDefaults ¶
func (o *ReplaceRuntimeServerParams) SetDefaults()
SetDefaults hydrates default values in the replace runtime server params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceRuntimeServerParams) SetHTTPClient ¶
func (o *ReplaceRuntimeServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace runtime server params
func (*ReplaceRuntimeServerParams) SetName ¶
func (o *ReplaceRuntimeServerParams) SetName(name string)
SetName adds the name to the replace runtime server params
func (*ReplaceRuntimeServerParams) SetTimeout ¶
func (o *ReplaceRuntimeServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithBackend ¶
func (o *ReplaceRuntimeServerParams) WithBackend(backend string) *ReplaceRuntimeServerParams
WithBackend adds the backend to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithContext ¶
func (o *ReplaceRuntimeServerParams) WithContext(ctx context.Context) *ReplaceRuntimeServerParams
WithContext adds the context to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithData ¶
func (o *ReplaceRuntimeServerParams) WithData(data *models.RuntimeServer) *ReplaceRuntimeServerParams
WithData adds the data to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithDefaults ¶
func (o *ReplaceRuntimeServerParams) WithDefaults() *ReplaceRuntimeServerParams
WithDefaults hydrates default values in the replace runtime server params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceRuntimeServerParams) WithHTTPClient ¶
func (o *ReplaceRuntimeServerParams) WithHTTPClient(client *http.Client) *ReplaceRuntimeServerParams
WithHTTPClient adds the HTTPClient to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithName ¶
func (o *ReplaceRuntimeServerParams) WithName(name string) *ReplaceRuntimeServerParams
WithName adds the name to the replace runtime server params
func (*ReplaceRuntimeServerParams) WithTimeout ¶
func (o *ReplaceRuntimeServerParams) WithTimeout(timeout time.Duration) *ReplaceRuntimeServerParams
WithTimeout adds the timeout to the replace runtime server params
func (*ReplaceRuntimeServerParams) WriteToRequest ¶
func (o *ReplaceRuntimeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceRuntimeServerReader ¶
type ReplaceRuntimeServerReader struct {
// contains filtered or unexported fields
}
ReplaceRuntimeServerReader is a Reader for the ReplaceRuntimeServer structure.
func (*ReplaceRuntimeServerReader) ReadResponse ¶
func (o *ReplaceRuntimeServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceServerAccepted ¶
type ReplaceServerAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Server }
ReplaceServerAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceServerAccepted ¶
func NewReplaceServerAccepted() *ReplaceServerAccepted
NewReplaceServerAccepted creates a ReplaceServerAccepted with default headers values
func (*ReplaceServerAccepted) Error ¶
func (o *ReplaceServerAccepted) Error() string
func (*ReplaceServerAccepted) GetPayload ¶
func (o *ReplaceServerAccepted) GetPayload() *models.Server
type ReplaceServerBadRequest ¶
type ReplaceServerBadRequest struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceServerBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceServerBadRequest ¶
func NewReplaceServerBadRequest() *ReplaceServerBadRequest
NewReplaceServerBadRequest creates a ReplaceServerBadRequest with default headers values
func (*ReplaceServerBadRequest) Error ¶
func (o *ReplaceServerBadRequest) Error() string
func (*ReplaceServerBadRequest) GetPayload ¶
func (o *ReplaceServerBadRequest) GetPayload() *models.Error
type ReplaceServerDefault ¶
type ReplaceServerDefault struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error // contains filtered or unexported fields }
ReplaceServerDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceServerDefault ¶
func NewReplaceServerDefault(code int) *ReplaceServerDefault
NewReplaceServerDefault creates a ReplaceServerDefault with default headers values
func (*ReplaceServerDefault) Code ¶
func (o *ReplaceServerDefault) Code() int
Code gets the status code for the replace server default response
func (*ReplaceServerDefault) Error ¶
func (o *ReplaceServerDefault) Error() string
func (*ReplaceServerDefault) GetPayload ¶
func (o *ReplaceServerDefault) GetPayload() *models.Error
type ReplaceServerNotFound ¶
type ReplaceServerNotFound struct { /* Configuration file version */ ConfigurationVersion int64 Payload *models.Error }
ReplaceServerNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceServerNotFound ¶
func NewReplaceServerNotFound() *ReplaceServerNotFound
NewReplaceServerNotFound creates a ReplaceServerNotFound with default headers values
func (*ReplaceServerNotFound) Error ¶
func (o *ReplaceServerNotFound) Error() string
func (*ReplaceServerNotFound) GetPayload ¶
func (o *ReplaceServerNotFound) GetPayload() *models.Error
type ReplaceServerOK ¶
ReplaceServerOK describes a response with status code 200, with default header values.
Server replaced
func NewReplaceServerOK ¶
func NewReplaceServerOK() *ReplaceServerOK
NewReplaceServerOK creates a ReplaceServerOK with default headers values
func (*ReplaceServerOK) Error ¶
func (o *ReplaceServerOK) Error() string
func (*ReplaceServerOK) GetPayload ¶
func (o *ReplaceServerOK) GetPayload() *models.Server
type ReplaceServerParams ¶
type ReplaceServerParams struct { /* Backend. Parent backend name */ Backend string // Data. Data *models.Server /* 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 /* Name. Server 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 }
ReplaceServerParams contains all the parameters to send to the API endpoint
for the replace server operation. Typically these are written to a http.Request.
func NewReplaceServerParams ¶
func NewReplaceServerParams() *ReplaceServerParams
NewReplaceServerParams creates a new ReplaceServerParams 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 NewReplaceServerParamsWithContext ¶
func NewReplaceServerParamsWithContext(ctx context.Context) *ReplaceServerParams
NewReplaceServerParamsWithContext creates a new ReplaceServerParams object with the ability to set a context for a request.
func NewReplaceServerParamsWithHTTPClient ¶
func NewReplaceServerParamsWithHTTPClient(client *http.Client) *ReplaceServerParams
NewReplaceServerParamsWithHTTPClient creates a new ReplaceServerParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceServerParamsWithTimeout ¶
func NewReplaceServerParamsWithTimeout(timeout time.Duration) *ReplaceServerParams
NewReplaceServerParamsWithTimeout creates a new ReplaceServerParams object with the ability to set a timeout on a request.
func (*ReplaceServerParams) SetBackend ¶
func (o *ReplaceServerParams) SetBackend(backend string)
SetBackend adds the backend to the replace server params
func (*ReplaceServerParams) SetContext ¶
func (o *ReplaceServerParams) SetContext(ctx context.Context)
SetContext adds the context to the replace server params
func (*ReplaceServerParams) SetData ¶
func (o *ReplaceServerParams) SetData(data *models.Server)
SetData adds the data to the replace server params
func (*ReplaceServerParams) SetDefaults ¶
func (o *ReplaceServerParams) SetDefaults()
SetDefaults hydrates default values in the replace server params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceServerParams) SetForceReload ¶
func (o *ReplaceServerParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace server params
func (*ReplaceServerParams) SetHTTPClient ¶
func (o *ReplaceServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace server params
func (*ReplaceServerParams) SetName ¶
func (o *ReplaceServerParams) SetName(name string)
SetName adds the name to the replace server params
func (*ReplaceServerParams) SetTimeout ¶
func (o *ReplaceServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace server params
func (*ReplaceServerParams) SetTransactionID ¶
func (o *ReplaceServerParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace server params
func (*ReplaceServerParams) SetVersion ¶
func (o *ReplaceServerParams) SetVersion(version *int64)
SetVersion adds the version to the replace server params
func (*ReplaceServerParams) WithBackend ¶
func (o *ReplaceServerParams) WithBackend(backend string) *ReplaceServerParams
WithBackend adds the backend to the replace server params
func (*ReplaceServerParams) WithContext ¶
func (o *ReplaceServerParams) WithContext(ctx context.Context) *ReplaceServerParams
WithContext adds the context to the replace server params
func (*ReplaceServerParams) WithData ¶
func (o *ReplaceServerParams) WithData(data *models.Server) *ReplaceServerParams
WithData adds the data to the replace server params
func (*ReplaceServerParams) WithDefaults ¶
func (o *ReplaceServerParams) WithDefaults() *ReplaceServerParams
WithDefaults hydrates default values in the replace server params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceServerParams) WithForceReload ¶
func (o *ReplaceServerParams) WithForceReload(forceReload *bool) *ReplaceServerParams
WithForceReload adds the forceReload to the replace server params
func (*ReplaceServerParams) WithHTTPClient ¶
func (o *ReplaceServerParams) WithHTTPClient(client *http.Client) *ReplaceServerParams
WithHTTPClient adds the HTTPClient to the replace server params
func (*ReplaceServerParams) WithName ¶
func (o *ReplaceServerParams) WithName(name string) *ReplaceServerParams
WithName adds the name to the replace server params
func (*ReplaceServerParams) WithTimeout ¶
func (o *ReplaceServerParams) WithTimeout(timeout time.Duration) *ReplaceServerParams
WithTimeout adds the timeout to the replace server params
func (*ReplaceServerParams) WithTransactionID ¶
func (o *ReplaceServerParams) WithTransactionID(transactionID *string) *ReplaceServerParams
WithTransactionID adds the transactionID to the replace server params
func (*ReplaceServerParams) WithVersion ¶
func (o *ReplaceServerParams) WithVersion(version *int64) *ReplaceServerParams
WithVersion adds the version to the replace server params
func (*ReplaceServerParams) WriteToRequest ¶
func (o *ReplaceServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceServerReader ¶
type ReplaceServerReader struct {
// contains filtered or unexported fields
}
ReplaceServerReader is a Reader for the ReplaceServer structure.
func (*ReplaceServerReader) ReadResponse ¶
func (o *ReplaceServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_server_parameters.go
- create_server_responses.go
- delete_server_parameters.go
- delete_server_responses.go
- get_runtime_server_parameters.go
- get_runtime_server_responses.go
- get_runtime_servers_parameters.go
- get_runtime_servers_responses.go
- get_server_parameters.go
- get_server_responses.go
- get_servers_parameters.go
- get_servers_responses.go
- replace_runtime_server_parameters.go
- replace_runtime_server_responses.go
- replace_server_parameters.go
- replace_server_responses.go
- server_client.go