Documentation ¶
Index ¶
- type AddUpstreamBadRequest
- func (o *AddUpstreamBadRequest) Code() int
- func (o *AddUpstreamBadRequest) Error() string
- func (o *AddUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *AddUpstreamBadRequest) IsClientError() bool
- func (o *AddUpstreamBadRequest) IsCode(code int) bool
- func (o *AddUpstreamBadRequest) IsRedirect() bool
- func (o *AddUpstreamBadRequest) IsServerError() bool
- func (o *AddUpstreamBadRequest) IsSuccess() bool
- func (o *AddUpstreamBadRequest) String() string
- type AddUpstreamConflict
- func (o *AddUpstreamConflict) Code() int
- func (o *AddUpstreamConflict) Error() string
- func (o *AddUpstreamConflict) GetPayload() *vproxy_client_model.Error409
- func (o *AddUpstreamConflict) IsClientError() bool
- func (o *AddUpstreamConflict) IsCode(code int) bool
- func (o *AddUpstreamConflict) IsRedirect() bool
- func (o *AddUpstreamConflict) IsServerError() bool
- func (o *AddUpstreamConflict) IsSuccess() bool
- func (o *AddUpstreamConflict) String() string
- type AddUpstreamInternalServerError
- func (o *AddUpstreamInternalServerError) Code() int
- func (o *AddUpstreamInternalServerError) Error() string
- func (o *AddUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *AddUpstreamInternalServerError) IsClientError() bool
- func (o *AddUpstreamInternalServerError) IsCode(code int) bool
- func (o *AddUpstreamInternalServerError) IsRedirect() bool
- func (o *AddUpstreamInternalServerError) IsServerError() bool
- func (o *AddUpstreamInternalServerError) IsSuccess() bool
- func (o *AddUpstreamInternalServerError) String() string
- type AddUpstreamNoContent
- func (o *AddUpstreamNoContent) Code() int
- func (o *AddUpstreamNoContent) Error() string
- func (o *AddUpstreamNoContent) IsClientError() bool
- func (o *AddUpstreamNoContent) IsCode(code int) bool
- func (o *AddUpstreamNoContent) IsRedirect() bool
- func (o *AddUpstreamNoContent) IsServerError() bool
- func (o *AddUpstreamNoContent) IsSuccess() bool
- func (o *AddUpstreamNoContent) String() string
- type AddUpstreamNotFound
- func (o *AddUpstreamNotFound) Code() int
- func (o *AddUpstreamNotFound) Error() string
- func (o *AddUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *AddUpstreamNotFound) IsClientError() bool
- func (o *AddUpstreamNotFound) IsCode(code int) bool
- func (o *AddUpstreamNotFound) IsRedirect() bool
- func (o *AddUpstreamNotFound) IsServerError() bool
- func (o *AddUpstreamNotFound) IsSuccess() bool
- func (o *AddUpstreamNotFound) String() string
- type AddUpstreamParams
- func (o *AddUpstreamParams) SetBody(body *vproxy_client_model.UpstreamCreate)
- func (o *AddUpstreamParams) SetContext(ctx context.Context)
- func (o *AddUpstreamParams) SetDefaults()
- func (o *AddUpstreamParams) SetHTTPClient(client *http.Client)
- func (o *AddUpstreamParams) SetTimeout(timeout time.Duration)
- func (o *AddUpstreamParams) WithBody(body *vproxy_client_model.UpstreamCreate) *AddUpstreamParams
- func (o *AddUpstreamParams) WithContext(ctx context.Context) *AddUpstreamParams
- func (o *AddUpstreamParams) WithDefaults() *AddUpstreamParams
- func (o *AddUpstreamParams) WithHTTPClient(client *http.Client) *AddUpstreamParams
- func (o *AddUpstreamParams) WithTimeout(timeout time.Duration) *AddUpstreamParams
- func (o *AddUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddUpstreamReader
- type Client
- func (a *Client) AddUpstream(params *AddUpstreamParams, opts ...ClientOption) (*AddUpstreamNoContent, error)
- func (a *Client) DescribeUpstream(params *DescribeUpstreamParams, opts ...ClientOption) (*DescribeUpstreamOK, error)
- func (a *Client) GetUpstream(params *GetUpstreamParams, opts ...ClientOption) (*GetUpstreamOK, error)
- func (a *Client) ListUpstream(params *ListUpstreamParams, opts ...ClientOption) (*ListUpstreamOK, error)
- func (a *Client) RemoveUpstream(params *RemoveUpstreamParams, opts ...ClientOption) (*RemoveUpstreamNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DescribeUpstreamBadRequest
- func (o *DescribeUpstreamBadRequest) Code() int
- func (o *DescribeUpstreamBadRequest) Error() string
- func (o *DescribeUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *DescribeUpstreamBadRequest) IsClientError() bool
- func (o *DescribeUpstreamBadRequest) IsCode(code int) bool
- func (o *DescribeUpstreamBadRequest) IsRedirect() bool
- func (o *DescribeUpstreamBadRequest) IsServerError() bool
- func (o *DescribeUpstreamBadRequest) IsSuccess() bool
- func (o *DescribeUpstreamBadRequest) String() string
- type DescribeUpstreamConflict
- func (o *DescribeUpstreamConflict) Code() int
- func (o *DescribeUpstreamConflict) Error() string
- func (o *DescribeUpstreamConflict) GetPayload() *vproxy_client_model.Error409
- func (o *DescribeUpstreamConflict) IsClientError() bool
- func (o *DescribeUpstreamConflict) IsCode(code int) bool
- func (o *DescribeUpstreamConflict) IsRedirect() bool
- func (o *DescribeUpstreamConflict) IsServerError() bool
- func (o *DescribeUpstreamConflict) IsSuccess() bool
- func (o *DescribeUpstreamConflict) String() string
- type DescribeUpstreamInternalServerError
- func (o *DescribeUpstreamInternalServerError) Code() int
- func (o *DescribeUpstreamInternalServerError) Error() string
- func (o *DescribeUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *DescribeUpstreamInternalServerError) IsClientError() bool
- func (o *DescribeUpstreamInternalServerError) IsCode(code int) bool
- func (o *DescribeUpstreamInternalServerError) IsRedirect() bool
- func (o *DescribeUpstreamInternalServerError) IsServerError() bool
- func (o *DescribeUpstreamInternalServerError) IsSuccess() bool
- func (o *DescribeUpstreamInternalServerError) String() string
- type DescribeUpstreamNotFound
- func (o *DescribeUpstreamNotFound) Code() int
- func (o *DescribeUpstreamNotFound) Error() string
- func (o *DescribeUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *DescribeUpstreamNotFound) IsClientError() bool
- func (o *DescribeUpstreamNotFound) IsCode(code int) bool
- func (o *DescribeUpstreamNotFound) IsRedirect() bool
- func (o *DescribeUpstreamNotFound) IsServerError() bool
- func (o *DescribeUpstreamNotFound) IsSuccess() bool
- func (o *DescribeUpstreamNotFound) String() string
- type DescribeUpstreamOK
- func (o *DescribeUpstreamOK) Code() int
- func (o *DescribeUpstreamOK) Error() string
- func (o *DescribeUpstreamOK) GetPayload() *vproxy_client_model.UpstreamDetail
- func (o *DescribeUpstreamOK) IsClientError() bool
- func (o *DescribeUpstreamOK) IsCode(code int) bool
- func (o *DescribeUpstreamOK) IsRedirect() bool
- func (o *DescribeUpstreamOK) IsServerError() bool
- func (o *DescribeUpstreamOK) IsSuccess() bool
- func (o *DescribeUpstreamOK) String() string
- type DescribeUpstreamParams
- func NewDescribeUpstreamParams() *DescribeUpstreamParams
- func NewDescribeUpstreamParamsWithContext(ctx context.Context) *DescribeUpstreamParams
- func NewDescribeUpstreamParamsWithHTTPClient(client *http.Client) *DescribeUpstreamParams
- func NewDescribeUpstreamParamsWithTimeout(timeout time.Duration) *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) SetContext(ctx context.Context)
- func (o *DescribeUpstreamParams) SetDefaults()
- func (o *DescribeUpstreamParams) SetHTTPClient(client *http.Client)
- func (o *DescribeUpstreamParams) SetTimeout(timeout time.Duration)
- func (o *DescribeUpstreamParams) SetUps(ups string)
- func (o *DescribeUpstreamParams) WithContext(ctx context.Context) *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) WithDefaults() *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) WithHTTPClient(client *http.Client) *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) WithTimeout(timeout time.Duration) *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) WithUps(ups string) *DescribeUpstreamParams
- func (o *DescribeUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeUpstreamReader
- type GetUpstreamBadRequest
- func (o *GetUpstreamBadRequest) Code() int
- func (o *GetUpstreamBadRequest) Error() string
- func (o *GetUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *GetUpstreamBadRequest) IsClientError() bool
- func (o *GetUpstreamBadRequest) IsCode(code int) bool
- func (o *GetUpstreamBadRequest) IsRedirect() bool
- func (o *GetUpstreamBadRequest) IsServerError() bool
- func (o *GetUpstreamBadRequest) IsSuccess() bool
- func (o *GetUpstreamBadRequest) String() string
- type GetUpstreamConflict
- func (o *GetUpstreamConflict) Code() int
- func (o *GetUpstreamConflict) Error() string
- func (o *GetUpstreamConflict) GetPayload() *vproxy_client_model.Error409
- func (o *GetUpstreamConflict) IsClientError() bool
- func (o *GetUpstreamConflict) IsCode(code int) bool
- func (o *GetUpstreamConflict) IsRedirect() bool
- func (o *GetUpstreamConflict) IsServerError() bool
- func (o *GetUpstreamConflict) IsSuccess() bool
- func (o *GetUpstreamConflict) String() string
- type GetUpstreamInternalServerError
- func (o *GetUpstreamInternalServerError) Code() int
- func (o *GetUpstreamInternalServerError) Error() string
- func (o *GetUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *GetUpstreamInternalServerError) IsClientError() bool
- func (o *GetUpstreamInternalServerError) IsCode(code int) bool
- func (o *GetUpstreamInternalServerError) IsRedirect() bool
- func (o *GetUpstreamInternalServerError) IsServerError() bool
- func (o *GetUpstreamInternalServerError) IsSuccess() bool
- func (o *GetUpstreamInternalServerError) String() string
- type GetUpstreamNotFound
- func (o *GetUpstreamNotFound) Code() int
- func (o *GetUpstreamNotFound) Error() string
- func (o *GetUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *GetUpstreamNotFound) IsClientError() bool
- func (o *GetUpstreamNotFound) IsCode(code int) bool
- func (o *GetUpstreamNotFound) IsRedirect() bool
- func (o *GetUpstreamNotFound) IsServerError() bool
- func (o *GetUpstreamNotFound) IsSuccess() bool
- func (o *GetUpstreamNotFound) String() string
- type GetUpstreamOK
- func (o *GetUpstreamOK) Code() int
- func (o *GetUpstreamOK) Error() string
- func (o *GetUpstreamOK) GetPayload() *vproxy_client_model.Upstream
- func (o *GetUpstreamOK) IsClientError() bool
- func (o *GetUpstreamOK) IsCode(code int) bool
- func (o *GetUpstreamOK) IsRedirect() bool
- func (o *GetUpstreamOK) IsServerError() bool
- func (o *GetUpstreamOK) IsSuccess() bool
- func (o *GetUpstreamOK) String() string
- type GetUpstreamParams
- func (o *GetUpstreamParams) SetContext(ctx context.Context)
- func (o *GetUpstreamParams) SetDefaults()
- func (o *GetUpstreamParams) SetHTTPClient(client *http.Client)
- func (o *GetUpstreamParams) SetTimeout(timeout time.Duration)
- func (o *GetUpstreamParams) SetUps(ups string)
- func (o *GetUpstreamParams) WithContext(ctx context.Context) *GetUpstreamParams
- func (o *GetUpstreamParams) WithDefaults() *GetUpstreamParams
- func (o *GetUpstreamParams) WithHTTPClient(client *http.Client) *GetUpstreamParams
- func (o *GetUpstreamParams) WithTimeout(timeout time.Duration) *GetUpstreamParams
- func (o *GetUpstreamParams) WithUps(ups string) *GetUpstreamParams
- func (o *GetUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUpstreamReader
- type ListUpstreamBadRequest
- func (o *ListUpstreamBadRequest) Code() int
- func (o *ListUpstreamBadRequest) Error() string
- func (o *ListUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *ListUpstreamBadRequest) IsClientError() bool
- func (o *ListUpstreamBadRequest) IsCode(code int) bool
- func (o *ListUpstreamBadRequest) IsRedirect() bool
- func (o *ListUpstreamBadRequest) IsServerError() bool
- func (o *ListUpstreamBadRequest) IsSuccess() bool
- func (o *ListUpstreamBadRequest) String() string
- type ListUpstreamConflict
- func (o *ListUpstreamConflict) Code() int
- func (o *ListUpstreamConflict) Error() string
- func (o *ListUpstreamConflict) GetPayload() *vproxy_client_model.Error409
- func (o *ListUpstreamConflict) IsClientError() bool
- func (o *ListUpstreamConflict) IsCode(code int) bool
- func (o *ListUpstreamConflict) IsRedirect() bool
- func (o *ListUpstreamConflict) IsServerError() bool
- func (o *ListUpstreamConflict) IsSuccess() bool
- func (o *ListUpstreamConflict) String() string
- type ListUpstreamInternalServerError
- func (o *ListUpstreamInternalServerError) Code() int
- func (o *ListUpstreamInternalServerError) Error() string
- func (o *ListUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *ListUpstreamInternalServerError) IsClientError() bool
- func (o *ListUpstreamInternalServerError) IsCode(code int) bool
- func (o *ListUpstreamInternalServerError) IsRedirect() bool
- func (o *ListUpstreamInternalServerError) IsServerError() bool
- func (o *ListUpstreamInternalServerError) IsSuccess() bool
- func (o *ListUpstreamInternalServerError) String() string
- type ListUpstreamOK
- func (o *ListUpstreamOK) Code() int
- func (o *ListUpstreamOK) Error() string
- func (o *ListUpstreamOK) GetPayload() []*vproxy_client_model.Upstream
- func (o *ListUpstreamOK) IsClientError() bool
- func (o *ListUpstreamOK) IsCode(code int) bool
- func (o *ListUpstreamOK) IsRedirect() bool
- func (o *ListUpstreamOK) IsServerError() bool
- func (o *ListUpstreamOK) IsSuccess() bool
- func (o *ListUpstreamOK) String() string
- type ListUpstreamParams
- func (o *ListUpstreamParams) SetContext(ctx context.Context)
- func (o *ListUpstreamParams) SetDefaults()
- func (o *ListUpstreamParams) SetHTTPClient(client *http.Client)
- func (o *ListUpstreamParams) SetTimeout(timeout time.Duration)
- func (o *ListUpstreamParams) WithContext(ctx context.Context) *ListUpstreamParams
- func (o *ListUpstreamParams) WithDefaults() *ListUpstreamParams
- func (o *ListUpstreamParams) WithHTTPClient(client *http.Client) *ListUpstreamParams
- func (o *ListUpstreamParams) WithTimeout(timeout time.Duration) *ListUpstreamParams
- func (o *ListUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUpstreamReader
- type RemoveUpstreamBadRequest
- func (o *RemoveUpstreamBadRequest) Code() int
- func (o *RemoveUpstreamBadRequest) Error() string
- func (o *RemoveUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *RemoveUpstreamBadRequest) IsClientError() bool
- func (o *RemoveUpstreamBadRequest) IsCode(code int) bool
- func (o *RemoveUpstreamBadRequest) IsRedirect() bool
- func (o *RemoveUpstreamBadRequest) IsServerError() bool
- func (o *RemoveUpstreamBadRequest) IsSuccess() bool
- func (o *RemoveUpstreamBadRequest) String() string
- type RemoveUpstreamConflict
- func (o *RemoveUpstreamConflict) Code() int
- func (o *RemoveUpstreamConflict) Error() string
- func (o *RemoveUpstreamConflict) GetPayload() *vproxy_client_model.Error409
- func (o *RemoveUpstreamConflict) IsClientError() bool
- func (o *RemoveUpstreamConflict) IsCode(code int) bool
- func (o *RemoveUpstreamConflict) IsRedirect() bool
- func (o *RemoveUpstreamConflict) IsServerError() bool
- func (o *RemoveUpstreamConflict) IsSuccess() bool
- func (o *RemoveUpstreamConflict) String() string
- type RemoveUpstreamInternalServerError
- func (o *RemoveUpstreamInternalServerError) Code() int
- func (o *RemoveUpstreamInternalServerError) Error() string
- func (o *RemoveUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *RemoveUpstreamInternalServerError) IsClientError() bool
- func (o *RemoveUpstreamInternalServerError) IsCode(code int) bool
- func (o *RemoveUpstreamInternalServerError) IsRedirect() bool
- func (o *RemoveUpstreamInternalServerError) IsServerError() bool
- func (o *RemoveUpstreamInternalServerError) IsSuccess() bool
- func (o *RemoveUpstreamInternalServerError) String() string
- type RemoveUpstreamNoContent
- func (o *RemoveUpstreamNoContent) Code() int
- func (o *RemoveUpstreamNoContent) Error() string
- func (o *RemoveUpstreamNoContent) IsClientError() bool
- func (o *RemoveUpstreamNoContent) IsCode(code int) bool
- func (o *RemoveUpstreamNoContent) IsRedirect() bool
- func (o *RemoveUpstreamNoContent) IsServerError() bool
- func (o *RemoveUpstreamNoContent) IsSuccess() bool
- func (o *RemoveUpstreamNoContent) String() string
- type RemoveUpstreamNotFound
- func (o *RemoveUpstreamNotFound) Code() int
- func (o *RemoveUpstreamNotFound) Error() string
- func (o *RemoveUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *RemoveUpstreamNotFound) IsClientError() bool
- func (o *RemoveUpstreamNotFound) IsCode(code int) bool
- func (o *RemoveUpstreamNotFound) IsRedirect() bool
- func (o *RemoveUpstreamNotFound) IsServerError() bool
- func (o *RemoveUpstreamNotFound) IsSuccess() bool
- func (o *RemoveUpstreamNotFound) String() string
- type RemoveUpstreamParams
- func NewRemoveUpstreamParams() *RemoveUpstreamParams
- func NewRemoveUpstreamParamsWithContext(ctx context.Context) *RemoveUpstreamParams
- func NewRemoveUpstreamParamsWithHTTPClient(client *http.Client) *RemoveUpstreamParams
- func NewRemoveUpstreamParamsWithTimeout(timeout time.Duration) *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) SetContext(ctx context.Context)
- func (o *RemoveUpstreamParams) SetDefaults()
- func (o *RemoveUpstreamParams) SetHTTPClient(client *http.Client)
- func (o *RemoveUpstreamParams) SetTimeout(timeout time.Duration)
- func (o *RemoveUpstreamParams) SetUps(ups string)
- func (o *RemoveUpstreamParams) WithContext(ctx context.Context) *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) WithDefaults() *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) WithHTTPClient(client *http.Client) *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) WithTimeout(timeout time.Duration) *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) WithUps(ups string) *RemoveUpstreamParams
- func (o *RemoveUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveUpstreamReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUpstreamBadRequest ¶
type AddUpstreamBadRequest struct {
Payload *vproxy_client_model.Error400
}
AddUpstreamBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewAddUpstreamBadRequest ¶
func NewAddUpstreamBadRequest() *AddUpstreamBadRequest
NewAddUpstreamBadRequest creates a AddUpstreamBadRequest with default headers values
func (*AddUpstreamBadRequest) Code ¶
func (o *AddUpstreamBadRequest) Code() int
Code gets the status code for the add upstream bad request response
func (*AddUpstreamBadRequest) Error ¶
func (o *AddUpstreamBadRequest) Error() string
func (*AddUpstreamBadRequest) GetPayload ¶
func (o *AddUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
func (*AddUpstreamBadRequest) IsClientError ¶
func (o *AddUpstreamBadRequest) IsClientError() bool
IsClientError returns true when this add upstream bad request response has a 4xx status code
func (*AddUpstreamBadRequest) IsCode ¶
func (o *AddUpstreamBadRequest) IsCode(code int) bool
IsCode returns true when this add upstream bad request response a status code equal to that given
func (*AddUpstreamBadRequest) IsRedirect ¶
func (o *AddUpstreamBadRequest) IsRedirect() bool
IsRedirect returns true when this add upstream bad request response has a 3xx status code
func (*AddUpstreamBadRequest) IsServerError ¶
func (o *AddUpstreamBadRequest) IsServerError() bool
IsServerError returns true when this add upstream bad request response has a 5xx status code
func (*AddUpstreamBadRequest) IsSuccess ¶
func (o *AddUpstreamBadRequest) IsSuccess() bool
IsSuccess returns true when this add upstream bad request response has a 2xx status code
func (*AddUpstreamBadRequest) String ¶
func (o *AddUpstreamBadRequest) String() string
type AddUpstreamConflict ¶
type AddUpstreamConflict struct {
Payload *vproxy_client_model.Error409
}
AddUpstreamConflict describes a response with status code 409, with default header values.
conflict
func NewAddUpstreamConflict ¶
func NewAddUpstreamConflict() *AddUpstreamConflict
NewAddUpstreamConflict creates a AddUpstreamConflict with default headers values
func (*AddUpstreamConflict) Code ¶
func (o *AddUpstreamConflict) Code() int
Code gets the status code for the add upstream conflict response
func (*AddUpstreamConflict) Error ¶
func (o *AddUpstreamConflict) Error() string
func (*AddUpstreamConflict) GetPayload ¶
func (o *AddUpstreamConflict) GetPayload() *vproxy_client_model.Error409
func (*AddUpstreamConflict) IsClientError ¶
func (o *AddUpstreamConflict) IsClientError() bool
IsClientError returns true when this add upstream conflict response has a 4xx status code
func (*AddUpstreamConflict) IsCode ¶
func (o *AddUpstreamConflict) IsCode(code int) bool
IsCode returns true when this add upstream conflict response a status code equal to that given
func (*AddUpstreamConflict) IsRedirect ¶
func (o *AddUpstreamConflict) IsRedirect() bool
IsRedirect returns true when this add upstream conflict response has a 3xx status code
func (*AddUpstreamConflict) IsServerError ¶
func (o *AddUpstreamConflict) IsServerError() bool
IsServerError returns true when this add upstream conflict response has a 5xx status code
func (*AddUpstreamConflict) IsSuccess ¶
func (o *AddUpstreamConflict) IsSuccess() bool
IsSuccess returns true when this add upstream conflict response has a 2xx status code
func (*AddUpstreamConflict) String ¶
func (o *AddUpstreamConflict) String() string
type AddUpstreamInternalServerError ¶
type AddUpstreamInternalServerError struct {
Payload *vproxy_client_model.Error500
}
AddUpstreamInternalServerError describes a response with status code 500, with default header values.
internal error
func NewAddUpstreamInternalServerError ¶
func NewAddUpstreamInternalServerError() *AddUpstreamInternalServerError
NewAddUpstreamInternalServerError creates a AddUpstreamInternalServerError with default headers values
func (*AddUpstreamInternalServerError) Code ¶
func (o *AddUpstreamInternalServerError) Code() int
Code gets the status code for the add upstream internal server error response
func (*AddUpstreamInternalServerError) Error ¶
func (o *AddUpstreamInternalServerError) Error() string
func (*AddUpstreamInternalServerError) GetPayload ¶
func (o *AddUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*AddUpstreamInternalServerError) IsClientError ¶
func (o *AddUpstreamInternalServerError) IsClientError() bool
IsClientError returns true when this add upstream internal server error response has a 4xx status code
func (*AddUpstreamInternalServerError) IsCode ¶
func (o *AddUpstreamInternalServerError) IsCode(code int) bool
IsCode returns true when this add upstream internal server error response a status code equal to that given
func (*AddUpstreamInternalServerError) IsRedirect ¶
func (o *AddUpstreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this add upstream internal server error response has a 3xx status code
func (*AddUpstreamInternalServerError) IsServerError ¶
func (o *AddUpstreamInternalServerError) IsServerError() bool
IsServerError returns true when this add upstream internal server error response has a 5xx status code
func (*AddUpstreamInternalServerError) IsSuccess ¶
func (o *AddUpstreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this add upstream internal server error response has a 2xx status code
func (*AddUpstreamInternalServerError) String ¶
func (o *AddUpstreamInternalServerError) String() string
type AddUpstreamNoContent ¶
type AddUpstreamNoContent struct { }
AddUpstreamNoContent describes a response with status code 204, with default header values.
ok
func NewAddUpstreamNoContent ¶
func NewAddUpstreamNoContent() *AddUpstreamNoContent
NewAddUpstreamNoContent creates a AddUpstreamNoContent with default headers values
func (*AddUpstreamNoContent) Code ¶
func (o *AddUpstreamNoContent) Code() int
Code gets the status code for the add upstream no content response
func (*AddUpstreamNoContent) Error ¶
func (o *AddUpstreamNoContent) Error() string
func (*AddUpstreamNoContent) IsClientError ¶
func (o *AddUpstreamNoContent) IsClientError() bool
IsClientError returns true when this add upstream no content response has a 4xx status code
func (*AddUpstreamNoContent) IsCode ¶
func (o *AddUpstreamNoContent) IsCode(code int) bool
IsCode returns true when this add upstream no content response a status code equal to that given
func (*AddUpstreamNoContent) IsRedirect ¶
func (o *AddUpstreamNoContent) IsRedirect() bool
IsRedirect returns true when this add upstream no content response has a 3xx status code
func (*AddUpstreamNoContent) IsServerError ¶
func (o *AddUpstreamNoContent) IsServerError() bool
IsServerError returns true when this add upstream no content response has a 5xx status code
func (*AddUpstreamNoContent) IsSuccess ¶
func (o *AddUpstreamNoContent) IsSuccess() bool
IsSuccess returns true when this add upstream no content response has a 2xx status code
func (*AddUpstreamNoContent) String ¶
func (o *AddUpstreamNoContent) String() string
type AddUpstreamNotFound ¶
type AddUpstreamNotFound struct {
Payload *vproxy_client_model.Error404
}
AddUpstreamNotFound describes a response with status code 404, with default header values.
resource not found
func NewAddUpstreamNotFound ¶
func NewAddUpstreamNotFound() *AddUpstreamNotFound
NewAddUpstreamNotFound creates a AddUpstreamNotFound with default headers values
func (*AddUpstreamNotFound) Code ¶
func (o *AddUpstreamNotFound) Code() int
Code gets the status code for the add upstream not found response
func (*AddUpstreamNotFound) Error ¶
func (o *AddUpstreamNotFound) Error() string
func (*AddUpstreamNotFound) GetPayload ¶
func (o *AddUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
func (*AddUpstreamNotFound) IsClientError ¶
func (o *AddUpstreamNotFound) IsClientError() bool
IsClientError returns true when this add upstream not found response has a 4xx status code
func (*AddUpstreamNotFound) IsCode ¶
func (o *AddUpstreamNotFound) IsCode(code int) bool
IsCode returns true when this add upstream not found response a status code equal to that given
func (*AddUpstreamNotFound) IsRedirect ¶
func (o *AddUpstreamNotFound) IsRedirect() bool
IsRedirect returns true when this add upstream not found response has a 3xx status code
func (*AddUpstreamNotFound) IsServerError ¶
func (o *AddUpstreamNotFound) IsServerError() bool
IsServerError returns true when this add upstream not found response has a 5xx status code
func (*AddUpstreamNotFound) IsSuccess ¶
func (o *AddUpstreamNotFound) IsSuccess() bool
IsSuccess returns true when this add upstream not found response has a 2xx status code
func (*AddUpstreamNotFound) String ¶
func (o *AddUpstreamNotFound) String() string
type AddUpstreamParams ¶
type AddUpstreamParams struct { // Body. Body *vproxy_client_model.UpstreamCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddUpstreamParams contains all the parameters to send to the API endpoint
for the add upstream operation. Typically these are written to a http.Request.
func NewAddUpstreamParams ¶
func NewAddUpstreamParams() *AddUpstreamParams
NewAddUpstreamParams creates a new AddUpstreamParams 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 NewAddUpstreamParamsWithContext ¶
func NewAddUpstreamParamsWithContext(ctx context.Context) *AddUpstreamParams
NewAddUpstreamParamsWithContext creates a new AddUpstreamParams object with the ability to set a context for a request.
func NewAddUpstreamParamsWithHTTPClient ¶
func NewAddUpstreamParamsWithHTTPClient(client *http.Client) *AddUpstreamParams
NewAddUpstreamParamsWithHTTPClient creates a new AddUpstreamParams object with the ability to set a custom HTTPClient for a request.
func NewAddUpstreamParamsWithTimeout ¶
func NewAddUpstreamParamsWithTimeout(timeout time.Duration) *AddUpstreamParams
NewAddUpstreamParamsWithTimeout creates a new AddUpstreamParams object with the ability to set a timeout on a request.
func (*AddUpstreamParams) SetBody ¶
func (o *AddUpstreamParams) SetBody(body *vproxy_client_model.UpstreamCreate)
SetBody adds the body to the add upstream params
func (*AddUpstreamParams) SetContext ¶
func (o *AddUpstreamParams) SetContext(ctx context.Context)
SetContext adds the context to the add upstream params
func (*AddUpstreamParams) SetDefaults ¶
func (o *AddUpstreamParams) SetDefaults()
SetDefaults hydrates default values in the add upstream params (not the query body).
All values with no default are reset to their zero value.
func (*AddUpstreamParams) SetHTTPClient ¶
func (o *AddUpstreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add upstream params
func (*AddUpstreamParams) SetTimeout ¶
func (o *AddUpstreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add upstream params
func (*AddUpstreamParams) WithBody ¶
func (o *AddUpstreamParams) WithBody(body *vproxy_client_model.UpstreamCreate) *AddUpstreamParams
WithBody adds the body to the add upstream params
func (*AddUpstreamParams) WithContext ¶
func (o *AddUpstreamParams) WithContext(ctx context.Context) *AddUpstreamParams
WithContext adds the context to the add upstream params
func (*AddUpstreamParams) WithDefaults ¶
func (o *AddUpstreamParams) WithDefaults() *AddUpstreamParams
WithDefaults hydrates default values in the add upstream params (not the query body).
All values with no default are reset to their zero value.
func (*AddUpstreamParams) WithHTTPClient ¶
func (o *AddUpstreamParams) WithHTTPClient(client *http.Client) *AddUpstreamParams
WithHTTPClient adds the HTTPClient to the add upstream params
func (*AddUpstreamParams) WithTimeout ¶
func (o *AddUpstreamParams) WithTimeout(timeout time.Duration) *AddUpstreamParams
WithTimeout adds the timeout to the add upstream params
func (*AddUpstreamParams) WriteToRequest ¶
func (o *AddUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddUpstreamReader ¶
type AddUpstreamReader struct {
// contains filtered or unexported fields
}
AddUpstreamReader is a Reader for the AddUpstream structure.
func (*AddUpstreamReader) ReadResponse ¶
func (o *AddUpstreamReader) 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 upstream API
func (*Client) AddUpstream ¶
func (a *Client) AddUpstream(params *AddUpstreamParams, opts ...ClientOption) (*AddUpstreamNoContent, error)
AddUpstream adds upstream
func (*Client) DescribeUpstream ¶
func (a *Client) DescribeUpstream(params *DescribeUpstreamParams, opts ...ClientOption) (*DescribeUpstreamOK, error)
DescribeUpstream gets detailed info of one upstream
func (*Client) GetUpstream ¶
func (a *Client) GetUpstream(params *GetUpstreamParams, opts ...ClientOption) (*GetUpstreamOK, error)
GetUpstream gets upstream
func (*Client) ListUpstream ¶
func (a *Client) ListUpstream(params *ListUpstreamParams, opts ...ClientOption) (*ListUpstreamOK, error)
ListUpstream retrieves upstream list
func (*Client) RemoveUpstream ¶
func (a *Client) RemoveUpstream(params *RemoveUpstreamParams, opts ...ClientOption) (*RemoveUpstreamNoContent, error)
RemoveUpstream removes upstream
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddUpstream(params *AddUpstreamParams, opts ...ClientOption) (*AddUpstreamNoContent, error) DescribeUpstream(params *DescribeUpstreamParams, opts ...ClientOption) (*DescribeUpstreamOK, error) GetUpstream(params *GetUpstreamParams, opts ...ClientOption) (*GetUpstreamOK, error) ListUpstream(params *ListUpstreamParams, opts ...ClientOption) (*ListUpstreamOK, error) RemoveUpstream(params *RemoveUpstreamParams, opts ...ClientOption) (*RemoveUpstreamNoContent, 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 upstream API client.
type DescribeUpstreamBadRequest ¶
type DescribeUpstreamBadRequest struct {
Payload *vproxy_client_model.Error400
}
DescribeUpstreamBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewDescribeUpstreamBadRequest ¶
func NewDescribeUpstreamBadRequest() *DescribeUpstreamBadRequest
NewDescribeUpstreamBadRequest creates a DescribeUpstreamBadRequest with default headers values
func (*DescribeUpstreamBadRequest) Code ¶
func (o *DescribeUpstreamBadRequest) Code() int
Code gets the status code for the describe upstream bad request response
func (*DescribeUpstreamBadRequest) Error ¶
func (o *DescribeUpstreamBadRequest) Error() string
func (*DescribeUpstreamBadRequest) GetPayload ¶
func (o *DescribeUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
func (*DescribeUpstreamBadRequest) IsClientError ¶
func (o *DescribeUpstreamBadRequest) IsClientError() bool
IsClientError returns true when this describe upstream bad request response has a 4xx status code
func (*DescribeUpstreamBadRequest) IsCode ¶
func (o *DescribeUpstreamBadRequest) IsCode(code int) bool
IsCode returns true when this describe upstream bad request response a status code equal to that given
func (*DescribeUpstreamBadRequest) IsRedirect ¶
func (o *DescribeUpstreamBadRequest) IsRedirect() bool
IsRedirect returns true when this describe upstream bad request response has a 3xx status code
func (*DescribeUpstreamBadRequest) IsServerError ¶
func (o *DescribeUpstreamBadRequest) IsServerError() bool
IsServerError returns true when this describe upstream bad request response has a 5xx status code
func (*DescribeUpstreamBadRequest) IsSuccess ¶
func (o *DescribeUpstreamBadRequest) IsSuccess() bool
IsSuccess returns true when this describe upstream bad request response has a 2xx status code
func (*DescribeUpstreamBadRequest) String ¶
func (o *DescribeUpstreamBadRequest) String() string
type DescribeUpstreamConflict ¶
type DescribeUpstreamConflict struct {
Payload *vproxy_client_model.Error409
}
DescribeUpstreamConflict describes a response with status code 409, with default header values.
conflict
func NewDescribeUpstreamConflict ¶
func NewDescribeUpstreamConflict() *DescribeUpstreamConflict
NewDescribeUpstreamConflict creates a DescribeUpstreamConflict with default headers values
func (*DescribeUpstreamConflict) Code ¶
func (o *DescribeUpstreamConflict) Code() int
Code gets the status code for the describe upstream conflict response
func (*DescribeUpstreamConflict) Error ¶
func (o *DescribeUpstreamConflict) Error() string
func (*DescribeUpstreamConflict) GetPayload ¶
func (o *DescribeUpstreamConflict) GetPayload() *vproxy_client_model.Error409
func (*DescribeUpstreamConflict) IsClientError ¶
func (o *DescribeUpstreamConflict) IsClientError() bool
IsClientError returns true when this describe upstream conflict response has a 4xx status code
func (*DescribeUpstreamConflict) IsCode ¶
func (o *DescribeUpstreamConflict) IsCode(code int) bool
IsCode returns true when this describe upstream conflict response a status code equal to that given
func (*DescribeUpstreamConflict) IsRedirect ¶
func (o *DescribeUpstreamConflict) IsRedirect() bool
IsRedirect returns true when this describe upstream conflict response has a 3xx status code
func (*DescribeUpstreamConflict) IsServerError ¶
func (o *DescribeUpstreamConflict) IsServerError() bool
IsServerError returns true when this describe upstream conflict response has a 5xx status code
func (*DescribeUpstreamConflict) IsSuccess ¶
func (o *DescribeUpstreamConflict) IsSuccess() bool
IsSuccess returns true when this describe upstream conflict response has a 2xx status code
func (*DescribeUpstreamConflict) String ¶
func (o *DescribeUpstreamConflict) String() string
type DescribeUpstreamInternalServerError ¶
type DescribeUpstreamInternalServerError struct {
Payload *vproxy_client_model.Error500
}
DescribeUpstreamInternalServerError describes a response with status code 500, with default header values.
internal error
func NewDescribeUpstreamInternalServerError ¶
func NewDescribeUpstreamInternalServerError() *DescribeUpstreamInternalServerError
NewDescribeUpstreamInternalServerError creates a DescribeUpstreamInternalServerError with default headers values
func (*DescribeUpstreamInternalServerError) Code ¶
func (o *DescribeUpstreamInternalServerError) Code() int
Code gets the status code for the describe upstream internal server error response
func (*DescribeUpstreamInternalServerError) Error ¶
func (o *DescribeUpstreamInternalServerError) Error() string
func (*DescribeUpstreamInternalServerError) GetPayload ¶
func (o *DescribeUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*DescribeUpstreamInternalServerError) IsClientError ¶
func (o *DescribeUpstreamInternalServerError) IsClientError() bool
IsClientError returns true when this describe upstream internal server error response has a 4xx status code
func (*DescribeUpstreamInternalServerError) IsCode ¶
func (o *DescribeUpstreamInternalServerError) IsCode(code int) bool
IsCode returns true when this describe upstream internal server error response a status code equal to that given
func (*DescribeUpstreamInternalServerError) IsRedirect ¶
func (o *DescribeUpstreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this describe upstream internal server error response has a 3xx status code
func (*DescribeUpstreamInternalServerError) IsServerError ¶
func (o *DescribeUpstreamInternalServerError) IsServerError() bool
IsServerError returns true when this describe upstream internal server error response has a 5xx status code
func (*DescribeUpstreamInternalServerError) IsSuccess ¶
func (o *DescribeUpstreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this describe upstream internal server error response has a 2xx status code
func (*DescribeUpstreamInternalServerError) String ¶
func (o *DescribeUpstreamInternalServerError) String() string
type DescribeUpstreamNotFound ¶
type DescribeUpstreamNotFound struct {
Payload *vproxy_client_model.Error404
}
DescribeUpstreamNotFound describes a response with status code 404, with default header values.
resource not found
func NewDescribeUpstreamNotFound ¶
func NewDescribeUpstreamNotFound() *DescribeUpstreamNotFound
NewDescribeUpstreamNotFound creates a DescribeUpstreamNotFound with default headers values
func (*DescribeUpstreamNotFound) Code ¶
func (o *DescribeUpstreamNotFound) Code() int
Code gets the status code for the describe upstream not found response
func (*DescribeUpstreamNotFound) Error ¶
func (o *DescribeUpstreamNotFound) Error() string
func (*DescribeUpstreamNotFound) GetPayload ¶
func (o *DescribeUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
func (*DescribeUpstreamNotFound) IsClientError ¶
func (o *DescribeUpstreamNotFound) IsClientError() bool
IsClientError returns true when this describe upstream not found response has a 4xx status code
func (*DescribeUpstreamNotFound) IsCode ¶
func (o *DescribeUpstreamNotFound) IsCode(code int) bool
IsCode returns true when this describe upstream not found response a status code equal to that given
func (*DescribeUpstreamNotFound) IsRedirect ¶
func (o *DescribeUpstreamNotFound) IsRedirect() bool
IsRedirect returns true when this describe upstream not found response has a 3xx status code
func (*DescribeUpstreamNotFound) IsServerError ¶
func (o *DescribeUpstreamNotFound) IsServerError() bool
IsServerError returns true when this describe upstream not found response has a 5xx status code
func (*DescribeUpstreamNotFound) IsSuccess ¶
func (o *DescribeUpstreamNotFound) IsSuccess() bool
IsSuccess returns true when this describe upstream not found response has a 2xx status code
func (*DescribeUpstreamNotFound) String ¶
func (o *DescribeUpstreamNotFound) String() string
type DescribeUpstreamOK ¶
type DescribeUpstreamOK struct {
Payload *vproxy_client_model.UpstreamDetail
}
DescribeUpstreamOK describes a response with status code 200, with default header values.
ok
func NewDescribeUpstreamOK ¶
func NewDescribeUpstreamOK() *DescribeUpstreamOK
NewDescribeUpstreamOK creates a DescribeUpstreamOK with default headers values
func (*DescribeUpstreamOK) Code ¶
func (o *DescribeUpstreamOK) Code() int
Code gets the status code for the describe upstream o k response
func (*DescribeUpstreamOK) Error ¶
func (o *DescribeUpstreamOK) Error() string
func (*DescribeUpstreamOK) GetPayload ¶
func (o *DescribeUpstreamOK) GetPayload() *vproxy_client_model.UpstreamDetail
func (*DescribeUpstreamOK) IsClientError ¶
func (o *DescribeUpstreamOK) IsClientError() bool
IsClientError returns true when this describe upstream o k response has a 4xx status code
func (*DescribeUpstreamOK) IsCode ¶
func (o *DescribeUpstreamOK) IsCode(code int) bool
IsCode returns true when this describe upstream o k response a status code equal to that given
func (*DescribeUpstreamOK) IsRedirect ¶
func (o *DescribeUpstreamOK) IsRedirect() bool
IsRedirect returns true when this describe upstream o k response has a 3xx status code
func (*DescribeUpstreamOK) IsServerError ¶
func (o *DescribeUpstreamOK) IsServerError() bool
IsServerError returns true when this describe upstream o k response has a 5xx status code
func (*DescribeUpstreamOK) IsSuccess ¶
func (o *DescribeUpstreamOK) IsSuccess() bool
IsSuccess returns true when this describe upstream o k response has a 2xx status code
func (*DescribeUpstreamOK) String ¶
func (o *DescribeUpstreamOK) String() string
type DescribeUpstreamParams ¶
type DescribeUpstreamParams struct { /* Ups. name of the upstream */ Ups string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeUpstreamParams contains all the parameters to send to the API endpoint
for the describe upstream operation. Typically these are written to a http.Request.
func NewDescribeUpstreamParams ¶
func NewDescribeUpstreamParams() *DescribeUpstreamParams
NewDescribeUpstreamParams creates a new DescribeUpstreamParams 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 NewDescribeUpstreamParamsWithContext ¶
func NewDescribeUpstreamParamsWithContext(ctx context.Context) *DescribeUpstreamParams
NewDescribeUpstreamParamsWithContext creates a new DescribeUpstreamParams object with the ability to set a context for a request.
func NewDescribeUpstreamParamsWithHTTPClient ¶
func NewDescribeUpstreamParamsWithHTTPClient(client *http.Client) *DescribeUpstreamParams
NewDescribeUpstreamParamsWithHTTPClient creates a new DescribeUpstreamParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeUpstreamParamsWithTimeout ¶
func NewDescribeUpstreamParamsWithTimeout(timeout time.Duration) *DescribeUpstreamParams
NewDescribeUpstreamParamsWithTimeout creates a new DescribeUpstreamParams object with the ability to set a timeout on a request.
func (*DescribeUpstreamParams) SetContext ¶
func (o *DescribeUpstreamParams) SetContext(ctx context.Context)
SetContext adds the context to the describe upstream params
func (*DescribeUpstreamParams) SetDefaults ¶
func (o *DescribeUpstreamParams) SetDefaults()
SetDefaults hydrates default values in the describe upstream params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeUpstreamParams) SetHTTPClient ¶
func (o *DescribeUpstreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe upstream params
func (*DescribeUpstreamParams) SetTimeout ¶
func (o *DescribeUpstreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe upstream params
func (*DescribeUpstreamParams) SetUps ¶
func (o *DescribeUpstreamParams) SetUps(ups string)
SetUps adds the ups to the describe upstream params
func (*DescribeUpstreamParams) WithContext ¶
func (o *DescribeUpstreamParams) WithContext(ctx context.Context) *DescribeUpstreamParams
WithContext adds the context to the describe upstream params
func (*DescribeUpstreamParams) WithDefaults ¶
func (o *DescribeUpstreamParams) WithDefaults() *DescribeUpstreamParams
WithDefaults hydrates default values in the describe upstream params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeUpstreamParams) WithHTTPClient ¶
func (o *DescribeUpstreamParams) WithHTTPClient(client *http.Client) *DescribeUpstreamParams
WithHTTPClient adds the HTTPClient to the describe upstream params
func (*DescribeUpstreamParams) WithTimeout ¶
func (o *DescribeUpstreamParams) WithTimeout(timeout time.Duration) *DescribeUpstreamParams
WithTimeout adds the timeout to the describe upstream params
func (*DescribeUpstreamParams) WithUps ¶
func (o *DescribeUpstreamParams) WithUps(ups string) *DescribeUpstreamParams
WithUps adds the ups to the describe upstream params
func (*DescribeUpstreamParams) WriteToRequest ¶
func (o *DescribeUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeUpstreamReader ¶
type DescribeUpstreamReader struct {
// contains filtered or unexported fields
}
DescribeUpstreamReader is a Reader for the DescribeUpstream structure.
func (*DescribeUpstreamReader) ReadResponse ¶
func (o *DescribeUpstreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUpstreamBadRequest ¶
type GetUpstreamBadRequest struct {
Payload *vproxy_client_model.Error400
}
GetUpstreamBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewGetUpstreamBadRequest ¶
func NewGetUpstreamBadRequest() *GetUpstreamBadRequest
NewGetUpstreamBadRequest creates a GetUpstreamBadRequest with default headers values
func (*GetUpstreamBadRequest) Code ¶
func (o *GetUpstreamBadRequest) Code() int
Code gets the status code for the get upstream bad request response
func (*GetUpstreamBadRequest) Error ¶
func (o *GetUpstreamBadRequest) Error() string
func (*GetUpstreamBadRequest) GetPayload ¶
func (o *GetUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
func (*GetUpstreamBadRequest) IsClientError ¶
func (o *GetUpstreamBadRequest) IsClientError() bool
IsClientError returns true when this get upstream bad request response has a 4xx status code
func (*GetUpstreamBadRequest) IsCode ¶
func (o *GetUpstreamBadRequest) IsCode(code int) bool
IsCode returns true when this get upstream bad request response a status code equal to that given
func (*GetUpstreamBadRequest) IsRedirect ¶
func (o *GetUpstreamBadRequest) IsRedirect() bool
IsRedirect returns true when this get upstream bad request response has a 3xx status code
func (*GetUpstreamBadRequest) IsServerError ¶
func (o *GetUpstreamBadRequest) IsServerError() bool
IsServerError returns true when this get upstream bad request response has a 5xx status code
func (*GetUpstreamBadRequest) IsSuccess ¶
func (o *GetUpstreamBadRequest) IsSuccess() bool
IsSuccess returns true when this get upstream bad request response has a 2xx status code
func (*GetUpstreamBadRequest) String ¶
func (o *GetUpstreamBadRequest) String() string
type GetUpstreamConflict ¶
type GetUpstreamConflict struct {
Payload *vproxy_client_model.Error409
}
GetUpstreamConflict describes a response with status code 409, with default header values.
conflict
func NewGetUpstreamConflict ¶
func NewGetUpstreamConflict() *GetUpstreamConflict
NewGetUpstreamConflict creates a GetUpstreamConflict with default headers values
func (*GetUpstreamConflict) Code ¶
func (o *GetUpstreamConflict) Code() int
Code gets the status code for the get upstream conflict response
func (*GetUpstreamConflict) Error ¶
func (o *GetUpstreamConflict) Error() string
func (*GetUpstreamConflict) GetPayload ¶
func (o *GetUpstreamConflict) GetPayload() *vproxy_client_model.Error409
func (*GetUpstreamConflict) IsClientError ¶
func (o *GetUpstreamConflict) IsClientError() bool
IsClientError returns true when this get upstream conflict response has a 4xx status code
func (*GetUpstreamConflict) IsCode ¶
func (o *GetUpstreamConflict) IsCode(code int) bool
IsCode returns true when this get upstream conflict response a status code equal to that given
func (*GetUpstreamConflict) IsRedirect ¶
func (o *GetUpstreamConflict) IsRedirect() bool
IsRedirect returns true when this get upstream conflict response has a 3xx status code
func (*GetUpstreamConflict) IsServerError ¶
func (o *GetUpstreamConflict) IsServerError() bool
IsServerError returns true when this get upstream conflict response has a 5xx status code
func (*GetUpstreamConflict) IsSuccess ¶
func (o *GetUpstreamConflict) IsSuccess() bool
IsSuccess returns true when this get upstream conflict response has a 2xx status code
func (*GetUpstreamConflict) String ¶
func (o *GetUpstreamConflict) String() string
type GetUpstreamInternalServerError ¶
type GetUpstreamInternalServerError struct {
Payload *vproxy_client_model.Error500
}
GetUpstreamInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetUpstreamInternalServerError ¶
func NewGetUpstreamInternalServerError() *GetUpstreamInternalServerError
NewGetUpstreamInternalServerError creates a GetUpstreamInternalServerError with default headers values
func (*GetUpstreamInternalServerError) Code ¶
func (o *GetUpstreamInternalServerError) Code() int
Code gets the status code for the get upstream internal server error response
func (*GetUpstreamInternalServerError) Error ¶
func (o *GetUpstreamInternalServerError) Error() string
func (*GetUpstreamInternalServerError) GetPayload ¶
func (o *GetUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*GetUpstreamInternalServerError) IsClientError ¶
func (o *GetUpstreamInternalServerError) IsClientError() bool
IsClientError returns true when this get upstream internal server error response has a 4xx status code
func (*GetUpstreamInternalServerError) IsCode ¶
func (o *GetUpstreamInternalServerError) IsCode(code int) bool
IsCode returns true when this get upstream internal server error response a status code equal to that given
func (*GetUpstreamInternalServerError) IsRedirect ¶
func (o *GetUpstreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this get upstream internal server error response has a 3xx status code
func (*GetUpstreamInternalServerError) IsServerError ¶
func (o *GetUpstreamInternalServerError) IsServerError() bool
IsServerError returns true when this get upstream internal server error response has a 5xx status code
func (*GetUpstreamInternalServerError) IsSuccess ¶
func (o *GetUpstreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this get upstream internal server error response has a 2xx status code
func (*GetUpstreamInternalServerError) String ¶
func (o *GetUpstreamInternalServerError) String() string
type GetUpstreamNotFound ¶
type GetUpstreamNotFound struct {
Payload *vproxy_client_model.Error404
}
GetUpstreamNotFound describes a response with status code 404, with default header values.
resource not found
func NewGetUpstreamNotFound ¶
func NewGetUpstreamNotFound() *GetUpstreamNotFound
NewGetUpstreamNotFound creates a GetUpstreamNotFound with default headers values
func (*GetUpstreamNotFound) Code ¶
func (o *GetUpstreamNotFound) Code() int
Code gets the status code for the get upstream not found response
func (*GetUpstreamNotFound) Error ¶
func (o *GetUpstreamNotFound) Error() string
func (*GetUpstreamNotFound) GetPayload ¶
func (o *GetUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
func (*GetUpstreamNotFound) IsClientError ¶
func (o *GetUpstreamNotFound) IsClientError() bool
IsClientError returns true when this get upstream not found response has a 4xx status code
func (*GetUpstreamNotFound) IsCode ¶
func (o *GetUpstreamNotFound) IsCode(code int) bool
IsCode returns true when this get upstream not found response a status code equal to that given
func (*GetUpstreamNotFound) IsRedirect ¶
func (o *GetUpstreamNotFound) IsRedirect() bool
IsRedirect returns true when this get upstream not found response has a 3xx status code
func (*GetUpstreamNotFound) IsServerError ¶
func (o *GetUpstreamNotFound) IsServerError() bool
IsServerError returns true when this get upstream not found response has a 5xx status code
func (*GetUpstreamNotFound) IsSuccess ¶
func (o *GetUpstreamNotFound) IsSuccess() bool
IsSuccess returns true when this get upstream not found response has a 2xx status code
func (*GetUpstreamNotFound) String ¶
func (o *GetUpstreamNotFound) String() string
type GetUpstreamOK ¶
type GetUpstreamOK struct {
Payload *vproxy_client_model.Upstream
}
GetUpstreamOK describes a response with status code 200, with default header values.
ok
func NewGetUpstreamOK ¶
func NewGetUpstreamOK() *GetUpstreamOK
NewGetUpstreamOK creates a GetUpstreamOK with default headers values
func (*GetUpstreamOK) Code ¶
func (o *GetUpstreamOK) Code() int
Code gets the status code for the get upstream o k response
func (*GetUpstreamOK) Error ¶
func (o *GetUpstreamOK) Error() string
func (*GetUpstreamOK) GetPayload ¶
func (o *GetUpstreamOK) GetPayload() *vproxy_client_model.Upstream
func (*GetUpstreamOK) IsClientError ¶
func (o *GetUpstreamOK) IsClientError() bool
IsClientError returns true when this get upstream o k response has a 4xx status code
func (*GetUpstreamOK) IsCode ¶
func (o *GetUpstreamOK) IsCode(code int) bool
IsCode returns true when this get upstream o k response a status code equal to that given
func (*GetUpstreamOK) IsRedirect ¶
func (o *GetUpstreamOK) IsRedirect() bool
IsRedirect returns true when this get upstream o k response has a 3xx status code
func (*GetUpstreamOK) IsServerError ¶
func (o *GetUpstreamOK) IsServerError() bool
IsServerError returns true when this get upstream o k response has a 5xx status code
func (*GetUpstreamOK) IsSuccess ¶
func (o *GetUpstreamOK) IsSuccess() bool
IsSuccess returns true when this get upstream o k response has a 2xx status code
func (*GetUpstreamOK) String ¶
func (o *GetUpstreamOK) String() string
type GetUpstreamParams ¶
type GetUpstreamParams struct { /* Ups. name of the upstream */ Ups string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUpstreamParams contains all the parameters to send to the API endpoint
for the get upstream operation. Typically these are written to a http.Request.
func NewGetUpstreamParams ¶
func NewGetUpstreamParams() *GetUpstreamParams
NewGetUpstreamParams creates a new GetUpstreamParams 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 NewGetUpstreamParamsWithContext ¶
func NewGetUpstreamParamsWithContext(ctx context.Context) *GetUpstreamParams
NewGetUpstreamParamsWithContext creates a new GetUpstreamParams object with the ability to set a context for a request.
func NewGetUpstreamParamsWithHTTPClient ¶
func NewGetUpstreamParamsWithHTTPClient(client *http.Client) *GetUpstreamParams
NewGetUpstreamParamsWithHTTPClient creates a new GetUpstreamParams object with the ability to set a custom HTTPClient for a request.
func NewGetUpstreamParamsWithTimeout ¶
func NewGetUpstreamParamsWithTimeout(timeout time.Duration) *GetUpstreamParams
NewGetUpstreamParamsWithTimeout creates a new GetUpstreamParams object with the ability to set a timeout on a request.
func (*GetUpstreamParams) SetContext ¶
func (o *GetUpstreamParams) SetContext(ctx context.Context)
SetContext adds the context to the get upstream params
func (*GetUpstreamParams) SetDefaults ¶
func (o *GetUpstreamParams) SetDefaults()
SetDefaults hydrates default values in the get upstream params (not the query body).
All values with no default are reset to their zero value.
func (*GetUpstreamParams) SetHTTPClient ¶
func (o *GetUpstreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get upstream params
func (*GetUpstreamParams) SetTimeout ¶
func (o *GetUpstreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get upstream params
func (*GetUpstreamParams) SetUps ¶
func (o *GetUpstreamParams) SetUps(ups string)
SetUps adds the ups to the get upstream params
func (*GetUpstreamParams) WithContext ¶
func (o *GetUpstreamParams) WithContext(ctx context.Context) *GetUpstreamParams
WithContext adds the context to the get upstream params
func (*GetUpstreamParams) WithDefaults ¶
func (o *GetUpstreamParams) WithDefaults() *GetUpstreamParams
WithDefaults hydrates default values in the get upstream params (not the query body).
All values with no default are reset to their zero value.
func (*GetUpstreamParams) WithHTTPClient ¶
func (o *GetUpstreamParams) WithHTTPClient(client *http.Client) *GetUpstreamParams
WithHTTPClient adds the HTTPClient to the get upstream params
func (*GetUpstreamParams) WithTimeout ¶
func (o *GetUpstreamParams) WithTimeout(timeout time.Duration) *GetUpstreamParams
WithTimeout adds the timeout to the get upstream params
func (*GetUpstreamParams) WithUps ¶
func (o *GetUpstreamParams) WithUps(ups string) *GetUpstreamParams
WithUps adds the ups to the get upstream params
func (*GetUpstreamParams) WriteToRequest ¶
func (o *GetUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUpstreamReader ¶
type GetUpstreamReader struct {
// contains filtered or unexported fields
}
GetUpstreamReader is a Reader for the GetUpstream structure.
func (*GetUpstreamReader) ReadResponse ¶
func (o *GetUpstreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUpstreamBadRequest ¶
type ListUpstreamBadRequest struct {
Payload *vproxy_client_model.Error400
}
ListUpstreamBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewListUpstreamBadRequest ¶
func NewListUpstreamBadRequest() *ListUpstreamBadRequest
NewListUpstreamBadRequest creates a ListUpstreamBadRequest with default headers values
func (*ListUpstreamBadRequest) Code ¶
func (o *ListUpstreamBadRequest) Code() int
Code gets the status code for the list upstream bad request response
func (*ListUpstreamBadRequest) Error ¶
func (o *ListUpstreamBadRequest) Error() string
func (*ListUpstreamBadRequest) GetPayload ¶
func (o *ListUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
func (*ListUpstreamBadRequest) IsClientError ¶
func (o *ListUpstreamBadRequest) IsClientError() bool
IsClientError returns true when this list upstream bad request response has a 4xx status code
func (*ListUpstreamBadRequest) IsCode ¶
func (o *ListUpstreamBadRequest) IsCode(code int) bool
IsCode returns true when this list upstream bad request response a status code equal to that given
func (*ListUpstreamBadRequest) IsRedirect ¶
func (o *ListUpstreamBadRequest) IsRedirect() bool
IsRedirect returns true when this list upstream bad request response has a 3xx status code
func (*ListUpstreamBadRequest) IsServerError ¶
func (o *ListUpstreamBadRequest) IsServerError() bool
IsServerError returns true when this list upstream bad request response has a 5xx status code
func (*ListUpstreamBadRequest) IsSuccess ¶
func (o *ListUpstreamBadRequest) IsSuccess() bool
IsSuccess returns true when this list upstream bad request response has a 2xx status code
func (*ListUpstreamBadRequest) String ¶
func (o *ListUpstreamBadRequest) String() string
type ListUpstreamConflict ¶
type ListUpstreamConflict struct {
Payload *vproxy_client_model.Error409
}
ListUpstreamConflict describes a response with status code 409, with default header values.
conflict
func NewListUpstreamConflict ¶
func NewListUpstreamConflict() *ListUpstreamConflict
NewListUpstreamConflict creates a ListUpstreamConflict with default headers values
func (*ListUpstreamConflict) Code ¶
func (o *ListUpstreamConflict) Code() int
Code gets the status code for the list upstream conflict response
func (*ListUpstreamConflict) Error ¶
func (o *ListUpstreamConflict) Error() string
func (*ListUpstreamConflict) GetPayload ¶
func (o *ListUpstreamConflict) GetPayload() *vproxy_client_model.Error409
func (*ListUpstreamConflict) IsClientError ¶
func (o *ListUpstreamConflict) IsClientError() bool
IsClientError returns true when this list upstream conflict response has a 4xx status code
func (*ListUpstreamConflict) IsCode ¶
func (o *ListUpstreamConflict) IsCode(code int) bool
IsCode returns true when this list upstream conflict response a status code equal to that given
func (*ListUpstreamConflict) IsRedirect ¶
func (o *ListUpstreamConflict) IsRedirect() bool
IsRedirect returns true when this list upstream conflict response has a 3xx status code
func (*ListUpstreamConflict) IsServerError ¶
func (o *ListUpstreamConflict) IsServerError() bool
IsServerError returns true when this list upstream conflict response has a 5xx status code
func (*ListUpstreamConflict) IsSuccess ¶
func (o *ListUpstreamConflict) IsSuccess() bool
IsSuccess returns true when this list upstream conflict response has a 2xx status code
func (*ListUpstreamConflict) String ¶
func (o *ListUpstreamConflict) String() string
type ListUpstreamInternalServerError ¶
type ListUpstreamInternalServerError struct {
Payload *vproxy_client_model.Error500
}
ListUpstreamInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListUpstreamInternalServerError ¶
func NewListUpstreamInternalServerError() *ListUpstreamInternalServerError
NewListUpstreamInternalServerError creates a ListUpstreamInternalServerError with default headers values
func (*ListUpstreamInternalServerError) Code ¶
func (o *ListUpstreamInternalServerError) Code() int
Code gets the status code for the list upstream internal server error response
func (*ListUpstreamInternalServerError) Error ¶
func (o *ListUpstreamInternalServerError) Error() string
func (*ListUpstreamInternalServerError) GetPayload ¶
func (o *ListUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*ListUpstreamInternalServerError) IsClientError ¶
func (o *ListUpstreamInternalServerError) IsClientError() bool
IsClientError returns true when this list upstream internal server error response has a 4xx status code
func (*ListUpstreamInternalServerError) IsCode ¶
func (o *ListUpstreamInternalServerError) IsCode(code int) bool
IsCode returns true when this list upstream internal server error response a status code equal to that given
func (*ListUpstreamInternalServerError) IsRedirect ¶
func (o *ListUpstreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this list upstream internal server error response has a 3xx status code
func (*ListUpstreamInternalServerError) IsServerError ¶
func (o *ListUpstreamInternalServerError) IsServerError() bool
IsServerError returns true when this list upstream internal server error response has a 5xx status code
func (*ListUpstreamInternalServerError) IsSuccess ¶
func (o *ListUpstreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this list upstream internal server error response has a 2xx status code
func (*ListUpstreamInternalServerError) String ¶
func (o *ListUpstreamInternalServerError) String() string
type ListUpstreamOK ¶
type ListUpstreamOK struct {
Payload []*vproxy_client_model.Upstream
}
ListUpstreamOK describes a response with status code 200, with default header values.
ok
func NewListUpstreamOK ¶
func NewListUpstreamOK() *ListUpstreamOK
NewListUpstreamOK creates a ListUpstreamOK with default headers values
func (*ListUpstreamOK) Code ¶
func (o *ListUpstreamOK) Code() int
Code gets the status code for the list upstream o k response
func (*ListUpstreamOK) Error ¶
func (o *ListUpstreamOK) Error() string
func (*ListUpstreamOK) GetPayload ¶
func (o *ListUpstreamOK) GetPayload() []*vproxy_client_model.Upstream
func (*ListUpstreamOK) IsClientError ¶
func (o *ListUpstreamOK) IsClientError() bool
IsClientError returns true when this list upstream o k response has a 4xx status code
func (*ListUpstreamOK) IsCode ¶
func (o *ListUpstreamOK) IsCode(code int) bool
IsCode returns true when this list upstream o k response a status code equal to that given
func (*ListUpstreamOK) IsRedirect ¶
func (o *ListUpstreamOK) IsRedirect() bool
IsRedirect returns true when this list upstream o k response has a 3xx status code
func (*ListUpstreamOK) IsServerError ¶
func (o *ListUpstreamOK) IsServerError() bool
IsServerError returns true when this list upstream o k response has a 5xx status code
func (*ListUpstreamOK) IsSuccess ¶
func (o *ListUpstreamOK) IsSuccess() bool
IsSuccess returns true when this list upstream o k response has a 2xx status code
func (*ListUpstreamOK) String ¶
func (o *ListUpstreamOK) String() string
type ListUpstreamParams ¶
type ListUpstreamParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUpstreamParams contains all the parameters to send to the API endpoint
for the list upstream operation. Typically these are written to a http.Request.
func NewListUpstreamParams ¶
func NewListUpstreamParams() *ListUpstreamParams
NewListUpstreamParams creates a new ListUpstreamParams 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 NewListUpstreamParamsWithContext ¶
func NewListUpstreamParamsWithContext(ctx context.Context) *ListUpstreamParams
NewListUpstreamParamsWithContext creates a new ListUpstreamParams object with the ability to set a context for a request.
func NewListUpstreamParamsWithHTTPClient ¶
func NewListUpstreamParamsWithHTTPClient(client *http.Client) *ListUpstreamParams
NewListUpstreamParamsWithHTTPClient creates a new ListUpstreamParams object with the ability to set a custom HTTPClient for a request.
func NewListUpstreamParamsWithTimeout ¶
func NewListUpstreamParamsWithTimeout(timeout time.Duration) *ListUpstreamParams
NewListUpstreamParamsWithTimeout creates a new ListUpstreamParams object with the ability to set a timeout on a request.
func (*ListUpstreamParams) SetContext ¶
func (o *ListUpstreamParams) SetContext(ctx context.Context)
SetContext adds the context to the list upstream params
func (*ListUpstreamParams) SetDefaults ¶
func (o *ListUpstreamParams) SetDefaults()
SetDefaults hydrates default values in the list upstream params (not the query body).
All values with no default are reset to their zero value.
func (*ListUpstreamParams) SetHTTPClient ¶
func (o *ListUpstreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list upstream params
func (*ListUpstreamParams) SetTimeout ¶
func (o *ListUpstreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list upstream params
func (*ListUpstreamParams) WithContext ¶
func (o *ListUpstreamParams) WithContext(ctx context.Context) *ListUpstreamParams
WithContext adds the context to the list upstream params
func (*ListUpstreamParams) WithDefaults ¶
func (o *ListUpstreamParams) WithDefaults() *ListUpstreamParams
WithDefaults hydrates default values in the list upstream params (not the query body).
All values with no default are reset to their zero value.
func (*ListUpstreamParams) WithHTTPClient ¶
func (o *ListUpstreamParams) WithHTTPClient(client *http.Client) *ListUpstreamParams
WithHTTPClient adds the HTTPClient to the list upstream params
func (*ListUpstreamParams) WithTimeout ¶
func (o *ListUpstreamParams) WithTimeout(timeout time.Duration) *ListUpstreamParams
WithTimeout adds the timeout to the list upstream params
func (*ListUpstreamParams) WriteToRequest ¶
func (o *ListUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUpstreamReader ¶
type ListUpstreamReader struct {
// contains filtered or unexported fields
}
ListUpstreamReader is a Reader for the ListUpstream structure.
func (*ListUpstreamReader) ReadResponse ¶
func (o *ListUpstreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveUpstreamBadRequest ¶
type RemoveUpstreamBadRequest struct {
Payload *vproxy_client_model.Error400
}
RemoveUpstreamBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewRemoveUpstreamBadRequest ¶
func NewRemoveUpstreamBadRequest() *RemoveUpstreamBadRequest
NewRemoveUpstreamBadRequest creates a RemoveUpstreamBadRequest with default headers values
func (*RemoveUpstreamBadRequest) Code ¶
func (o *RemoveUpstreamBadRequest) Code() int
Code gets the status code for the remove upstream bad request response
func (*RemoveUpstreamBadRequest) Error ¶
func (o *RemoveUpstreamBadRequest) Error() string
func (*RemoveUpstreamBadRequest) GetPayload ¶
func (o *RemoveUpstreamBadRequest) GetPayload() *vproxy_client_model.Error400
func (*RemoveUpstreamBadRequest) IsClientError ¶
func (o *RemoveUpstreamBadRequest) IsClientError() bool
IsClientError returns true when this remove upstream bad request response has a 4xx status code
func (*RemoveUpstreamBadRequest) IsCode ¶
func (o *RemoveUpstreamBadRequest) IsCode(code int) bool
IsCode returns true when this remove upstream bad request response a status code equal to that given
func (*RemoveUpstreamBadRequest) IsRedirect ¶
func (o *RemoveUpstreamBadRequest) IsRedirect() bool
IsRedirect returns true when this remove upstream bad request response has a 3xx status code
func (*RemoveUpstreamBadRequest) IsServerError ¶
func (o *RemoveUpstreamBadRequest) IsServerError() bool
IsServerError returns true when this remove upstream bad request response has a 5xx status code
func (*RemoveUpstreamBadRequest) IsSuccess ¶
func (o *RemoveUpstreamBadRequest) IsSuccess() bool
IsSuccess returns true when this remove upstream bad request response has a 2xx status code
func (*RemoveUpstreamBadRequest) String ¶
func (o *RemoveUpstreamBadRequest) String() string
type RemoveUpstreamConflict ¶
type RemoveUpstreamConflict struct {
Payload *vproxy_client_model.Error409
}
RemoveUpstreamConflict describes a response with status code 409, with default header values.
conflict
func NewRemoveUpstreamConflict ¶
func NewRemoveUpstreamConflict() *RemoveUpstreamConflict
NewRemoveUpstreamConflict creates a RemoveUpstreamConflict with default headers values
func (*RemoveUpstreamConflict) Code ¶
func (o *RemoveUpstreamConflict) Code() int
Code gets the status code for the remove upstream conflict response
func (*RemoveUpstreamConflict) Error ¶
func (o *RemoveUpstreamConflict) Error() string
func (*RemoveUpstreamConflict) GetPayload ¶
func (o *RemoveUpstreamConflict) GetPayload() *vproxy_client_model.Error409
func (*RemoveUpstreamConflict) IsClientError ¶
func (o *RemoveUpstreamConflict) IsClientError() bool
IsClientError returns true when this remove upstream conflict response has a 4xx status code
func (*RemoveUpstreamConflict) IsCode ¶
func (o *RemoveUpstreamConflict) IsCode(code int) bool
IsCode returns true when this remove upstream conflict response a status code equal to that given
func (*RemoveUpstreamConflict) IsRedirect ¶
func (o *RemoveUpstreamConflict) IsRedirect() bool
IsRedirect returns true when this remove upstream conflict response has a 3xx status code
func (*RemoveUpstreamConflict) IsServerError ¶
func (o *RemoveUpstreamConflict) IsServerError() bool
IsServerError returns true when this remove upstream conflict response has a 5xx status code
func (*RemoveUpstreamConflict) IsSuccess ¶
func (o *RemoveUpstreamConflict) IsSuccess() bool
IsSuccess returns true when this remove upstream conflict response has a 2xx status code
func (*RemoveUpstreamConflict) String ¶
func (o *RemoveUpstreamConflict) String() string
type RemoveUpstreamInternalServerError ¶
type RemoveUpstreamInternalServerError struct {
Payload *vproxy_client_model.Error500
}
RemoveUpstreamInternalServerError describes a response with status code 500, with default header values.
internal error
func NewRemoveUpstreamInternalServerError ¶
func NewRemoveUpstreamInternalServerError() *RemoveUpstreamInternalServerError
NewRemoveUpstreamInternalServerError creates a RemoveUpstreamInternalServerError with default headers values
func (*RemoveUpstreamInternalServerError) Code ¶
func (o *RemoveUpstreamInternalServerError) Code() int
Code gets the status code for the remove upstream internal server error response
func (*RemoveUpstreamInternalServerError) Error ¶
func (o *RemoveUpstreamInternalServerError) Error() string
func (*RemoveUpstreamInternalServerError) GetPayload ¶
func (o *RemoveUpstreamInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*RemoveUpstreamInternalServerError) IsClientError ¶
func (o *RemoveUpstreamInternalServerError) IsClientError() bool
IsClientError returns true when this remove upstream internal server error response has a 4xx status code
func (*RemoveUpstreamInternalServerError) IsCode ¶
func (o *RemoveUpstreamInternalServerError) IsCode(code int) bool
IsCode returns true when this remove upstream internal server error response a status code equal to that given
func (*RemoveUpstreamInternalServerError) IsRedirect ¶
func (o *RemoveUpstreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove upstream internal server error response has a 3xx status code
func (*RemoveUpstreamInternalServerError) IsServerError ¶
func (o *RemoveUpstreamInternalServerError) IsServerError() bool
IsServerError returns true when this remove upstream internal server error response has a 5xx status code
func (*RemoveUpstreamInternalServerError) IsSuccess ¶
func (o *RemoveUpstreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove upstream internal server error response has a 2xx status code
func (*RemoveUpstreamInternalServerError) String ¶
func (o *RemoveUpstreamInternalServerError) String() string
type RemoveUpstreamNoContent ¶
type RemoveUpstreamNoContent struct { }
RemoveUpstreamNoContent describes a response with status code 204, with default header values.
ok
func NewRemoveUpstreamNoContent ¶
func NewRemoveUpstreamNoContent() *RemoveUpstreamNoContent
NewRemoveUpstreamNoContent creates a RemoveUpstreamNoContent with default headers values
func (*RemoveUpstreamNoContent) Code ¶
func (o *RemoveUpstreamNoContent) Code() int
Code gets the status code for the remove upstream no content response
func (*RemoveUpstreamNoContent) Error ¶
func (o *RemoveUpstreamNoContent) Error() string
func (*RemoveUpstreamNoContent) IsClientError ¶
func (o *RemoveUpstreamNoContent) IsClientError() bool
IsClientError returns true when this remove upstream no content response has a 4xx status code
func (*RemoveUpstreamNoContent) IsCode ¶
func (o *RemoveUpstreamNoContent) IsCode(code int) bool
IsCode returns true when this remove upstream no content response a status code equal to that given
func (*RemoveUpstreamNoContent) IsRedirect ¶
func (o *RemoveUpstreamNoContent) IsRedirect() bool
IsRedirect returns true when this remove upstream no content response has a 3xx status code
func (*RemoveUpstreamNoContent) IsServerError ¶
func (o *RemoveUpstreamNoContent) IsServerError() bool
IsServerError returns true when this remove upstream no content response has a 5xx status code
func (*RemoveUpstreamNoContent) IsSuccess ¶
func (o *RemoveUpstreamNoContent) IsSuccess() bool
IsSuccess returns true when this remove upstream no content response has a 2xx status code
func (*RemoveUpstreamNoContent) String ¶
func (o *RemoveUpstreamNoContent) String() string
type RemoveUpstreamNotFound ¶
type RemoveUpstreamNotFound struct {
Payload *vproxy_client_model.Error404
}
RemoveUpstreamNotFound describes a response with status code 404, with default header values.
resource not found
func NewRemoveUpstreamNotFound ¶
func NewRemoveUpstreamNotFound() *RemoveUpstreamNotFound
NewRemoveUpstreamNotFound creates a RemoveUpstreamNotFound with default headers values
func (*RemoveUpstreamNotFound) Code ¶
func (o *RemoveUpstreamNotFound) Code() int
Code gets the status code for the remove upstream not found response
func (*RemoveUpstreamNotFound) Error ¶
func (o *RemoveUpstreamNotFound) Error() string
func (*RemoveUpstreamNotFound) GetPayload ¶
func (o *RemoveUpstreamNotFound) GetPayload() *vproxy_client_model.Error404
func (*RemoveUpstreamNotFound) IsClientError ¶
func (o *RemoveUpstreamNotFound) IsClientError() bool
IsClientError returns true when this remove upstream not found response has a 4xx status code
func (*RemoveUpstreamNotFound) IsCode ¶
func (o *RemoveUpstreamNotFound) IsCode(code int) bool
IsCode returns true when this remove upstream not found response a status code equal to that given
func (*RemoveUpstreamNotFound) IsRedirect ¶
func (o *RemoveUpstreamNotFound) IsRedirect() bool
IsRedirect returns true when this remove upstream not found response has a 3xx status code
func (*RemoveUpstreamNotFound) IsServerError ¶
func (o *RemoveUpstreamNotFound) IsServerError() bool
IsServerError returns true when this remove upstream not found response has a 5xx status code
func (*RemoveUpstreamNotFound) IsSuccess ¶
func (o *RemoveUpstreamNotFound) IsSuccess() bool
IsSuccess returns true when this remove upstream not found response has a 2xx status code
func (*RemoveUpstreamNotFound) String ¶
func (o *RemoveUpstreamNotFound) String() string
type RemoveUpstreamParams ¶
type RemoveUpstreamParams struct { /* Ups. name of the upstream */ Ups string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveUpstreamParams contains all the parameters to send to the API endpoint
for the remove upstream operation. Typically these are written to a http.Request.
func NewRemoveUpstreamParams ¶
func NewRemoveUpstreamParams() *RemoveUpstreamParams
NewRemoveUpstreamParams creates a new RemoveUpstreamParams 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 NewRemoveUpstreamParamsWithContext ¶
func NewRemoveUpstreamParamsWithContext(ctx context.Context) *RemoveUpstreamParams
NewRemoveUpstreamParamsWithContext creates a new RemoveUpstreamParams object with the ability to set a context for a request.
func NewRemoveUpstreamParamsWithHTTPClient ¶
func NewRemoveUpstreamParamsWithHTTPClient(client *http.Client) *RemoveUpstreamParams
NewRemoveUpstreamParamsWithHTTPClient creates a new RemoveUpstreamParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveUpstreamParamsWithTimeout ¶
func NewRemoveUpstreamParamsWithTimeout(timeout time.Duration) *RemoveUpstreamParams
NewRemoveUpstreamParamsWithTimeout creates a new RemoveUpstreamParams object with the ability to set a timeout on a request.
func (*RemoveUpstreamParams) SetContext ¶
func (o *RemoveUpstreamParams) SetContext(ctx context.Context)
SetContext adds the context to the remove upstream params
func (*RemoveUpstreamParams) SetDefaults ¶
func (o *RemoveUpstreamParams) SetDefaults()
SetDefaults hydrates default values in the remove upstream params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUpstreamParams) SetHTTPClient ¶
func (o *RemoveUpstreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove upstream params
func (*RemoveUpstreamParams) SetTimeout ¶
func (o *RemoveUpstreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove upstream params
func (*RemoveUpstreamParams) SetUps ¶
func (o *RemoveUpstreamParams) SetUps(ups string)
SetUps adds the ups to the remove upstream params
func (*RemoveUpstreamParams) WithContext ¶
func (o *RemoveUpstreamParams) WithContext(ctx context.Context) *RemoveUpstreamParams
WithContext adds the context to the remove upstream params
func (*RemoveUpstreamParams) WithDefaults ¶
func (o *RemoveUpstreamParams) WithDefaults() *RemoveUpstreamParams
WithDefaults hydrates default values in the remove upstream params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveUpstreamParams) WithHTTPClient ¶
func (o *RemoveUpstreamParams) WithHTTPClient(client *http.Client) *RemoveUpstreamParams
WithHTTPClient adds the HTTPClient to the remove upstream params
func (*RemoveUpstreamParams) WithTimeout ¶
func (o *RemoveUpstreamParams) WithTimeout(timeout time.Duration) *RemoveUpstreamParams
WithTimeout adds the timeout to the remove upstream params
func (*RemoveUpstreamParams) WithUps ¶
func (o *RemoveUpstreamParams) WithUps(ups string) *RemoveUpstreamParams
WithUps adds the ups to the remove upstream params
func (*RemoveUpstreamParams) WriteToRequest ¶
func (o *RemoveUpstreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveUpstreamReader ¶
type RemoveUpstreamReader struct {
// contains filtered or unexported fields
}
RemoveUpstreamReader is a Reader for the RemoveUpstream structure.
func (*RemoveUpstreamReader) ReadResponse ¶
func (o *RemoveUpstreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_upstream_parameters.go
- add_upstream_responses.go
- describe_upstream_parameters.go
- describe_upstream_responses.go
- get_upstream_parameters.go
- get_upstream_responses.go
- list_upstream_parameters.go
- list_upstream_responses.go
- remove_upstream_parameters.go
- remove_upstream_responses.go
- upstream_client.go