server

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRuntimeServerBadRequest added in v1.1.0

type AddRuntimeServerBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

AddRuntimeServerBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddRuntimeServerBadRequest added in v1.1.0

func NewAddRuntimeServerBadRequest() *AddRuntimeServerBadRequest

NewAddRuntimeServerBadRequest creates a AddRuntimeServerBadRequest with default headers values

func (*AddRuntimeServerBadRequest) Error added in v1.1.0

func (*AddRuntimeServerBadRequest) GetPayload added in v1.1.0

func (o *AddRuntimeServerBadRequest) GetPayload() *models.Error

func (*AddRuntimeServerBadRequest) IsClientError added in v1.1.0

func (o *AddRuntimeServerBadRequest) IsClientError() bool

IsClientError returns true when this add runtime server bad request response has a 4xx status code

func (*AddRuntimeServerBadRequest) IsCode added in v1.1.0

func (o *AddRuntimeServerBadRequest) IsCode(code int) bool

IsCode returns true when this add runtime server bad request response a status code equal to that given

func (*AddRuntimeServerBadRequest) IsRedirect added in v1.1.0

func (o *AddRuntimeServerBadRequest) IsRedirect() bool

IsRedirect returns true when this add runtime server bad request response has a 3xx status code

func (*AddRuntimeServerBadRequest) IsServerError added in v1.1.0

func (o *AddRuntimeServerBadRequest) IsServerError() bool

IsServerError returns true when this add runtime server bad request response has a 5xx status code

func (*AddRuntimeServerBadRequest) IsSuccess added in v1.1.0

func (o *AddRuntimeServerBadRequest) IsSuccess() bool

IsSuccess returns true when this add runtime server bad request response has a 2xx status code

func (*AddRuntimeServerBadRequest) String added in v1.1.0

func (o *AddRuntimeServerBadRequest) String() string

type AddRuntimeServerConflict added in v1.1.0

type AddRuntimeServerConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

AddRuntimeServerConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewAddRuntimeServerConflict added in v1.1.0

func NewAddRuntimeServerConflict() *AddRuntimeServerConflict

NewAddRuntimeServerConflict creates a AddRuntimeServerConflict with default headers values

func (*AddRuntimeServerConflict) Error added in v1.1.0

func (o *AddRuntimeServerConflict) Error() string

func (*AddRuntimeServerConflict) GetPayload added in v1.1.0

func (o *AddRuntimeServerConflict) GetPayload() *models.Error

func (*AddRuntimeServerConflict) IsClientError added in v1.1.0

func (o *AddRuntimeServerConflict) IsClientError() bool

IsClientError returns true when this add runtime server conflict response has a 4xx status code

func (*AddRuntimeServerConflict) IsCode added in v1.1.0

func (o *AddRuntimeServerConflict) IsCode(code int) bool

IsCode returns true when this add runtime server conflict response a status code equal to that given

func (*AddRuntimeServerConflict) IsRedirect added in v1.1.0

func (o *AddRuntimeServerConflict) IsRedirect() bool

IsRedirect returns true when this add runtime server conflict response has a 3xx status code

func (*AddRuntimeServerConflict) IsServerError added in v1.1.0

func (o *AddRuntimeServerConflict) IsServerError() bool

IsServerError returns true when this add runtime server conflict response has a 5xx status code

func (*AddRuntimeServerConflict) IsSuccess added in v1.1.0

func (o *AddRuntimeServerConflict) IsSuccess() bool

IsSuccess returns true when this add runtime server conflict response has a 2xx status code

func (*AddRuntimeServerConflict) String added in v1.1.0

func (o *AddRuntimeServerConflict) String() string

type AddRuntimeServerCreated added in v1.1.0

type AddRuntimeServerCreated struct {
	Payload *models.RuntimeAddServer
}

AddRuntimeServerCreated describes a response with status code 201, with default header values.

Server added

func NewAddRuntimeServerCreated added in v1.1.0

func NewAddRuntimeServerCreated() *AddRuntimeServerCreated

NewAddRuntimeServerCreated creates a AddRuntimeServerCreated with default headers values

func (*AddRuntimeServerCreated) Error added in v1.1.0

func (o *AddRuntimeServerCreated) Error() string

func (*AddRuntimeServerCreated) GetPayload added in v1.1.0

func (*AddRuntimeServerCreated) IsClientError added in v1.1.0

func (o *AddRuntimeServerCreated) IsClientError() bool

IsClientError returns true when this add runtime server created response has a 4xx status code

func (*AddRuntimeServerCreated) IsCode added in v1.1.0

func (o *AddRuntimeServerCreated) IsCode(code int) bool

IsCode returns true when this add runtime server created response a status code equal to that given

func (*AddRuntimeServerCreated) IsRedirect added in v1.1.0

func (o *AddRuntimeServerCreated) IsRedirect() bool

IsRedirect returns true when this add runtime server created response has a 3xx status code

func (*AddRuntimeServerCreated) IsServerError added in v1.1.0

func (o *AddRuntimeServerCreated) IsServerError() bool

IsServerError returns true when this add runtime server created response has a 5xx status code

func (*AddRuntimeServerCreated) IsSuccess added in v1.1.0

func (o *AddRuntimeServerCreated) IsSuccess() bool

IsSuccess returns true when this add runtime server created response has a 2xx status code

func (*AddRuntimeServerCreated) String added in v1.1.0

func (o *AddRuntimeServerCreated) String() string

type AddRuntimeServerDefault added in v1.1.0

type AddRuntimeServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

AddRuntimeServerDefault describes a response with status code -1, with default header values.

General Error

func NewAddRuntimeServerDefault added in v1.1.0

func NewAddRuntimeServerDefault(code int) *AddRuntimeServerDefault

NewAddRuntimeServerDefault creates a AddRuntimeServerDefault with default headers values

func (*AddRuntimeServerDefault) Code added in v1.1.0

func (o *AddRuntimeServerDefault) Code() int

Code gets the status code for the add runtime server default response

func (*AddRuntimeServerDefault) Error added in v1.1.0

func (o *AddRuntimeServerDefault) Error() string

func (*AddRuntimeServerDefault) GetPayload added in v1.1.0

func (o *AddRuntimeServerDefault) GetPayload() *models.Error

func (*AddRuntimeServerDefault) IsClientError added in v1.1.0

func (o *AddRuntimeServerDefault) IsClientError() bool

IsClientError returns true when this add runtime server default response has a 4xx status code

func (*AddRuntimeServerDefault) IsCode added in v1.1.0

func (o *AddRuntimeServerDefault) IsCode(code int) bool

IsCode returns true when this add runtime server default response a status code equal to that given

func (*AddRuntimeServerDefault) IsRedirect added in v1.1.0

func (o *AddRuntimeServerDefault) IsRedirect() bool

IsRedirect returns true when this add runtime server default response has a 3xx status code

func (*AddRuntimeServerDefault) IsServerError added in v1.1.0

func (o *AddRuntimeServerDefault) IsServerError() bool

IsServerError returns true when this add runtime server default response has a 5xx status code

func (*AddRuntimeServerDefault) IsSuccess added in v1.1.0

func (o *AddRuntimeServerDefault) IsSuccess() bool

IsSuccess returns true when this add runtime server default response has a 2xx status code

func (*AddRuntimeServerDefault) String added in v1.1.0

func (o *AddRuntimeServerDefault) String() string

type AddRuntimeServerNotFound added in v1.1.0

type AddRuntimeServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

AddRuntimeServerNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewAddRuntimeServerNotFound added in v1.1.0

func NewAddRuntimeServerNotFound() *AddRuntimeServerNotFound

NewAddRuntimeServerNotFound creates a AddRuntimeServerNotFound with default headers values

