server

package
v0.0.0-...-8b4fbd1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServerBadRequest

type AddServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewAddServerBadRequest

func NewAddServerBadRequest() *AddServerBadRequest

NewAddServerBadRequest creates a AddServerBadRequest with default headers values

func (*AddServerBadRequest) Code

func (o *AddServerBadRequest) Code() int

Code gets the status code for the add server bad request response

func (*AddServerBadRequest) Error

func (o *AddServerBadRequest) Error() string

func (*AddServerBadRequest) GetPayload

func (*AddServerBadRequest) IsClientError

func (o *AddServerBadRequest) IsClientError() bool

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

func (*AddServerBadRequest) IsCode

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

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

func (*AddServerBadRequest) IsRedirect

func (o *AddServerBadRequest) IsRedirect() bool

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

func (*AddServerBadRequest) IsServerError

func (o *AddServerBadRequest) IsServerError() bool

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

func (*AddServerBadRequest) IsSuccess

func (o *AddServerBadRequest) IsSuccess() bool

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

func (*AddServerBadRequest) String

func (o *AddServerBadRequest) String() string

type AddServerConflict

type AddServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewAddServerConflict

func NewAddServerConflict() *AddServerConflict

NewAddServerConflict creates a AddServerConflict with default headers values

func (*AddServerConflict) Code

func (o *AddServerConflict) Code() int

Code gets the status code for the add server conflict response

func (*AddServerConflict) Error

func (o *AddServerConflict) Error() string

func (*AddServerConflict) GetPayload

func (*AddServerConflict) IsClientError

func (o *AddServerConflict) IsClientError() bool

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

func (*AddServerConflict) IsCode

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

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

func (*AddServerConflict) IsRedirect

func (o *AddServerConflict) IsRedirect() bool

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

func (*AddServerConflict) IsServerError

func (o *AddServerConflict) IsServerError() bool

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

func (*AddServerConflict) IsSuccess

func (o *AddServerConflict) IsSuccess() bool

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

func (*AddServerConflict) String

func (o *AddServerConflict) String() string

type AddServerInternalServerError

type AddServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

AddServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewAddServerInternalServerError

func NewAddServerInternalServerError() *AddServerInternalServerError

NewAddServerInternalServerError creates a AddServerInternalServerError with default headers values

func (*AddServerInternalServerError) Code

Code gets the status code for the add server internal server error response

func (*AddServerInternalServerError) Error

func (*AddServerInternalServerError) GetPayload

func (*AddServerInternalServerError) IsClientError

func (o *AddServerInternalServerError) IsClientError() bool

IsClientError returns true when this add server internal server error response has a 4xx status code

func (*AddServerInternalServerError) IsCode

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

IsCode returns true when this add server internal server error response a status code equal to that given

func (*AddServerInternalServerError) IsRedirect

func (o *AddServerInternalServerError) IsRedirect() bool

IsRedirect returns true when this add server internal server error response has a 3xx status code

func (*AddServerInternalServerError) IsServerError

func (o *AddServerInternalServerError) IsServerError() bool

IsServerError returns true when this add server internal server error response has a 5xx status code

func (*AddServerInternalServerError) IsSuccess

func (o *AddServerInternalServerError) IsSuccess() bool

IsSuccess returns true when this add server internal server error response has a 2xx status code

func (*AddServerInternalServerError) String

type AddServerNoContent

type AddServerNoContent struct {
}

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

ok

func NewAddServerNoContent

func NewAddServerNoContent() *AddServerNoContent

NewAddServerNoContent creates a AddServerNoContent with default headers values

func (*AddServerNoContent) Code

func (o *AddServerNoContent) Code() int

Code gets the status code for the add server no content response

func (*AddServerNoContent) Error

func (o *AddServerNoContent) Error() string

func (*AddServerNoContent) IsClientError

func (o *AddServerNoContent) IsClientError() bool

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

func (*AddServerNoContent) IsCode

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

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

func (*AddServerNoContent) IsRedirect

func (o *AddServerNoContent) IsRedirect() bool

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

func (*AddServerNoContent) IsServerError

func (o *AddServerNoContent) IsServerError() bool

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

func (*AddServerNoContent) IsSuccess

func (o *AddServerNoContent) IsSuccess() bool

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

func (*AddServerNoContent) String

func (o *AddServerNoContent) String() string

type AddServerNotFound

type AddServerNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewAddServerNotFound

func NewAddServerNotFound() *AddServerNotFound

NewAddServerNotFound creates a AddServerNotFound with default headers values

func (*AddServerNotFound) Code

func (o *AddServerNotFound) Code() int

Code gets the status code for the add server not found response

func (*AddServerNotFound) Error

func (o *AddServerNotFound) Error() string

func (*AddServerNotFound) GetPayload

func (*AddServerNotFound) IsClientError

func (o *AddServerNotFound) IsClientError() bool

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

func (*AddServerNotFound) IsCode

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

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

func (*AddServerNotFound) IsRedirect

func (o *AddServerNotFound) IsRedirect() bool

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

func (*AddServerNotFound) IsServerError

func (o *AddServerNotFound) IsServerError() bool

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

func (*AddServerNotFound) IsSuccess

func (o *AddServerNotFound) IsSuccess() bool

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

func (*AddServerNotFound) String

func (o *AddServerNotFound) String() string

type AddServerParams

