Documentation ¶
Index ¶
- type AddServerBadRequest
- func (o *AddServerBadRequest) Code() int
- func (o *AddServerBadRequest) Error() string
- func (o *AddServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *AddServerBadRequest) IsClientError() bool
- func (o *AddServerBadRequest) IsCode(code int) bool
- func (o *AddServerBadRequest) IsRedirect() bool
- func (o *AddServerBadRequest) IsServerError() bool
- func (o *AddServerBadRequest) IsSuccess() bool
- func (o *AddServerBadRequest) String() string
- type AddServerConflict
- func (o *AddServerConflict) Code() int
- func (o *AddServerConflict) Error() string
- func (o *AddServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *AddServerConflict) IsClientError() bool
- func (o *AddServerConflict) IsCode(code int) bool
- func (o *AddServerConflict) IsRedirect() bool
- func (o *AddServerConflict) IsServerError() bool
- func (o *AddServerConflict) IsSuccess() bool
- func (o *AddServerConflict) String() string
- type AddServerInternalServerError
- func (o *AddServerInternalServerError) Code() int
- func (o *AddServerInternalServerError) Error() string
- func (o *AddServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *AddServerInternalServerError) IsClientError() bool
- func (o *AddServerInternalServerError) IsCode(code int) bool
- func (o *AddServerInternalServerError) IsRedirect() bool
- func (o *AddServerInternalServerError) IsServerError() bool
- func (o *AddServerInternalServerError) IsSuccess() bool
- func (o *AddServerInternalServerError) String() string
- type AddServerNoContent
- func (o *AddServerNoContent) Code() int
- func (o *AddServerNoContent) Error() string
- func (o *AddServerNoContent) IsClientError() bool
- func (o *AddServerNoContent) IsCode(code int) bool
- func (o *AddServerNoContent) IsRedirect() bool
- func (o *AddServerNoContent) IsServerError() bool
- func (o *AddServerNoContent) IsSuccess() bool
- func (o *AddServerNoContent) String() string
- type AddServerNotFound
- func (o *AddServerNotFound) Code() int
- func (o *AddServerNotFound) Error() string
- func (o *AddServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *AddServerNotFound) IsClientError() bool
- func (o *AddServerNotFound) IsCode(code int) bool
- func (o *AddServerNotFound) IsRedirect() bool
- func (o *AddServerNotFound) IsServerError() bool
- func (o *AddServerNotFound) IsSuccess() bool
- func (o *AddServerNotFound) String() string
- type AddServerParams
- func (o *AddServerParams) SetBody(body *vproxy_client_model.ServerCreate)
- func (o *AddServerParams) SetContext(ctx context.Context)
- func (o *AddServerParams) SetDefaults()
- func (o *AddServerParams) SetHTTPClient(client *http.Client)
- func (o *AddServerParams) SetSg(sg string)
- func (o *AddServerParams) SetTimeout(timeout time.Duration)
- func (o *AddServerParams) WithBody(body *vproxy_client_model.ServerCreate) *AddServerParams
- func (o *AddServerParams) WithContext(ctx context.Context) *AddServerParams
- func (o *AddServerParams) WithDefaults() *AddServerParams
- func (o *AddServerParams) WithHTTPClient(client *http.Client) *AddServerParams
- func (o *AddServerParams) WithSg(sg string) *AddServerParams
- func (o *AddServerParams) WithTimeout(timeout time.Duration) *AddServerParams
- func (o *AddServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddServerReader
- type Client
- func (a *Client) AddServer(params *AddServerParams, opts ...ClientOption) (*AddServerNoContent, error)
- func (a *Client) DescribeServer(params *DescribeServerParams, opts ...ClientOption) (*DescribeServerOK, error)
- func (a *Client) GetServer(params *GetServerParams, opts ...ClientOption) (*GetServerOK, error)
- func (a *Client) ListServer(params *ListServerParams, opts ...ClientOption) (*ListServerOK, error)
- func (a *Client) RemoveServer(params *RemoveServerParams, opts ...ClientOption) (*RemoveServerNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServer(params *UpdateServerParams, opts ...ClientOption) (*UpdateServerNoContent, error)
- type ClientOption
- type ClientService
- type DescribeServerBadRequest
- func (o *DescribeServerBadRequest) Code() int
- func (o *DescribeServerBadRequest) Error() string
- func (o *DescribeServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *DescribeServerBadRequest) IsClientError() bool
- func (o *DescribeServerBadRequest) IsCode(code int) bool
- func (o *DescribeServerBadRequest) IsRedirect() bool
- func (o *DescribeServerBadRequest) IsServerError() bool
- func (o *DescribeServerBadRequest) IsSuccess() bool
- func (o *DescribeServerBadRequest) String() string
- type DescribeServerConflict
- func (o *DescribeServerConflict) Code() int
- func (o *DescribeServerConflict) Error() string
- func (o *DescribeServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *DescribeServerConflict) IsClientError() bool
- func (o *DescribeServerConflict) IsCode(code int) bool
- func (o *DescribeServerConflict) IsRedirect() bool
- func (o *DescribeServerConflict) IsServerError() bool
- func (o *DescribeServerConflict) IsSuccess() bool
- func (o *DescribeServerConflict) String() string
- type DescribeServerInternalServerError
- func (o *DescribeServerInternalServerError) Code() int
- func (o *DescribeServerInternalServerError) Error() string
- func (o *DescribeServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *DescribeServerInternalServerError) IsClientError() bool
- func (o *DescribeServerInternalServerError) IsCode(code int) bool
- func (o *DescribeServerInternalServerError) IsRedirect() bool
- func (o *DescribeServerInternalServerError) IsServerError() bool
- func (o *DescribeServerInternalServerError) IsSuccess() bool
- func (o *DescribeServerInternalServerError) String() string
- type DescribeServerNotFound
- func (o *DescribeServerNotFound) Code() int
- func (o *DescribeServerNotFound) Error() string
- func (o *DescribeServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *DescribeServerNotFound) IsClientError() bool
- func (o *DescribeServerNotFound) IsCode(code int) bool
- func (o *DescribeServerNotFound) IsRedirect() bool
- func (o *DescribeServerNotFound) IsServerError() bool
- func (o *DescribeServerNotFound) IsSuccess() bool
- func (o *DescribeServerNotFound) String() string
- type DescribeServerOK
- func (o *DescribeServerOK) Code() int
- func (o *DescribeServerOK) Error() string
- func (o *DescribeServerOK) GetPayload() *vproxy_client_model.ServerDetail
- func (o *DescribeServerOK) IsClientError() bool
- func (o *DescribeServerOK) IsCode(code int) bool
- func (o *DescribeServerOK) IsRedirect() bool
- func (o *DescribeServerOK) IsServerError() bool
- func (o *DescribeServerOK) IsSuccess() bool
- func (o *DescribeServerOK) String() string
- type DescribeServerParams
- func NewDescribeServerParams() *DescribeServerParams
- func NewDescribeServerParamsWithContext(ctx context.Context) *DescribeServerParams
- func NewDescribeServerParamsWithHTTPClient(client *http.Client) *DescribeServerParams
- func NewDescribeServerParamsWithTimeout(timeout time.Duration) *DescribeServerParams
- func (o *DescribeServerParams) SetContext(ctx context.Context)
- func (o *DescribeServerParams) SetDefaults()
- func (o *DescribeServerParams) SetHTTPClient(client *http.Client)
- func (o *DescribeServerParams) SetSg(sg string)
- func (o *DescribeServerParams) SetSvr(svr string)
- func (o *DescribeServerParams) SetTimeout(timeout time.Duration)
- func (o *DescribeServerParams) WithContext(ctx context.Context) *DescribeServerParams
- func (o *DescribeServerParams) WithDefaults() *DescribeServerParams
- func (o *DescribeServerParams) WithHTTPClient(client *http.Client) *DescribeServerParams
- func (o *DescribeServerParams) WithSg(sg string) *DescribeServerParams
- func (o *DescribeServerParams) WithSvr(svr string) *DescribeServerParams
- func (o *DescribeServerParams) WithTimeout(timeout time.Duration) *DescribeServerParams
- func (o *DescribeServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeServerReader
- type GetServerBadRequest
- func (o *GetServerBadRequest) Code() int
- func (o *GetServerBadRequest) Error() string
- func (o *GetServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *GetServerBadRequest) IsClientError() bool
- func (o *GetServerBadRequest) IsCode(code int) bool
- func (o *GetServerBadRequest) IsRedirect() bool
- func (o *GetServerBadRequest) IsServerError() bool
- func (o *GetServerBadRequest) IsSuccess() bool
- func (o *GetServerBadRequest) String() string
- type GetServerConflict
- func (o *GetServerConflict) Code() int
- func (o *GetServerConflict) Error() string
- func (o *GetServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *GetServerConflict) IsClientError() bool
- func (o *GetServerConflict) IsCode(code int) bool
- func (o *GetServerConflict) IsRedirect() bool
- func (o *GetServerConflict) IsServerError() bool
- func (o *GetServerConflict) IsSuccess() bool
- func (o *GetServerConflict) String() string
- type GetServerInternalServerError
- func (o *GetServerInternalServerError) Code() int
- func (o *GetServerInternalServerError) Error() string
- func (o *GetServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *GetServerInternalServerError) IsClientError() bool
- func (o *GetServerInternalServerError) IsCode(code int) bool
- func (o *GetServerInternalServerError) IsRedirect() bool
- func (o *GetServerInternalServerError) IsServerError() bool
- func (o *GetServerInternalServerError) IsSuccess() bool
- func (o *GetServerInternalServerError) String() string
- type GetServerNotFound
- func (o *GetServerNotFound) Code() int
- func (o *GetServerNotFound) Error() string
- func (o *GetServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *GetServerNotFound) IsClientError() bool
- func (o *GetServerNotFound) IsCode(code int) bool
- func (o *GetServerNotFound) IsRedirect() bool
- func (o *GetServerNotFound) IsServerError() bool
- func (o *GetServerNotFound) IsSuccess() bool
- func (o *GetServerNotFound) String() string
- type GetServerOK
- func (o *GetServerOK) Code() int
- func (o *GetServerOK) Error() string
- func (o *GetServerOK) GetPayload() *vproxy_client_model.Server
- func (o *GetServerOK) IsClientError() bool
- func (o *GetServerOK) IsCode(code int) bool
- func (o *GetServerOK) IsRedirect() bool
- func (o *GetServerOK) IsServerError() bool
- func (o *GetServerOK) IsSuccess() bool
- func (o *GetServerOK) String() string
- type GetServerParams
- func (o *GetServerParams) SetContext(ctx context.Context)
- func (o *GetServerParams) SetDefaults()
- func (o *GetServerParams) SetHTTPClient(client *http.Client)
- func (o *GetServerParams) SetSg(sg string)
- func (o *GetServerParams) SetSvr(svr string)
- func (o *GetServerParams) SetTimeout(timeout time.Duration)
- func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams
- func (o *GetServerParams) WithDefaults() *GetServerParams
- func (o *GetServerParams) WithHTTPClient(client *http.Client) *GetServerParams
- func (o *GetServerParams) WithSg(sg string) *GetServerParams
- func (o *GetServerParams) WithSvr(svr string) *GetServerParams
- func (o *GetServerParams) WithTimeout(timeout time.Duration) *GetServerParams
- func (o *GetServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerReader
- type ListServerBadRequest
- func (o *ListServerBadRequest) Code() int
- func (o *ListServerBadRequest) Error() string
- func (o *ListServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *ListServerBadRequest) IsClientError() bool
- func (o *ListServerBadRequest) IsCode(code int) bool
- func (o *ListServerBadRequest) IsRedirect() bool
- func (o *ListServerBadRequest) IsServerError() bool
- func (o *ListServerBadRequest) IsSuccess() bool
- func (o *ListServerBadRequest) String() string
- type ListServerConflict
- func (o *ListServerConflict) Code() int
- func (o *ListServerConflict) Error() string
- func (o *ListServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *ListServerConflict) IsClientError() bool
- func (o *ListServerConflict) IsCode(code int) bool
- func (o *ListServerConflict) IsRedirect() bool
- func (o *ListServerConflict) IsServerError() bool
- func (o *ListServerConflict) IsSuccess() bool
- func (o *ListServerConflict) String() string
- type ListServerInternalServerError
- func (o *ListServerInternalServerError) Code() int
- func (o *ListServerInternalServerError) Error() string
- func (o *ListServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *ListServerInternalServerError) IsClientError() bool
- func (o *ListServerInternalServerError) IsCode(code int) bool
- func (o *ListServerInternalServerError) IsRedirect() bool
- func (o *ListServerInternalServerError) IsServerError() bool
- func (o *ListServerInternalServerError) IsSuccess() bool
- func (o *ListServerInternalServerError) String() string
- type ListServerOK
- func (o *ListServerOK) Code() int
- func (o *ListServerOK) Error() string
- func (o *ListServerOK) GetPayload() []*vproxy_client_model.Server
- func (o *ListServerOK) IsClientError() bool
- func (o *ListServerOK) IsCode(code int) bool
- func (o *ListServerOK) IsRedirect() bool
- func (o *ListServerOK) IsServerError() bool
- func (o *ListServerOK) IsSuccess() bool
- func (o *ListServerOK) String() string
- type ListServerParams
- func (o *ListServerParams) SetContext(ctx context.Context)
- func (o *ListServerParams) SetDefaults()
- func (o *ListServerParams) SetHTTPClient(client *http.Client)
- func (o *ListServerParams) SetSg(sg string)
- func (o *ListServerParams) SetTimeout(timeout time.Duration)
- func (o *ListServerParams) WithContext(ctx context.Context) *ListServerParams
- func (o *ListServerParams) WithDefaults() *ListServerParams
- func (o *ListServerParams) WithHTTPClient(client *http.Client) *ListServerParams
- func (o *ListServerParams) WithSg(sg string) *ListServerParams
- func (o *ListServerParams) WithTimeout(timeout time.Duration) *ListServerParams
- func (o *ListServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServerReader
- type RemoveServerBadRequest
- func (o *RemoveServerBadRequest) Code() int
- func (o *RemoveServerBadRequest) Error() string
- func (o *RemoveServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *RemoveServerBadRequest) IsClientError() bool
- func (o *RemoveServerBadRequest) IsCode(code int) bool
- func (o *RemoveServerBadRequest) IsRedirect() bool
- func (o *RemoveServerBadRequest) IsServerError() bool
- func (o *RemoveServerBadRequest) IsSuccess() bool
- func (o *RemoveServerBadRequest) String() string
- type RemoveServerConflict
- func (o *RemoveServerConflict) Code() int
- func (o *RemoveServerConflict) Error() string
- func (o *RemoveServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *RemoveServerConflict) IsClientError() bool
- func (o *RemoveServerConflict) IsCode(code int) bool
- func (o *RemoveServerConflict) IsRedirect() bool
- func (o *RemoveServerConflict) IsServerError() bool
- func (o *RemoveServerConflict) IsSuccess() bool
- func (o *RemoveServerConflict) String() string
- type RemoveServerInternalServerError
- func (o *RemoveServerInternalServerError) Code() int
- func (o *RemoveServerInternalServerError) Error() string
- func (o *RemoveServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *RemoveServerInternalServerError) IsClientError() bool
- func (o *RemoveServerInternalServerError) IsCode(code int) bool
- func (o *RemoveServerInternalServerError) IsRedirect() bool
- func (o *RemoveServerInternalServerError) IsServerError() bool
- func (o *RemoveServerInternalServerError) IsSuccess() bool
- func (o *RemoveServerInternalServerError) String() string
- type RemoveServerNoContent
- func (o *RemoveServerNoContent) Code() int
- func (o *RemoveServerNoContent) Error() string
- func (o *RemoveServerNoContent) IsClientError() bool
- func (o *RemoveServerNoContent) IsCode(code int) bool
- func (o *RemoveServerNoContent) IsRedirect() bool
- func (o *RemoveServerNoContent) IsServerError() bool
- func (o *RemoveServerNoContent) IsSuccess() bool
- func (o *RemoveServerNoContent) String() string
- type RemoveServerNotFound
- func (o *RemoveServerNotFound) Code() int
- func (o *RemoveServerNotFound) Error() string
- func (o *RemoveServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *RemoveServerNotFound) IsClientError() bool
- func (o *RemoveServerNotFound) IsCode(code int) bool
- func (o *RemoveServerNotFound) IsRedirect() bool
- func (o *RemoveServerNotFound) IsServerError() bool
- func (o *RemoveServerNotFound) IsSuccess() bool
- func (o *RemoveServerNotFound) String() string
- type RemoveServerParams
- func (o *RemoveServerParams) SetContext(ctx context.Context)
- func (o *RemoveServerParams) SetDefaults()
- func (o *RemoveServerParams) SetHTTPClient(client *http.Client)
- func (o *RemoveServerParams) SetSg(sg string)
- func (o *RemoveServerParams) SetSvr(svr string)
- func (o *RemoveServerParams) SetTimeout(timeout time.Duration)
- func (o *RemoveServerParams) WithContext(ctx context.Context) *RemoveServerParams
- func (o *RemoveServerParams) WithDefaults() *RemoveServerParams
- func (o *RemoveServerParams) WithHTTPClient(client *http.Client) *RemoveServerParams
- func (o *RemoveServerParams) WithSg(sg string) *RemoveServerParams
- func (o *RemoveServerParams) WithSvr(svr string) *RemoveServerParams
- func (o *RemoveServerParams) WithTimeout(timeout time.Duration) *RemoveServerParams
- func (o *RemoveServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveServerReader
- type UpdateServerBadRequest
- func (o *UpdateServerBadRequest) Code() int
- func (o *UpdateServerBadRequest) Error() string
- func (o *UpdateServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *UpdateServerBadRequest) IsClientError() bool
- func (o *UpdateServerBadRequest) IsCode(code int) bool
- func (o *UpdateServerBadRequest) IsRedirect() bool
- func (o *UpdateServerBadRequest) IsServerError() bool
- func (o *UpdateServerBadRequest) IsSuccess() bool
- func (o *UpdateServerBadRequest) String() string
- type UpdateServerConflict
- func (o *UpdateServerConflict) Code() int
- func (o *UpdateServerConflict) Error() string
- func (o *UpdateServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *UpdateServerConflict) IsClientError() bool
- func (o *UpdateServerConflict) IsCode(code int) bool
- func (o *UpdateServerConflict) IsRedirect() bool
- func (o *UpdateServerConflict) IsServerError() bool
- func (o *UpdateServerConflict) IsSuccess() bool
- func (o *UpdateServerConflict) String() string
- type UpdateServerInternalServerError
- func (o *UpdateServerInternalServerError) Code() int
- func (o *UpdateServerInternalServerError) Error() string
- func (o *UpdateServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *UpdateServerInternalServerError) IsClientError() bool
- func (o *UpdateServerInternalServerError) IsCode(code int) bool
- func (o *UpdateServerInternalServerError) IsRedirect() bool
- func (o *UpdateServerInternalServerError) IsServerError() bool
- func (o *UpdateServerInternalServerError) IsSuccess() bool
- func (o *UpdateServerInternalServerError) String() string
- type UpdateServerNoContent
- func (o *UpdateServerNoContent) Code() int
- func (o *UpdateServerNoContent) Error() string
- func (o *UpdateServerNoContent) IsClientError() bool
- func (o *UpdateServerNoContent) IsCode(code int) bool
- func (o *UpdateServerNoContent) IsRedirect() bool
- func (o *UpdateServerNoContent) IsServerError() bool
- func (o *UpdateServerNoContent) IsSuccess() bool
- func (o *UpdateServerNoContent) String() string
- type UpdateServerNotFound
- func (o *UpdateServerNotFound) Code() int
- func (o *UpdateServerNotFound) Error() string
- func (o *UpdateServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *UpdateServerNotFound) IsClientError() bool
- func (o *UpdateServerNotFound) IsCode(code int) bool
- func (o *UpdateServerNotFound) IsRedirect() bool
- func (o *UpdateServerNotFound) IsServerError() bool
- func (o *UpdateServerNotFound) IsSuccess() bool
- func (o *UpdateServerNotFound) String() string
- type UpdateServerParams
- func (o *UpdateServerParams) SetBody(body *vproxy_client_model.ServerUpdate)
- func (o *UpdateServerParams) SetContext(ctx context.Context)
- func (o *UpdateServerParams) SetDefaults()
- func (o *UpdateServerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServerParams) SetSg(sg string)
- func (o *UpdateServerParams) SetSvr(svr string)
- func (o *UpdateServerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServerParams) WithBody(body *vproxy_client_model.ServerUpdate) *UpdateServerParams
- func (o *UpdateServerParams) WithContext(ctx context.Context) *UpdateServerParams
- func (o *UpdateServerParams) WithDefaults() *UpdateServerParams
- func (o *UpdateServerParams) WithHTTPClient(client *http.Client) *UpdateServerParams
- func (o *UpdateServerParams) WithSg(sg string) *UpdateServerParams
- func (o *UpdateServerParams) WithSvr(svr string) *UpdateServerParams
- func (o *UpdateServerParams) WithTimeout(timeout time.Duration) *UpdateServerParams
- func (o *UpdateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServerReader
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 (o *AddServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *AddServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *AddServerInternalServerError) Code() int
Code gets the status code for the add server internal server error response
func (*AddServerInternalServerError) Error ¶
func (o *AddServerInternalServerError) Error() string
func (*AddServerInternalServerError) GetPayload ¶
func (o *AddServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *AddServerInternalServerError) String() 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 (o *AddServerNotFound) GetPayload() *vproxy_client_model.Error404
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 ¶
func (o *AddServerParams) SetBody(body *vproxy_client_model.ServerCreate)
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 ¶
func (o *AddServerParams) WithBody(body *vproxy_client_model.ServerCreate) *AddServerParams
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 (o *DescribeServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *DescribeServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *DescribeServerInternalServerError) Code() int
Code gets the status code for the describe server internal server error response
func (*DescribeServerInternalServerError) Error ¶
func (o *DescribeServerInternalServerError) Error() string
func (*DescribeServerInternalServerError) GetPayload ¶
func (o *DescribeServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *DescribeServerInternalServerError) String() 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 (o *DescribeServerNotFound) GetPayload() *vproxy_client_model.Error404
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 (o *DescribeServerOK) GetPayload() *vproxy_client_model.ServerDetail
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 ¶
func (o *DescribeServerParams) WithContext(ctx context.Context) *DescribeServerParams
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 ¶
func (o *DescribeServerParams) WithSg(sg string) *DescribeServerParams
WithSg adds the sg to the describe server params
func (*DescribeServerParams) WithSvr ¶
func (o *DescribeServerParams) WithSvr(svr string) *DescribeServerParams
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 (o *GetServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *GetServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *GetServerInternalServerError) Code() int
Code gets the status code for the get server internal server error response
func (*GetServerInternalServerError) Error ¶
func (o *GetServerInternalServerError) Error() string
func (*GetServerInternalServerError) GetPayload ¶
func (o *GetServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *GetServerInternalServerError) String() 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 (o *GetServerNotFound) GetPayload() *vproxy_client_model.Error404
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 (o *ListServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *ListServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *ListServerInternalServerError) Code() int
Code gets the status code for the list server internal server error response
func (*ListServerInternalServerError) Error ¶
func (o *ListServerInternalServerError) Error() string
func (*ListServerInternalServerError) GetPayload ¶
func (o *ListServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *ListServerInternalServerError) String() 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 (o *RemoveServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *RemoveServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *RemoveServerInternalServerError) Code() int
Code gets the status code for the remove server internal server error response
func (*RemoveServerInternalServerError) Error ¶
func (o *RemoveServerInternalServerError) Error() string
func (*RemoveServerInternalServerError) GetPayload ¶
func (o *RemoveServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *RemoveServerInternalServerError) String() 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 (o *RemoveServerNotFound) GetPayload() *vproxy_client_model.Error404
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 ¶
func (o *RemoveServerParams) WithContext(ctx context.Context) *RemoveServerParams
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 ¶
func (o *RemoveServerParams) WithSg(sg string) *RemoveServerParams
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 (o *UpdateServerBadRequest) GetPayload() *vproxy_client_model.Error400
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 (o *UpdateServerConflict) GetPayload() *vproxy_client_model.Error409
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 ¶
func (o *UpdateServerInternalServerError) Code() int
Code gets the status code for the update server internal server error response
func (*UpdateServerInternalServerError) Error ¶
func (o *UpdateServerInternalServerError) Error() string
func (*UpdateServerInternalServerError) GetPayload ¶
func (o *UpdateServerInternalServerError) GetPayload() *vproxy_client_model.Error500
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 ¶
func (o *UpdateServerInternalServerError) String() 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 (o *UpdateServerNotFound) GetPayload() *vproxy_client_model.Error404
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 ¶
func (o *UpdateServerParams) SetBody(body *vproxy_client_model.ServerUpdate)
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 ¶
func (o *UpdateServerParams) WithBody(body *vproxy_client_model.ServerUpdate) *UpdateServerParams
WithBody adds the body to the update server params
func (*UpdateServerParams) WithContext ¶
func (o *UpdateServerParams) WithContext(ctx context.Context) *UpdateServerParams
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 ¶
func (o *UpdateServerParams) WithSg(sg string) *UpdateServerParams
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.
Source Files ¶
- add_server_parameters.go
- add_server_responses.go
- describe_server_parameters.go
- describe_server_responses.go
- get_server_parameters.go
- get_server_responses.go
- list_server_parameters.go
- list_server_responses.go
- remove_server_parameters.go
- remove_server_responses.go
- server_client.go
- update_server_parameters.go
- update_server_responses.go