func (*AddRuntimeServerNotFound) Error added in v1.1.0

func (o *AddRuntimeServerNotFound) Error() string

func (*AddRuntimeServerNotFound) GetPayload added in v1.1.0

func (o *AddRuntimeServerNotFound) GetPayload() *models.Error

func (*AddRuntimeServerNotFound) IsClientError added in v1.1.0

func (o *AddRuntimeServerNotFound) IsClientError() bool

IsClientError returns true when this add runtime server not found response has a 4xx status code

func (*AddRuntimeServerNotFound) IsCode added in v1.1.0

func (o *AddRuntimeServerNotFound) IsCode(code int) bool

IsCode returns true when this add runtime server not found response a status code equal to that given

func (*AddRuntimeServerNotFound) IsRedirect added in v1.1.0

func (o *AddRuntimeServerNotFound) IsRedirect() bool

IsRedirect returns true when this add runtime server not found response has a 3xx status code

func (*AddRuntimeServerNotFound) IsServerError added in v1.1.0

func (o *AddRuntimeServerNotFound) IsServerError() bool

IsServerError returns true when this add runtime server not found response has a 5xx status code

func (*AddRuntimeServerNotFound) IsSuccess added in v1.1.0

func (o *AddRuntimeServerNotFound) IsSuccess() bool

IsSuccess returns true when this add runtime server not found response has a 2xx status code

func (*AddRuntimeServerNotFound) String added in v1.1.0

func (o *AddRuntimeServerNotFound) String() string

type AddRuntimeServerParams added in v1.1.0

type AddRuntimeServerParams struct {

	/* Backend.

	   Parent backend name
	*/
	Backend string

	// Data.
	Data *models.RuntimeAddServer

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddRuntimeServerParams contains all the parameters to send to the API endpoint

for the add runtime server operation.

Typically these are written to a http.Request.

func NewAddRuntimeServerParams added in v1.1.0

func NewAddRuntimeServerParams() *AddRuntimeServerParams

NewAddRuntimeServerParams creates a new AddRuntimeServerParams 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 NewAddRuntimeServerParamsWithContext added in v1.1.0

func NewAddRuntimeServerParamsWithContext(ctx context.Context) *AddRuntimeServerParams

NewAddRuntimeServerParamsWithContext creates a new AddRuntimeServerParams object with the ability to set a context for a request.

func NewAddRuntimeServerParamsWithHTTPClient added in v1.1.0

func NewAddRuntimeServerParamsWithHTTPClient(client *http.Client) *AddRuntimeServerParams

NewAddRuntimeServerParamsWithHTTPClient creates a new AddRuntimeServerParams object with the ability to set a custom HTTPClient for a request.

func NewAddRuntimeServerParamsWithTimeout added in v1.1.0

func NewAddRuntimeServerParamsWithTimeout(timeout time.Duration) *AddRuntimeServerParams

NewAddRuntimeServerParamsWithTimeout creates a new AddRuntimeServerParams object with the ability to set a timeout on a request.

func (*AddRuntimeServerParams) SetBackend added in v1.1.0

func (o *AddRuntimeServerParams) SetBackend(backend string)

SetBackend adds the backend to the add runtime server params

func (*AddRuntimeServerParams) SetContext added in v1.1.0

func (o *AddRuntimeServerParams) SetContext(ctx context.Context)

SetContext adds the context to the add runtime server params

func (*AddRuntimeServerParams) SetData added in v1.1.0

SetData adds the data to the add runtime server params

func (*AddRuntimeServerParams) SetDefaults added in v1.1.0

func (o *AddRuntimeServerParams) SetDefaults()

SetDefaults hydrates default values in the add runtime server params (not the query body).

All values with no default are reset to their zero value.

func (*AddRuntimeServerParams) SetHTTPClient added in v1.1.0

func (o *AddRuntimeServerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add runtime server params

func (*AddRuntimeServerParams) SetTimeout added in v1.1.0

func (o *AddRuntimeServerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add runtime server params

func (*AddRuntimeServerParams) WithBackend added in v1.1.0

func (o *AddRuntimeServerParams) WithBackend(backend string) *AddRuntimeServerParams

WithBackend adds the backend to the add runtime server params

func (*AddRuntimeServerParams) WithContext added in v1.1.0

WithContext adds the context to the add runtime server params

func (*AddRuntimeServerParams) WithData added in v1.1.0

WithData adds the data to the add runtime server params

func (*AddRuntimeServerParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the add runtime server params (not the query body).

All values with no default are reset to their zero value.

func (*AddRuntimeServerParams) WithHTTPClient added in v1.1.0

func (o *AddRuntimeServerParams) WithHTTPClient(client *http.Client) *AddRuntimeServerParams

WithHTTPClient adds the HTTPClient to the add runtime server params

func (*AddRuntimeServerParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the add runtime server params

func (*AddRuntimeServerParams) WriteToRequest added in v1.1.0

WriteToRequest writes these params to a swagger request

type AddRuntimeServerReader added in v1.1.0

type AddRuntimeServerReader struct {
	// contains filtered or unexported fields
}

AddRuntimeServerReader is a Reader for the AddRuntimeServer structure.

func (*AddRuntimeServerReader) ReadResponse added in v1.1.0

func (o *AddRuntimeServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for server API

func (*Client) AddRuntimeServer added in v1.1.0

func (a *Client) AddRuntimeServer(params *AddRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRuntimeServerCreated, error)

AddRuntimeServer adds a new server to a backend

Adds a new server to the specified backend

func (*Client) CreateServer

CreateServer adds a new server

Adds a new server in the specified backend in the configuration file.

func (*Client) DeleteRuntimeServer added in v1.1.0

func (a *Client) DeleteRuntimeServer(params *DeleteRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRuntimeServerNoContent, error)

DeleteRuntimeServer deletes a server from a backend

Deletes a server from the specified backend

func (*Client) DeleteServer

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

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 {
	AddRuntimeServer(params *AddRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddRuntimeServerCreated, error)

	CreateServer(params *CreateServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServerCreated, *CreateServerAccepted, error)

	DeleteRuntimeServer(params *DeleteRuntimeServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRuntimeServerNoContent, 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

func (*CreateServerAccepted) IsClientError added in v1.1.0

func (o *CreateServerAccepted) IsClientError() bool

IsClientError returns true when this create server accepted response has a 4xx status code

func (*CreateServerAccepted) IsCode added in v1.1.0

func (o *CreateServerAccepted) IsCode(code int) bool

IsCode returns true when this create server accepted response a status code equal to that given

func (*CreateServerAccepted) IsRedirect added in v1.1.0

func (o *CreateServerAccepted) IsRedirect() bool

IsRedirect returns true when this create server accepted response has a 3xx status code

func (*CreateServerAccepted) IsServerError added in v1.1.0

func (o *CreateServerAccepted) IsServerError() bool

IsServerError returns true when this create server accepted response has a 5xx status code

func (*CreateServerAccepted) IsSuccess added in v1.1.0

func (o *CreateServerAccepted) IsSuccess() bool

IsSuccess returns true when this create server accepted response has a 2xx status code

func (*CreateServerAccepted) String added in v1.1.0

func (o *CreateServerAccepted) String() string

type CreateServerBadRequest

type CreateServerBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*CreateServerBadRequest) IsClientError added in v1.1.0

func (o *CreateServerBadRequest) IsClientError() bool

IsClientError returns true when this create server bad request response has a 4xx status code

func (*CreateServerBadRequest) IsCode added in v1.1.0

func (o *CreateServerBadRequest) IsCode(code int) bool

IsCode returns true when this create server bad request response a status code equal to that given

func (*CreateServerBadRequest) IsRedirect added in v1.1.0

func (o *CreateServerBadRequest) IsRedirect() bool

IsRedirect returns true when this create server bad request response has a 3xx status code

func (*CreateServerBadRequest) IsServerError added in v1.1.0

func (o *CreateServerBadRequest) IsServerError() bool

IsServerError returns true when this create server bad request response has a 5xx status code

func (*CreateServerBadRequest) IsSuccess added in v1.1.0

func (o *CreateServerBadRequest) IsSuccess() bool

IsSuccess returns true when this create server bad request response has a 2xx status code

func (*CreateServerBadRequest) String added in v1.1.0

func (o *CreateServerBadRequest) String() string

type CreateServerConflict

type CreateServerConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*CreateServerConflict) IsClientError added in v1.1.0

func (o *CreateServerConflict) IsClientError() bool

IsClientError returns true when this create server conflict response has a 4xx status code

func (*CreateServerConflict) IsCode added in v1.1.0

func (o *CreateServerConflict) IsCode(code int) bool

IsCode returns true when this create server conflict response a status code equal to that given

func (*CreateServerConflict) IsRedirect added in v1.1.0

func (o *CreateServerConflict) IsRedirect() bool

IsRedirect returns true when this create server conflict response has a 3xx status code

func (*CreateServerConflict) IsServerError added in v1.1.0

func (o *CreateServerConflict) IsServerError() bool

IsServerError returns true when this create server conflict response has a 5xx status code

func (*CreateServerConflict) IsSuccess added in v1.1.0

func (o *CreateServerConflict) IsSuccess() bool

IsSuccess returns true when this create server conflict response has a 2xx status code

func (*CreateServerConflict) String added in v1.1.0

func (o *CreateServerConflict) String() string

type CreateServerCreated

type CreateServerCreated struct {
	Payload *models.Server
}

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

func (*CreateServerCreated) IsClientError added in v1.1.0

func (o *CreateServerCreated) IsClientError() bool

IsClientError returns true when this create server created response has a 4xx status code

func (*CreateServerCreated) IsCode added in v1.1.0

func (o *CreateServerCreated) IsCode(code int) bool

IsCode returns true when this create server created response a status code equal to that given

func (*CreateServerCreated) IsRedirect added in v1.1.0

func (o *CreateServerCreated) IsRedirect() bool

IsRedirect returns true when this create server created response has a 3xx status code

func (*CreateServerCreated) IsServerError added in v1.1.0

func (o *CreateServerCreated) IsServerError() bool

IsServerError returns true when this create server created response has a 5xx status code

func (*CreateServerCreated) IsSuccess added in v1.1.0

func (o *CreateServerCreated) IsSuccess() bool

IsSuccess returns true when this create server created response has a 2xx status code

func (*CreateServerCreated) String added in v1.1.0

func (o *CreateServerCreated) String() string

type CreateServerDefault

type CreateServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*CreateServerDefault) IsClientError added in v1.1.0

func (o *CreateServerDefault) IsClientError() bool

IsClientError returns true when this create server default response has a 4xx status code

func (*CreateServerDefault) IsCode added in v1.1.0

func (o *CreateServerDefault) IsCode(code int) bool

IsCode returns true when this create server default response a status code equal to that given

func (*CreateServerDefault) IsRedirect added in v1.1.0

func (o *CreateServerDefault) IsRedirect() bool

IsRedirect returns true when this create server default response has a 3xx status code

func (*CreateServerDefault) IsServerError added in v1.1.0

func (o *CreateServerDefault) IsServerError() bool

IsServerError returns true when this create server default response has a 5xx status code

func (*CreateServerDefault) IsSuccess added in v1.1.0

func (o *CreateServerDefault) IsSuccess() bool

IsSuccess returns true when this create server default response has a 2xx status code

func (*CreateServerDefault) String added in v1.1.0

func (o *CreateServerDefault) String() string

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

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType *string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) SetParentName added in v1.0.0

func (o *CreateServerParams) SetParentName(parentName *string)

SetParentName adds the parentName to the create server params

func (*CreateServerParams) SetParentType added in v1.0.0

func (o *CreateServerParams) SetParentType(parentType *string)

SetParentType adds the parentType 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

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) WithParentName added in v1.0.0

func (o *CreateServerParams) WithParentName(parentName *string) *CreateServerParams

WithParentName adds the parentName to the create server params

func (*CreateServerParams) WithParentType added in v1.0.0

func (o *CreateServerParams) WithParentType(parentType *string) *CreateServerParams

WithParentType adds the parentType 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 DeleteRuntimeServerBadRequest added in v1.1.0

type DeleteRuntimeServerBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteRuntimeServerBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteRuntimeServerBadRequest added in v1.1.0

func NewDeleteRuntimeServerBadRequest() *DeleteRuntimeServerBadRequest

NewDeleteRuntimeServerBadRequest creates a DeleteRuntimeServerBadRequest with default headers values

func (*DeleteRuntimeServerBadRequest) Error added in v1.1.0

func (*DeleteRuntimeServerBadRequest) GetPayload added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) GetPayload() *models.Error

func (*DeleteRuntimeServerBadRequest) IsClientError added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) IsClientError() bool

IsClientError returns true when this delete runtime server bad request response has a 4xx status code

func (*DeleteRuntimeServerBadRequest) IsCode added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) IsCode(code int) bool

