server_group

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServerGroupBadRequest

type AddServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewAddServerGroupBadRequest

func NewAddServerGroupBadRequest() *AddServerGroupBadRequest

NewAddServerGroupBadRequest creates a AddServerGroupBadRequest with default headers values

func (*AddServerGroupBadRequest) Code

func (o *AddServerGroupBadRequest) Code() int

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

func (*AddServerGroupBadRequest) Error

func (o *AddServerGroupBadRequest) Error() string

func (*AddServerGroupBadRequest) GetPayload

func (*AddServerGroupBadRequest) IsClientError

func (o *AddServerGroupBadRequest) IsClientError() bool

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

func (*AddServerGroupBadRequest) IsCode

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

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

func (*AddServerGroupBadRequest) IsRedirect

func (o *AddServerGroupBadRequest) IsRedirect() bool

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

func (*AddServerGroupBadRequest) IsServerError

func (o *AddServerGroupBadRequest) IsServerError() bool

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

func (*AddServerGroupBadRequest) IsSuccess

func (o *AddServerGroupBadRequest) IsSuccess() bool

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

func (*AddServerGroupBadRequest) String

func (o *AddServerGroupBadRequest) String() string

type AddServerGroupConflict

type AddServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewAddServerGroupConflict

func NewAddServerGroupConflict() *AddServerGroupConflict

NewAddServerGroupConflict creates a AddServerGroupConflict with default headers values

func (*AddServerGroupConflict) Code

func (o *AddServerGroupConflict) Code() int

Code gets the status code for the add server group conflict response

func (*AddServerGroupConflict) Error

func (o *AddServerGroupConflict) Error() string

func (*AddServerGroupConflict) GetPayload

func (*AddServerGroupConflict) IsClientError

func (o *AddServerGroupConflict) IsClientError() bool

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

func (*AddServerGroupConflict) IsCode

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

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

func (*AddServerGroupConflict) IsRedirect

func (o *AddServerGroupConflict) IsRedirect() bool

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

func (*AddServerGroupConflict) IsServerError

func (o *AddServerGroupConflict) IsServerError() bool

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

func (*AddServerGroupConflict) IsSuccess

func (o *AddServerGroupConflict) IsSuccess() bool

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

func (*AddServerGroupConflict) String

func (o *AddServerGroupConflict) String() string

type AddServerGroupInUpstreamBadRequest

type AddServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewAddServerGroupInUpstreamBadRequest

func NewAddServerGroupInUpstreamBadRequest() *AddServerGroupInUpstreamBadRequest

NewAddServerGroupInUpstreamBadRequest creates a AddServerGroupInUpstreamBadRequest with default headers values

func (*AddServerGroupInUpstreamBadRequest) Code

Code gets the status code for the add server group in upstream bad request response

func (*AddServerGroupInUpstreamBadRequest) Error

func (*AddServerGroupInUpstreamBadRequest) GetPayload

func (*AddServerGroupInUpstreamBadRequest) IsClientError

func (o *AddServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*AddServerGroupInUpstreamBadRequest) IsCode

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

func (*AddServerGroupInUpstreamBadRequest) IsRedirect

func (o *AddServerGroupInUpstreamBadRequest) IsRedirect() bool

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

func (*AddServerGroupInUpstreamBadRequest) IsServerError

func (o *AddServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*AddServerGroupInUpstreamBadRequest) IsSuccess

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

func (*AddServerGroupInUpstreamBadRequest) String

type AddServerGroupInUpstreamConflict

type AddServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewAddServerGroupInUpstreamConflict

func NewAddServerGroupInUpstreamConflict() *AddServerGroupInUpstreamConflict

NewAddServerGroupInUpstreamConflict creates a AddServerGroupInUpstreamConflict with default headers values

func (*AddServerGroupInUpstreamConflict) Code

Code gets the status code for the add server group in upstream conflict response

func (*AddServerGroupInUpstreamConflict) Error

func (*AddServerGroupInUpstreamConflict) GetPayload

func (*AddServerGroupInUpstreamConflict) IsClientError

func (o *AddServerGroupInUpstreamConflict) IsClientError() bool

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

func (*AddServerGroupInUpstreamConflict) IsCode

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

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

func (*AddServerGroupInUpstreamConflict) IsRedirect

func (o *AddServerGroupInUpstreamConflict) IsRedirect() bool

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

func (*AddServerGroupInUpstreamConflict) IsServerError

func (o *AddServerGroupInUpstreamConflict) IsServerError() bool

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

func (*AddServerGroupInUpstreamConflict) IsSuccess

func (o *AddServerGroupInUpstreamConflict) IsSuccess() bool

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

func (*AddServerGroupInUpstreamConflict) String

type AddServerGroupInUpstreamInternalServerError

type AddServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewAddServerGroupInUpstreamInternalServerError

func NewAddServerGroupInUpstreamInternalServerError() *AddServerGroupInUpstreamInternalServerError

NewAddServerGroupInUpstreamInternalServerError creates a AddServerGroupInUpstreamInternalServerError with default headers values

func (*AddServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the add server group in upstream internal server error response

func (*AddServerGroupInUpstreamInternalServerError) Error

func (*AddServerGroupInUpstreamInternalServerError) GetPayload

func (*AddServerGroupInUpstreamInternalServerError) IsClientError

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

func (*AddServerGroupInUpstreamInternalServerError) IsCode

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

func (*AddServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*AddServerGroupInUpstreamInternalServerError) IsServerError

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

func (*AddServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*AddServerGroupInUpstreamInternalServerError) String

type AddServerGroupInUpstreamNoContent

type AddServerGroupInUpstreamNoContent struct {
}

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

ok

func NewAddServerGroupInUpstreamNoContent

func NewAddServerGroupInUpstreamNoContent() *AddServerGroupInUpstreamNoContent

NewAddServerGroupInUpstreamNoContent creates a AddServerGroupInUpstreamNoContent with default headers values

func (*AddServerGroupInUpstreamNoContent) Code

Code gets the status code for the add server group in upstream no content response

func (*AddServerGroupInUpstreamNoContent) Error

func (*AddServerGroupInUpstreamNoContent) IsClientError

func (o *AddServerGroupInUpstreamNoContent) IsClientError() bool

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

func (*AddServerGroupInUpstreamNoContent) IsCode

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

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

func (*AddServerGroupInUpstreamNoContent) IsRedirect

func (o *AddServerGroupInUpstreamNoContent) IsRedirect() bool

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

func (*AddServerGroupInUpstreamNoContent) IsServerError

func (o *AddServerGroupInUpstreamNoContent) IsServerError() bool

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

func (*AddServerGroupInUpstreamNoContent) IsSuccess

func (o *AddServerGroupInUpstreamNoContent) IsSuccess() bool

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

func (*AddServerGroupInUpstreamNoContent) String

type AddServerGroupInUpstreamNotFound

type AddServerGroupInUpstreamNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewAddServerGroupInUpstreamNotFound

func NewAddServerGroupInUpstreamNotFound() *AddServerGroupInUpstreamNotFound

NewAddServerGroupInUpstreamNotFound creates a AddServerGroupInUpstreamNotFound with default headers values

func (*AddServerGroupInUpstreamNotFound) Code

Code gets the status code for the add server group in upstream not found response

func (*AddServerGroupInUpstreamNotFound) Error

func (*AddServerGroupInUpstreamNotFound) GetPayload

func (*AddServerGroupInUpstreamNotFound) IsClientError

func (o *AddServerGroupInUpstreamNotFound) IsClientError() bool

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

func (*AddServerGroupInUpstreamNotFound) IsCode

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

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

func (*AddServerGroupInUpstreamNotFound) IsRedirect

func (o *AddServerGroupInUpstreamNotFound) IsRedirect() bool

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

func (*AddServerGroupInUpstreamNotFound) IsServerError

func (o *AddServerGroupInUpstreamNotFound) IsServerError() bool

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

func (*AddServerGroupInUpstreamNotFound) IsSuccess

func (o *AddServerGroupInUpstreamNotFound) IsSuccess() bool

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

func (*AddServerGroupInUpstreamNotFound) String

type AddServerGroupInUpstreamParams

type AddServerGroupInUpstreamParams struct {

	// Body.
	Body *vproxy_client_model.ServerGroupInUpstreamCreate

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

AddServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the add server group in upstream operation.

Typically these are written to a http.Request.

func NewAddServerGroupInUpstreamParams

func NewAddServerGroupInUpstreamParams() *AddServerGroupInUpstreamParams

NewAddServerGroupInUpstreamParams creates a new AddServerGroupInUpstreamParams 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 NewAddServerGroupInUpstreamParamsWithContext

func NewAddServerGroupInUpstreamParamsWithContext(ctx context.Context) *AddServerGroupInUpstreamParams

NewAddServerGroupInUpstreamParamsWithContext creates a new AddServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewAddServerGroupInUpstreamParamsWithHTTPClient

func NewAddServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *AddServerGroupInUpstreamParams

NewAddServerGroupInUpstreamParamsWithHTTPClient creates a new AddServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewAddServerGroupInUpstreamParamsWithTimeout

func NewAddServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *AddServerGroupInUpstreamParams

NewAddServerGroupInUpstreamParamsWithTimeout creates a new AddServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*AddServerGroupInUpstreamParams) SetBody

SetBody adds the body to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) SetContext

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

SetContext adds the context to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) SetDefaults

func (o *AddServerGroupInUpstreamParams) SetDefaults()

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

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

func (*AddServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) SetUps

func (o *AddServerGroupInUpstreamParams) SetUps(ups string)

SetUps adds the ups to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WithBody

WithBody adds the body to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WithContext

WithContext adds the context to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WithDefaults

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

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