type AddServerParams struct {

	// Body.
	Body *vproxy_client_model.ServerCreate

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

AddServerParams contains all the parameters to send to the API endpoint

for the add server operation.

Typically these are written to a http.Request.

func NewAddServerParams

func NewAddServerParams() *AddServerParams

NewAddServerParams creates a new AddServerParams 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 NewAddServerParamsWithContext

func NewAddServerParamsWithContext(ctx context.Context) *AddServerParams

NewAddServerParamsWithContext creates a new AddServerParams object with the ability to set a context for a request.

func NewAddServerParamsWithHTTPClient

func NewAddServerParamsWithHTTPClient(client *http.Client) *AddServerParams

NewAddServerParamsWithHTTPClient creates a new AddServerParams object with the ability to set a custom HTTPClient for a request.

func NewAddServerParamsWithTimeout

func NewAddServerParamsWithTimeout(timeout time.Duration) *AddServerParams

NewAddServerParamsWithTimeout creates a new AddServerParams object with the ability to set a timeout on a request.

func (*AddServerParams) SetBody

SetBody adds the body to the add server params

func (*AddServerParams) SetContext

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

SetContext adds the context to the add server params

func (*AddServerParams) SetDefaults

func (o *AddServerParams) SetDefaults()

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

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

func (*AddServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add server params

func (*AddServerParams) SetSg

func (o *AddServerParams) SetSg(sg string)

SetSg adds the sg to the add server params

func (*AddServerParams) SetTimeout

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

SetTimeout adds the timeout to the add server params

func (*AddServerParams) WithBody

WithBody adds the body to the add server params

func (*AddServerParams) WithContext

func (o *AddServerParams) WithContext(ctx context.Context) *AddServerParams

WithContext adds the context to the add server params

func (*AddServerParams) WithDefaults

func (o *AddServerParams) WithDefaults() *AddServerParams

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

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

func (*AddServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add server params

func (*AddServerParams) WithSg

func (o *AddServerParams) WithSg(sg string) *AddServerParams

WithSg adds the sg to the add server params

func (*AddServerParams) WithTimeout

func (o *AddServerParams) WithTimeout(timeout time.Duration) *AddServerParams

WithTimeout adds the timeout to the add server params

func (*AddServerParams) WriteToRequest

func (o *AddServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddServerReader

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

AddServerReader is a Reader for the AddServer structure.

func (*AddServerReader) ReadResponse

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

func (a *Client) AddServer(params *AddServerParams, opts ...ClientOption) (*AddServerNoContent, error)

AddServer adds server into server group

func (*Client) DescribeServer

func (a *Client) DescribeServer(params *DescribeServerParams, opts ...ClientOption) (*DescribeServerOK, error)

DescribeServer gets detailed info of one server in server group

func (*Client) GetServer

func (a *Client) GetServer(params *GetServerParams, opts ...ClientOption) (*GetServerOK, error)

GetServer gets server in server group

func (*Client) ListServer

func (a *Client) ListServer(params *ListServerParams, opts ...ClientOption) (*ListServerOK, error)

ListServer retrieves server list from server group

func (*Client) RemoveServer

func (a *Client) RemoveServer(params *RemoveServerParams, opts ...ClientOption) (*RemoveServerNoContent, error)

RemoveServer removes server from server group

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateServer

func (a *Client) UpdateServer(params *UpdateServerParams, opts ...ClientOption) (*UpdateServerNoContent, error)

UpdateServer updates server in server group

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddServer(params *AddServerParams, opts ...ClientOption) (*AddServerNoContent, error)

	DescribeServer(params *DescribeServerParams, opts ...ClientOption) (*DescribeServerOK, error)

	GetServer(params *GetServerParams, opts ...ClientOption) (*GetServerOK, error)

	ListServer(params *ListServerParams, opts ...ClientOption) (*ListServerOK, error)

	RemoveServer(params *RemoveServerParams, opts ...ClientOption) (*RemoveServerNoContent, error)

	UpdateServer(params *UpdateServerParams, opts ...ClientOption) (*UpdateServerNoContent, 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 DescribeServerBadRequest

type DescribeServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewDescribeServerBadRequest

func NewDescribeServerBadRequest() *DescribeServerBadRequest

NewDescribeServerBadRequest creates a DescribeServerBadRequest with default headers values

func (*DescribeServerBadRequest) Code

func (o *DescribeServerBadRequest) Code() int

Code gets the status code for the describe server bad request response

func (*DescribeServerBadRequest) Error

func (o *DescribeServerBadRequest) Error() string

func (*DescribeServerBadRequest) GetPayload

func (*DescribeServerBadRequest) IsClientError

func (o *DescribeServerBadRequest) IsClientError() bool

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

func (*DescribeServerBadRequest) IsCode

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

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

func (*DescribeServerBadRequest) IsRedirect

func (o *DescribeServerBadRequest) IsRedirect() bool

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

func (*DescribeServerBadRequest) IsServerError

func (o *DescribeServerBadRequest) IsServerError() bool

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

func (*DescribeServerBadRequest) IsSuccess

func (o *DescribeServerBadRequest) IsSuccess() bool

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

func (*DescribeServerBadRequest) String

func (o *DescribeServerBadRequest) String() string

type DescribeServerConflict

type DescribeServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewDescribeServerConflict

func NewDescribeServerConflict() *DescribeServerConflict

NewDescribeServerConflict creates a DescribeServerConflict with default headers values

func (*DescribeServerConflict) Code

func (o *DescribeServerConflict) Code() int

Code gets the status code for the describe server conflict response

func (*DescribeServerConflict) Error

func (o *DescribeServerConflict) Error() string

func (*DescribeServerConflict) GetPayload

func (*DescribeServerConflict) IsClientError

func (o *DescribeServerConflict) IsClientError() bool

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

func (*DescribeServerConflict) IsCode

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

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

func (*DescribeServerConflict) IsRedirect

func (o *DescribeServerConflict) IsRedirect() bool

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

func (*DescribeServerConflict) IsServerError

func (o *DescribeServerConflict) IsServerError() bool

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

func (*DescribeServerConflict) IsSuccess

func (o *DescribeServerConflict) IsSuccess() bool

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

func (*DescribeServerConflict) String

func (o *DescribeServerConflict) String() string

type DescribeServerInternalServerError

type DescribeServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

DescribeServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewDescribeServerInternalServerError

func NewDescribeServerInternalServerError() *DescribeServerInternalServerError

NewDescribeServerInternalServerError creates a DescribeServerInternalServerError with default headers values

func (*DescribeServerInternalServerError) Code

Code gets the status code for the describe server internal server error response

func (*DescribeServerInternalServerError) Error

func (*DescribeServerInternalServerError) GetPayload

func (*DescribeServerInternalServerError) IsClientError

func (o *DescribeServerInternalServerError) IsClientError() bool

IsClientError returns true when this describe server internal server error response has a 4xx status code

func (*DescribeServerInternalServerError) IsCode

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

IsCode returns true when this describe server internal server error response a status code equal to that given

func (*DescribeServerInternalServerError) IsRedirect

func (o *DescribeServerInternalServerError) IsRedirect() bool

IsRedirect returns true when this describe server internal server error response has a 3xx status code

func (*DescribeServerInternalServerError) IsServerError

func (o *DescribeServerInternalServerError) IsServerError() bool

IsServerError returns true when this describe server internal server error response has a 5xx status code

func (*DescribeServerInternalServerError) IsSuccess

func (o *DescribeServerInternalServerError) IsSuccess() bool

IsSuccess returns true when this describe server internal server error response has a 2xx status code

func (*DescribeServerInternalServerError) String

type DescribeServerNotFound

type DescribeServerNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewDescribeServerNotFound

func NewDescribeServerNotFound() *DescribeServerNotFound

NewDescribeServerNotFound creates a DescribeServerNotFound with default headers values

func (*DescribeServerNotFound) Code

func (o *DescribeServerNotFound) Code() int

Code gets the status code for the describe server not found response

func (*DescribeServerNotFound) Error

func (o *DescribeServerNotFound) Error() string

func (*DescribeServerNotFound) GetPayload

func (*DescribeServerNotFound) IsClientError

func (o *DescribeServerNotFound) IsClientError() bool

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

func (*DescribeServerNotFound) IsCode

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

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

func (*DescribeServerNotFound) IsRedirect

func (o *DescribeServerNotFound) IsRedirect() bool

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

func (*DescribeServerNotFound) IsServerError

func (o *DescribeServerNotFound) IsServerError() bool

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

func (*DescribeServerNotFound) IsSuccess

func (o *DescribeServerNotFound) IsSuccess() bool

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

func (*DescribeServerNotFound) String

func (o *DescribeServerNotFound) String() string

type DescribeServerOK

type DescribeServerOK struct {
	Payload *vproxy_client_model.ServerDetail
}

DescribeServerOK describes a response with status code 200, with default header values.

ok

func NewDescribeServerOK

func NewDescribeServerOK() *DescribeServerOK

NewDescribeServerOK creates a DescribeServerOK with default headers values

func (*DescribeServerOK) Code

func (o *DescribeServerOK) Code() int

Code gets the status code for the describe server o k response

func (*DescribeServerOK) Error

func (o *DescribeServerOK) Error() string

func (*DescribeServerOK) GetPayload

func (*DescribeServerOK) IsClientError

func (o *DescribeServerOK) IsClientError() bool

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

func (*DescribeServerOK) IsCode

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

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

func (*DescribeServerOK) IsRedirect

func (o *DescribeServerOK) IsRedirect() bool

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

func (*DescribeServerOK) IsServerError

func (o *DescribeServerOK) IsServerError() bool

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

func (*DescribeServerOK) IsSuccess

func (o *DescribeServerOK) IsSuccess() bool

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

func (*DescribeServerOK) String

func (o *DescribeServerOK) String() string

type DescribeServerParams

type DescribeServerParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Svr.

	   name of the server
	*/
	Svr string

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

DescribeServerParams contains all the parameters to send to the API endpoint

for the describe server operation.

Typically these are written to a http.Request.

func NewDescribeServerParams

func NewDescribeServerParams() *DescribeServerParams

NewDescribeServerParams creates a new DescribeServerParams 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 NewDescribeServerParamsWithContext

func NewDescribeServerParamsWithContext(ctx context.Context) *DescribeServerParams

NewDescribeServerParamsWithContext creates a new DescribeServerParams object with the ability to set a context for a request.

func NewDescribeServerParamsWithHTTPClient

func NewDescribeServerParamsWithHTTPClient(client *http.Client) *DescribeServerParams

NewDescribeServerParamsWithHTTPClient creates a new DescribeServerParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeServerParamsWithTimeout

func NewDescribeServerParamsWithTimeout(timeout time.Duration) *DescribeServerParams

NewDescribeServerParamsWithTimeout creates a new DescribeServerParams object with the ability to set a timeout on a request.

func (*DescribeServerParams) SetContext

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

SetContext adds the context to the describe server params

func (*DescribeServerParams) SetDefaults

func (o *DescribeServerParams) SetDefaults()

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

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

func (*DescribeServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe server params

func (*DescribeServerParams) SetSg

func (o *DescribeServerParams) SetSg(sg string)

SetSg adds the sg to the describe server params

func (*DescribeServerParams) SetSvr

func (o *DescribeServerParams) SetSvr(svr string)

SetSvr adds the svr to the describe server params

func (*DescribeServerParams) SetTimeout

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

SetTimeout adds the timeout to the describe server params

func (*DescribeServerParams) WithContext

WithContext adds the context to the describe server params

func (*DescribeServerParams) WithDefaults

func (o *DescribeServerParams) WithDefaults() *DescribeServerParams

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

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

func (*DescribeServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe server params

func (*DescribeServerParams) WithSg

WithSg adds the sg to the describe server params

func (*DescribeServerParams) WithSvr

WithSvr adds the svr to the describe server params

func (*DescribeServerParams) WithTimeout

func (o *DescribeServerParams) WithTimeout(timeout time.Duration) *DescribeServerParams

WithTimeout adds the timeout to the describe server params

func (*DescribeServerParams) WriteToRequest

func (o *DescribeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DescribeServerReader

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

DescribeServerReader is a Reader for the DescribeServer structure.

func (*DescribeServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerBadRequest

type GetServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewGetServerBadRequest

func NewGetServerBadRequest() *GetServerBadRequest

NewGetServerBadRequest creates a GetServerBadRequest with default headers values

func (*GetServerBadRequest) Code

func (o *GetServerBadRequest) Code() int

Code gets the status code for the get server bad request response

func (*GetServerBadRequest) Error

func (o *GetServerBadRequest) Error() string

func (*GetServerBadRequest) GetPayload

func (*GetServerBadRequest) IsClientError

func (o *GetServerBadRequest) IsClientError() bool

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

func (*GetServerBadRequest) IsCode

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

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

func (*GetServerBadRequest) IsRedirect

func (o *GetServerBadRequest) IsRedirect() bool

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

func (*GetServerBadRequest) IsServerError

func (o *GetServerBadRequest) IsServerError() bool

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

func (*GetServerBadRequest) IsSuccess

func (o *GetServerBadRequest) IsSuccess() bool

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

func (*GetServerBadRequest) String

func (o *GetServerBadRequest) String() string

type GetServerConflict

type GetServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewGetServerConflict

func NewGetServerConflict() *GetServerConflict

NewGetServerConflict creates a GetServerConflict with default headers values

func (*GetServerConflict) Code

func (o *GetServerConflict) Code() int

Code gets the status code for the get server conflict response

func (*GetServerConflict) Error

func (o *GetServerConflict) Error() string

func (*GetServerConflict) GetPayload

func (*GetServerConflict) IsClientError

func (o *GetServerConflict) IsClientError() bool

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

func (*GetServerConflict) IsCode

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

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

func (*GetServerConflict) IsRedirect

func (o *GetServerConflict) IsRedirect() bool

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

func (*GetServerConflict) IsServerError

func (o *GetServerConflict) IsServerError() bool

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

func (*GetServerConflict) IsSuccess

func (o *GetServerConflict) IsSuccess() bool

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

func (*GetServerConflict) String

func (o *GetServerConflict) String() string

type GetServerInternalServerError

type GetServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

GetServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetServerInternalServerError

func NewGetServerInternalServerError() *GetServerInternalServerError

NewGetServerInternalServerError creates a GetServerInternalServerError with default headers values

func (*GetServerInternalServerError) Code

Code gets the status code for the get server internal server error response

func (*GetServerInternalServerError) Error

func (*GetServerInternalServerError) GetPayload

func (*GetServerInternalServerError) IsClientError

func (o *GetServerInternalServerError) IsClientError() bool

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

func (*GetServerInternalServerError) IsCode

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

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

func (*GetServerInternalServerError) IsRedirect

func (o *GetServerInternalServerError) IsRedirect() bool

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

func (*GetServerInternalServerError) IsServerError

func (o *GetServerInternalServerError) IsServerError() bool

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

func (*GetServerInternalServerError) IsSuccess

func (o *GetServerInternalServerError) IsSuccess() bool

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

func (*GetServerInternalServerError) String

type GetServerNotFound

type GetServerNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewGetServerNotFound

func NewGetServerNotFound() *GetServerNotFound

NewGetServerNotFound creates a GetServerNotFound with default headers values

func (*GetServerNotFound) Code

func (o *GetServerNotFound) Code() int

Code gets the status code for the get server not found response

func (*GetServerNotFound) Error

func (o *GetServerNotFound) Error() string

func (*GetServerNotFound) GetPayload

func (*GetServerNotFound) IsClientError

func (o *GetServerNotFound) IsClientError() bool

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

func (*GetServerNotFound) IsCode

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

func (o *GetServerNotFound) IsRedirect() bool

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

func (*GetServerNotFound) IsServerError

func (o *GetServerNotFound) IsServerError() bool

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

func (*GetServerNotFound) IsSuccess

func (o *GetServerNotFound) IsSuccess() bool

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

func (*GetServerNotFound) String

func (o *GetServerNotFound) String() string

type GetServerOK

type GetServerOK struct {
	Payload *vproxy_client_model.Server
}

GetServerOK describes a response with status code 200, with default header values.

ok

func NewGetServerOK

func NewGetServerOK() *GetServerOK

NewGetServerOK creates a GetServerOK with default headers values

func (*GetServerOK) Code

func (o *GetServerOK) Code() int

Code gets the status code for the get server o k response

func (*GetServerOK) Error

func (o *GetServerOK) Error() string

func (*GetServerOK) GetPayload

func (o *GetServerOK) GetPayload() *vproxy_client_model.Server

func (*GetServerOK) IsClientError

func (o *GetServerOK) IsClientError() bool

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

func (*GetServerOK) IsCode

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

func (o *GetServerOK) IsRedirect() bool

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

func (*GetServerOK) IsServerError

func (o *GetServerOK) IsServerError() bool

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

func (*GetServerOK) IsSuccess

func (o *GetServerOK) IsSuccess() bool

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

func (*GetServerOK) String

func (o *GetServerOK) String() string

type GetServerParams

type GetServerParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Svr.

	   name of the server
	*/
	Svr 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) 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) SetSg

func (o *GetServerParams) SetSg(sg string)

SetSg adds the sg to the get server params

func (*GetServerParams) SetSvr

func (o *GetServerParams) SetSvr(svr string)

SetSvr adds the svr 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) 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) WithSg

func (o *GetServerParams) WithSg(sg string) *GetServerParams

WithSg adds the sg to the get server params

func (*GetServerParams) WithSvr

func (o *GetServerParams) WithSvr(svr string) *GetServerParams

WithSvr adds the svr 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) 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 ListServerBadRequest

type ListServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewListServerBadRequest

func NewListServerBadRequest() *ListServerBadRequest

NewListServerBadRequest creates a ListServerBadRequest with default headers values

func (*ListServerBadRequest) Code

func (o *ListServerBadRequest) Code() int

Code gets the status code for the list server bad request response

func (*ListServerBadRequest) Error

func (o *ListServerBadRequest) Error() string

func (*ListServerBadRequest) GetPayload

func (*ListServerBadRequest) IsClientError

func (o *ListServerBadRequest) IsClientError() bool

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

func (*ListServerBadRequest) IsCode

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

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

func (*ListServerBadRequest) IsRedirect

func (o *ListServerBadRequest) IsRedirect() bool

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

func (*ListServerBadRequest) IsServerError

func (o *ListServerBadRequest) IsServerError() bool

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

func (*ListServerBadRequest) IsSuccess

func (o *ListServerBadRequest) IsSuccess() bool

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

func (*ListServerBadRequest) String

func (o *ListServerBadRequest) String() string

type ListServerConflict

type ListServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewListServerConflict

func NewListServerConflict() *ListServerConflict

NewListServerConflict creates a ListServerConflict with default headers values

func (*ListServerConflict) Code

func (o *ListServerConflict) Code() int

Code gets the status code for the list server conflict response

func (*ListServerConflict) Error

func (o *ListServerConflict) Error() string

func (*ListServerConflict) GetPayload

func (*ListServerConflict) IsClientError

func (o *ListServerConflict) IsClientError() bool

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

func (*ListServerConflict) IsCode

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

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

func (*ListServerConflict) IsRedirect

func (o *ListServerConflict) IsRedirect() bool

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

func (*ListServerConflict) IsServerError

func (o *ListServerConflict) IsServerError() bool

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

func (*ListServerConflict) IsSuccess

func (o *ListServerConflict) IsSuccess() bool

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

func (*ListServerConflict) String

func (o *ListServerConflict) String() string

type ListServerInternalServerError

type ListServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

ListServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListServerInternalServerError

func NewListServerInternalServerError() *ListServerInternalServerError

NewListServerInternalServerError creates a ListServerInternalServerError with default headers values

func (*ListServerInternalServerError) Code

Code gets the status code for the list server internal server error response

func (*ListServerInternalServerError) Error

func (*ListServerInternalServerError) GetPayload

func (*ListServerInternalServerError) IsClientError

func (o *ListServerInternalServerError) IsClientError() bool

IsClientError returns true when this list server internal server error response has a 4xx status code

func (*ListServerInternalServerError) IsCode

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

IsCode returns true when this list server internal server error response a status code equal to that given

func (*ListServerInternalServerError) IsRedirect

func (o *ListServerInternalServerError) IsRedirect() bool

IsRedirect returns true when this list server internal server error response has a 3xx status code

func (*ListServerInternalServerError) IsServerError

func (o *ListServerInternalServerError) IsServerError() bool

IsServerError returns true when this list server internal server error response has a 5xx status code

func (*ListServerInternalServerError) IsSuccess

func (o *ListServerInternalServerError) IsSuccess() bool

IsSuccess returns true when this list server internal server error response has a 2xx status code

func (*ListServerInternalServerError) String

type ListServerOK

type ListServerOK struct {
	Payload []*vproxy_client_model.Server
}

ListServerOK describes a response with status code 200, with default header values.

ok

func NewListServerOK

func NewListServerOK() *ListServerOK

NewListServerOK creates a ListServerOK with default headers values

func (*ListServerOK) Code

func (o *ListServerOK) Code() int

Code gets the status code for the list server o k response

func (*ListServerOK) Error

func (o *ListServerOK) Error() string

func (*ListServerOK) GetPayload

func (o *ListServerOK) GetPayload() []*vproxy_client_model.Server

func (*ListServerOK) IsClientError

func (o *ListServerOK) IsClientError() bool

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

func (*ListServerOK) IsCode

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

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

func (*ListServerOK) IsRedirect

func (o *ListServerOK) IsRedirect() bool

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

func (*ListServerOK) IsServerError

func (o *ListServerOK) IsServerError() bool

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

func (*ListServerOK) IsSuccess

func (o *ListServerOK) IsSuccess() bool

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

func (*ListServerOK) String

func (o *ListServerOK) String() string

type ListServerParams

type ListServerParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

ListServerParams contains all the parameters to send to the API endpoint

for the list server operation.

Typically these are written to a http.Request.

func NewListServerParams

func NewListServerParams() *ListServerParams

NewListServerParams creates a new ListServerParams 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 NewListServerParamsWithContext

func NewListServerParamsWithContext(ctx context.Context) *ListServerParams

NewListServerParamsWithContext creates a new ListServerParams object with the ability to set a context for a request.

func NewListServerParamsWithHTTPClient

func NewListServerParamsWithHTTPClient(client *http.Client) *ListServerParams

NewListServerParamsWithHTTPClient creates a new ListServerParams object with the ability to set a custom HTTPClient for a request.

func NewListServerParamsWithTimeout

func NewListServerParamsWithTimeout(timeout time.Duration) *ListServerParams

NewListServerParamsWithTimeout creates a new ListServerParams object with the ability to set a timeout on a request.

func (*ListServerParams) SetContext

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

SetContext adds the context to the list server params

func (*ListServerParams) SetDefaults

func (o *ListServerParams) SetDefaults()

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

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

func (*ListServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) SetSg

func (o *ListServerParams) SetSg(sg string)

SetSg adds the sg to the list server params

func (*ListServerParams) SetTimeout

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

SetTimeout adds the timeout to the list server params

func (*ListServerParams) WithContext

func (o *ListServerParams) WithContext(ctx context.Context) *ListServerParams

WithContext adds the context to the list server params

func (*ListServerParams) WithDefaults

func (o *ListServerParams) WithDefaults() *ListServerParams

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

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

func (*ListServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) WithSg

func (o *ListServerParams) WithSg(sg string) *ListServerParams

WithSg adds the sg to the list server params

func (*ListServerParams) WithTimeout

func (o *ListServerParams) WithTimeout(timeout time.Duration) *ListServerParams

WithTimeout adds the timeout to the list server params

func (*ListServerParams) WriteToRequest

func (o *ListServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListServerReader

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

ListServerReader is a Reader for the ListServer structure.

func (*ListServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveServerBadRequest

type RemoveServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewRemoveServerBadRequest

func NewRemoveServerBadRequest() *RemoveServerBadRequest

NewRemoveServerBadRequest creates a RemoveServerBadRequest with default headers values

func (*RemoveServerBadRequest) Code

func (o *RemoveServerBadRequest) Code() int

Code gets the status code for the remove server bad request response

func (*RemoveServerBadRequest) Error

func (o *RemoveServerBadRequest) Error() string

func (*RemoveServerBadRequest) GetPayload

func (*RemoveServerBadRequest) IsClientError

func (o *RemoveServerBadRequest) IsClientError() bool

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

func (*RemoveServerBadRequest) IsCode

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

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

func (*RemoveServerBadRequest) IsRedirect

func (o *RemoveServerBadRequest) IsRedirect() bool

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

func (*RemoveServerBadRequest) IsServerError

func (o *RemoveServerBadRequest) IsServerError() bool

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

func (*RemoveServerBadRequest) IsSuccess

func (o *RemoveServerBadRequest) IsSuccess() bool

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

func (*RemoveServerBadRequest) String

func (o *RemoveServerBadRequest) String() string

type RemoveServerConflict

type RemoveServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewRemoveServerConflict

func NewRemoveServerConflict() *RemoveServerConflict

NewRemoveServerConflict creates a RemoveServerConflict with default headers values

func (*RemoveServerConflict) Code

func (o *RemoveServerConflict) Code() int

Code gets the status code for the remove server conflict response

func (*RemoveServerConflict) Error

func (o *RemoveServerConflict) Error() string

func (*RemoveServerConflict) GetPayload

func (*RemoveServerConflict) IsClientError

func (o *RemoveServerConflict) IsClientError() bool

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

func (*RemoveServerConflict) IsCode

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

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

func (*RemoveServerConflict) IsRedirect

func (o *RemoveServerConflict) IsRedirect() bool

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

func (*RemoveServerConflict) IsServerError

func (o *RemoveServerConflict) IsServerError() bool

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

func (*RemoveServerConflict) IsSuccess

func (o *RemoveServerConflict) IsSuccess() bool

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

func (*RemoveServerConflict) String

func (o *RemoveServerConflict) String() string

type RemoveServerInternalServerError

type RemoveServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

RemoveServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewRemoveServerInternalServerError

func NewRemoveServerInternalServerError() *RemoveServerInternalServerError

NewRemoveServerInternalServerError creates a RemoveServerInternalServerError with default headers values

func (*RemoveServerInternalServerError) Code

Code gets the status code for the remove server internal server error response

func (*RemoveServerInternalServerError) Error

func (*RemoveServerInternalServerError) GetPayload

func (*RemoveServerInternalServerError) IsClientError

func (o *RemoveServerInternalServerError) IsClientError() bool

IsClientError returns true when this remove server internal server error response has a 4xx status code

func (*RemoveServerInternalServerError) IsCode

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

IsCode returns true when this remove server internal server error response a status code equal to that given

func (*RemoveServerInternalServerError) IsRedirect

func (o *RemoveServerInternalServerError) IsRedirect() bool

IsRedirect returns true when this remove server internal server error response has a 3xx status code

func (*RemoveServerInternalServerError) IsServerError

func (o *RemoveServerInternalServerError) IsServerError() bool

IsServerError returns true when this remove server internal server error response has a 5xx status code

func (*RemoveServerInternalServerError) IsSuccess

func (o *RemoveServerInternalServerError) IsSuccess() bool

IsSuccess returns true when this remove server internal server error response has a 2xx status code

func (*RemoveServerInternalServerError) String

type RemoveServerNoContent

type RemoveServerNoContent struct {
}

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

ok

func NewRemoveServerNoContent

func NewRemoveServerNoContent() *RemoveServerNoContent

NewRemoveServerNoContent creates a RemoveServerNoContent with default headers values

func (*RemoveServerNoContent) Code

func (o *RemoveServerNoContent) Code() int

Code gets the status code for the remove server no content response

func (*RemoveServerNoContent) Error

func (o *RemoveServerNoContent) Error() string

func (*RemoveServerNoContent) IsClientError

func (o *RemoveServerNoContent) IsClientError() bool

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

func (*RemoveServerNoContent) IsCode

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

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

func (*RemoveServerNoContent) IsRedirect

func (o *RemoveServerNoContent) IsRedirect() bool

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

func (*RemoveServerNoContent) IsServerError

func (o *RemoveServerNoContent) IsServerError() bool

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

func (*RemoveServerNoContent) IsSuccess

func (o *RemoveServerNoContent) IsSuccess() bool

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

func (*RemoveServerNoContent) String

func (o *RemoveServerNoContent) String() string

type RemoveServerNotFound

type RemoveServerNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewRemoveServerNotFound

func NewRemoveServerNotFound() *RemoveServerNotFound

NewRemoveServerNotFound creates a RemoveServerNotFound with default headers values

func (*RemoveServerNotFound) Code

func (o *RemoveServerNotFound) Code() int

Code gets the status code for the remove server not found response

func (*RemoveServerNotFound) Error

func (o *RemoveServerNotFound) Error() string

func (*RemoveServerNotFound) GetPayload

func (*RemoveServerNotFound) IsClientError

func (o *RemoveServerNotFound) IsClientError() bool

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

func (*RemoveServerNotFound) IsCode

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

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

func (*RemoveServerNotFound) IsRedirect

func (o *RemoveServerNotFound) IsRedirect() bool

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

func (*RemoveServerNotFound) IsServerError

func (o *RemoveServerNotFound) IsServerError() bool

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

func (*RemoveServerNotFound) IsSuccess

func (o *RemoveServerNotFound) IsSuccess() bool

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

func (*RemoveServerNotFound) String

func (o *RemoveServerNotFound) String() string

type RemoveServerParams

type RemoveServerParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Svr.

	   name of the server
	*/
	Svr string

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

RemoveServerParams contains all the parameters to send to the API endpoint

for the remove server operation.

Typically these are written to a http.Request.

func NewRemoveServerParams

func NewRemoveServerParams() *RemoveServerParams

NewRemoveServerParams creates a new RemoveServerParams 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 NewRemoveServerParamsWithContext

func NewRemoveServerParamsWithContext(ctx context.Context) *RemoveServerParams

NewRemoveServerParamsWithContext creates a new RemoveServerParams object with the ability to set a context for a request.

func NewRemoveServerParamsWithHTTPClient

func NewRemoveServerParamsWithHTTPClient(client *http.Client) *RemoveServerParams

NewRemoveServerParamsWithHTTPClient creates a new RemoveServerParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveServerParamsWithTimeout

func NewRemoveServerParamsWithTimeout(timeout time.Duration) *RemoveServerParams

NewRemoveServerParamsWithTimeout creates a new RemoveServerParams object with the ability to set a timeout on a request.

func (*RemoveServerParams) SetContext

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

SetContext adds the context to the remove server params

func (*RemoveServerParams) SetDefaults

func (o *RemoveServerParams) SetDefaults()

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

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

func (*RemoveServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove server params

func (*RemoveServerParams) SetSg

func (o *RemoveServerParams) SetSg(sg string)

SetSg adds the sg to the remove server params

func (*RemoveServerParams) SetSvr

func (o *RemoveServerParams) SetSvr(svr string)

SetSvr adds the svr to the remove server params

func (*RemoveServerParams) SetTimeout

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

SetTimeout adds the timeout to the remove server params

func (*RemoveServerParams) WithContext

WithContext adds the context to the remove server params

func (*RemoveServerParams) WithDefaults

func (o *RemoveServerParams) WithDefaults() *RemoveServerParams

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

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

func (*RemoveServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove server params

func (*RemoveServerParams) WithSg

WithSg adds the sg to the remove server params

func (*RemoveServerParams) WithSvr

func (o *RemoveServerParams) WithSvr(svr string) *RemoveServerParams

WithSvr adds the svr to the remove server params

func (*RemoveServerParams) WithTimeout

func (o *RemoveServerParams) WithTimeout(timeout time.Duration) *RemoveServerParams

WithTimeout adds the timeout to the remove server params

func (*RemoveServerParams) WriteToRequest

func (o *RemoveServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveServerReader

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

RemoveServerReader is a Reader for the RemoveServer structure.

func (*RemoveServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServerBadRequest

type UpdateServerBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewUpdateServerBadRequest

func NewUpdateServerBadRequest() *UpdateServerBadRequest

NewUpdateServerBadRequest creates a UpdateServerBadRequest with default headers values

func (*UpdateServerBadRequest) Code

func (o *UpdateServerBadRequest) Code() int

Code gets the status code for the update server bad request response

func (*UpdateServerBadRequest) Error

func (o *UpdateServerBadRequest) Error() string

func (*UpdateServerBadRequest) GetPayload

func (*UpdateServerBadRequest) IsClientError

func (o *UpdateServerBadRequest) IsClientError() bool

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

func (*UpdateServerBadRequest) IsCode

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

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

func (*UpdateServerBadRequest) IsRedirect

func (o *UpdateServerBadRequest) IsRedirect() bool

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

func (*UpdateServerBadRequest) IsServerError

func (o *UpdateServerBadRequest) IsServerError() bool

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

func (*UpdateServerBadRequest) IsSuccess

func (o *UpdateServerBadRequest) IsSuccess() bool

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

func (*UpdateServerBadRequest) String

func (o *UpdateServerBadRequest) String() string

type UpdateServerConflict

type UpdateServerConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewUpdateServerConflict

func NewUpdateServerConflict() *UpdateServerConflict

NewUpdateServerConflict creates a UpdateServerConflict with default headers values

func (*UpdateServerConflict) Code

func (o *UpdateServerConflict) Code() int

Code gets the status code for the update server conflict response

func (*UpdateServerConflict) Error

func (o *UpdateServerConflict) Error() string

func (*UpdateServerConflict) GetPayload

func (*UpdateServerConflict) IsClientError

func (o *UpdateServerConflict) IsClientError() bool

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

func (*UpdateServerConflict) IsCode

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

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

func (*UpdateServerConflict) IsRedirect

func (o *UpdateServerConflict) IsRedirect() bool

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

func (*UpdateServerConflict) IsServerError

func (o *UpdateServerConflict) IsServerError() bool

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

func (*UpdateServerConflict) IsSuccess

func (o *UpdateServerConflict) IsSuccess() bool

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

func (*UpdateServerConflict) String

func (o *UpdateServerConflict) String() string

type UpdateServerInternalServerError

type UpdateServerInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

UpdateServerInternalServerError describes a response with status code 500, with default header values.

internal error

func NewUpdateServerInternalServerError

func NewUpdateServerInternalServerError() *UpdateServerInternalServerError

NewUpdateServerInternalServerError creates a UpdateServerInternalServerError with default headers values

func (*UpdateServerInternalServerError) Code

Code gets the status code for the update server internal server error response

func (*UpdateServerInternalServerError) Error

func (*UpdateServerInternalServerError) GetPayload

func (*UpdateServerInternalServerError) IsClientError

func (o *UpdateServerInternalServerError) IsClientError() bool

IsClientError returns true when this update server internal server error response has a 4xx status code

func (*UpdateServerInternalServerError) IsCode

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

IsCode returns true when this update server internal server error response a status code equal to that given

func (*UpdateServerInternalServerError) IsRedirect

func (o *UpdateServerInternalServerError) IsRedirect() bool

IsRedirect returns true when this update server internal server error response has a 3xx status code

func (*UpdateServerInternalServerError) IsServerError

func (o *UpdateServerInternalServerError) IsServerError() bool

IsServerError returns true when this update server internal server error response has a 5xx status code

func (*UpdateServerInternalServerError) IsSuccess

func (o *UpdateServerInternalServerError) IsSuccess() bool

IsSuccess returns true when this update server internal server error response has a 2xx status code

func (*UpdateServerInternalServerError) String

type UpdateServerNoContent

type UpdateServerNoContent struct {
}

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

ok

func NewUpdateServerNoContent

func NewUpdateServerNoContent() *UpdateServerNoContent

NewUpdateServerNoContent creates a UpdateServerNoContent with default headers values

func (*UpdateServerNoContent) Code

func (o *UpdateServerNoContent) Code() int

Code gets the status code for the update server no content response

func (*UpdateServerNoContent) Error

func (o *UpdateServerNoContent) Error() string

func (*UpdateServerNoContent) IsClientError

func (o *UpdateServerNoContent) IsClientError() bool

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

func (*UpdateServerNoContent) IsCode

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

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

func (*UpdateServerNoContent) IsRedirect

func (o *UpdateServerNoContent) IsRedirect() bool

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

func (*UpdateServerNoContent) IsServerError

func (o *UpdateServerNoContent) IsServerError() bool

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

func (*UpdateServerNoContent) IsSuccess

func (o *UpdateServerNoContent) IsSuccess() bool

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

func (*UpdateServerNoContent) String

func (o *UpdateServerNoContent) String() string

type UpdateServerNotFound

type UpdateServerNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewUpdateServerNotFound

func NewUpdateServerNotFound() *UpdateServerNotFound

NewUpdateServerNotFound creates a UpdateServerNotFound with default headers values

func (*UpdateServerNotFound) Code

func (o *UpdateServerNotFound) Code() int

Code gets the status code for the update server not found response

func (*UpdateServerNotFound) Error

func (o *UpdateServerNotFound) Error() string

func (*UpdateServerNotFound) GetPayload

func (*UpdateServerNotFound) IsClientError

func (o *UpdateServerNotFound) IsClientError() bool

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

func (*UpdateServerNotFound) IsCode

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

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

func (*UpdateServerNotFound) IsRedirect

func (o *UpdateServerNotFound) IsRedirect() bool

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

func (*UpdateServerNotFound) IsServerError

func (o *UpdateServerNotFound) IsServerError() bool

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

func (*UpdateServerNotFound) IsSuccess

func (o *UpdateServerNotFound) IsSuccess() bool

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

func (*UpdateServerNotFound) String

func (o *UpdateServerNotFound) String() string

type UpdateServerParams

type UpdateServerParams struct {

	// Body.
	Body *vproxy_client_model.ServerUpdate

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Svr.

	   name of the server
	*/
	Svr string

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

UpdateServerParams contains all the parameters to send to the API endpoint

for the update server operation.

Typically these are written to a http.Request.

func NewUpdateServerParams

func NewUpdateServerParams() *UpdateServerParams

NewUpdateServerParams creates a new UpdateServerParams 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 NewUpdateServerParamsWithContext

func NewUpdateServerParamsWithContext(ctx context.Context) *UpdateServerParams

NewUpdateServerParamsWithContext creates a new UpdateServerParams object with the ability to set a context for a request.

func NewUpdateServerParamsWithHTTPClient

func NewUpdateServerParamsWithHTTPClient(client *http.Client) *UpdateServerParams

NewUpdateServerParamsWithHTTPClient creates a new UpdateServerParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServerParamsWithTimeout

func NewUpdateServerParamsWithTimeout(timeout time.Duration) *UpdateServerParams

NewUpdateServerParamsWithTimeout creates a new UpdateServerParams object with the ability to set a timeout on a request.

func (*UpdateServerParams) SetBody

SetBody adds the body to the update server params

func (*UpdateServerParams) SetContext

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

SetContext adds the context to the update server params

func (*UpdateServerParams) SetDefaults

func (o *UpdateServerParams) SetDefaults()

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

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

func (*UpdateServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update server params

func (*UpdateServerParams) SetSg

func (o *UpdateServerParams) SetSg(sg string)

SetSg adds the sg to the update server params

func (*UpdateServerParams) SetSvr

func (o *UpdateServerParams) SetSvr(svr string)

SetSvr adds the svr to the update server params

func (*UpdateServerParams) SetTimeout

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

SetTimeout adds the timeout to the update server params

func (*UpdateServerParams) WithBody

WithBody adds the body to the update server params

func (*UpdateServerParams) WithContext

WithContext adds the context to the update server params

func (*UpdateServerParams) WithDefaults

func (o *UpdateServerParams) WithDefaults() *UpdateServerParams

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

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

func (*UpdateServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update server params

func (*UpdateServerParams) WithSg

WithSg adds the sg to the update server params

func (*UpdateServerParams) WithSvr

func (o *UpdateServerParams) WithSvr(svr string) *UpdateServerParams

WithSvr adds the svr to the update server params

func (*UpdateServerParams) WithTimeout

func (o *UpdateServerParams) WithTimeout(timeout time.Duration) *UpdateServerParams

WithTimeout adds the timeout to the update server params

func (*UpdateServerParams) WriteToRequest

func (o *UpdateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateServerReader

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

UpdateServerReader is a Reader for the UpdateServer structure.

func (*UpdateServerReader) ReadResponse

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