IsCode returns true when this delete runtime server bad request response a status code equal to that given

func (*DeleteRuntimeServerBadRequest) IsRedirect added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) IsRedirect() bool

IsRedirect returns true when this delete runtime server bad request response has a 3xx status code

func (*DeleteRuntimeServerBadRequest) IsServerError added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) IsServerError() bool

IsServerError returns true when this delete runtime server bad request response has a 5xx status code

func (*DeleteRuntimeServerBadRequest) IsSuccess added in v1.1.0

func (o *DeleteRuntimeServerBadRequest) IsSuccess() bool

IsSuccess returns true when this delete runtime server bad request response has a 2xx status code

func (*DeleteRuntimeServerBadRequest) String added in v1.1.0

type DeleteRuntimeServerDefault added in v1.1.0

type DeleteRuntimeServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteRuntimeServerDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteRuntimeServerDefault added in v1.1.0

func NewDeleteRuntimeServerDefault(code int) *DeleteRuntimeServerDefault

NewDeleteRuntimeServerDefault creates a DeleteRuntimeServerDefault with default headers values

func (*DeleteRuntimeServerDefault) Code added in v1.1.0

func (o *DeleteRuntimeServerDefault) Code() int

Code gets the status code for the delete runtime server default response

func (*DeleteRuntimeServerDefault) Error added in v1.1.0

func (*DeleteRuntimeServerDefault) GetPayload added in v1.1.0

func (o *DeleteRuntimeServerDefault) GetPayload() *models.Error

func (*DeleteRuntimeServerDefault) IsClientError added in v1.1.0

func (o *DeleteRuntimeServerDefault) IsClientError() bool

IsClientError returns true when this delete runtime server default response has a 4xx status code

func (*DeleteRuntimeServerDefault) IsCode added in v1.1.0

func (o *DeleteRuntimeServerDefault) IsCode(code int) bool

IsCode returns true when this delete runtime server default response a status code equal to that given

func (*DeleteRuntimeServerDefault) IsRedirect added in v1.1.0

func (o *DeleteRuntimeServerDefault) IsRedirect() bool

IsRedirect returns true when this delete runtime server default response has a 3xx status code

func (*DeleteRuntimeServerDefault) IsServerError added in v1.1.0

func (o *DeleteRuntimeServerDefault) IsServerError() bool

IsServerError returns true when this delete runtime server default response has a 5xx status code