func (*AddServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the add server group in upstream params

func (*AddServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddServerGroupInUpstreamReader

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

AddServerGroupInUpstreamReader is a Reader for the AddServerGroupInUpstream structure.

func (*AddServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddServerGroupInternalServerError

type AddServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewAddServerGroupInternalServerError

func NewAddServerGroupInternalServerError() *AddServerGroupInternalServerError

NewAddServerGroupInternalServerError creates a AddServerGroupInternalServerError with default headers values

func (*AddServerGroupInternalServerError) Code

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

func (*AddServerGroupInternalServerError) Error

func (*AddServerGroupInternalServerError) GetPayload

func (*AddServerGroupInternalServerError) IsClientError

func (o *AddServerGroupInternalServerError) IsClientError() bool

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

func (*AddServerGroupInternalServerError) IsCode

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

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

func (*AddServerGroupInternalServerError) IsRedirect

func (o *AddServerGroupInternalServerError) IsRedirect() bool

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

func (*AddServerGroupInternalServerError) IsServerError

func (o *AddServerGroupInternalServerError) IsServerError() bool

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

func (*AddServerGroupInternalServerError) IsSuccess

func (o *AddServerGroupInternalServerError) IsSuccess() bool

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

func (*AddServerGroupInternalServerError) String

type AddServerGroupNoContent

type AddServerGroupNoContent struct {
}

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

ok

func NewAddServerGroupNoContent

func NewAddServerGroupNoContent() *AddServerGroupNoContent

NewAddServerGroupNoContent creates a AddServerGroupNoContent with default headers values

func (*AddServerGroupNoContent) Code

func (o *AddServerGroupNoContent) Code() int

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

func (*AddServerGroupNoContent) Error

func (o *AddServerGroupNoContent) Error() string

func (*AddServerGroupNoContent) IsClientError

func (o *AddServerGroupNoContent) IsClientError() bool

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

func (*AddServerGroupNoContent) IsCode

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

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

func (*AddServerGroupNoContent) IsRedirect

func (o *AddServerGroupNoContent) IsRedirect() bool

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

func (*AddServerGroupNoContent) IsServerError

func (o *AddServerGroupNoContent) IsServerError() bool

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

func (*AddServerGroupNoContent) IsSuccess

func (o *AddServerGroupNoContent) IsSuccess() bool

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

func (*AddServerGroupNoContent) String

func (o *AddServerGroupNoContent) String() string

type AddServerGroupNotFound

type AddServerGroupNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewAddServerGroupNotFound

func NewAddServerGroupNotFound() *AddServerGroupNotFound

NewAddServerGroupNotFound creates a AddServerGroupNotFound with default headers values

func (*AddServerGroupNotFound) Code

func (o *AddServerGroupNotFound) Code() int

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

func (*AddServerGroupNotFound) Error

func (o *AddServerGroupNotFound) Error() string

func (*AddServerGroupNotFound) GetPayload

func (*AddServerGroupNotFound) IsClientError

func (o *AddServerGroupNotFound) IsClientError() bool

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

func (*AddServerGroupNotFound) IsCode

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

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

func (*AddServerGroupNotFound) IsRedirect

func (o *AddServerGroupNotFound) IsRedirect() bool

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

func (*AddServerGroupNotFound) IsServerError

func (o *AddServerGroupNotFound) IsServerError() bool

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

func (*AddServerGroupNotFound) IsSuccess

func (o *AddServerGroupNotFound) IsSuccess() bool

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

func (*AddServerGroupNotFound) String

func (o *AddServerGroupNotFound) String() string

type AddServerGroupParams

type AddServerGroupParams struct {

	// Body.
	Body *vproxy_client_model.ServerGroupCreate

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

AddServerGroupParams contains all the parameters to send to the API endpoint

for the add server group operation.

Typically these are written to a http.Request.

func NewAddServerGroupParams

func NewAddServerGroupParams() *AddServerGroupParams

NewAddServerGroupParams creates a new AddServerGroupParams 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 NewAddServerGroupParamsWithContext

func NewAddServerGroupParamsWithContext(ctx context.Context) *AddServerGroupParams

NewAddServerGroupParamsWithContext creates a new AddServerGroupParams object with the ability to set a context for a request.

func NewAddServerGroupParamsWithHTTPClient

func NewAddServerGroupParamsWithHTTPClient(client *http.Client) *AddServerGroupParams

NewAddServerGroupParamsWithHTTPClient creates a new AddServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewAddServerGroupParamsWithTimeout

func NewAddServerGroupParamsWithTimeout(timeout time.Duration) *AddServerGroupParams

NewAddServerGroupParamsWithTimeout creates a new AddServerGroupParams object with the ability to set a timeout on a request.

func (*AddServerGroupParams) SetBody

SetBody adds the body to the add server group params

func (*AddServerGroupParams) SetContext

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

SetContext adds the context to the add server group params

func (*AddServerGroupParams) SetDefaults

func (o *AddServerGroupParams) SetDefaults()

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

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

func (*AddServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add server group params

func (*AddServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the add server group params

func (*AddServerGroupParams) WithBody

WithBody adds the body to the add server group params

func (*AddServerGroupParams) WithContext

WithContext adds the context to the add server group params

func (*AddServerGroupParams) WithDefaults

func (o *AddServerGroupParams) WithDefaults() *AddServerGroupParams

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

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

func (*AddServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add server group params

func (*AddServerGroupParams) WithTimeout

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

WithTimeout adds the timeout to the add server group params

func (*AddServerGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddServerGroupReader

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

AddServerGroupReader is a Reader for the AddServerGroup structure.

func (*AddServerGroupReader) ReadResponse

func (o *AddServerGroupReader) 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 group API

func (*Client) AddServerGroup

func (a *Client) AddServerGroup(params *AddServerGroupParams, opts ...ClientOption) (*AddServerGroupNoContent, error)

AddServerGroup adds server group

func (*Client) AddServerGroupInUpstream

func (a *Client) AddServerGroupInUpstream(params *AddServerGroupInUpstreamParams, opts ...ClientOption) (*AddServerGroupInUpstreamNoContent, error)

AddServerGroupInUpstream adds server group into upstream

func (*Client) DescribeServerGroup

func (a *Client) DescribeServerGroup(params *DescribeServerGroupParams, opts ...ClientOption) (*DescribeServerGroupOK, error)

DescribeServerGroup gets detailed info of one server group

func (*Client) DescribeServerGroupInUpstream

func (a *Client) DescribeServerGroupInUpstream(params *DescribeServerGroupInUpstreamParams, opts ...ClientOption) (*DescribeServerGroupInUpstreamOK, error)

DescribeServerGroupInUpstream gets detailed info of one server group in upstream

func (*Client) GetServerGroup

func (a *Client) GetServerGroup(params *GetServerGroupParams, opts ...ClientOption) (*GetServerGroupOK, error)

GetServerGroup gets server group

func (*Client) GetServerGroupInUpstream

func (a *Client) GetServerGroupInUpstream(params *GetServerGroupInUpstreamParams, opts ...ClientOption) (*GetServerGroupInUpstreamOK, error)

GetServerGroupInUpstream gets server group in upstream

func (*Client) ListServerGroup

func (a *Client) ListServerGroup(params *ListServerGroupParams, opts ...ClientOption) (*ListServerGroupOK, error)

ListServerGroup retrieves server group list

func (*Client) ListServerGroupInUpstream

func (a *Client) ListServerGroupInUpstream(params *ListServerGroupInUpstreamParams, opts ...ClientOption) (*ListServerGroupInUpstreamOK, error)

ListServerGroupInUpstream retrieves server group list from upstream

func (*Client) RemoveServerGroup

func (a *Client) RemoveServerGroup(params *RemoveServerGroupParams, opts ...ClientOption) (*RemoveServerGroupNoContent, error)

RemoveServerGroup removes server group

func (*Client) RemoveServerGroupInUpstream

func (a *Client) RemoveServerGroupInUpstream(params *RemoveServerGroupInUpstreamParams, opts ...ClientOption) (*RemoveServerGroupInUpstreamNoContent, error)

RemoveServerGroupInUpstream removes server group from upstream

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServerGroup

func (a *Client) UpdateServerGroup(params *UpdateServerGroupParams, opts ...ClientOption) (*UpdateServerGroupNoContent, error)

UpdateServerGroup updates server group

func (*Client) UpdateServerGroupInUpstream

func (a *Client) UpdateServerGroupInUpstream(params *UpdateServerGroupInUpstreamParams, opts ...ClientOption) (*UpdateServerGroupInUpstreamNoContent, error)

UpdateServerGroupInUpstream updates server group in upstream

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddServerGroup(params *AddServerGroupParams, opts ...ClientOption) (*AddServerGroupNoContent, error)

	AddServerGroupInUpstream(params *AddServerGroupInUpstreamParams, opts ...ClientOption) (*AddServerGroupInUpstreamNoContent, error)

	DescribeServerGroup(params *DescribeServerGroupParams, opts ...ClientOption) (*DescribeServerGroupOK, error)

	DescribeServerGroupInUpstream(params *DescribeServerGroupInUpstreamParams, opts ...ClientOption) (*DescribeServerGroupInUpstreamOK, error)

	GetServerGroup(params *GetServerGroupParams, opts ...ClientOption) (*GetServerGroupOK, error)

	GetServerGroupInUpstream(params *GetServerGroupInUpstreamParams, opts ...ClientOption) (*GetServerGroupInUpstreamOK, error)

	ListServerGroup(params *ListServerGroupParams, opts ...ClientOption) (*ListServerGroupOK, error)

	ListServerGroupInUpstream(params *ListServerGroupInUpstreamParams, opts ...ClientOption) (*ListServerGroupInUpstreamOK, error)

	RemoveServerGroup(params *RemoveServerGroupParams, opts ...ClientOption) (*RemoveServerGroupNoContent, error)

	RemoveServerGroupInUpstream(params *RemoveServerGroupInUpstreamParams, opts ...ClientOption) (*RemoveServerGroupInUpstreamNoContent, error)

	UpdateServerGroup(params *UpdateServerGroupParams, opts ...ClientOption) (*UpdateServerGroupNoContent, error)

	UpdateServerGroupInUpstream(params *UpdateServerGroupInUpstreamParams, opts ...ClientOption) (*UpdateServerGroupInUpstreamNoContent, 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 group API client.

type DescribeServerGroupBadRequest

type DescribeServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewDescribeServerGroupBadRequest

func NewDescribeServerGroupBadRequest() *DescribeServerGroupBadRequest

NewDescribeServerGroupBadRequest creates a DescribeServerGroupBadRequest with default headers values

func (*DescribeServerGroupBadRequest) Code

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

func (*DescribeServerGroupBadRequest) Error

func (*DescribeServerGroupBadRequest) GetPayload

func (*DescribeServerGroupBadRequest) IsClientError

func (o *DescribeServerGroupBadRequest) IsClientError() bool

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

func (*DescribeServerGroupBadRequest) IsCode

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

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

func (*DescribeServerGroupBadRequest) IsRedirect

func (o *DescribeServerGroupBadRequest) IsRedirect() bool

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

func (*DescribeServerGroupBadRequest) IsServerError

func (o *DescribeServerGroupBadRequest) IsServerError() bool

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

func (*DescribeServerGroupBadRequest) IsSuccess

func (o *DescribeServerGroupBadRequest) IsSuccess() bool

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

func (*DescribeServerGroupBadRequest) String

type DescribeServerGroupConflict

type DescribeServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewDescribeServerGroupConflict

func NewDescribeServerGroupConflict() *DescribeServerGroupConflict

NewDescribeServerGroupConflict creates a DescribeServerGroupConflict with default headers values

func (*DescribeServerGroupConflict) Code

func (o *DescribeServerGroupConflict) Code() int

Code gets the status code for the describe server group conflict response

func (*DescribeServerGroupConflict) Error

func (*DescribeServerGroupConflict) GetPayload

func (*DescribeServerGroupConflict) IsClientError

func (o *DescribeServerGroupConflict) IsClientError() bool

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

func (*DescribeServerGroupConflict) IsCode

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

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

func (*DescribeServerGroupConflict) IsRedirect

func (o *DescribeServerGroupConflict) IsRedirect() bool

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

func (*DescribeServerGroupConflict) IsServerError

func (o *DescribeServerGroupConflict) IsServerError() bool

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

func (*DescribeServerGroupConflict) IsSuccess

func (o *DescribeServerGroupConflict) IsSuccess() bool

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

func (*DescribeServerGroupConflict) String

func (o *DescribeServerGroupConflict) String() string

type DescribeServerGroupInUpstreamBadRequest

type DescribeServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewDescribeServerGroupInUpstreamBadRequest

func NewDescribeServerGroupInUpstreamBadRequest() *DescribeServerGroupInUpstreamBadRequest

NewDescribeServerGroupInUpstreamBadRequest creates a DescribeServerGroupInUpstreamBadRequest with default headers values

func (*DescribeServerGroupInUpstreamBadRequest) Code

Code gets the status code for the describe server group in upstream bad request response

func (*DescribeServerGroupInUpstreamBadRequest) Error

func (*DescribeServerGroupInUpstreamBadRequest) GetPayload

func (*DescribeServerGroupInUpstreamBadRequest) IsClientError

func (o *DescribeServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*DescribeServerGroupInUpstreamBadRequest) IsCode

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

func (*DescribeServerGroupInUpstreamBadRequest) IsRedirect

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

func (*DescribeServerGroupInUpstreamBadRequest) IsServerError

func (o *DescribeServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*DescribeServerGroupInUpstreamBadRequest) IsSuccess

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

func (*DescribeServerGroupInUpstreamBadRequest) String

type DescribeServerGroupInUpstreamConflict

type DescribeServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewDescribeServerGroupInUpstreamConflict

func NewDescribeServerGroupInUpstreamConflict() *DescribeServerGroupInUpstreamConflict

NewDescribeServerGroupInUpstreamConflict creates a DescribeServerGroupInUpstreamConflict with default headers values

func (*DescribeServerGroupInUpstreamConflict) Code

Code gets the status code for the describe server group in upstream conflict response

func (*DescribeServerGroupInUpstreamConflict) Error

func (*DescribeServerGroupInUpstreamConflict) GetPayload

func (*DescribeServerGroupInUpstreamConflict) IsClientError

func (o *DescribeServerGroupInUpstreamConflict) IsClientError() bool

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

func (*DescribeServerGroupInUpstreamConflict) IsCode

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

func (*DescribeServerGroupInUpstreamConflict) IsRedirect

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

func (*DescribeServerGroupInUpstreamConflict) IsServerError

func (o *DescribeServerGroupInUpstreamConflict) IsServerError() bool

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

func (*DescribeServerGroupInUpstreamConflict) IsSuccess

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

func (*DescribeServerGroupInUpstreamConflict) String

type DescribeServerGroupInUpstreamInternalServerError

type DescribeServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewDescribeServerGroupInUpstreamInternalServerError

func NewDescribeServerGroupInUpstreamInternalServerError() *DescribeServerGroupInUpstreamInternalServerError

NewDescribeServerGroupInUpstreamInternalServerError creates a DescribeServerGroupInUpstreamInternalServerError with default headers values

func (*DescribeServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the describe server group in upstream internal server error response

func (*DescribeServerGroupInUpstreamInternalServerError) Error

func (*DescribeServerGroupInUpstreamInternalServerError) GetPayload

func (*DescribeServerGroupInUpstreamInternalServerError) IsClientError

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

func (*DescribeServerGroupInUpstreamInternalServerError) IsCode

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

func (*DescribeServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*DescribeServerGroupInUpstreamInternalServerError) IsServerError

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

func (*DescribeServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*DescribeServerGroupInUpstreamInternalServerError) String

type DescribeServerGroupInUpstreamNotFound

type DescribeServerGroupInUpstreamNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewDescribeServerGroupInUpstreamNotFound

func NewDescribeServerGroupInUpstreamNotFound() *DescribeServerGroupInUpstreamNotFound

NewDescribeServerGroupInUpstreamNotFound creates a DescribeServerGroupInUpstreamNotFound with default headers values

func (*DescribeServerGroupInUpstreamNotFound) Code

Code gets the status code for the describe server group in upstream not found response

func (*DescribeServerGroupInUpstreamNotFound) Error

func (*DescribeServerGroupInUpstreamNotFound) GetPayload

func (*DescribeServerGroupInUpstreamNotFound) IsClientError

func (o *DescribeServerGroupInUpstreamNotFound) IsClientError() bool

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

func (*DescribeServerGroupInUpstreamNotFound) IsCode

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

func (*DescribeServerGroupInUpstreamNotFound) IsRedirect

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

func (*DescribeServerGroupInUpstreamNotFound) IsServerError

func (o *DescribeServerGroupInUpstreamNotFound) IsServerError() bool

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

func (*DescribeServerGroupInUpstreamNotFound) IsSuccess

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

func (*DescribeServerGroupInUpstreamNotFound) String

type DescribeServerGroupInUpstreamOK

type DescribeServerGroupInUpstreamOK struct {
	Payload *vproxy_client_model.ServerGroupInUpstreamDetail
}

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

ok

func NewDescribeServerGroupInUpstreamOK

func NewDescribeServerGroupInUpstreamOK() *DescribeServerGroupInUpstreamOK

NewDescribeServerGroupInUpstreamOK creates a DescribeServerGroupInUpstreamOK with default headers values

func (*DescribeServerGroupInUpstreamOK) Code

Code gets the status code for the describe server group in upstream o k response

func (*DescribeServerGroupInUpstreamOK) Error

func (*DescribeServerGroupInUpstreamOK) GetPayload

func (*DescribeServerGroupInUpstreamOK) IsClientError

func (o *DescribeServerGroupInUpstreamOK) IsClientError() bool

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

func (*DescribeServerGroupInUpstreamOK) IsCode

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

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

func (*DescribeServerGroupInUpstreamOK) IsRedirect

func (o *DescribeServerGroupInUpstreamOK) IsRedirect() bool

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

func (*DescribeServerGroupInUpstreamOK) IsServerError

func (o *DescribeServerGroupInUpstreamOK) IsServerError() bool

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

func (*DescribeServerGroupInUpstreamOK) IsSuccess

func (o *DescribeServerGroupInUpstreamOK) IsSuccess() bool

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

func (*DescribeServerGroupInUpstreamOK) String

type DescribeServerGroupInUpstreamParams

type DescribeServerGroupInUpstreamParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

DescribeServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the describe server group in upstream operation.

Typically these are written to a http.Request.

func NewDescribeServerGroupInUpstreamParams

func NewDescribeServerGroupInUpstreamParams() *DescribeServerGroupInUpstreamParams

NewDescribeServerGroupInUpstreamParams creates a new DescribeServerGroupInUpstreamParams 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 NewDescribeServerGroupInUpstreamParamsWithContext

func NewDescribeServerGroupInUpstreamParamsWithContext(ctx context.Context) *DescribeServerGroupInUpstreamParams

NewDescribeServerGroupInUpstreamParamsWithContext creates a new DescribeServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewDescribeServerGroupInUpstreamParamsWithHTTPClient

func NewDescribeServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *DescribeServerGroupInUpstreamParams

NewDescribeServerGroupInUpstreamParamsWithHTTPClient creates a new DescribeServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeServerGroupInUpstreamParamsWithTimeout

func NewDescribeServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *DescribeServerGroupInUpstreamParams

NewDescribeServerGroupInUpstreamParamsWithTimeout creates a new DescribeServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*DescribeServerGroupInUpstreamParams) SetContext

SetContext adds the context to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) SetDefaults

func (o *DescribeServerGroupInUpstreamParams) SetDefaults()

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

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

func (*DescribeServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) SetSg

SetSg adds the sg to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) SetUps

SetUps adds the ups to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WithContext

WithContext adds the context to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WithDefaults

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

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

func (*DescribeServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WithSg

WithSg adds the sg to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the describe server group in upstream params

func (*DescribeServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeServerGroupInUpstreamReader

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

DescribeServerGroupInUpstreamReader is a Reader for the DescribeServerGroupInUpstream structure.

func (*DescribeServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeServerGroupInternalServerError

type DescribeServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewDescribeServerGroupInternalServerError

func NewDescribeServerGroupInternalServerError() *DescribeServerGroupInternalServerError

NewDescribeServerGroupInternalServerError creates a DescribeServerGroupInternalServerError with default headers values

func (*DescribeServerGroupInternalServerError) Code

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

func (*DescribeServerGroupInternalServerError) Error

func (*DescribeServerGroupInternalServerError) GetPayload

func (*DescribeServerGroupInternalServerError) IsClientError

func (o *DescribeServerGroupInternalServerError) IsClientError() bool

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

func (*DescribeServerGroupInternalServerError) IsCode

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

func (*DescribeServerGroupInternalServerError) IsRedirect

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

func (*DescribeServerGroupInternalServerError) IsServerError

func (o *DescribeServerGroupInternalServerError) IsServerError() bool

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

func (*DescribeServerGroupInternalServerError) IsSuccess

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

func (*DescribeServerGroupInternalServerError) String

type DescribeServerGroupNotFound

type DescribeServerGroupNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewDescribeServerGroupNotFound

func NewDescribeServerGroupNotFound() *DescribeServerGroupNotFound

NewDescribeServerGroupNotFound creates a DescribeServerGroupNotFound with default headers values

func (*DescribeServerGroupNotFound) Code

func (o *DescribeServerGroupNotFound) Code() int

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

func (*DescribeServerGroupNotFound) Error

func (*DescribeServerGroupNotFound) GetPayload

func (*DescribeServerGroupNotFound) IsClientError

func (o *DescribeServerGroupNotFound) IsClientError() bool

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

func (*DescribeServerGroupNotFound) IsCode

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

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

func (*DescribeServerGroupNotFound) IsRedirect

func (o *DescribeServerGroupNotFound) IsRedirect() bool

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

func (*DescribeServerGroupNotFound) IsServerError

func (o *DescribeServerGroupNotFound) IsServerError() bool

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

func (*DescribeServerGroupNotFound) IsSuccess

func (o *DescribeServerGroupNotFound) IsSuccess() bool

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

func (*DescribeServerGroupNotFound) String

func (o *DescribeServerGroupNotFound) String() string

type DescribeServerGroupOK

type DescribeServerGroupOK struct {
	Payload *vproxy_client_model.ServerGroupDetail
}

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

ok

func NewDescribeServerGroupOK

func NewDescribeServerGroupOK() *DescribeServerGroupOK

NewDescribeServerGroupOK creates a DescribeServerGroupOK with default headers values

func (*DescribeServerGroupOK) Code

func (o *DescribeServerGroupOK) Code() int

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

func (*DescribeServerGroupOK) Error

func (o *DescribeServerGroupOK) Error() string

func (*DescribeServerGroupOK) GetPayload

func (*DescribeServerGroupOK) IsClientError

func (o *DescribeServerGroupOK) IsClientError() bool

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

func (*DescribeServerGroupOK) IsCode

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

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

func (*DescribeServerGroupOK) IsRedirect

func (o *DescribeServerGroupOK) IsRedirect() bool

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

func (*DescribeServerGroupOK) IsServerError

func (o *DescribeServerGroupOK) IsServerError() bool

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

func (*DescribeServerGroupOK) IsSuccess

func (o *DescribeServerGroupOK) IsSuccess() bool

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

func (*DescribeServerGroupOK) String

func (o *DescribeServerGroupOK) String() string

type DescribeServerGroupParams

type DescribeServerGroupParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

DescribeServerGroupParams contains all the parameters to send to the API endpoint

for the describe server group operation.

Typically these are written to a http.Request.

func NewDescribeServerGroupParams

func NewDescribeServerGroupParams() *DescribeServerGroupParams

NewDescribeServerGroupParams creates a new DescribeServerGroupParams 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 NewDescribeServerGroupParamsWithContext

func NewDescribeServerGroupParamsWithContext(ctx context.Context) *DescribeServerGroupParams

NewDescribeServerGroupParamsWithContext creates a new DescribeServerGroupParams object with the ability to set a context for a request.

func NewDescribeServerGroupParamsWithHTTPClient

func NewDescribeServerGroupParamsWithHTTPClient(client *http.Client) *DescribeServerGroupParams

NewDescribeServerGroupParamsWithHTTPClient creates a new DescribeServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeServerGroupParamsWithTimeout

func NewDescribeServerGroupParamsWithTimeout(timeout time.Duration) *DescribeServerGroupParams

NewDescribeServerGroupParamsWithTimeout creates a new DescribeServerGroupParams object with the ability to set a timeout on a request.

func (*DescribeServerGroupParams) SetContext

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

SetContext adds the context to the describe server group params

func (*DescribeServerGroupParams) SetDefaults

func (o *DescribeServerGroupParams) SetDefaults()

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

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

func (*DescribeServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe server group params

func (*DescribeServerGroupParams) SetSg

func (o *DescribeServerGroupParams) SetSg(sg string)

SetSg adds the sg to the describe server group params

func (*DescribeServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the describe server group params

func (*DescribeServerGroupParams) WithContext

WithContext adds the context to the describe server group params

func (*DescribeServerGroupParams) WithDefaults

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

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

func (*DescribeServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe server group params

func (*DescribeServerGroupParams) WithSg

WithSg adds the sg to the describe server group params

func (*DescribeServerGroupParams) WithTimeout

WithTimeout adds the timeout to the describe server group params

func (*DescribeServerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeServerGroupReader

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

DescribeServerGroupReader is a Reader for the DescribeServerGroup structure.

func (*DescribeServerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerGroupBadRequest

type GetServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewGetServerGroupBadRequest

func NewGetServerGroupBadRequest() *GetServerGroupBadRequest

NewGetServerGroupBadRequest creates a GetServerGroupBadRequest with default headers values

func (*GetServerGroupBadRequest) Code

func (o *GetServerGroupBadRequest) Code() int

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

func (*GetServerGroupBadRequest) Error

func (o *GetServerGroupBadRequest) Error() string

func (*GetServerGroupBadRequest) GetPayload

func (*GetServerGroupBadRequest) IsClientError

func (o *GetServerGroupBadRequest) IsClientError() bool

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

func (*GetServerGroupBadRequest) IsCode

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

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

func (*GetServerGroupBadRequest) IsRedirect

func (o *GetServerGroupBadRequest) IsRedirect() bool

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

func (*GetServerGroupBadRequest) IsServerError

func (o *GetServerGroupBadRequest) IsServerError() bool

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

func (*GetServerGroupBadRequest) IsSuccess

func (o *GetServerGroupBadRequest) IsSuccess() bool

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

func (*GetServerGroupBadRequest) String

func (o *GetServerGroupBadRequest) String() string

type GetServerGroupConflict

type GetServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewGetServerGroupConflict

func NewGetServerGroupConflict() *GetServerGroupConflict

NewGetServerGroupConflict creates a GetServerGroupConflict with default headers values

func (*GetServerGroupConflict) Code

func (o *GetServerGroupConflict) Code() int

Code gets the status code for the get server group conflict response

func (*GetServerGroupConflict) Error

func (o *GetServerGroupConflict) Error() string

func (*GetServerGroupConflict) GetPayload

func (*GetServerGroupConflict) IsClientError

func (o *GetServerGroupConflict) IsClientError() bool

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

func (*GetServerGroupConflict) IsCode

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

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

func (*GetServerGroupConflict) IsRedirect

func (o *GetServerGroupConflict) IsRedirect() bool

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

func (*GetServerGroupConflict) IsServerError

func (o *GetServerGroupConflict) IsServerError() bool

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

func (*GetServerGroupConflict) IsSuccess

func (o *GetServerGroupConflict) IsSuccess() bool

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

func (*GetServerGroupConflict) String

func (o *GetServerGroupConflict) String() string

type GetServerGroupInUpstreamBadRequest

type GetServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewGetServerGroupInUpstreamBadRequest

func NewGetServerGroupInUpstreamBadRequest() *GetServerGroupInUpstreamBadRequest

NewGetServerGroupInUpstreamBadRequest creates a GetServerGroupInUpstreamBadRequest with default headers values

func (*GetServerGroupInUpstreamBadRequest) Code

Code gets the status code for the get server group in upstream bad request response

func (*GetServerGroupInUpstreamBadRequest) Error

func (*GetServerGroupInUpstreamBadRequest) GetPayload

func (*GetServerGroupInUpstreamBadRequest) IsClientError

func (o *GetServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*GetServerGroupInUpstreamBadRequest) IsCode

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

func (*GetServerGroupInUpstreamBadRequest) IsRedirect

func (o *GetServerGroupInUpstreamBadRequest) IsRedirect() bool

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

func (*GetServerGroupInUpstreamBadRequest) IsServerError

func (o *GetServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*GetServerGroupInUpstreamBadRequest) IsSuccess

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

func (*GetServerGroupInUpstreamBadRequest) String

type GetServerGroupInUpstreamConflict

type GetServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewGetServerGroupInUpstreamConflict

func NewGetServerGroupInUpstreamConflict() *GetServerGroupInUpstreamConflict

NewGetServerGroupInUpstreamConflict creates a GetServerGroupInUpstreamConflict with default headers values

func (*GetServerGroupInUpstreamConflict) Code

Code gets the status code for the get server group in upstream conflict response

func (*GetServerGroupInUpstreamConflict) Error

func (*GetServerGroupInUpstreamConflict) GetPayload

func (*GetServerGroupInUpstreamConflict) IsClientError

func (o *GetServerGroupInUpstreamConflict) IsClientError() bool

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

func (*GetServerGroupInUpstreamConflict) IsCode

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

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

func (*GetServerGroupInUpstreamConflict) IsRedirect

func (o *GetServerGroupInUpstreamConflict) IsRedirect() bool

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

func (*GetServerGroupInUpstreamConflict) IsServerError

func (o *GetServerGroupInUpstreamConflict) IsServerError() bool

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

func (*GetServerGroupInUpstreamConflict) IsSuccess

func (o *GetServerGroupInUpstreamConflict) IsSuccess() bool

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

func (*GetServerGroupInUpstreamConflict) String

type GetServerGroupInUpstreamInternalServerError

type GetServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewGetServerGroupInUpstreamInternalServerError

func NewGetServerGroupInUpstreamInternalServerError() *GetServerGroupInUpstreamInternalServerError

NewGetServerGroupInUpstreamInternalServerError creates a GetServerGroupInUpstreamInternalServerError with default headers values

func (*GetServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the get server group in upstream internal server error response

func (*GetServerGroupInUpstreamInternalServerError) Error

func (*GetServerGroupInUpstreamInternalServerError) GetPayload

func (*GetServerGroupInUpstreamInternalServerError) IsClientError

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

func (*GetServerGroupInUpstreamInternalServerError) IsCode

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

func (*GetServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*GetServerGroupInUpstreamInternalServerError) IsServerError

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

func (*GetServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*GetServerGroupInUpstreamInternalServerError) String

type GetServerGroupInUpstreamNotFound

type GetServerGroupInUpstreamNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewGetServerGroupInUpstreamNotFound

func NewGetServerGroupInUpstreamNotFound() *GetServerGroupInUpstreamNotFound

NewGetServerGroupInUpstreamNotFound creates a GetServerGroupInUpstreamNotFound with default headers values

func (*GetServerGroupInUpstreamNotFound) Code

Code gets the status code for the get server group in upstream not found response

func (*GetServerGroupInUpstreamNotFound) Error

func (*GetServerGroupInUpstreamNotFound) GetPayload

func (*GetServerGroupInUpstreamNotFound) IsClientError

func (o *GetServerGroupInUpstreamNotFound) IsClientError() bool

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

func (*GetServerGroupInUpstreamNotFound) IsCode

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

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

func (*GetServerGroupInUpstreamNotFound) IsRedirect

func (o *GetServerGroupInUpstreamNotFound) IsRedirect() bool

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

func (*GetServerGroupInUpstreamNotFound) IsServerError

func (o *GetServerGroupInUpstreamNotFound) IsServerError() bool

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

func (*GetServerGroupInUpstreamNotFound) IsSuccess

func (o *GetServerGroupInUpstreamNotFound) IsSuccess() bool

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

func (*GetServerGroupInUpstreamNotFound) String

type GetServerGroupInUpstreamOK

type GetServerGroupInUpstreamOK struct {
	Payload *vproxy_client_model.ServerGroupInUpstream
}

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

ok

func NewGetServerGroupInUpstreamOK

func NewGetServerGroupInUpstreamOK() *GetServerGroupInUpstreamOK

NewGetServerGroupInUpstreamOK creates a GetServerGroupInUpstreamOK with default headers values

func (*GetServerGroupInUpstreamOK) Code

func (o *GetServerGroupInUpstreamOK) Code() int

Code gets the status code for the get server group in upstream o k response

func (*GetServerGroupInUpstreamOK) Error

func (*GetServerGroupInUpstreamOK) GetPayload

func (*GetServerGroupInUpstreamOK) IsClientError

func (o *GetServerGroupInUpstreamOK) IsClientError() bool

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

func (*GetServerGroupInUpstreamOK) IsCode

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

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

func (*GetServerGroupInUpstreamOK) IsRedirect

func (o *GetServerGroupInUpstreamOK) IsRedirect() bool

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

func (*GetServerGroupInUpstreamOK) IsServerError

func (o *GetServerGroupInUpstreamOK) IsServerError() bool

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

func (*GetServerGroupInUpstreamOK) IsSuccess

func (o *GetServerGroupInUpstreamOK) IsSuccess() bool

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

func (*GetServerGroupInUpstreamOK) String

func (o *GetServerGroupInUpstreamOK) String() string

type GetServerGroupInUpstreamParams

type GetServerGroupInUpstreamParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

GetServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the get server group in upstream operation.

Typically these are written to a http.Request.

func NewGetServerGroupInUpstreamParams

func NewGetServerGroupInUpstreamParams() *GetServerGroupInUpstreamParams

NewGetServerGroupInUpstreamParams creates a new GetServerGroupInUpstreamParams 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 NewGetServerGroupInUpstreamParamsWithContext

func NewGetServerGroupInUpstreamParamsWithContext(ctx context.Context) *GetServerGroupInUpstreamParams

NewGetServerGroupInUpstreamParamsWithContext creates a new GetServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewGetServerGroupInUpstreamParamsWithHTTPClient

func NewGetServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *GetServerGroupInUpstreamParams

NewGetServerGroupInUpstreamParamsWithHTTPClient creates a new GetServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewGetServerGroupInUpstreamParamsWithTimeout

func NewGetServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *GetServerGroupInUpstreamParams

NewGetServerGroupInUpstreamParamsWithTimeout creates a new GetServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*GetServerGroupInUpstreamParams) SetContext

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

SetContext adds the context to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) SetDefaults

func (o *GetServerGroupInUpstreamParams) SetDefaults()

SetDefaults hydrates default values in the get server group in upstream params (not the query body).

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

func (*GetServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) SetSg

SetSg adds the sg to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) SetUps

func (o *GetServerGroupInUpstreamParams) SetUps(ups string)

SetUps adds the ups to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WithContext

WithContext adds the context to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WithDefaults

WithDefaults hydrates default values in the get server group in upstream params (not the query body).

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

func (*GetServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WithSg

WithSg adds the sg to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the get server group in upstream params

func (*GetServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServerGroupInUpstreamReader

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

GetServerGroupInUpstreamReader is a Reader for the GetServerGroupInUpstream structure.

func (*GetServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerGroupInternalServerError

type GetServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewGetServerGroupInternalServerError

func NewGetServerGroupInternalServerError() *GetServerGroupInternalServerError

NewGetServerGroupInternalServerError creates a GetServerGroupInternalServerError with default headers values

func (*GetServerGroupInternalServerError) Code

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

func (*GetServerGroupInternalServerError) Error

func (*GetServerGroupInternalServerError) GetPayload

func (*GetServerGroupInternalServerError) IsClientError

func (o *GetServerGroupInternalServerError) IsClientError() bool

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

func (*GetServerGroupInternalServerError) IsCode

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

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

func (*GetServerGroupInternalServerError) IsRedirect

func (o *GetServerGroupInternalServerError) IsRedirect() bool

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

func (*GetServerGroupInternalServerError) IsServerError

func (o *GetServerGroupInternalServerError) IsServerError() bool

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

func (*GetServerGroupInternalServerError) IsSuccess

func (o *GetServerGroupInternalServerError) IsSuccess() bool

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

func (*GetServerGroupInternalServerError) String

type GetServerGroupNotFound

type GetServerGroupNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewGetServerGroupNotFound

func NewGetServerGroupNotFound() *GetServerGroupNotFound

NewGetServerGroupNotFound creates a GetServerGroupNotFound with default headers values

func (*GetServerGroupNotFound) Code

func (o *GetServerGroupNotFound) Code() int

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

func (*GetServerGroupNotFound) Error

func (o *GetServerGroupNotFound) Error() string

func (*GetServerGroupNotFound) GetPayload

func (*GetServerGroupNotFound) IsClientError

func (o *GetServerGroupNotFound) IsClientError() bool

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

func (*GetServerGroupNotFound) IsCode

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

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

func (*GetServerGroupNotFound) IsRedirect

func (o *GetServerGroupNotFound) IsRedirect() bool

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

func (*GetServerGroupNotFound) IsServerError

func (o *GetServerGroupNotFound) IsServerError() bool

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

func (*GetServerGroupNotFound) IsSuccess

func (o *GetServerGroupNotFound) IsSuccess() bool

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

func (*GetServerGroupNotFound) String

func (o *GetServerGroupNotFound) String() string

type GetServerGroupOK

type GetServerGroupOK struct {
	Payload *vproxy_client_model.ServerGroup
}

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

ok

func NewGetServerGroupOK

func NewGetServerGroupOK() *GetServerGroupOK

NewGetServerGroupOK creates a GetServerGroupOK with default headers values

func (*GetServerGroupOK) Code

func (o *GetServerGroupOK) Code() int

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

func (*GetServerGroupOK) Error

func (o *GetServerGroupOK) Error() string

func (*GetServerGroupOK) GetPayload

func (*GetServerGroupOK) IsClientError

func (o *GetServerGroupOK) IsClientError() bool

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

func (*GetServerGroupOK) IsCode

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

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

func (*GetServerGroupOK) IsRedirect

func (o *GetServerGroupOK) IsRedirect() bool

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

func (*GetServerGroupOK) IsServerError

func (o *GetServerGroupOK) IsServerError() bool

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

func (*GetServerGroupOK) IsSuccess

func (o *GetServerGroupOK) IsSuccess() bool

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

func (*GetServerGroupOK) String

func (o *GetServerGroupOK) String() string

type GetServerGroupParams

type GetServerGroupParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

GetServerGroupParams contains all the parameters to send to the API endpoint

for the get server group operation.

Typically these are written to a http.Request.

func NewGetServerGroupParams

func NewGetServerGroupParams() *GetServerGroupParams

NewGetServerGroupParams creates a new GetServerGroupParams 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 NewGetServerGroupParamsWithContext

func NewGetServerGroupParamsWithContext(ctx context.Context) *GetServerGroupParams

NewGetServerGroupParamsWithContext creates a new GetServerGroupParams object with the ability to set a context for a request.

func NewGetServerGroupParamsWithHTTPClient

func NewGetServerGroupParamsWithHTTPClient(client *http.Client) *GetServerGroupParams

NewGetServerGroupParamsWithHTTPClient creates a new GetServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetServerGroupParamsWithTimeout

func NewGetServerGroupParamsWithTimeout(timeout time.Duration) *GetServerGroupParams

NewGetServerGroupParamsWithTimeout creates a new GetServerGroupParams object with the ability to set a timeout on a request.

func (*GetServerGroupParams) SetContext

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

SetContext adds the context to the get server group params

func (*GetServerGroupParams) SetDefaults

func (o *GetServerGroupParams) SetDefaults()

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

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

func (*GetServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server group params

func (*GetServerGroupParams) SetSg

func (o *GetServerGroupParams) SetSg(sg string)

SetSg adds the sg to the get server group params

func (*GetServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get server group params

func (*GetServerGroupParams) WithContext

WithContext adds the context to the get server group params

func (*GetServerGroupParams) WithDefaults

func (o *GetServerGroupParams) WithDefaults() *GetServerGroupParams

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

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

func (*GetServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get server group params

func (*GetServerGroupParams) WithSg

WithSg adds the sg to the get server group params

func (*GetServerGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get server group params

func (*GetServerGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServerGroupReader

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

GetServerGroupReader is a Reader for the GetServerGroup structure.

func (*GetServerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServerGroupBadRequest

type ListServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewListServerGroupBadRequest

func NewListServerGroupBadRequest() *ListServerGroupBadRequest

NewListServerGroupBadRequest creates a ListServerGroupBadRequest with default headers values

func (*ListServerGroupBadRequest) Code

func (o *ListServerGroupBadRequest) Code() int

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

func (*ListServerGroupBadRequest) Error

func (o *ListServerGroupBadRequest) Error() string

func (*ListServerGroupBadRequest) GetPayload

func (*ListServerGroupBadRequest) IsClientError

func (o *ListServerGroupBadRequest) IsClientError() bool

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

func (*ListServerGroupBadRequest) IsCode

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

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

func (*ListServerGroupBadRequest) IsRedirect

func (o *ListServerGroupBadRequest) IsRedirect() bool

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

func (*ListServerGroupBadRequest) IsServerError

func (o *ListServerGroupBadRequest) IsServerError() bool

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

func (*ListServerGroupBadRequest) IsSuccess

func (o *ListServerGroupBadRequest) IsSuccess() bool

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

func (*ListServerGroupBadRequest) String

func (o *ListServerGroupBadRequest) String() string

type ListServerGroupConflict

type ListServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewListServerGroupConflict

func NewListServerGroupConflict() *ListServerGroupConflict

NewListServerGroupConflict creates a ListServerGroupConflict with default headers values

func (*ListServerGroupConflict) Code

func (o *ListServerGroupConflict) Code() int

Code gets the status code for the list server group conflict response

func (*ListServerGroupConflict) Error

func (o *ListServerGroupConflict) Error() string

func (*ListServerGroupConflict) GetPayload

func (*ListServerGroupConflict) IsClientError

func (o *ListServerGroupConflict) IsClientError() bool

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

func (*ListServerGroupConflict) IsCode

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

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

func (*ListServerGroupConflict) IsRedirect

func (o *ListServerGroupConflict) IsRedirect() bool

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

func (*ListServerGroupConflict) IsServerError

func (o *ListServerGroupConflict) IsServerError() bool

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

func (*ListServerGroupConflict) IsSuccess

func (o *ListServerGroupConflict) IsSuccess() bool

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

func (*ListServerGroupConflict) String

func (o *ListServerGroupConflict) String() string

type ListServerGroupInUpstreamBadRequest

type ListServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewListServerGroupInUpstreamBadRequest

func NewListServerGroupInUpstreamBadRequest() *ListServerGroupInUpstreamBadRequest

NewListServerGroupInUpstreamBadRequest creates a ListServerGroupInUpstreamBadRequest with default headers values

func (*ListServerGroupInUpstreamBadRequest) Code

Code gets the status code for the list server group in upstream bad request response

func (*ListServerGroupInUpstreamBadRequest) Error

func (*ListServerGroupInUpstreamBadRequest) GetPayload

func (*ListServerGroupInUpstreamBadRequest) IsClientError

func (o *ListServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*ListServerGroupInUpstreamBadRequest) IsCode

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

func (*ListServerGroupInUpstreamBadRequest) IsRedirect

func (o *ListServerGroupInUpstreamBadRequest) IsRedirect() bool

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

func (*ListServerGroupInUpstreamBadRequest) IsServerError

func (o *ListServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*ListServerGroupInUpstreamBadRequest) IsSuccess

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

func (*ListServerGroupInUpstreamBadRequest) String

type ListServerGroupInUpstreamConflict

type ListServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewListServerGroupInUpstreamConflict

func NewListServerGroupInUpstreamConflict() *ListServerGroupInUpstreamConflict

NewListServerGroupInUpstreamConflict creates a ListServerGroupInUpstreamConflict with default headers values

func (*ListServerGroupInUpstreamConflict) Code

Code gets the status code for the list server group in upstream conflict response

func (*ListServerGroupInUpstreamConflict) Error

func (*ListServerGroupInUpstreamConflict) GetPayload

func (*ListServerGroupInUpstreamConflict) IsClientError

func (o *ListServerGroupInUpstreamConflict) IsClientError() bool

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

func (*ListServerGroupInUpstreamConflict) IsCode

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

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

func (*ListServerGroupInUpstreamConflict) IsRedirect

func (o *ListServerGroupInUpstreamConflict) IsRedirect() bool

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

func (*ListServerGroupInUpstreamConflict) IsServerError

func (o *ListServerGroupInUpstreamConflict) IsServerError() bool

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

func (*ListServerGroupInUpstreamConflict) IsSuccess

func (o *ListServerGroupInUpstreamConflict) IsSuccess() bool

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

func (*ListServerGroupInUpstreamConflict) String

type ListServerGroupInUpstreamInternalServerError

type ListServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewListServerGroupInUpstreamInternalServerError

func NewListServerGroupInUpstreamInternalServerError() *ListServerGroupInUpstreamInternalServerError

NewListServerGroupInUpstreamInternalServerError creates a ListServerGroupInUpstreamInternalServerError with default headers values

func (*ListServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the list server group in upstream internal server error response

func (*ListServerGroupInUpstreamInternalServerError) Error

func (*ListServerGroupInUpstreamInternalServerError) GetPayload

func (*ListServerGroupInUpstreamInternalServerError) IsClientError

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

func (*ListServerGroupInUpstreamInternalServerError) IsCode

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

func (*ListServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*ListServerGroupInUpstreamInternalServerError) IsServerError

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

func (*ListServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*ListServerGroupInUpstreamInternalServerError) String

type ListServerGroupInUpstreamOK

type ListServerGroupInUpstreamOK struct {
	Payload []*vproxy_client_model.ServerGroupInUpstream
}

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

ok

func NewListServerGroupInUpstreamOK

func NewListServerGroupInUpstreamOK() *ListServerGroupInUpstreamOK

NewListServerGroupInUpstreamOK creates a ListServerGroupInUpstreamOK with default headers values

func (*ListServerGroupInUpstreamOK) Code

func (o *ListServerGroupInUpstreamOK) Code() int

Code gets the status code for the list server group in upstream o k response

func (*ListServerGroupInUpstreamOK) Error

func (*ListServerGroupInUpstreamOK) GetPayload

func (*ListServerGroupInUpstreamOK) IsClientError

func (o *ListServerGroupInUpstreamOK) IsClientError() bool

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

func (*ListServerGroupInUpstreamOK) IsCode

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

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

func (*ListServerGroupInUpstreamOK) IsRedirect

func (o *ListServerGroupInUpstreamOK) IsRedirect() bool

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

func (*ListServerGroupInUpstreamOK) IsServerError

func (o *ListServerGroupInUpstreamOK) IsServerError() bool

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

func (*ListServerGroupInUpstreamOK) IsSuccess

func (o *ListServerGroupInUpstreamOK) IsSuccess() bool

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

func (*ListServerGroupInUpstreamOK) String

func (o *ListServerGroupInUpstreamOK) String() string

type ListServerGroupInUpstreamParams

type ListServerGroupInUpstreamParams struct {

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

ListServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the list server group in upstream operation.

Typically these are written to a http.Request.

func NewListServerGroupInUpstreamParams

func NewListServerGroupInUpstreamParams() *ListServerGroupInUpstreamParams

NewListServerGroupInUpstreamParams creates a new ListServerGroupInUpstreamParams 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 NewListServerGroupInUpstreamParamsWithContext

func NewListServerGroupInUpstreamParamsWithContext(ctx context.Context) *ListServerGroupInUpstreamParams

NewListServerGroupInUpstreamParamsWithContext creates a new ListServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewListServerGroupInUpstreamParamsWithHTTPClient

func NewListServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *ListServerGroupInUpstreamParams

NewListServerGroupInUpstreamParamsWithHTTPClient creates a new ListServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewListServerGroupInUpstreamParamsWithTimeout

func NewListServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *ListServerGroupInUpstreamParams

NewListServerGroupInUpstreamParamsWithTimeout creates a new ListServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*ListServerGroupInUpstreamParams) SetContext

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

SetContext adds the context to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) SetDefaults

func (o *ListServerGroupInUpstreamParams) SetDefaults()

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

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

func (*ListServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) SetUps

func (o *ListServerGroupInUpstreamParams) SetUps(ups string)

SetUps adds the ups to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) WithContext

WithContext adds the context to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) WithDefaults

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

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

func (*ListServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the list server group in upstream params

func (*ListServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServerGroupInUpstreamReader

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

ListServerGroupInUpstreamReader is a Reader for the ListServerGroupInUpstream structure.

func (*ListServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServerGroupInternalServerError

type ListServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewListServerGroupInternalServerError

func NewListServerGroupInternalServerError() *ListServerGroupInternalServerError

NewListServerGroupInternalServerError creates a ListServerGroupInternalServerError with default headers values

func (*ListServerGroupInternalServerError) Code

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

func (*ListServerGroupInternalServerError) Error

func (*ListServerGroupInternalServerError) GetPayload

func (*ListServerGroupInternalServerError) IsClientError

func (o *ListServerGroupInternalServerError) IsClientError() bool

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

func (*ListServerGroupInternalServerError) IsCode

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

func (*ListServerGroupInternalServerError) IsRedirect

func (o *ListServerGroupInternalServerError) IsRedirect() bool

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

func (*ListServerGroupInternalServerError) IsServerError

func (o *ListServerGroupInternalServerError) IsServerError() bool

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

func (*ListServerGroupInternalServerError) IsSuccess

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

func (*ListServerGroupInternalServerError) String

type ListServerGroupOK

type ListServerGroupOK struct {
	Payload []*vproxy_client_model.ServerGroup
}

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

ok

func NewListServerGroupOK

func NewListServerGroupOK() *ListServerGroupOK

NewListServerGroupOK creates a ListServerGroupOK with default headers values

func (*ListServerGroupOK) Code

func (o *ListServerGroupOK) Code() int

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

func (*ListServerGroupOK) Error

func (o *ListServerGroupOK) Error() string

func (*ListServerGroupOK) GetPayload

func (*ListServerGroupOK) IsClientError

func (o *ListServerGroupOK) IsClientError() bool

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

func (*ListServerGroupOK) IsCode

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

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

func (*ListServerGroupOK) IsRedirect

func (o *ListServerGroupOK) IsRedirect() bool

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

func (*ListServerGroupOK) IsServerError

func (o *ListServerGroupOK) IsServerError() bool

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

func (*ListServerGroupOK) IsSuccess

func (o *ListServerGroupOK) IsSuccess() bool

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

func (*ListServerGroupOK) String

func (o *ListServerGroupOK) String() string

type ListServerGroupParams

type ListServerGroupParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServerGroupParams contains all the parameters to send to the API endpoint

for the list server group operation.

Typically these are written to a http.Request.

func NewListServerGroupParams

func NewListServerGroupParams() *ListServerGroupParams

NewListServerGroupParams creates a new ListServerGroupParams 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 NewListServerGroupParamsWithContext

func NewListServerGroupParamsWithContext(ctx context.Context) *ListServerGroupParams

NewListServerGroupParamsWithContext creates a new ListServerGroupParams object with the ability to set a context for a request.

func NewListServerGroupParamsWithHTTPClient

func NewListServerGroupParamsWithHTTPClient(client *http.Client) *ListServerGroupParams

NewListServerGroupParamsWithHTTPClient creates a new ListServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewListServerGroupParamsWithTimeout

func NewListServerGroupParamsWithTimeout(timeout time.Duration) *ListServerGroupParams

NewListServerGroupParamsWithTimeout creates a new ListServerGroupParams object with the ability to set a timeout on a request.

func (*ListServerGroupParams) SetContext

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

SetContext adds the context to the list server group params

func (*ListServerGroupParams) SetDefaults

func (o *ListServerGroupParams) SetDefaults()

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

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

func (*ListServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server group params

func (*ListServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the list server group params

func (*ListServerGroupParams) WithContext

WithContext adds the context to the list server group params

func (*ListServerGroupParams) WithDefaults

func (o *ListServerGroupParams) WithDefaults() *ListServerGroupParams

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

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

func (*ListServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list server group params

func (*ListServerGroupParams) WithTimeout

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

WithTimeout adds the timeout to the list server group params

func (*ListServerGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServerGroupReader

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

ListServerGroupReader is a Reader for the ListServerGroup structure.

func (*ListServerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveServerGroupBadRequest

type RemoveServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewRemoveServerGroupBadRequest

func NewRemoveServerGroupBadRequest() *RemoveServerGroupBadRequest

NewRemoveServerGroupBadRequest creates a RemoveServerGroupBadRequest with default headers values

func (*RemoveServerGroupBadRequest) Code

func (o *RemoveServerGroupBadRequest) Code() int

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

func (*RemoveServerGroupBadRequest) Error

func (*RemoveServerGroupBadRequest) GetPayload

func (*RemoveServerGroupBadRequest) IsClientError

func (o *RemoveServerGroupBadRequest) IsClientError() bool

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

func (*RemoveServerGroupBadRequest) IsCode

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

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

func (*RemoveServerGroupBadRequest) IsRedirect

func (o *RemoveServerGroupBadRequest) IsRedirect() bool

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

func (*RemoveServerGroupBadRequest) IsServerError

func (o *RemoveServerGroupBadRequest) IsServerError() bool

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

func (*RemoveServerGroupBadRequest) IsSuccess

func (o *RemoveServerGroupBadRequest) IsSuccess() bool

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

func (*RemoveServerGroupBadRequest) String

func (o *RemoveServerGroupBadRequest) String() string

type RemoveServerGroupConflict

type RemoveServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewRemoveServerGroupConflict

func NewRemoveServerGroupConflict() *RemoveServerGroupConflict

NewRemoveServerGroupConflict creates a RemoveServerGroupConflict with default headers values

func (*RemoveServerGroupConflict) Code

func (o *RemoveServerGroupConflict) Code() int

Code gets the status code for the remove server group conflict response

func (*RemoveServerGroupConflict) Error

func (o *RemoveServerGroupConflict) Error() string

func (*RemoveServerGroupConflict) GetPayload

func (*RemoveServerGroupConflict) IsClientError

func (o *RemoveServerGroupConflict) IsClientError() bool

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

func (*RemoveServerGroupConflict) IsCode

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

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

func (*RemoveServerGroupConflict) IsRedirect

func (o *RemoveServerGroupConflict) IsRedirect() bool

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

func (*RemoveServerGroupConflict) IsServerError

func (o *RemoveServerGroupConflict) IsServerError() bool

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

func (*RemoveServerGroupConflict) IsSuccess

func (o *RemoveServerGroupConflict) IsSuccess() bool

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

func (*RemoveServerGroupConflict) String

func (o *RemoveServerGroupConflict) String() string

type RemoveServerGroupInUpstreamBadRequest

type RemoveServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewRemoveServerGroupInUpstreamBadRequest

func NewRemoveServerGroupInUpstreamBadRequest() *RemoveServerGroupInUpstreamBadRequest

NewRemoveServerGroupInUpstreamBadRequest creates a RemoveServerGroupInUpstreamBadRequest with default headers values

func (*RemoveServerGroupInUpstreamBadRequest) Code

Code gets the status code for the remove server group in upstream bad request response

func (*RemoveServerGroupInUpstreamBadRequest) Error

func (*RemoveServerGroupInUpstreamBadRequest) GetPayload

func (*RemoveServerGroupInUpstreamBadRequest) IsClientError

func (o *RemoveServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*RemoveServerGroupInUpstreamBadRequest) IsCode

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

func (*RemoveServerGroupInUpstreamBadRequest) IsRedirect

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

func (*RemoveServerGroupInUpstreamBadRequest) IsServerError

func (o *RemoveServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*RemoveServerGroupInUpstreamBadRequest) IsSuccess

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

func (*RemoveServerGroupInUpstreamBadRequest) String

type RemoveServerGroupInUpstreamConflict

type RemoveServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewRemoveServerGroupInUpstreamConflict

func NewRemoveServerGroupInUpstreamConflict() *RemoveServerGroupInUpstreamConflict

NewRemoveServerGroupInUpstreamConflict creates a RemoveServerGroupInUpstreamConflict with default headers values

func (*RemoveServerGroupInUpstreamConflict) Code

Code gets the status code for the remove server group in upstream conflict response

func (*RemoveServerGroupInUpstreamConflict) Error

func (*RemoveServerGroupInUpstreamConflict) GetPayload

func (*RemoveServerGroupInUpstreamConflict) IsClientError

func (o *RemoveServerGroupInUpstreamConflict) IsClientError() bool

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

func (*RemoveServerGroupInUpstreamConflict) IsCode

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

func (*RemoveServerGroupInUpstreamConflict) IsRedirect

func (o *RemoveServerGroupInUpstreamConflict) IsRedirect() bool

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

func (*RemoveServerGroupInUpstreamConflict) IsServerError

func (o *RemoveServerGroupInUpstreamConflict) IsServerError() bool

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

func (*RemoveServerGroupInUpstreamConflict) IsSuccess

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

func (*RemoveServerGroupInUpstreamConflict) String

type RemoveServerGroupInUpstreamInternalServerError

type RemoveServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewRemoveServerGroupInUpstreamInternalServerError

func NewRemoveServerGroupInUpstreamInternalServerError() *RemoveServerGroupInUpstreamInternalServerError

NewRemoveServerGroupInUpstreamInternalServerError creates a RemoveServerGroupInUpstreamInternalServerError with default headers values

func (*RemoveServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the remove server group in upstream internal server error response

func (*RemoveServerGroupInUpstreamInternalServerError) Error

func (*RemoveServerGroupInUpstreamInternalServerError) GetPayload

func (*RemoveServerGroupInUpstreamInternalServerError) IsClientError

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

func (*RemoveServerGroupInUpstreamInternalServerError) IsCode

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

func (*RemoveServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*RemoveServerGroupInUpstreamInternalServerError) IsServerError

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

func (*RemoveServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*RemoveServerGroupInUpstreamInternalServerError) String

type RemoveServerGroupInUpstreamNoContent

type RemoveServerGroupInUpstreamNoContent struct {
}

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

ok

func NewRemoveServerGroupInUpstreamNoContent

func NewRemoveServerGroupInUpstreamNoContent() *RemoveServerGroupInUpstreamNoContent

NewRemoveServerGroupInUpstreamNoContent creates a RemoveServerGroupInUpstreamNoContent with default headers values

func (*RemoveServerGroupInUpstreamNoContent) Code

Code gets the status code for the remove server group in upstream no content response

func (*RemoveServerGroupInUpstreamNoContent) Error

func (*RemoveServerGroupInUpstreamNoContent) IsClientError

func (o *RemoveServerGroupInUpstreamNoContent) IsClientError() bool

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

func (*RemoveServerGroupInUpstreamNoContent) IsCode

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

func (*RemoveServerGroupInUpstreamNoContent) IsRedirect

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

func (*RemoveServerGroupInUpstreamNoContent) IsServerError

func (o *RemoveServerGroupInUpstreamNoContent) IsServerError() bool

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

func (*RemoveServerGroupInUpstreamNoContent) IsSuccess

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

func (*RemoveServerGroupInUpstreamNoContent) String

type RemoveServerGroupInUpstreamNotFound

type RemoveServerGroupInUpstreamNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewRemoveServerGroupInUpstreamNotFound

func NewRemoveServerGroupInUpstreamNotFound() *RemoveServerGroupInUpstreamNotFound

NewRemoveServerGroupInUpstreamNotFound creates a RemoveServerGroupInUpstreamNotFound with default headers values

func (*RemoveServerGroupInUpstreamNotFound) Code

Code gets the status code for the remove server group in upstream not found response

func (*RemoveServerGroupInUpstreamNotFound) Error

func (*RemoveServerGroupInUpstreamNotFound) GetPayload

func (*RemoveServerGroupInUpstreamNotFound) IsClientError

func (o *RemoveServerGroupInUpstreamNotFound) IsClientError() bool

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

func (*RemoveServerGroupInUpstreamNotFound) IsCode

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

func (*RemoveServerGroupInUpstreamNotFound) IsRedirect

func (o *RemoveServerGroupInUpstreamNotFound) IsRedirect() bool

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

func (*RemoveServerGroupInUpstreamNotFound) IsServerError

func (o *RemoveServerGroupInUpstreamNotFound) IsServerError() bool

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

func (*RemoveServerGroupInUpstreamNotFound) IsSuccess

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

func (*RemoveServerGroupInUpstreamNotFound) String

type RemoveServerGroupInUpstreamParams

type RemoveServerGroupInUpstreamParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

RemoveServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the remove server group in upstream operation.

Typically these are written to a http.Request.

func NewRemoveServerGroupInUpstreamParams

func NewRemoveServerGroupInUpstreamParams() *RemoveServerGroupInUpstreamParams

NewRemoveServerGroupInUpstreamParams creates a new RemoveServerGroupInUpstreamParams 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 NewRemoveServerGroupInUpstreamParamsWithContext

func NewRemoveServerGroupInUpstreamParamsWithContext(ctx context.Context) *RemoveServerGroupInUpstreamParams

NewRemoveServerGroupInUpstreamParamsWithContext creates a new RemoveServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewRemoveServerGroupInUpstreamParamsWithHTTPClient

func NewRemoveServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *RemoveServerGroupInUpstreamParams

NewRemoveServerGroupInUpstreamParamsWithHTTPClient creates a new RemoveServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveServerGroupInUpstreamParamsWithTimeout

func NewRemoveServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *RemoveServerGroupInUpstreamParams

NewRemoveServerGroupInUpstreamParamsWithTimeout creates a new RemoveServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*RemoveServerGroupInUpstreamParams) SetContext

SetContext adds the context to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) SetDefaults

func (o *RemoveServerGroupInUpstreamParams) SetDefaults()

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

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

func (*RemoveServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) SetSg

SetSg adds the sg to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) SetUps

SetUps adds the ups to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WithContext

WithContext adds the context to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WithDefaults

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

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

func (*RemoveServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WithSg

WithSg adds the sg to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the remove server group in upstream params

func (*RemoveServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveServerGroupInUpstreamReader

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

RemoveServerGroupInUpstreamReader is a Reader for the RemoveServerGroupInUpstream structure.

func (*RemoveServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveServerGroupInternalServerError

type RemoveServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewRemoveServerGroupInternalServerError

func NewRemoveServerGroupInternalServerError() *RemoveServerGroupInternalServerError

NewRemoveServerGroupInternalServerError creates a RemoveServerGroupInternalServerError with default headers values

func (*RemoveServerGroupInternalServerError) Code

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

func (*RemoveServerGroupInternalServerError) Error

func (*RemoveServerGroupInternalServerError) GetPayload

func (*RemoveServerGroupInternalServerError) IsClientError

func (o *RemoveServerGroupInternalServerError) IsClientError() bool

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

func (*RemoveServerGroupInternalServerError) IsCode

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

func (*RemoveServerGroupInternalServerError) IsRedirect

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

func (*RemoveServerGroupInternalServerError) IsServerError

func (o *RemoveServerGroupInternalServerError) IsServerError() bool

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

func (*RemoveServerGroupInternalServerError) IsSuccess

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

func (*RemoveServerGroupInternalServerError) String

type RemoveServerGroupNoContent

type RemoveServerGroupNoContent struct {
}

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

ok

func NewRemoveServerGroupNoContent

func NewRemoveServerGroupNoContent() *RemoveServerGroupNoContent

NewRemoveServerGroupNoContent creates a RemoveServerGroupNoContent with default headers values

func (*RemoveServerGroupNoContent) Code

func (o *RemoveServerGroupNoContent) Code() int

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

func (*RemoveServerGroupNoContent) Error

func (*RemoveServerGroupNoContent) IsClientError

func (o *RemoveServerGroupNoContent) IsClientError() bool

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

func (*RemoveServerGroupNoContent) IsCode

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

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

func (*RemoveServerGroupNoContent) IsRedirect

func (o *RemoveServerGroupNoContent) IsRedirect() bool

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

func (*RemoveServerGroupNoContent) IsServerError

func (o *RemoveServerGroupNoContent) IsServerError() bool

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

func (*RemoveServerGroupNoContent) IsSuccess

func (o *RemoveServerGroupNoContent) IsSuccess() bool

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

func (*RemoveServerGroupNoContent) String

func (o *RemoveServerGroupNoContent) String() string

type RemoveServerGroupNotFound

type RemoveServerGroupNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewRemoveServerGroupNotFound

func NewRemoveServerGroupNotFound() *RemoveServerGroupNotFound

NewRemoveServerGroupNotFound creates a RemoveServerGroupNotFound with default headers values

func (*RemoveServerGroupNotFound) Code

func (o *RemoveServerGroupNotFound) Code() int

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

func (*RemoveServerGroupNotFound) Error

func (o *RemoveServerGroupNotFound) Error() string

func (*RemoveServerGroupNotFound) GetPayload

func (*RemoveServerGroupNotFound) IsClientError

func (o *RemoveServerGroupNotFound) IsClientError() bool

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

func (*RemoveServerGroupNotFound) IsCode

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

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

func (*RemoveServerGroupNotFound) IsRedirect

func (o *RemoveServerGroupNotFound) IsRedirect() bool

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

func (*RemoveServerGroupNotFound) IsServerError

func (o *RemoveServerGroupNotFound) IsServerError() bool

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

func (*RemoveServerGroupNotFound) IsSuccess

func (o *RemoveServerGroupNotFound) IsSuccess() bool

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

func (*RemoveServerGroupNotFound) String

func (o *RemoveServerGroupNotFound) String() string

type RemoveServerGroupParams

type RemoveServerGroupParams struct {

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

RemoveServerGroupParams contains all the parameters to send to the API endpoint

for the remove server group operation.

Typically these are written to a http.Request.

func NewRemoveServerGroupParams

func NewRemoveServerGroupParams() *RemoveServerGroupParams

NewRemoveServerGroupParams creates a new RemoveServerGroupParams 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 NewRemoveServerGroupParamsWithContext

func NewRemoveServerGroupParamsWithContext(ctx context.Context) *RemoveServerGroupParams

NewRemoveServerGroupParamsWithContext creates a new RemoveServerGroupParams object with the ability to set a context for a request.

func NewRemoveServerGroupParamsWithHTTPClient

func NewRemoveServerGroupParamsWithHTTPClient(client *http.Client) *RemoveServerGroupParams

NewRemoveServerGroupParamsWithHTTPClient creates a new RemoveServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveServerGroupParamsWithTimeout

func NewRemoveServerGroupParamsWithTimeout(timeout time.Duration) *RemoveServerGroupParams

NewRemoveServerGroupParamsWithTimeout creates a new RemoveServerGroupParams object with the ability to set a timeout on a request.

func (*RemoveServerGroupParams) SetContext

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

SetContext adds the context to the remove server group params

func (*RemoveServerGroupParams) SetDefaults

func (o *RemoveServerGroupParams) SetDefaults()

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

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

func (*RemoveServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove server group params

func (*RemoveServerGroupParams) SetSg

func (o *RemoveServerGroupParams) SetSg(sg string)

SetSg adds the sg to the remove server group params

func (*RemoveServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the remove server group params

func (*RemoveServerGroupParams) WithContext

WithContext adds the context to the remove server group params

func (*RemoveServerGroupParams) WithDefaults

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

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

func (*RemoveServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove server group params

func (*RemoveServerGroupParams) WithSg

WithSg adds the sg to the remove server group params

func (*RemoveServerGroupParams) WithTimeout

WithTimeout adds the timeout to the remove server group params

func (*RemoveServerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveServerGroupReader

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

RemoveServerGroupReader is a Reader for the RemoveServerGroup structure.

func (*RemoveServerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServerGroupBadRequest

type UpdateServerGroupBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewUpdateServerGroupBadRequest

func NewUpdateServerGroupBadRequest() *UpdateServerGroupBadRequest

NewUpdateServerGroupBadRequest creates a UpdateServerGroupBadRequest with default headers values

func (*UpdateServerGroupBadRequest) Code

func (o *UpdateServerGroupBadRequest) Code() int

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

func (*UpdateServerGroupBadRequest) Error

func (*UpdateServerGroupBadRequest) GetPayload

func (*UpdateServerGroupBadRequest) IsClientError

func (o *UpdateServerGroupBadRequest) IsClientError() bool

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

func (*UpdateServerGroupBadRequest) IsCode

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

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

func (*UpdateServerGroupBadRequest) IsRedirect

func (o *UpdateServerGroupBadRequest) IsRedirect() bool

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

func (*UpdateServerGroupBadRequest) IsServerError

func (o *UpdateServerGroupBadRequest) IsServerError() bool

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

func (*UpdateServerGroupBadRequest) IsSuccess

func (o *UpdateServerGroupBadRequest) IsSuccess() bool

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

func (*UpdateServerGroupBadRequest) String

func (o *UpdateServerGroupBadRequest) String() string

type UpdateServerGroupConflict

type UpdateServerGroupConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewUpdateServerGroupConflict

func NewUpdateServerGroupConflict() *UpdateServerGroupConflict

NewUpdateServerGroupConflict creates a UpdateServerGroupConflict with default headers values

func (*UpdateServerGroupConflict) Code

func (o *UpdateServerGroupConflict) Code() int

Code gets the status code for the update server group conflict response

func (*UpdateServerGroupConflict) Error

func (o *UpdateServerGroupConflict) Error() string

func (*UpdateServerGroupConflict) GetPayload

func (*UpdateServerGroupConflict) IsClientError

func (o *UpdateServerGroupConflict) IsClientError() bool

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

func (*UpdateServerGroupConflict) IsCode

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

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

func (*UpdateServerGroupConflict) IsRedirect

func (o *UpdateServerGroupConflict) IsRedirect() bool

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

func (*UpdateServerGroupConflict) IsServerError

func (o *UpdateServerGroupConflict) IsServerError() bool

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

func (*UpdateServerGroupConflict) IsSuccess

func (o *UpdateServerGroupConflict) IsSuccess() bool

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

func (*UpdateServerGroupConflict) String

func (o *UpdateServerGroupConflict) String() string

type UpdateServerGroupInUpstreamBadRequest

type UpdateServerGroupInUpstreamBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewUpdateServerGroupInUpstreamBadRequest

func NewUpdateServerGroupInUpstreamBadRequest() *UpdateServerGroupInUpstreamBadRequest

NewUpdateServerGroupInUpstreamBadRequest creates a UpdateServerGroupInUpstreamBadRequest with default headers values

func (*UpdateServerGroupInUpstreamBadRequest) Code

Code gets the status code for the update server group in upstream bad request response

func (*UpdateServerGroupInUpstreamBadRequest) Error

func (*UpdateServerGroupInUpstreamBadRequest) GetPayload

func (*UpdateServerGroupInUpstreamBadRequest) IsClientError

func (o *UpdateServerGroupInUpstreamBadRequest) IsClientError() bool

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

func (*UpdateServerGroupInUpstreamBadRequest) IsCode

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

func (*UpdateServerGroupInUpstreamBadRequest) IsRedirect

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

func (*UpdateServerGroupInUpstreamBadRequest) IsServerError

func (o *UpdateServerGroupInUpstreamBadRequest) IsServerError() bool

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

func (*UpdateServerGroupInUpstreamBadRequest) IsSuccess

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

func (*UpdateServerGroupInUpstreamBadRequest) String

type UpdateServerGroupInUpstreamConflict

type UpdateServerGroupInUpstreamConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewUpdateServerGroupInUpstreamConflict

func NewUpdateServerGroupInUpstreamConflict() *UpdateServerGroupInUpstreamConflict

NewUpdateServerGroupInUpstreamConflict creates a UpdateServerGroupInUpstreamConflict with default headers values

func (*UpdateServerGroupInUpstreamConflict) Code

Code gets the status code for the update server group in upstream conflict response

func (*UpdateServerGroupInUpstreamConflict) Error

func (*UpdateServerGroupInUpstreamConflict) GetPayload

func (*UpdateServerGroupInUpstreamConflict) IsClientError

func (o *UpdateServerGroupInUpstreamConflict) IsClientError() bool

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

func (*UpdateServerGroupInUpstreamConflict) IsCode

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

func (*UpdateServerGroupInUpstreamConflict) IsRedirect

func (o *UpdateServerGroupInUpstreamConflict) IsRedirect() bool

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

func (*UpdateServerGroupInUpstreamConflict) IsServerError

func (o *UpdateServerGroupInUpstreamConflict) IsServerError() bool

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

func (*UpdateServerGroupInUpstreamConflict) IsSuccess

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

func (*UpdateServerGroupInUpstreamConflict) String

type UpdateServerGroupInUpstreamInternalServerError

type UpdateServerGroupInUpstreamInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewUpdateServerGroupInUpstreamInternalServerError

func NewUpdateServerGroupInUpstreamInternalServerError() *UpdateServerGroupInUpstreamInternalServerError

NewUpdateServerGroupInUpstreamInternalServerError creates a UpdateServerGroupInUpstreamInternalServerError with default headers values

func (*UpdateServerGroupInUpstreamInternalServerError) Code

Code gets the status code for the update server group in upstream internal server error response

func (*UpdateServerGroupInUpstreamInternalServerError) Error

func (*UpdateServerGroupInUpstreamInternalServerError) GetPayload

func (*UpdateServerGroupInUpstreamInternalServerError) IsClientError

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

func (*UpdateServerGroupInUpstreamInternalServerError) IsCode

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

func (*UpdateServerGroupInUpstreamInternalServerError) IsRedirect

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

func (*UpdateServerGroupInUpstreamInternalServerError) IsServerError

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

func (*UpdateServerGroupInUpstreamInternalServerError) IsSuccess

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

func (*UpdateServerGroupInUpstreamInternalServerError) String

type UpdateServerGroupInUpstreamNoContent

type UpdateServerGroupInUpstreamNoContent struct {
}

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

ok

func NewUpdateServerGroupInUpstreamNoContent

func NewUpdateServerGroupInUpstreamNoContent() *UpdateServerGroupInUpstreamNoContent

NewUpdateServerGroupInUpstreamNoContent creates a UpdateServerGroupInUpstreamNoContent with default headers values

func (*UpdateServerGroupInUpstreamNoContent) Code

Code gets the status code for the update server group in upstream no content response

func (*UpdateServerGroupInUpstreamNoContent) Error

func (*UpdateServerGroupInUpstreamNoContent) IsClientError

func (o *UpdateServerGroupInUpstreamNoContent) IsClientError() bool

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

func (*UpdateServerGroupInUpstreamNoContent) IsCode

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

func (*UpdateServerGroupInUpstreamNoContent) IsRedirect

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

func (*UpdateServerGroupInUpstreamNoContent) IsServerError

func (o *UpdateServerGroupInUpstreamNoContent) IsServerError() bool

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

func (*UpdateServerGroupInUpstreamNoContent) IsSuccess

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

func (*UpdateServerGroupInUpstreamNoContent) String

type UpdateServerGroupInUpstreamNotFound

type UpdateServerGroupInUpstreamNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewUpdateServerGroupInUpstreamNotFound

func NewUpdateServerGroupInUpstreamNotFound() *UpdateServerGroupInUpstreamNotFound

NewUpdateServerGroupInUpstreamNotFound creates a UpdateServerGroupInUpstreamNotFound with default headers values

func (*UpdateServerGroupInUpstreamNotFound) Code

Code gets the status code for the update server group in upstream not found response

func (*UpdateServerGroupInUpstreamNotFound) Error

func (*UpdateServerGroupInUpstreamNotFound) GetPayload

func (*UpdateServerGroupInUpstreamNotFound) IsClientError

func (o *UpdateServerGroupInUpstreamNotFound) IsClientError() bool

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

func (*UpdateServerGroupInUpstreamNotFound) IsCode

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

func (*UpdateServerGroupInUpstreamNotFound) IsRedirect

func (o *UpdateServerGroupInUpstreamNotFound) IsRedirect() bool

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

func (*UpdateServerGroupInUpstreamNotFound) IsServerError

func (o *UpdateServerGroupInUpstreamNotFound) IsServerError() bool

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

func (*UpdateServerGroupInUpstreamNotFound) IsSuccess

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

func (*UpdateServerGroupInUpstreamNotFound) String

type UpdateServerGroupInUpstreamParams

type UpdateServerGroupInUpstreamParams struct {

	// Body.
	Body *vproxy_client_model.ServerGroupInUpstreamUpdate

	/* Sg.

	   name of the server-group
	*/
	Sg string

	/* Ups.

	   name of the upstream
	*/
	Ups string

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

UpdateServerGroupInUpstreamParams contains all the parameters to send to the API endpoint

for the update server group in upstream operation.

Typically these are written to a http.Request.

func NewUpdateServerGroupInUpstreamParams

func NewUpdateServerGroupInUpstreamParams() *UpdateServerGroupInUpstreamParams

NewUpdateServerGroupInUpstreamParams creates a new UpdateServerGroupInUpstreamParams 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 NewUpdateServerGroupInUpstreamParamsWithContext

func NewUpdateServerGroupInUpstreamParamsWithContext(ctx context.Context) *UpdateServerGroupInUpstreamParams

NewUpdateServerGroupInUpstreamParamsWithContext creates a new UpdateServerGroupInUpstreamParams object with the ability to set a context for a request.

func NewUpdateServerGroupInUpstreamParamsWithHTTPClient

func NewUpdateServerGroupInUpstreamParamsWithHTTPClient(client *http.Client) *UpdateServerGroupInUpstreamParams

NewUpdateServerGroupInUpstreamParamsWithHTTPClient creates a new UpdateServerGroupInUpstreamParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServerGroupInUpstreamParamsWithTimeout

func NewUpdateServerGroupInUpstreamParamsWithTimeout(timeout time.Duration) *UpdateServerGroupInUpstreamParams

NewUpdateServerGroupInUpstreamParamsWithTimeout creates a new UpdateServerGroupInUpstreamParams object with the ability to set a timeout on a request.

func (*UpdateServerGroupInUpstreamParams) SetBody

SetBody adds the body to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) SetContext

SetContext adds the context to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) SetDefaults

func (o *UpdateServerGroupInUpstreamParams) SetDefaults()

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

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

func (*UpdateServerGroupInUpstreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) SetSg

SetSg adds the sg to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) SetTimeout

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

SetTimeout adds the timeout to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) SetUps

SetUps adds the ups to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithBody

WithBody adds the body to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithContext

WithContext adds the context to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithDefaults

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

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

func (*UpdateServerGroupInUpstreamParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithSg

WithSg adds the sg to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithTimeout

WithTimeout adds the timeout to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WithUps

WithUps adds the ups to the update server group in upstream params

func (*UpdateServerGroupInUpstreamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServerGroupInUpstreamReader

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

UpdateServerGroupInUpstreamReader is a Reader for the UpdateServerGroupInUpstream structure.

func (*UpdateServerGroupInUpstreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServerGroupInternalServerError

type UpdateServerGroupInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewUpdateServerGroupInternalServerError

func NewUpdateServerGroupInternalServerError() *UpdateServerGroupInternalServerError

NewUpdateServerGroupInternalServerError creates a UpdateServerGroupInternalServerError with default headers values

func (*UpdateServerGroupInternalServerError) Code

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

func (*UpdateServerGroupInternalServerError) Error

func (*UpdateServerGroupInternalServerError) GetPayload

func (*UpdateServerGroupInternalServerError) IsClientError

func (o *UpdateServerGroupInternalServerError) IsClientError() bool

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

func (*UpdateServerGroupInternalServerError) IsCode

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

func (*UpdateServerGroupInternalServerError) IsRedirect

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

func (*UpdateServerGroupInternalServerError) IsServerError

func (o *UpdateServerGroupInternalServerError) IsServerError() bool

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

func (*UpdateServerGroupInternalServerError) IsSuccess

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

func (*UpdateServerGroupInternalServerError) String

type UpdateServerGroupNoContent

type UpdateServerGroupNoContent struct {
}

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

ok

func NewUpdateServerGroupNoContent

func NewUpdateServerGroupNoContent() *UpdateServerGroupNoContent

NewUpdateServerGroupNoContent creates a UpdateServerGroupNoContent with default headers values

func (*UpdateServerGroupNoContent) Code

func (o *UpdateServerGroupNoContent) Code() int

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

func (*UpdateServerGroupNoContent) Error

func (*UpdateServerGroupNoContent) IsClientError

func (o *UpdateServerGroupNoContent) IsClientError() bool

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

func (*UpdateServerGroupNoContent) IsCode

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

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

func (*UpdateServerGroupNoContent) IsRedirect

func (o *UpdateServerGroupNoContent) IsRedirect() bool

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

func (*UpdateServerGroupNoContent) IsServerError

func (o *UpdateServerGroupNoContent) IsServerError() bool

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

func (*UpdateServerGroupNoContent) IsSuccess

func (o *UpdateServerGroupNoContent) IsSuccess() bool

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

func (*UpdateServerGroupNoContent) String

func (o *UpdateServerGroupNoContent) String() string

type UpdateServerGroupNotFound

type UpdateServerGroupNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewUpdateServerGroupNotFound

func NewUpdateServerGroupNotFound() *UpdateServerGroupNotFound

NewUpdateServerGroupNotFound creates a UpdateServerGroupNotFound with default headers values

func (*UpdateServerGroupNotFound) Code

func (o *UpdateServerGroupNotFound) Code() int

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

func (*UpdateServerGroupNotFound) Error

func (o *UpdateServerGroupNotFound) Error() string

func (*UpdateServerGroupNotFound) GetPayload

func (*UpdateServerGroupNotFound) IsClientError

func (o *UpdateServerGroupNotFound) IsClientError() bool

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

func (*UpdateServerGroupNotFound) IsCode

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

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

func (*UpdateServerGroupNotFound) IsRedirect

func (o *UpdateServerGroupNotFound) IsRedirect() bool

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

func (*UpdateServerGroupNotFound) IsServerError

func (o *UpdateServerGroupNotFound) IsServerError() bool

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

func (*UpdateServerGroupNotFound) IsSuccess

func (o *UpdateServerGroupNotFound) IsSuccess() bool

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

func (*UpdateServerGroupNotFound) String

func (o *UpdateServerGroupNotFound) String() string

type UpdateServerGroupParams

type UpdateServerGroupParams struct {

	// Body.
	Body *vproxy_client_model.ServerGroupUpdate

	/* Sg.

	   name of the server-group
	*/
	Sg string

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

UpdateServerGroupParams contains all the parameters to send to the API endpoint

for the update server group operation.

Typically these are written to a http.Request.

func NewUpdateServerGroupParams

func NewUpdateServerGroupParams() *UpdateServerGroupParams

NewUpdateServerGroupParams creates a new UpdateServerGroupParams 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 NewUpdateServerGroupParamsWithContext

func NewUpdateServerGroupParamsWithContext(ctx context.Context) *UpdateServerGroupParams

NewUpdateServerGroupParamsWithContext creates a new UpdateServerGroupParams object with the ability to set a context for a request.

func NewUpdateServerGroupParamsWithHTTPClient

func NewUpdateServerGroupParamsWithHTTPClient(client *http.Client) *UpdateServerGroupParams

NewUpdateServerGroupParamsWithHTTPClient creates a new UpdateServerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServerGroupParamsWithTimeout

func NewUpdateServerGroupParamsWithTimeout(timeout time.Duration) *UpdateServerGroupParams

NewUpdateServerGroupParamsWithTimeout creates a new UpdateServerGroupParams object with the ability to set a timeout on a request.

func (*UpdateServerGroupParams) SetBody

SetBody adds the body to the update server group params

func (*UpdateServerGroupParams) SetContext

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

SetContext adds the context to the update server group params

func (*UpdateServerGroupParams) SetDefaults

func (o *UpdateServerGroupParams) SetDefaults()

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

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

func (*UpdateServerGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update server group params

func (*UpdateServerGroupParams) SetSg

func (o *UpdateServerGroupParams) SetSg(sg string)

SetSg adds the sg to the update server group params

func (*UpdateServerGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update server group params

func (*UpdateServerGroupParams) WithBody

WithBody adds the body to the update server group params

func (*UpdateServerGroupParams) WithContext

WithContext adds the context to the update server group params

func (*UpdateServerGroupParams) WithDefaults

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

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

func (*UpdateServerGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update server group params

func (*UpdateServerGroupParams) WithSg

WithSg adds the sg to the update server group params

func (*UpdateServerGroupParams) WithTimeout

WithTimeout adds the timeout to the update server group params

func (*UpdateServerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServerGroupReader

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

UpdateServerGroupReader is a Reader for the UpdateServerGroup structure.

func (*UpdateServerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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