func (*DeleteRuntimeServerDefault) IsSuccess added in v1.1.0

func (o *DeleteRuntimeServerDefault) IsSuccess() bool

IsSuccess returns true when this delete runtime server default response has a 2xx status code

func (*DeleteRuntimeServerDefault) String added in v1.1.0

func (o *DeleteRuntimeServerDefault) String() string

type DeleteRuntimeServerNoContent added in v1.1.0

type DeleteRuntimeServerNoContent struct {
}

DeleteRuntimeServerNoContent describes a response with status code 204, with default header values.

Server deleted

func NewDeleteRuntimeServerNoContent added in v1.1.0

func NewDeleteRuntimeServerNoContent() *DeleteRuntimeServerNoContent

NewDeleteRuntimeServerNoContent creates a DeleteRuntimeServerNoContent with default headers values

func (*DeleteRuntimeServerNoContent) Error added in v1.1.0

func (*DeleteRuntimeServerNoContent) IsClientError added in v1.1.0

func (o *DeleteRuntimeServerNoContent) IsClientError() bool

IsClientError returns true when this delete runtime server no content response has a 4xx status code

func (*DeleteRuntimeServerNoContent) IsCode added in v1.1.0

func (o *DeleteRuntimeServerNoContent) IsCode(code int) bool

IsCode returns true when this delete runtime server no content response a status code equal to that given

func (*DeleteRuntimeServerNoContent) IsRedirect added in v1.1.0

func (o *DeleteRuntimeServerNoContent) IsRedirect() bool

IsRedirect returns true when this delete runtime server no content response has a 3xx status code

func (*DeleteRuntimeServerNoContent) IsServerError added in v1.1.0

func (o *DeleteRuntimeServerNoContent) IsServerError() bool

IsServerError returns true when this delete runtime server no content response has a 5xx status code

func (*DeleteRuntimeServerNoContent) IsSuccess added in v1.1.0

func (o *DeleteRuntimeServerNoContent) IsSuccess() bool

IsSuccess returns true when this delete runtime server no content response has a 2xx status code

func (*DeleteRuntimeServerNoContent) String added in v1.1.0

type DeleteRuntimeServerNotFound added in v1.1.0

type DeleteRuntimeServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteRuntimeServerNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewDeleteRuntimeServerNotFound added in v1.1.0

func NewDeleteRuntimeServerNotFound() *DeleteRuntimeServerNotFound

NewDeleteRuntimeServerNotFound creates a DeleteRuntimeServerNotFound with default headers values

func (*DeleteRuntimeServerNotFound) Error added in v1.1.0

func (*DeleteRuntimeServerNotFound) GetPayload added in v1.1.0

func (o *DeleteRuntimeServerNotFound) GetPayload() *models.Error

func (*DeleteRuntimeServerNotFound) IsClientError added in v1.1.0

func (o *DeleteRuntimeServerNotFound) IsClientError() bool

IsClientError returns true when this delete runtime server not found response has a 4xx status code

func (*DeleteRuntimeServerNotFound) IsCode added in v1.1.0

func (o *DeleteRuntimeServerNotFound) IsCode(code int) bool

IsCode returns true when this delete runtime server not found response a status code equal to that given

func (*DeleteRuntimeServerNotFound) IsRedirect added in v1.1.0

func (o *DeleteRuntimeServerNotFound) IsRedirect() bool

IsRedirect returns true when this delete runtime server not found response has a 3xx status code

func (*DeleteRuntimeServerNotFound) IsServerError added in v1.1.0

func (o *DeleteRuntimeServerNotFound) IsServerError() bool

IsServerError returns true when this delete runtime server not found response has a 5xx status code

func (*DeleteRuntimeServerNotFound) IsSuccess added in v1.1.0

func (o *DeleteRuntimeServerNotFound) IsSuccess() bool

IsSuccess returns true when this delete runtime server not found response has a 2xx status code

func (*DeleteRuntimeServerNotFound) String added in v1.1.0

func (o *DeleteRuntimeServerNotFound) String() string

type DeleteRuntimeServerParams added in v1.1.0

type DeleteRuntimeServerParams struct {

	/* Backend.

	   Parent backend name
	*/
	Backend string

	/* Name.

	   Server name
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRuntimeServerParams contains all the parameters to send to the API endpoint

for the delete runtime server operation.

Typically these are written to a http.Request.

func NewDeleteRuntimeServerParams added in v1.1.0

func NewDeleteRuntimeServerParams() *DeleteRuntimeServerParams

NewDeleteRuntimeServerParams creates a new DeleteRuntimeServerParams 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 NewDeleteRuntimeServerParamsWithContext added in v1.1.0

func NewDeleteRuntimeServerParamsWithContext(ctx context.Context) *DeleteRuntimeServerParams

NewDeleteRuntimeServerParamsWithContext creates a new DeleteRuntimeServerParams object with the ability to set a context for a request.

func NewDeleteRuntimeServerParamsWithHTTPClient added in v1.1.0

func NewDeleteRuntimeServerParamsWithHTTPClient(client *http.Client) *DeleteRuntimeServerParams

NewDeleteRuntimeServerParamsWithHTTPClient creates a new DeleteRuntimeServerParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRuntimeServerParamsWithTimeout added in v1.1.0

func NewDeleteRuntimeServerParamsWithTimeout(timeout time.Duration) *DeleteRuntimeServerParams

NewDeleteRuntimeServerParamsWithTimeout creates a new DeleteRuntimeServerParams object with the ability to set a timeout on a request.

func (*DeleteRuntimeServerParams) SetBackend added in v1.1.0

func (o *DeleteRuntimeServerParams) SetBackend(backend string)

SetBackend adds the backend to the delete runtime server params

func (*DeleteRuntimeServerParams) SetContext added in v1.1.0

func (o *DeleteRuntimeServerParams) SetContext(ctx context.Context)

SetContext adds the context to the delete runtime server params

func (*DeleteRuntimeServerParams) SetDefaults added in v1.1.0

func (o *DeleteRuntimeServerParams) SetDefaults()

SetDefaults hydrates default values in the delete runtime server params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRuntimeServerParams) SetHTTPClient added in v1.1.0

func (o *DeleteRuntimeServerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete runtime server params

func (*DeleteRuntimeServerParams) SetName added in v1.1.0

func (o *DeleteRuntimeServerParams) SetName(name string)

SetName adds the name to the delete runtime server params

func (*DeleteRuntimeServerParams) SetTimeout added in v1.1.0

func (o *DeleteRuntimeServerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete runtime server params

func (*DeleteRuntimeServerParams) WithBackend added in v1.1.0

WithBackend adds the backend to the delete runtime server params

func (*DeleteRuntimeServerParams) WithContext added in v1.1.0

WithContext adds the context to the delete runtime server params

func (*DeleteRuntimeServerParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the delete runtime server params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteRuntimeServerParams) WithHTTPClient added in v1.1.0

func (o *DeleteRuntimeServerParams) WithHTTPClient(client *http.Client) *DeleteRuntimeServerParams

WithHTTPClient adds the HTTPClient to the delete runtime server params

func (*DeleteRuntimeServerParams) WithName added in v1.1.0

WithName adds the name to the delete runtime server params

func (*DeleteRuntimeServerParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the delete runtime server params

func (*DeleteRuntimeServerParams) WriteToRequest added in v1.1.0

WriteToRequest writes these params to a swagger request

type DeleteRuntimeServerReader added in v1.1.0

type DeleteRuntimeServerReader struct {
	// contains filtered or unexported fields
}

DeleteRuntimeServerReader is a Reader for the DeleteRuntimeServer structure.

func (*DeleteRuntimeServerReader) ReadResponse added in v1.1.0

func (o *DeleteRuntimeServerReader) 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

func (*DeleteServerAccepted) IsClientError added in v1.1.0

func (o *DeleteServerAccepted) IsClientError() bool

IsClientError returns true when this delete server accepted response has a 4xx status code

func (*DeleteServerAccepted) IsCode added in v1.1.0

func (o *DeleteServerAccepted) IsCode(code int) bool

IsCode returns true when this delete server accepted response a status code equal to that given

func (*DeleteServerAccepted) IsRedirect added in v1.1.0

func (o *DeleteServerAccepted) IsRedirect() bool

IsRedirect returns true when this delete server accepted response has a 3xx status code

func (*DeleteServerAccepted) IsServerError added in v1.1.0

func (o *DeleteServerAccepted) IsServerError() bool

IsServerError returns true when this delete server accepted response has a 5xx status code

func (*DeleteServerAccepted) IsSuccess added in v1.1.0

func (o *DeleteServerAccepted) IsSuccess() bool

IsSuccess returns true when this delete server accepted response has a 2xx status code

func (*DeleteServerAccepted) String added in v1.1.0

func (o *DeleteServerAccepted) String() string

type DeleteServerDefault

type DeleteServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*DeleteServerDefault) IsClientError added in v1.1.0

func (o *DeleteServerDefault) IsClientError() bool

IsClientError returns true when this delete server default response has a 4xx status code

func (*DeleteServerDefault) IsCode added in v1.1.0

func (o *DeleteServerDefault) IsCode(code int) bool

IsCode returns true when this delete server default response a status code equal to that given

func (*DeleteServerDefault) IsRedirect added in v1.1.0

func (o *DeleteServerDefault) IsRedirect() bool

IsRedirect returns true when this delete server default response has a 3xx status code

func (*DeleteServerDefault) IsServerError added in v1.1.0

func (o *DeleteServerDefault) IsServerError() bool

IsServerError returns true when this delete server default response has a 5xx status code

func (*DeleteServerDefault) IsSuccess added in v1.1.0

func (o *DeleteServerDefault) IsSuccess() bool

IsSuccess returns true when this delete server default response has a 2xx status code

func (*DeleteServerDefault) String added in v1.1.0

func (o *DeleteServerDefault) String() string

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

func (*DeleteServerNoContent) IsClientError added in v1.1.0

func (o *DeleteServerNoContent) IsClientError() bool

IsClientError returns true when this delete server no content response has a 4xx status code

func (*DeleteServerNoContent) IsCode added in v1.1.0

func (o *DeleteServerNoContent) IsCode(code int) bool

IsCode returns true when this delete server no content response a status code equal to that given

func (*DeleteServerNoContent) IsRedirect added in v1.1.0

func (o *DeleteServerNoContent) IsRedirect() bool

IsRedirect returns true when this delete server no content response has a 3xx status code

func (*DeleteServerNoContent) IsServerError added in v1.1.0

func (o *DeleteServerNoContent) IsServerError() bool

IsServerError returns true when this delete server no content response has a 5xx status code

func (*DeleteServerNoContent) IsSuccess added in v1.1.0

func (o *DeleteServerNoContent) IsSuccess() bool

IsSuccess returns true when this delete server no content response has a 2xx status code

func (*DeleteServerNoContent) String added in v1.1.0

func (o *DeleteServerNoContent) String() string

type DeleteServerNotFound

type DeleteServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*DeleteServerNotFound) IsClientError added in v1.1.0

func (o *DeleteServerNotFound) IsClientError() bool

IsClientError returns true when this delete server not found response has a 4xx status code

func (*DeleteServerNotFound) IsCode added in v1.1.0

func (o *DeleteServerNotFound) IsCode(code int) bool

IsCode returns true when this delete server not found response a status code equal to that given

func (*DeleteServerNotFound) IsRedirect added in v1.1.0

func (o *DeleteServerNotFound) IsRedirect() bool

IsRedirect returns true when this delete server not found response has a 3xx status code

func (*DeleteServerNotFound) IsServerError added in v1.1.0

func (o *DeleteServerNotFound) IsServerError() bool

IsServerError returns true when this delete server not found response has a 5xx status code

func (*DeleteServerNotFound) IsSuccess added in v1.1.0

func (o *DeleteServerNotFound) IsSuccess() bool

IsSuccess returns true when this delete server not found response has a 2xx status code

func (*DeleteServerNotFound) String added in v1.1.0

func (o *DeleteServerNotFound) String() string

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

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType *string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) SetParentName added in v1.0.0

func (o *DeleteServerParams) SetParentName(parentName *string)

SetParentName adds the parentName to the delete server params

func (*DeleteServerParams) SetParentType added in v1.0.0

func (o *DeleteServerParams) SetParentType(parentType *string)

SetParentType adds the parentType 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

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) WithParentName added in v1.0.0

func (o *DeleteServerParams) WithParentName(parentName *string) *DeleteServerParams

WithParentName adds the parentName to the delete server params

func (*DeleteServerParams) WithParentType added in v1.0.0

func (o *DeleteServerParams) WithParentType(parentType *string) *DeleteServerParams

WithParentType adds the parentType 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 string

	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

func (*GetRuntimeServerDefault) IsClientError added in v1.1.0

func (o *GetRuntimeServerDefault) IsClientError() bool

IsClientError returns true when this get runtime server default response has a 4xx status code

func (*GetRuntimeServerDefault) IsCode added in v1.1.0

func (o *GetRuntimeServerDefault) IsCode(code int) bool

IsCode returns true when this get runtime server default response a status code equal to that given

func (*GetRuntimeServerDefault) IsRedirect added in v1.1.0

func (o *GetRuntimeServerDefault) IsRedirect() bool

IsRedirect returns true when this get runtime server default response has a 3xx status code

func (*GetRuntimeServerDefault) IsServerError added in v1.1.0

func (o *GetRuntimeServerDefault) IsServerError() bool

IsServerError returns true when this get runtime server default response has a 5xx status code

func (*GetRuntimeServerDefault) IsSuccess added in v1.1.0

func (o *GetRuntimeServerDefault) IsSuccess() bool

IsSuccess returns true when this get runtime server default response has a 2xx status code

func (*GetRuntimeServerDefault) String added in v1.1.0

func (o *GetRuntimeServerDefault) String() string

type GetRuntimeServerNotFound

type GetRuntimeServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*GetRuntimeServerNotFound) IsClientError added in v1.1.0

func (o *GetRuntimeServerNotFound) IsClientError() bool

IsClientError returns true when this get runtime server not found response has a 4xx status code

func (*GetRuntimeServerNotFound) IsCode added in v1.1.0

func (o *GetRuntimeServerNotFound) IsCode(code int) bool

IsCode returns true when this get runtime server not found response a status code equal to that given

func (*GetRuntimeServerNotFound) IsRedirect added in v1.1.0

func (o *GetRuntimeServerNotFound) IsRedirect() bool

IsRedirect returns true when this get runtime server not found response has a 3xx status code

func (*GetRuntimeServerNotFound) IsServerError added in v1.1.0

func (o *GetRuntimeServerNotFound) IsServerError() bool

IsServerError returns true when this get runtime server not found response has a 5xx status code

func (*GetRuntimeServerNotFound) IsSuccess added in v1.1.0

func (o *GetRuntimeServerNotFound) IsSuccess() bool

IsSuccess returns true when this get runtime server not found response has a 2xx status code

func (*GetRuntimeServerNotFound) String added in v1.1.0

func (o *GetRuntimeServerNotFound) String() string

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

func (*GetRuntimeServerOK) IsClientError added in v1.1.0

func (o *GetRuntimeServerOK) IsClientError() bool

IsClientError returns true when this get runtime server o k response has a 4xx status code

func (*GetRuntimeServerOK) IsCode added in v1.1.0

func (o *GetRuntimeServerOK) IsCode(code int) bool

IsCode returns true when this get runtime server o k response a status code equal to that given

func (*GetRuntimeServerOK) IsRedirect added in v1.1.0

func (o *GetRuntimeServerOK) IsRedirect() bool

IsRedirect returns true when this get runtime server o k response has a 3xx status code

func (*GetRuntimeServerOK) IsServerError added in v1.1.0

func (o *GetRuntimeServerOK) IsServerError() bool

IsServerError returns true when this get runtime server o k response has a 5xx status code

func (*GetRuntimeServerOK) IsSuccess added in v1.1.0

func (o *GetRuntimeServerOK) IsSuccess() bool

IsSuccess returns true when this get runtime server o k response has a 2xx status code

func (*GetRuntimeServerOK) String added in v1.1.0

func (o *GetRuntimeServerOK) String() string

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

WithContext adds the context to the get runtime server params

func (*GetRuntimeServerParams) WithDefaults

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

WithName adds the name to the get runtime server params

func (*GetRuntimeServerParams) WithTimeout

WithTimeout adds the timeout to the get runtime server params

func (*GetRuntimeServerParams) WriteToRequest

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 string

	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

func (*GetRuntimeServersDefault) IsClientError added in v1.1.0

func (o *GetRuntimeServersDefault) IsClientError() bool

IsClientError returns true when this get runtime servers default response has a 4xx status code

func (*GetRuntimeServersDefault) IsCode added in v1.1.0

func (o *GetRuntimeServersDefault) IsCode(code int) bool

IsCode returns true when this get runtime servers default response a status code equal to that given

func (*GetRuntimeServersDefault) IsRedirect added in v1.1.0

func (o *GetRuntimeServersDefault) IsRedirect() bool

IsRedirect returns true when this get runtime servers default response has a 3xx status code

func (*GetRuntimeServersDefault) IsServerError added in v1.1.0

func (o *GetRuntimeServersDefault) IsServerError() bool

IsServerError returns true when this get runtime servers default response has a 5xx status code

func (*GetRuntimeServersDefault) IsSuccess added in v1.1.0

func (o *GetRuntimeServersDefault) IsSuccess() bool

IsSuccess returns true when this get runtime servers default response has a 2xx status code

func (*GetRuntimeServersDefault) String added in v1.1.0

func (o *GetRuntimeServersDefault) String() string

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

func (*GetRuntimeServersOK) IsClientError added in v1.1.0

func (o *GetRuntimeServersOK) IsClientError() bool

IsClientError returns true when this get runtime servers o k response has a 4xx status code

func (*GetRuntimeServersOK) IsCode added in v1.1.0

func (o *GetRuntimeServersOK) IsCode(code int) bool

IsCode returns true when this get runtime servers o k response a status code equal to that given

func (*GetRuntimeServersOK) IsRedirect added in v1.1.0

func (o *GetRuntimeServersOK) IsRedirect() bool

IsRedirect returns true when this get runtime servers o k response has a 3xx status code

func (*GetRuntimeServersOK) IsServerError added in v1.1.0

func (o *GetRuntimeServersOK) IsServerError() bool

IsServerError returns true when this get runtime servers o k response has a 5xx status code

func (*GetRuntimeServersOK) IsSuccess added in v1.1.0

func (o *GetRuntimeServersOK) IsSuccess() bool

IsSuccess returns true when this get runtime servers o k response has a 2xx status code

func (*GetRuntimeServersOK) String added in v1.1.0

func (o *GetRuntimeServersOK) String() string

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

WithContext adds the context to the get runtime servers params

func (*GetRuntimeServersParams) WithDefaults

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

WithTimeout adds the timeout to the get runtime servers params

func (*GetRuntimeServersParams) WriteToRequest

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 string

	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

func (*GetServerDefault) IsClientError added in v1.1.0

func (o *GetServerDefault) IsClientError() bool

IsClientError returns true when this get server default response has a 4xx status code

func (*GetServerDefault) IsCode added in v1.1.0

func (o *GetServerDefault) IsCode(code int) bool

IsCode returns true when this get server default response a status code equal to that given

func (*GetServerDefault) IsRedirect added in v1.1.0

func (o *GetServerDefault) IsRedirect() bool

IsRedirect returns true when this get server default response has a 3xx status code

func (*GetServerDefault) IsServerError added in v1.1.0

func (o *GetServerDefault) IsServerError() bool

IsServerError returns true when this get server default response has a 5xx status code

func (*GetServerDefault) IsSuccess added in v1.1.0

func (o *GetServerDefault) IsSuccess() bool

IsSuccess returns true when this get server default response has a 2xx status code

func (*GetServerDefault) String added in v1.1.0

func (o *GetServerDefault) String() string

type GetServerNotFound

type GetServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*GetServerNotFound) IsClientError added in v1.1.0

func (o *GetServerNotFound) IsClientError() bool

IsClientError returns true when this get server not found response has a 4xx status code

func (*GetServerNotFound) IsCode added in v1.1.0

func (o *GetServerNotFound) IsCode(code int) bool

IsCode returns true when this get server not found response a status code equal to that given

func (*GetServerNotFound) IsRedirect added in v1.1.0

func (o *GetServerNotFound) IsRedirect() bool

IsRedirect returns true when this get server not found response has a 3xx status code

func (*GetServerNotFound) IsServerError added in v1.1.0

func (o *GetServerNotFound) IsServerError() bool

IsServerError returns true when this get server not found response has a 5xx status code

func (*GetServerNotFound) IsSuccess added in v1.1.0

func (o *GetServerNotFound) IsSuccess() bool

IsSuccess returns true when this get server not found response has a 2xx status code

func (*GetServerNotFound) String added in v1.1.0

func (o *GetServerNotFound) String() string

type GetServerOK

type GetServerOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*GetServerOK) IsClientError added in v1.1.0

func (o *GetServerOK) IsClientError() bool

IsClientError returns true when this get server o k response has a 4xx status code

func (*GetServerOK) IsCode added in v1.1.0

func (o *GetServerOK) IsCode(code int) bool

IsCode returns true when this get server o k response a status code equal to that given

func (*GetServerOK) IsRedirect added in v1.1.0

func (o *GetServerOK) IsRedirect() bool

IsRedirect returns true when this get server o k response has a 3xx status code

func (*GetServerOK) IsServerError added in v1.1.0

func (o *GetServerOK) IsServerError() bool

IsServerError returns true when this get server o k response has a 5xx status code

func (*GetServerOK) IsSuccess added in v1.1.0

func (o *GetServerOK) IsSuccess() bool

IsSuccess returns true when this get server o k response has a 2xx status code

func (*GetServerOK) String added in v1.1.0

func (o *GetServerOK) String() string

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

func (o *GetServerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetServerOKBody) Validate

func (o *GetServerOKBody) Validate(formats strfmt.Registry) error

Validate validates this get server o k body

type GetServerParams

type GetServerParams struct {

	/* Backend.

	   Parent backend name
	*/
	Backend *string

	/* Name.

	   Server name
	*/
	Name string

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType *string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) SetParentName added in v1.0.0

func (o *GetServerParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get server params

func (*GetServerParams) SetParentType added in v1.0.0

func (o *GetServerParams) SetParentType(parentType *string)

SetParentType adds the parentType 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) WithParentName added in v1.0.0

func (o *GetServerParams) WithParentName(parentName *string) *GetServerParams

WithParentName adds the parentName to the get server params

func (*GetServerParams) WithParentType added in v1.0.0

func (o *GetServerParams) WithParentType(parentType *string) *GetServerParams

WithParentType adds the parentType 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 string

	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

func (*GetServersDefault) IsClientError added in v1.1.0

func (o *GetServersDefault) IsClientError() bool

IsClientError returns true when this get servers default response has a 4xx status code

func (*GetServersDefault) IsCode added in v1.1.0

func (o *GetServersDefault) IsCode(code int) bool

IsCode returns true when this get servers default response a status code equal to that given

func (*GetServersDefault) IsRedirect added in v1.1.0

func (o *GetServersDefault) IsRedirect() bool

IsRedirect returns true when this get servers default response has a 3xx status code

func (*GetServersDefault) IsServerError added in v1.1.0

func (o *GetServersDefault) IsServerError() bool

IsServerError returns true when this get servers default response has a 5xx status code

func (*GetServersDefault) IsSuccess added in v1.1.0

func (o *GetServersDefault) IsSuccess() bool

IsSuccess returns true when this get servers default response has a 2xx status code

func (*GetServersDefault) String added in v1.1.0

func (o *GetServersDefault) String() string

type GetServersOK

type GetServersOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*GetServersOK) IsClientError added in v1.1.0

func (o *GetServersOK) IsClientError() bool

IsClientError returns true when this get servers o k response has a 4xx status code

func (*GetServersOK) IsCode added in v1.1.0

func (o *GetServersOK) IsCode(code int) bool

IsCode returns true when this get servers o k response a status code equal to that given

func (*GetServersOK) IsRedirect added in v1.1.0

func (o *GetServersOK) IsRedirect() bool

IsRedirect returns true when this get servers o k response has a 3xx status code

func (*GetServersOK) IsServerError added in v1.1.0

func (o *GetServersOK) IsServerError() bool

IsServerError returns true when this get servers o k response has a 5xx status code

func (*GetServersOK) IsSuccess added in v1.1.0

func (o *GetServersOK) IsSuccess() bool

IsSuccess returns true when this get servers o k response has a 2xx status code

func (*GetServersOK) String added in v1.1.0

func (o *GetServersOK) String() string

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

func (o *GetServersOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetServersOKBody) Validate

func (o *GetServersOKBody) Validate(formats strfmt.Registry) error

Validate validates this get servers o k body

type GetServersParams

type GetServersParams struct {

	/* Backend.

	   Parent backend name
	*/
	Backend *string

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType *string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) SetParentName added in v1.0.0

func (o *GetServersParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get servers params

func (*GetServersParams) SetParentType added in v1.0.0

func (o *GetServersParams) SetParentType(parentType *string)

SetParentType adds the parentType 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) WithParentName added in v1.0.0

func (o *GetServersParams) WithParentName(parentName *string) *GetServersParams

WithParentName adds the parentName to the get servers params

func (*GetServersParams) WithParentType added in v1.0.0

func (o *GetServersParams) WithParentType(parentType *string) *GetServersParams

WithParentType adds the parentType 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 string

	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 (*ReplaceRuntimeServerBadRequest) GetPayload

func (o *ReplaceRuntimeServerBadRequest) GetPayload() *models.Error

func (*ReplaceRuntimeServerBadRequest) IsClientError added in v1.1.0

func (o *ReplaceRuntimeServerBadRequest) IsClientError() bool

IsClientError returns true when this replace runtime server bad request response has a 4xx status code

func (*ReplaceRuntimeServerBadRequest) IsCode added in v1.1.0

func (o *ReplaceRuntimeServerBadRequest) IsCode(code int) bool

IsCode returns true when this replace runtime server bad request response a status code equal to that given

func (*ReplaceRuntimeServerBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceRuntimeServerBadRequest) IsRedirect() bool

IsRedirect returns true when this replace runtime server bad request response has a 3xx status code

func (*ReplaceRuntimeServerBadRequest) IsServerError added in v1.1.0

func (o *ReplaceRuntimeServerBadRequest) IsServerError() bool

IsServerError returns true when this replace runtime server bad request response has a 5xx status code

func (*ReplaceRuntimeServerBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceRuntimeServerBadRequest) IsSuccess() bool

IsSuccess returns true when this replace runtime server bad request response has a 2xx status code

func (*ReplaceRuntimeServerBadRequest) String added in v1.1.0

type ReplaceRuntimeServerDefault

type ReplaceRuntimeServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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 (*ReplaceRuntimeServerDefault) GetPayload

func (o *ReplaceRuntimeServerDefault) GetPayload() *models.Error

func (*ReplaceRuntimeServerDefault) IsClientError added in v1.1.0

func (o *ReplaceRuntimeServerDefault) IsClientError() bool

IsClientError returns true when this replace runtime server default response has a 4xx status code

func (*ReplaceRuntimeServerDefault) IsCode added in v1.1.0

func (o *ReplaceRuntimeServerDefault) IsCode(code int) bool

IsCode returns true when this replace runtime server default response a status code equal to that given

func (*ReplaceRuntimeServerDefault) IsRedirect added in v1.1.0

func (o *ReplaceRuntimeServerDefault) IsRedirect() bool

IsRedirect returns true when this replace runtime server default response has a 3xx status code

func (*ReplaceRuntimeServerDefault) IsServerError added in v1.1.0

func (o *ReplaceRuntimeServerDefault) IsServerError() bool

IsServerError returns true when this replace runtime server default response has a 5xx status code

func (*ReplaceRuntimeServerDefault) IsSuccess added in v1.1.0

func (o *ReplaceRuntimeServerDefault) IsSuccess() bool

IsSuccess returns true when this replace runtime server default response has a 2xx status code

func (*ReplaceRuntimeServerDefault) String added in v1.1.0

func (o *ReplaceRuntimeServerDefault) String() string

type ReplaceRuntimeServerNotFound

type ReplaceRuntimeServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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 (*ReplaceRuntimeServerNotFound) GetPayload

func (o *ReplaceRuntimeServerNotFound) GetPayload() *models.Error

func (*ReplaceRuntimeServerNotFound) IsClientError added in v1.1.0

func (o *ReplaceRuntimeServerNotFound) IsClientError() bool

IsClientError returns true when this replace runtime server not found response has a 4xx status code

func (*ReplaceRuntimeServerNotFound) IsCode added in v1.1.0

func (o *ReplaceRuntimeServerNotFound) IsCode(code int) bool

IsCode returns true when this replace runtime server not found response a status code equal to that given

func (*ReplaceRuntimeServerNotFound) IsRedirect added in v1.1.0

func (o *ReplaceRuntimeServerNotFound) IsRedirect() bool

IsRedirect returns true when this replace runtime server not found response has a 3xx status code

func (*ReplaceRuntimeServerNotFound) IsServerError added in v1.1.0

func (o *ReplaceRuntimeServerNotFound) IsServerError() bool

IsServerError returns true when this replace runtime server not found response has a 5xx status code

func (*ReplaceRuntimeServerNotFound) IsSuccess added in v1.1.0

func (o *ReplaceRuntimeServerNotFound) IsSuccess() bool

IsSuccess returns true when this replace runtime server not found response has a 2xx status code

func (*ReplaceRuntimeServerNotFound) String added in v1.1.0

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

func (*ReplaceRuntimeServerOK) IsClientError added in v1.1.0

func (o *ReplaceRuntimeServerOK) IsClientError() bool

IsClientError returns true when this replace runtime server o k response has a 4xx status code

func (*ReplaceRuntimeServerOK) IsCode added in v1.1.0

func (o *ReplaceRuntimeServerOK) IsCode(code int) bool

IsCode returns true when this replace runtime server o k response a status code equal to that given

func (*ReplaceRuntimeServerOK) IsRedirect added in v1.1.0

func (o *ReplaceRuntimeServerOK) IsRedirect() bool

IsRedirect returns true when this replace runtime server o k response has a 3xx status code

func (*ReplaceRuntimeServerOK) IsServerError added in v1.1.0

func (o *ReplaceRuntimeServerOK) IsServerError() bool

IsServerError returns true when this replace runtime server o k response has a 5xx status code

func (*ReplaceRuntimeServerOK) IsSuccess added in v1.1.0

func (o *ReplaceRuntimeServerOK) IsSuccess() bool

IsSuccess returns true when this replace runtime server o k response has a 2xx status code

func (*ReplaceRuntimeServerOK) String added in v1.1.0

func (o *ReplaceRuntimeServerOK) String() string

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

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

WithBackend adds the backend to the replace runtime server params

func (*ReplaceRuntimeServerParams) WithContext

WithContext adds the context to the replace runtime server params

func (*ReplaceRuntimeServerParams) WithData

WithData adds the data to the replace runtime server params

func (*ReplaceRuntimeServerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the replace runtime server params

func (*ReplaceRuntimeServerParams) WithName

WithName adds the name to the replace runtime server params

func (*ReplaceRuntimeServerParams) WithTimeout

WithTimeout adds the timeout to the replace runtime server params

func (*ReplaceRuntimeServerParams) WriteToRequest

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

func (*ReplaceServerAccepted) IsClientError added in v1.1.0

func (o *ReplaceServerAccepted) IsClientError() bool

IsClientError returns true when this replace server accepted response has a 4xx status code

func (*ReplaceServerAccepted) IsCode added in v1.1.0

func (o *ReplaceServerAccepted) IsCode(code int) bool

IsCode returns true when this replace server accepted response a status code equal to that given

func (*ReplaceServerAccepted) IsRedirect added in v1.1.0

func (o *ReplaceServerAccepted) IsRedirect() bool

IsRedirect returns true when this replace server accepted response has a 3xx status code

func (*ReplaceServerAccepted) IsServerError added in v1.1.0

func (o *ReplaceServerAccepted) IsServerError() bool

IsServerError returns true when this replace server accepted response has a 5xx status code

func (*ReplaceServerAccepted) IsSuccess added in v1.1.0

func (o *ReplaceServerAccepted) IsSuccess() bool

IsSuccess returns true when this replace server accepted response has a 2xx status code

func (*ReplaceServerAccepted) String added in v1.1.0

func (o *ReplaceServerAccepted) String() string

type ReplaceServerBadRequest

type ReplaceServerBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*ReplaceServerBadRequest) IsClientError added in v1.1.0

func (o *ReplaceServerBadRequest) IsClientError() bool

IsClientError returns true when this replace server bad request response has a 4xx status code

func (*ReplaceServerBadRequest) IsCode added in v1.1.0

func (o *ReplaceServerBadRequest) IsCode(code int) bool

IsCode returns true when this replace server bad request response a status code equal to that given

func (*ReplaceServerBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceServerBadRequest) IsRedirect() bool

IsRedirect returns true when this replace server bad request response has a 3xx status code

func (*ReplaceServerBadRequest) IsServerError added in v1.1.0

func (o *ReplaceServerBadRequest) IsServerError() bool

IsServerError returns true when this replace server bad request response has a 5xx status code

func (*ReplaceServerBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceServerBadRequest) IsSuccess() bool

IsSuccess returns true when this replace server bad request response has a 2xx status code

func (*ReplaceServerBadRequest) String added in v1.1.0

func (o *ReplaceServerBadRequest) String() string

type ReplaceServerDefault

type ReplaceServerDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*ReplaceServerDefault) IsClientError added in v1.1.0

func (o *ReplaceServerDefault) IsClientError() bool

IsClientError returns true when this replace server default response has a 4xx status code

func (*ReplaceServerDefault) IsCode added in v1.1.0

func (o *ReplaceServerDefault) IsCode(code int) bool

IsCode returns true when this replace server default response a status code equal to that given

func (*ReplaceServerDefault) IsRedirect added in v1.1.0

func (o *ReplaceServerDefault) IsRedirect() bool

IsRedirect returns true when this replace server default response has a 3xx status code

func (*ReplaceServerDefault) IsServerError added in v1.1.0

func (o *ReplaceServerDefault) IsServerError() bool

IsServerError returns true when this replace server default response has a 5xx status code

func (*ReplaceServerDefault) IsSuccess added in v1.1.0

func (o *ReplaceServerDefault) IsSuccess() bool

IsSuccess returns true when this replace server default response has a 2xx status code

func (*ReplaceServerDefault) String added in v1.1.0

func (o *ReplaceServerDefault) String() string

type ReplaceServerNotFound

type ReplaceServerNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	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

func (*ReplaceServerNotFound) IsClientError added in v1.1.0

func (o *ReplaceServerNotFound) IsClientError() bool

IsClientError returns true when this replace server not found response has a 4xx status code

func (*ReplaceServerNotFound) IsCode added in v1.1.0

func (o *ReplaceServerNotFound) IsCode(code int) bool

IsCode returns true when this replace server not found response a status code equal to that given

func (*ReplaceServerNotFound) IsRedirect added in v1.1.0

func (o *ReplaceServerNotFound) IsRedirect() bool

IsRedirect returns true when this replace server not found response has a 3xx status code

func (*ReplaceServerNotFound) IsServerError added in v1.1.0

func (o *ReplaceServerNotFound) IsServerError() bool

IsServerError returns true when this replace server not found response has a 5xx status code

func (*ReplaceServerNotFound) IsSuccess added in v1.1.0

func (o *ReplaceServerNotFound) IsSuccess() bool

IsSuccess returns true when this replace server not found response has a 2xx status code

func (*ReplaceServerNotFound) String added in v1.1.0

func (o *ReplaceServerNotFound) String() string

type ReplaceServerOK

type ReplaceServerOK struct {
	Payload *models.Server
}

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

func (*ReplaceServerOK) IsClientError added in v1.1.0

func (o *ReplaceServerOK) IsClientError() bool

IsClientError returns true when this replace server o k response has a 4xx status code

func (*ReplaceServerOK) IsCode added in v1.1.0

func (o *ReplaceServerOK) IsCode(code int) bool

IsCode returns true when this replace server o k response a status code equal to that given

func (*ReplaceServerOK) IsRedirect added in v1.1.0

func (o *ReplaceServerOK) IsRedirect() bool

IsRedirect returns true when this replace server o k response has a 3xx status code

func (*ReplaceServerOK) IsServerError added in v1.1.0

func (o *ReplaceServerOK) IsServerError() bool

IsServerError returns true when this replace server o k response has a 5xx status code

func (*ReplaceServerOK) IsSuccess added in v1.1.0

func (o *ReplaceServerOK) IsSuccess() bool

IsSuccess returns true when this replace server o k response has a 2xx status code

func (*ReplaceServerOK) String added in v1.1.0

func (o *ReplaceServerOK) String() string

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

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType *string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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) SetParentName added in v1.0.0

func (o *ReplaceServerParams) SetParentName(parentName *string)

SetParentName adds the parentName to the replace server params

func (*ReplaceServerParams) SetParentType added in v1.0.0

func (o *ReplaceServerParams) SetParentType(parentType *string)

SetParentType adds the parentType 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

WithContext adds the context to the replace server params

func (*ReplaceServerParams) WithData

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) WithParentName added in v1.0.0

func (o *ReplaceServerParams) WithParentName(parentName *string) *ReplaceServerParams

WithParentName adds the parentName to the replace server params

func (*ReplaceServerParams) WithParentType added in v1.0.0

func (o *ReplaceServerParams) WithParentType(parentType *string) *ReplaceServerParams

WithParentType adds the parentType 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL