event_loop

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 AddEventLoopBadRequest

type AddEventLoopBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewAddEventLoopBadRequest

func NewAddEventLoopBadRequest() *AddEventLoopBadRequest

NewAddEventLoopBadRequest creates a AddEventLoopBadRequest with default headers values

func (*AddEventLoopBadRequest) Code

func (o *AddEventLoopBadRequest) Code() int

Code gets the status code for the add event loop bad request response

func (*AddEventLoopBadRequest) Error

func (o *AddEventLoopBadRequest) Error() string

func (*AddEventLoopBadRequest) GetPayload

func (*AddEventLoopBadRequest) IsClientError

func (o *AddEventLoopBadRequest) IsClientError() bool

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

func (*AddEventLoopBadRequest) IsCode

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

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

func (*AddEventLoopBadRequest) IsRedirect

func (o *AddEventLoopBadRequest) IsRedirect() bool

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

func (*AddEventLoopBadRequest) IsServerError

func (o *AddEventLoopBadRequest) IsServerError() bool

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

func (*AddEventLoopBadRequest) IsSuccess

func (o *AddEventLoopBadRequest) IsSuccess() bool

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

func (*AddEventLoopBadRequest) String

func (o *AddEventLoopBadRequest) String() string

type AddEventLoopConflict

type AddEventLoopConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewAddEventLoopConflict

func NewAddEventLoopConflict() *AddEventLoopConflict

NewAddEventLoopConflict creates a AddEventLoopConflict with default headers values

func (*AddEventLoopConflict) Code

func (o *AddEventLoopConflict) Code() int

Code gets the status code for the add event loop conflict response

func (*AddEventLoopConflict) Error

func (o *AddEventLoopConflict) Error() string

func (*AddEventLoopConflict) GetPayload

func (*AddEventLoopConflict) IsClientError

func (o *AddEventLoopConflict) IsClientError() bool

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

func (*AddEventLoopConflict) IsCode

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

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

func (*AddEventLoopConflict) IsRedirect

func (o *AddEventLoopConflict) IsRedirect() bool

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

func (*AddEventLoopConflict) IsServerError

func (o *AddEventLoopConflict) IsServerError() bool

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

func (*AddEventLoopConflict) IsSuccess

func (o *AddEventLoopConflict) IsSuccess() bool

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

func (*AddEventLoopConflict) String

func (o *AddEventLoopConflict) String() string

type AddEventLoopInternalServerError

type AddEventLoopInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewAddEventLoopInternalServerError

func NewAddEventLoopInternalServerError() *AddEventLoopInternalServerError

NewAddEventLoopInternalServerError creates a AddEventLoopInternalServerError with default headers values

func (*AddEventLoopInternalServerError) Code

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

func (*AddEventLoopInternalServerError) Error

func (*AddEventLoopInternalServerError) GetPayload

func (*AddEventLoopInternalServerError) IsClientError

func (o *AddEventLoopInternalServerError) IsClientError() bool

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

func (*AddEventLoopInternalServerError) IsCode

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

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

func (*AddEventLoopInternalServerError) IsRedirect

func (o *AddEventLoopInternalServerError) IsRedirect() bool

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

func (*AddEventLoopInternalServerError) IsServerError

func (o *AddEventLoopInternalServerError) IsServerError() bool

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

func (*AddEventLoopInternalServerError) IsSuccess

func (o *AddEventLoopInternalServerError) IsSuccess() bool

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

func (*AddEventLoopInternalServerError) String

type AddEventLoopNoContent

type AddEventLoopNoContent struct {
}

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

ok

func NewAddEventLoopNoContent

func NewAddEventLoopNoContent() *AddEventLoopNoContent

NewAddEventLoopNoContent creates a AddEventLoopNoContent with default headers values

func (*AddEventLoopNoContent) Code

func (o *AddEventLoopNoContent) Code() int

Code gets the status code for the add event loop no content response

func (*AddEventLoopNoContent) Error

func (o *AddEventLoopNoContent) Error() string

func (*AddEventLoopNoContent) IsClientError

func (o *AddEventLoopNoContent) IsClientError() bool

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

func (*AddEventLoopNoContent) IsCode

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

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

func (*AddEventLoopNoContent) IsRedirect

func (o *AddEventLoopNoContent) IsRedirect() bool

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

func (*AddEventLoopNoContent) IsServerError

func (o *AddEventLoopNoContent) IsServerError() bool

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

func (*AddEventLoopNoContent) IsSuccess

func (o *AddEventLoopNoContent) IsSuccess() bool

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

func (*AddEventLoopNoContent) String

func (o *AddEventLoopNoContent) String() string

type AddEventLoopNotFound

type AddEventLoopNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewAddEventLoopNotFound

func NewAddEventLoopNotFound() *AddEventLoopNotFound

NewAddEventLoopNotFound creates a AddEventLoopNotFound with default headers values

func (*AddEventLoopNotFound) Code

func (o *AddEventLoopNotFound) Code() int

Code gets the status code for the add event loop not found response

func (*AddEventLoopNotFound) Error

func (o *AddEventLoopNotFound) Error() string

func (*AddEventLoopNotFound) GetPayload

func (*AddEventLoopNotFound) IsClientError

func (o *AddEventLoopNotFound) IsClientError() bool

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

func (*AddEventLoopNotFound) IsCode

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

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

func (*AddEventLoopNotFound) IsRedirect

func (o *AddEventLoopNotFound) IsRedirect() bool

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

func (*AddEventLoopNotFound) IsServerError

func (o *AddEventLoopNotFound) IsServerError() bool

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

func (*AddEventLoopNotFound) IsSuccess

func (o *AddEventLoopNotFound) IsSuccess() bool

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

func (*AddEventLoopNotFound) String

func (o *AddEventLoopNotFound) String() string

type AddEventLoopParams

type AddEventLoopParams struct {

	// Body.
	Body *vproxy_client_model.EventLoopCreate

	/* Elg.

	   name of the event-loop-group
	*/
	Elg string

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

AddEventLoopParams contains all the parameters to send to the API endpoint

for the add event loop operation.

Typically these are written to a http.Request.

func NewAddEventLoopParams

func NewAddEventLoopParams() *AddEventLoopParams

NewAddEventLoopParams creates a new AddEventLoopParams 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 NewAddEventLoopParamsWithContext

func NewAddEventLoopParamsWithContext(ctx context.Context) *AddEventLoopParams

NewAddEventLoopParamsWithContext creates a new AddEventLoopParams object with the ability to set a context for a request.

func NewAddEventLoopParamsWithHTTPClient

func NewAddEventLoopParamsWithHTTPClient(client *http.Client) *AddEventLoopParams

NewAddEventLoopParamsWithHTTPClient creates a new AddEventLoopParams object with the ability to set a custom HTTPClient for a request.

func NewAddEventLoopParamsWithTimeout

func NewAddEventLoopParamsWithTimeout(timeout time.Duration) *AddEventLoopParams

NewAddEventLoopParamsWithTimeout creates a new AddEventLoopParams object with the ability to set a timeout on a request.

func (*AddEventLoopParams) SetBody

SetBody adds the body to the add event loop params

func (*AddEventLoopParams) SetContext

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

SetContext adds the context to the add event loop params

func (*AddEventLoopParams) SetDefaults

func (o *AddEventLoopParams) SetDefaults()

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

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

func (*AddEventLoopParams) SetElg

func (o *AddEventLoopParams) SetElg(elg string)

SetElg adds the elg to the add event loop params

func (*AddEventLoopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add event loop params

func (*AddEventLoopParams) SetTimeout

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

SetTimeout adds the timeout to the add event loop params

func (*AddEventLoopParams) WithBody

WithBody adds the body to the add event loop params

func (*AddEventLoopParams) WithContext

WithContext adds the context to the add event loop params

func (*AddEventLoopParams) WithDefaults

func (o *AddEventLoopParams) WithDefaults() *AddEventLoopParams

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

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

func (*AddEventLoopParams) WithElg

func (o *AddEventLoopParams) WithElg(elg string) *AddEventLoopParams

WithElg adds the elg to the add event loop params

func (*AddEventLoopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add event loop params

func (*AddEventLoopParams) WithTimeout

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

WithTimeout adds the timeout to the add event loop params

func (*AddEventLoopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddEventLoopReader

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

AddEventLoopReader is a Reader for the AddEventLoop structure.

func (*AddEventLoopReader) ReadResponse

func (o *AddEventLoopReader) 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 event loop API

func (*Client) AddEventLoop

func (a *Client) AddEventLoop(params *AddEventLoopParams, opts ...ClientOption) (*AddEventLoopNoContent, error)

AddEventLoop adds event loop into event loop group

func (*Client) DescribeEventLoop

func (a *Client) DescribeEventLoop(params *DescribeEventLoopParams, opts ...ClientOption) (*DescribeEventLoopOK, error)

DescribeEventLoop gets detailed info of one event loop in event loop group

func (*Client) GetEventLoop

func (a *Client) GetEventLoop(params *GetEventLoopParams, opts ...ClientOption) (*GetEventLoopOK, error)

GetEventLoop gets event loop in event loop group

func (*Client) ListEventLoop

func (a *Client) ListEventLoop(params *ListEventLoopParams, opts ...ClientOption) (*ListEventLoopOK, error)

ListEventLoop retrieves event loop list from event loop group

func (*Client) RemoveEventLoop

func (a *Client) RemoveEventLoop(params *RemoveEventLoopParams, opts ...ClientOption) (*RemoveEventLoopNoContent, error)

RemoveEventLoop removes event loop from event loop group

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 {
	AddEventLoop(params *AddEventLoopParams, opts ...ClientOption) (*AddEventLoopNoContent, error)

	DescribeEventLoop(params *DescribeEventLoopParams, opts ...ClientOption) (*DescribeEventLoopOK, error)

	GetEventLoop(params *GetEventLoopParams, opts ...ClientOption) (*GetEventLoopOK, error)

	ListEventLoop(params *ListEventLoopParams, opts ...ClientOption) (*ListEventLoopOK, error)

	RemoveEventLoop(params *RemoveEventLoopParams, opts ...ClientOption) (*RemoveEventLoopNoContent, 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 event loop API client.

type DescribeEventLoopBadRequest

type DescribeEventLoopBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewDescribeEventLoopBadRequest

func NewDescribeEventLoopBadRequest() *DescribeEventLoopBadRequest

NewDescribeEventLoopBadRequest creates a DescribeEventLoopBadRequest with default headers values

func (*DescribeEventLoopBadRequest) Code

func (o *DescribeEventLoopBadRequest) Code() int

Code gets the status code for the describe event loop bad request response

func (*DescribeEventLoopBadRequest) Error

func (*DescribeEventLoopBadRequest) GetPayload

func (*DescribeEventLoopBadRequest) IsClientError

func (o *DescribeEventLoopBadRequest) IsClientError() bool

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

func (*DescribeEventLoopBadRequest) IsCode

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

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

func (*DescribeEventLoopBadRequest) IsRedirect

func (o *DescribeEventLoopBadRequest) IsRedirect() bool

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

func (*DescribeEventLoopBadRequest) IsServerError

func (o *DescribeEventLoopBadRequest) IsServerError() bool

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

func (*DescribeEventLoopBadRequest) IsSuccess

func (o *DescribeEventLoopBadRequest) IsSuccess() bool

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

func (*DescribeEventLoopBadRequest) String

func (o *DescribeEventLoopBadRequest) String() string

type DescribeEventLoopConflict

type DescribeEventLoopConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewDescribeEventLoopConflict

func NewDescribeEventLoopConflict() *DescribeEventLoopConflict

NewDescribeEventLoopConflict creates a DescribeEventLoopConflict with default headers values

func (*DescribeEventLoopConflict) Code

func (o *DescribeEventLoopConflict) Code() int

Code gets the status code for the describe event loop conflict response

func (*DescribeEventLoopConflict) Error

func (o *DescribeEventLoopConflict) Error() string

func (*DescribeEventLoopConflict) GetPayload

func (*DescribeEventLoopConflict) IsClientError

func (o *DescribeEventLoopConflict) IsClientError() bool

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

func (*DescribeEventLoopConflict) IsCode

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

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

func (*DescribeEventLoopConflict) IsRedirect

func (o *DescribeEventLoopConflict) IsRedirect() bool

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

func (*DescribeEventLoopConflict) IsServerError

func (o *DescribeEventLoopConflict) IsServerError() bool

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

func (*DescribeEventLoopConflict) IsSuccess

func (o *DescribeEventLoopConflict) IsSuccess() bool

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

func (*DescribeEventLoopConflict) String

func (o *DescribeEventLoopConflict) String() string

type DescribeEventLoopInternalServerError

type DescribeEventLoopInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewDescribeEventLoopInternalServerError

func NewDescribeEventLoopInternalServerError() *DescribeEventLoopInternalServerError

NewDescribeEventLoopInternalServerError creates a DescribeEventLoopInternalServerError with default headers values

func (*DescribeEventLoopInternalServerError) Code

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

func (*DescribeEventLoopInternalServerError) Error

func (*DescribeEventLoopInternalServerError) GetPayload

func (*DescribeEventLoopInternalServerError) IsClientError

func (o *DescribeEventLoopInternalServerError) IsClientError() bool

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

func (*DescribeEventLoopInternalServerError) IsCode

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

func (*DescribeEventLoopInternalServerError) IsRedirect

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

func (*DescribeEventLoopInternalServerError) IsServerError

func (o *DescribeEventLoopInternalServerError) IsServerError() bool

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

func (*DescribeEventLoopInternalServerError) IsSuccess

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

func (*DescribeEventLoopInternalServerError) String

type DescribeEventLoopNotFound

type DescribeEventLoopNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewDescribeEventLoopNotFound

func NewDescribeEventLoopNotFound() *DescribeEventLoopNotFound

NewDescribeEventLoopNotFound creates a DescribeEventLoopNotFound with default headers values

func (*DescribeEventLoopNotFound) Code

func (o *DescribeEventLoopNotFound) Code() int

Code gets the status code for the describe event loop not found response

func (*DescribeEventLoopNotFound) Error

func (o *DescribeEventLoopNotFound) Error() string

func (*DescribeEventLoopNotFound) GetPayload

func (*DescribeEventLoopNotFound) IsClientError

func (o *DescribeEventLoopNotFound) IsClientError() bool

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

func (*DescribeEventLoopNotFound) IsCode

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

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

func (*DescribeEventLoopNotFound) IsRedirect

func (o *DescribeEventLoopNotFound) IsRedirect() bool

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

func (*DescribeEventLoopNotFound) IsServerError

func (o *DescribeEventLoopNotFound) IsServerError() bool

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

func (*DescribeEventLoopNotFound) IsSuccess

func (o *DescribeEventLoopNotFound) IsSuccess() bool

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

func (*DescribeEventLoopNotFound) String

func (o *DescribeEventLoopNotFound) String() string

type DescribeEventLoopOK

type DescribeEventLoopOK struct {
	Payload *vproxy_client_model.EventLoopDetail
}

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

ok

func NewDescribeEventLoopOK

func NewDescribeEventLoopOK() *DescribeEventLoopOK

NewDescribeEventLoopOK creates a DescribeEventLoopOK with default headers values

func (*DescribeEventLoopOK) Code

func (o *DescribeEventLoopOK) Code() int

Code gets the status code for the describe event loop o k response

func (*DescribeEventLoopOK) Error

func (o *DescribeEventLoopOK) Error() string

func (*DescribeEventLoopOK) GetPayload

func (*DescribeEventLoopOK) IsClientError

func (o *DescribeEventLoopOK) IsClientError() bool

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

func (*DescribeEventLoopOK) IsCode

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

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

func (*DescribeEventLoopOK) IsRedirect

func (o *DescribeEventLoopOK) IsRedirect() bool

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

func (*DescribeEventLoopOK) IsServerError

func (o *DescribeEventLoopOK) IsServerError() bool

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

func (*DescribeEventLoopOK) IsSuccess

func (o *DescribeEventLoopOK) IsSuccess() bool

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

func (*DescribeEventLoopOK) String

func (o *DescribeEventLoopOK) String() string

type DescribeEventLoopParams

type DescribeEventLoopParams struct {

	/* El.

	   name of the event-loop
	*/
	El string

	/* Elg.

	   name of the event-loop-group
	*/
	Elg string

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

DescribeEventLoopParams contains all the parameters to send to the API endpoint

for the describe event loop operation.

Typically these are written to a http.Request.

func NewDescribeEventLoopParams

func NewDescribeEventLoopParams() *DescribeEventLoopParams

NewDescribeEventLoopParams creates a new DescribeEventLoopParams 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 NewDescribeEventLoopParamsWithContext

func NewDescribeEventLoopParamsWithContext(ctx context.Context) *DescribeEventLoopParams

NewDescribeEventLoopParamsWithContext creates a new DescribeEventLoopParams object with the ability to set a context for a request.

func NewDescribeEventLoopParamsWithHTTPClient

func NewDescribeEventLoopParamsWithHTTPClient(client *http.Client) *DescribeEventLoopParams

NewDescribeEventLoopParamsWithHTTPClient creates a new DescribeEventLoopParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeEventLoopParamsWithTimeout

func NewDescribeEventLoopParamsWithTimeout(timeout time.Duration) *DescribeEventLoopParams

NewDescribeEventLoopParamsWithTimeout creates a new DescribeEventLoopParams object with the ability to set a timeout on a request.

func (*DescribeEventLoopParams) SetContext

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

SetContext adds the context to the describe event loop params

func (*DescribeEventLoopParams) SetDefaults

func (o *DescribeEventLoopParams) SetDefaults()

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

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

func (*DescribeEventLoopParams) SetEl

func (o *DescribeEventLoopParams) SetEl(el string)

SetEl adds the el to the describe event loop params

func (*DescribeEventLoopParams) SetElg

func (o *DescribeEventLoopParams) SetElg(elg string)

SetElg adds the elg to the describe event loop params

func (*DescribeEventLoopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe event loop params

func (*DescribeEventLoopParams) SetTimeout

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

SetTimeout adds the timeout to the describe event loop params

func (*DescribeEventLoopParams) WithContext

WithContext adds the context to the describe event loop params

func (*DescribeEventLoopParams) WithDefaults

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

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

func (*DescribeEventLoopParams) WithEl

WithEl adds the el to the describe event loop params

func (*DescribeEventLoopParams) WithElg

WithElg adds the elg to the describe event loop params

func (*DescribeEventLoopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe event loop params

func (*DescribeEventLoopParams) WithTimeout

WithTimeout adds the timeout to the describe event loop params

func (*DescribeEventLoopParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeEventLoopReader

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

DescribeEventLoopReader is a Reader for the DescribeEventLoop structure.

func (*DescribeEventLoopReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventLoopBadRequest

type GetEventLoopBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewGetEventLoopBadRequest

func NewGetEventLoopBadRequest() *GetEventLoopBadRequest

NewGetEventLoopBadRequest creates a GetEventLoopBadRequest with default headers values

func (*GetEventLoopBadRequest) Code

func (o *GetEventLoopBadRequest) Code() int

Code gets the status code for the get event loop bad request response

func (*GetEventLoopBadRequest) Error

func (o *GetEventLoopBadRequest) Error() string

func (*GetEventLoopBadRequest) GetPayload

func (*GetEventLoopBadRequest) IsClientError

func (o *GetEventLoopBadRequest) IsClientError() bool

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

func (*GetEventLoopBadRequest) IsCode

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

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

func (*GetEventLoopBadRequest) IsRedirect

func (o *GetEventLoopBadRequest) IsRedirect() bool

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

func (*GetEventLoopBadRequest) IsServerError

func (o *GetEventLoopBadRequest) IsServerError() bool

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

func (*GetEventLoopBadRequest) IsSuccess

func (o *GetEventLoopBadRequest) IsSuccess() bool

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

func (*GetEventLoopBadRequest) String

func (o *GetEventLoopBadRequest) String() string

type GetEventLoopConflict

type GetEventLoopConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewGetEventLoopConflict

func NewGetEventLoopConflict() *GetEventLoopConflict

NewGetEventLoopConflict creates a GetEventLoopConflict with default headers values

func (*GetEventLoopConflict) Code

func (o *GetEventLoopConflict) Code() int

Code gets the status code for the get event loop conflict response

func (*GetEventLoopConflict) Error

func (o *GetEventLoopConflict) Error() string

func (*GetEventLoopConflict) GetPayload

func (*GetEventLoopConflict) IsClientError

func (o *GetEventLoopConflict) IsClientError() bool

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

func (*GetEventLoopConflict) IsCode

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

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

func (*GetEventLoopConflict) IsRedirect

func (o *GetEventLoopConflict) IsRedirect() bool

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

func (*GetEventLoopConflict) IsServerError

func (o *GetEventLoopConflict) IsServerError() bool

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

func (*GetEventLoopConflict) IsSuccess

func (o *GetEventLoopConflict) IsSuccess() bool

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

func (*GetEventLoopConflict) String

func (o *GetEventLoopConflict) String() string

type GetEventLoopInternalServerError

type GetEventLoopInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewGetEventLoopInternalServerError

func NewGetEventLoopInternalServerError() *GetEventLoopInternalServerError

NewGetEventLoopInternalServerError creates a GetEventLoopInternalServerError with default headers values

func (*GetEventLoopInternalServerError) Code

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

func (*GetEventLoopInternalServerError) Error

func (*GetEventLoopInternalServerError) GetPayload

func (*GetEventLoopInternalServerError) IsClientError

func (o *GetEventLoopInternalServerError) IsClientError() bool

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

func (*GetEventLoopInternalServerError) IsCode

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

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

func (*GetEventLoopInternalServerError) IsRedirect

func (o *GetEventLoopInternalServerError) IsRedirect() bool

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

func (*GetEventLoopInternalServerError) IsServerError

func (o *GetEventLoopInternalServerError) IsServerError() bool

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

func (*GetEventLoopInternalServerError) IsSuccess

func (o *GetEventLoopInternalServerError) IsSuccess() bool

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

func (*GetEventLoopInternalServerError) String

type GetEventLoopNotFound

type GetEventLoopNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewGetEventLoopNotFound

func NewGetEventLoopNotFound() *GetEventLoopNotFound

NewGetEventLoopNotFound creates a GetEventLoopNotFound with default headers values

func (*GetEventLoopNotFound) Code

func (o *GetEventLoopNotFound) Code() int

Code gets the status code for the get event loop not found response

func (*GetEventLoopNotFound) Error

func (o *GetEventLoopNotFound) Error() string

func (*GetEventLoopNotFound) GetPayload

func (*GetEventLoopNotFound) IsClientError

func (o *GetEventLoopNotFound) IsClientError() bool

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

func (*GetEventLoopNotFound) IsCode

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

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

func (*GetEventLoopNotFound) IsRedirect

func (o *GetEventLoopNotFound) IsRedirect() bool

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

func (*GetEventLoopNotFound) IsServerError

func (o *GetEventLoopNotFound) IsServerError() bool

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

func (*GetEventLoopNotFound) IsSuccess

func (o *GetEventLoopNotFound) IsSuccess() bool

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

func (*GetEventLoopNotFound) String

func (o *GetEventLoopNotFound) String() string

type GetEventLoopOK

type GetEventLoopOK struct {
	Payload *vproxy_client_model.EventLoop
}

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

ok

func NewGetEventLoopOK

func NewGetEventLoopOK() *GetEventLoopOK

NewGetEventLoopOK creates a GetEventLoopOK with default headers values

func (*GetEventLoopOK) Code

func (o *GetEventLoopOK) Code() int

Code gets the status code for the get event loop o k response

func (*GetEventLoopOK) Error

func (o *GetEventLoopOK) Error() string

func (*GetEventLoopOK) GetPayload

func (o *GetEventLoopOK) GetPayload() *vproxy_client_model.EventLoop

func (*GetEventLoopOK) IsClientError

func (o *GetEventLoopOK) IsClientError() bool

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

func (*GetEventLoopOK) IsCode

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

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

func (*GetEventLoopOK) IsRedirect

func (o *GetEventLoopOK) IsRedirect() bool

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

func (*GetEventLoopOK) IsServerError

func (o *GetEventLoopOK) IsServerError() bool

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

func (*GetEventLoopOK) IsSuccess

func (o *GetEventLoopOK) IsSuccess() bool

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

func (*GetEventLoopOK) String

func (o *GetEventLoopOK) String() string

type GetEventLoopParams

type GetEventLoopParams struct {

	/* El.

	   name of the event-loop
	*/
	El string

	/* Elg.

	   name of the event-loop-group
	*/
	Elg string

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

GetEventLoopParams contains all the parameters to send to the API endpoint

for the get event loop operation.

Typically these are written to a http.Request.

func NewGetEventLoopParams

func NewGetEventLoopParams() *GetEventLoopParams

NewGetEventLoopParams creates a new GetEventLoopParams 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 NewGetEventLoopParamsWithContext

func NewGetEventLoopParamsWithContext(ctx context.Context) *GetEventLoopParams

NewGetEventLoopParamsWithContext creates a new GetEventLoopParams object with the ability to set a context for a request.

func NewGetEventLoopParamsWithHTTPClient

func NewGetEventLoopParamsWithHTTPClient(client *http.Client) *GetEventLoopParams

NewGetEventLoopParamsWithHTTPClient creates a new GetEventLoopParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventLoopParamsWithTimeout

func NewGetEventLoopParamsWithTimeout(timeout time.Duration) *GetEventLoopParams

NewGetEventLoopParamsWithTimeout creates a new GetEventLoopParams object with the ability to set a timeout on a request.

func (*GetEventLoopParams) SetContext

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

SetContext adds the context to the get event loop params

func (*GetEventLoopParams) SetDefaults

func (o *GetEventLoopParams) SetDefaults()

SetDefaults hydrates default values in the get event loop params (not the query body).

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

func (*GetEventLoopParams) SetEl

func (o *GetEventLoopParams) SetEl(el string)

SetEl adds the el to the get event loop params

func (*GetEventLoopParams) SetElg

func (o *GetEventLoopParams) SetElg(elg string)

SetElg adds the elg to the get event loop params

func (*GetEventLoopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get event loop params

func (*GetEventLoopParams) SetTimeout

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

SetTimeout adds the timeout to the get event loop params

func (*GetEventLoopParams) WithContext

WithContext adds the context to the get event loop params

func (*GetEventLoopParams) WithDefaults

func (o *GetEventLoopParams) WithDefaults() *GetEventLoopParams

WithDefaults hydrates default values in the get event loop params (not the query body).

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

func (*GetEventLoopParams) WithEl

WithEl adds the el to the get event loop params

func (*GetEventLoopParams) WithElg

func (o *GetEventLoopParams) WithElg(elg string) *GetEventLoopParams

WithElg adds the elg to the get event loop params

func (*GetEventLoopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get event loop params

func (*GetEventLoopParams) WithTimeout

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

WithTimeout adds the timeout to the get event loop params

func (*GetEventLoopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEventLoopReader

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

GetEventLoopReader is a Reader for the GetEventLoop structure.

func (*GetEventLoopReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEventLoopBadRequest

type ListEventLoopBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewListEventLoopBadRequest

func NewListEventLoopBadRequest() *ListEventLoopBadRequest

NewListEventLoopBadRequest creates a ListEventLoopBadRequest with default headers values

func (*ListEventLoopBadRequest) Code

func (o *ListEventLoopBadRequest) Code() int

Code gets the status code for the list event loop bad request response

func (*ListEventLoopBadRequest) Error

func (o *ListEventLoopBadRequest) Error() string

func (*ListEventLoopBadRequest) GetPayload

func (*ListEventLoopBadRequest) IsClientError

func (o *ListEventLoopBadRequest) IsClientError() bool

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

func (*ListEventLoopBadRequest) IsCode

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

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

func (*ListEventLoopBadRequest) IsRedirect

func (o *ListEventLoopBadRequest) IsRedirect() bool

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

func (*ListEventLoopBadRequest) IsServerError

func (o *ListEventLoopBadRequest) IsServerError() bool

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

func (*ListEventLoopBadRequest) IsSuccess

func (o *ListEventLoopBadRequest) IsSuccess() bool

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

func (*ListEventLoopBadRequest) String

func (o *ListEventLoopBadRequest) String() string

type ListEventLoopConflict

type ListEventLoopConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewListEventLoopConflict

func NewListEventLoopConflict() *ListEventLoopConflict

NewListEventLoopConflict creates a ListEventLoopConflict with default headers values

func (*ListEventLoopConflict) Code

func (o *ListEventLoopConflict) Code() int

Code gets the status code for the list event loop conflict response

func (*ListEventLoopConflict) Error

func (o *ListEventLoopConflict) Error() string

func (*ListEventLoopConflict) GetPayload

func (*ListEventLoopConflict) IsClientError

func (o *ListEventLoopConflict) IsClientError() bool

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

func (*ListEventLoopConflict) IsCode

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

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

func (*ListEventLoopConflict) IsRedirect

func (o *ListEventLoopConflict) IsRedirect() bool

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

func (*ListEventLoopConflict) IsServerError

func (o *ListEventLoopConflict) IsServerError() bool

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

func (*ListEventLoopConflict) IsSuccess

func (o *ListEventLoopConflict) IsSuccess() bool

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

func (*ListEventLoopConflict) String

func (o *ListEventLoopConflict) String() string

type ListEventLoopInternalServerError

type ListEventLoopInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewListEventLoopInternalServerError

func NewListEventLoopInternalServerError() *ListEventLoopInternalServerError

NewListEventLoopInternalServerError creates a ListEventLoopInternalServerError with default headers values

func (*ListEventLoopInternalServerError) Code

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

func (*ListEventLoopInternalServerError) Error

func (*ListEventLoopInternalServerError) GetPayload

func (*ListEventLoopInternalServerError) IsClientError

func (o *ListEventLoopInternalServerError) IsClientError() bool

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

func (*ListEventLoopInternalServerError) IsCode

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

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

func (*ListEventLoopInternalServerError) IsRedirect

func (o *ListEventLoopInternalServerError) IsRedirect() bool

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

func (*ListEventLoopInternalServerError) IsServerError

func (o *ListEventLoopInternalServerError) IsServerError() bool

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

func (*ListEventLoopInternalServerError) IsSuccess

func (o *ListEventLoopInternalServerError) IsSuccess() bool

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

func (*ListEventLoopInternalServerError) String

type ListEventLoopOK

type ListEventLoopOK struct {
	Payload []*vproxy_client_model.EventLoop
}

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

ok

func NewListEventLoopOK

func NewListEventLoopOK() *ListEventLoopOK

NewListEventLoopOK creates a ListEventLoopOK with default headers values

func (*ListEventLoopOK) Code

func (o *ListEventLoopOK) Code() int

Code gets the status code for the list event loop o k response

func (*ListEventLoopOK) Error

func (o *ListEventLoopOK) Error() string

func (*ListEventLoopOK) GetPayload

func (o *ListEventLoopOK) GetPayload() []*vproxy_client_model.EventLoop

func (*ListEventLoopOK) IsClientError

func (o *ListEventLoopOK) IsClientError() bool

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

func (*ListEventLoopOK) IsCode

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

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

func (*ListEventLoopOK) IsRedirect

func (o *ListEventLoopOK) IsRedirect() bool

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

func (*ListEventLoopOK) IsServerError

func (o *ListEventLoopOK) IsServerError() bool

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

func (*ListEventLoopOK) IsSuccess

func (o *ListEventLoopOK) IsSuccess() bool

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

func (*ListEventLoopOK) String

func (o *ListEventLoopOK) String() string

type ListEventLoopParams

type ListEventLoopParams struct {

	/* Elg.

	   name of the event-loop-group
	*/
	Elg string

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

ListEventLoopParams contains all the parameters to send to the API endpoint

for the list event loop operation.

Typically these are written to a http.Request.

func NewListEventLoopParams

func NewListEventLoopParams() *ListEventLoopParams

NewListEventLoopParams creates a new ListEventLoopParams 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 NewListEventLoopParamsWithContext

func NewListEventLoopParamsWithContext(ctx context.Context) *ListEventLoopParams

NewListEventLoopParamsWithContext creates a new ListEventLoopParams object with the ability to set a context for a request.

func NewListEventLoopParamsWithHTTPClient

func NewListEventLoopParamsWithHTTPClient(client *http.Client) *ListEventLoopParams

NewListEventLoopParamsWithHTTPClient creates a new ListEventLoopParams object with the ability to set a custom HTTPClient for a request.

func NewListEventLoopParamsWithTimeout

func NewListEventLoopParamsWithTimeout(timeout time.Duration) *ListEventLoopParams

NewListEventLoopParamsWithTimeout creates a new ListEventLoopParams object with the ability to set a timeout on a request.

func (*ListEventLoopParams) SetContext

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

SetContext adds the context to the list event loop params

func (*ListEventLoopParams) SetDefaults

func (o *ListEventLoopParams) SetDefaults()

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

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

func (*ListEventLoopParams) SetElg

func (o *ListEventLoopParams) SetElg(elg string)

SetElg adds the elg to the list event loop params

func (*ListEventLoopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list event loop params

func (*ListEventLoopParams) SetTimeout

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

SetTimeout adds the timeout to the list event loop params

func (*ListEventLoopParams) WithContext

WithContext adds the context to the list event loop params

func (*ListEventLoopParams) WithDefaults

func (o *ListEventLoopParams) WithDefaults() *ListEventLoopParams

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

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

func (*ListEventLoopParams) WithElg

WithElg adds the elg to the list event loop params

func (*ListEventLoopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list event loop params

func (*ListEventLoopParams) WithTimeout

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

WithTimeout adds the timeout to the list event loop params

func (*ListEventLoopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListEventLoopReader

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

ListEventLoopReader is a Reader for the ListEventLoop structure.

func (*ListEventLoopReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveEventLoopBadRequest

type RemoveEventLoopBadRequest struct {
	Payload *vproxy_client_model.Error400
}

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

invalid input parameters

func NewRemoveEventLoopBadRequest

func NewRemoveEventLoopBadRequest() *RemoveEventLoopBadRequest

NewRemoveEventLoopBadRequest creates a RemoveEventLoopBadRequest with default headers values

func (*RemoveEventLoopBadRequest) Code

func (o *RemoveEventLoopBadRequest) Code() int

Code gets the status code for the remove event loop bad request response

func (*RemoveEventLoopBadRequest) Error

func (o *RemoveEventLoopBadRequest) Error() string

func (*RemoveEventLoopBadRequest) GetPayload

func (*RemoveEventLoopBadRequest) IsClientError

func (o *RemoveEventLoopBadRequest) IsClientError() bool

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

func (*RemoveEventLoopBadRequest) IsCode

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

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

func (*RemoveEventLoopBadRequest) IsRedirect

func (o *RemoveEventLoopBadRequest) IsRedirect() bool

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

func (*RemoveEventLoopBadRequest) IsServerError

func (o *RemoveEventLoopBadRequest) IsServerError() bool

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

func (*RemoveEventLoopBadRequest) IsSuccess

func (o *RemoveEventLoopBadRequest) IsSuccess() bool

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

func (*RemoveEventLoopBadRequest) String

func (o *RemoveEventLoopBadRequest) String() string

type RemoveEventLoopConflict

type RemoveEventLoopConflict struct {
	Payload *vproxy_client_model.Error409
}

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

conflict

func NewRemoveEventLoopConflict

func NewRemoveEventLoopConflict() *RemoveEventLoopConflict

NewRemoveEventLoopConflict creates a RemoveEventLoopConflict with default headers values

func (*RemoveEventLoopConflict) Code

func (o *RemoveEventLoopConflict) Code() int

Code gets the status code for the remove event loop conflict response

func (*RemoveEventLoopConflict) Error

func (o *RemoveEventLoopConflict) Error() string

func (*RemoveEventLoopConflict) GetPayload

func (*RemoveEventLoopConflict) IsClientError

func (o *RemoveEventLoopConflict) IsClientError() bool

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

func (*RemoveEventLoopConflict) IsCode

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

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

func (*RemoveEventLoopConflict) IsRedirect

func (o *RemoveEventLoopConflict) IsRedirect() bool

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

func (*RemoveEventLoopConflict) IsServerError

func (o *RemoveEventLoopConflict) IsServerError() bool

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

func (*RemoveEventLoopConflict) IsSuccess

func (o *RemoveEventLoopConflict) IsSuccess() bool

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

func (*RemoveEventLoopConflict) String

func (o *RemoveEventLoopConflict) String() string

type RemoveEventLoopInternalServerError

type RemoveEventLoopInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

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

internal error

func NewRemoveEventLoopInternalServerError

func NewRemoveEventLoopInternalServerError() *RemoveEventLoopInternalServerError

NewRemoveEventLoopInternalServerError creates a RemoveEventLoopInternalServerError with default headers values

func (*RemoveEventLoopInternalServerError) Code

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

func (*RemoveEventLoopInternalServerError) Error

func (*RemoveEventLoopInternalServerError) GetPayload

func (*RemoveEventLoopInternalServerError) IsClientError

func (o *RemoveEventLoopInternalServerError) IsClientError() bool

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

func (*RemoveEventLoopInternalServerError) IsCode

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

func (*RemoveEventLoopInternalServerError) IsRedirect

func (o *RemoveEventLoopInternalServerError) IsRedirect() bool

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

func (*RemoveEventLoopInternalServerError) IsServerError

func (o *RemoveEventLoopInternalServerError) IsServerError() bool

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

func (*RemoveEventLoopInternalServerError) IsSuccess

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

func (*RemoveEventLoopInternalServerError) String

type RemoveEventLoopNoContent

type RemoveEventLoopNoContent struct {
}

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

ok

func NewRemoveEventLoopNoContent

func NewRemoveEventLoopNoContent() *RemoveEventLoopNoContent

NewRemoveEventLoopNoContent creates a RemoveEventLoopNoContent with default headers values

func (*RemoveEventLoopNoContent) Code

func (o *RemoveEventLoopNoContent) Code() int

Code gets the status code for the remove event loop no content response

func (*RemoveEventLoopNoContent) Error

func (o *RemoveEventLoopNoContent) Error() string

func (*RemoveEventLoopNoContent) IsClientError

func (o *RemoveEventLoopNoContent) IsClientError() bool

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

func (*RemoveEventLoopNoContent) IsCode

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

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

func (*RemoveEventLoopNoContent) IsRedirect

func (o *RemoveEventLoopNoContent) IsRedirect() bool

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

func (*RemoveEventLoopNoContent) IsServerError

func (o *RemoveEventLoopNoContent) IsServerError() bool

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

func (*RemoveEventLoopNoContent) IsSuccess

func (o *RemoveEventLoopNoContent) IsSuccess() bool

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

func (*RemoveEventLoopNoContent) String

func (o *RemoveEventLoopNoContent) String() string

type RemoveEventLoopNotFound

type RemoveEventLoopNotFound struct {
	Payload *vproxy_client_model.Error404
}

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

resource not found

func NewRemoveEventLoopNotFound

func NewRemoveEventLoopNotFound() *RemoveEventLoopNotFound

NewRemoveEventLoopNotFound creates a RemoveEventLoopNotFound with default headers values

func (*RemoveEventLoopNotFound) Code

func (o *RemoveEventLoopNotFound) Code() int

Code gets the status code for the remove event loop not found response

func (*RemoveEventLoopNotFound) Error

func (o *RemoveEventLoopNotFound) Error() string

func (*RemoveEventLoopNotFound) GetPayload

func (*RemoveEventLoopNotFound) IsClientError

func (o *RemoveEventLoopNotFound) IsClientError() bool

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

func (*RemoveEventLoopNotFound) IsCode

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

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

func (*RemoveEventLoopNotFound) IsRedirect

func (o *RemoveEventLoopNotFound) IsRedirect() bool

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

func (*RemoveEventLoopNotFound) IsServerError

func (o *RemoveEventLoopNotFound) IsServerError() bool

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

func (*RemoveEventLoopNotFound) IsSuccess

func (o *RemoveEventLoopNotFound) IsSuccess() bool

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

func (*RemoveEventLoopNotFound) String

func (o *RemoveEventLoopNotFound) String() string

type RemoveEventLoopParams

type RemoveEventLoopParams struct {

	/* El.

	   name of the event-loop
	*/
	El string

	/* Elg.

	   name of the event-loop-group
	*/
	Elg string

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

RemoveEventLoopParams contains all the parameters to send to the API endpoint

for the remove event loop operation.

Typically these are written to a http.Request.

func NewRemoveEventLoopParams

func NewRemoveEventLoopParams() *RemoveEventLoopParams

NewRemoveEventLoopParams creates a new RemoveEventLoopParams 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 NewRemoveEventLoopParamsWithContext

func NewRemoveEventLoopParamsWithContext(ctx context.Context) *RemoveEventLoopParams

NewRemoveEventLoopParamsWithContext creates a new RemoveEventLoopParams object with the ability to set a context for a request.

func NewRemoveEventLoopParamsWithHTTPClient

func NewRemoveEventLoopParamsWithHTTPClient(client *http.Client) *RemoveEventLoopParams

NewRemoveEventLoopParamsWithHTTPClient creates a new RemoveEventLoopParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveEventLoopParamsWithTimeout

func NewRemoveEventLoopParamsWithTimeout(timeout time.Duration) *RemoveEventLoopParams

NewRemoveEventLoopParamsWithTimeout creates a new RemoveEventLoopParams object with the ability to set a timeout on a request.

func (*RemoveEventLoopParams) SetContext

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

SetContext adds the context to the remove event loop params

func (*RemoveEventLoopParams) SetDefaults

func (o *RemoveEventLoopParams) SetDefaults()

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

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

func (*RemoveEventLoopParams) SetEl

func (o *RemoveEventLoopParams) SetEl(el string)

SetEl adds the el to the remove event loop params

func (*RemoveEventLoopParams) SetElg

func (o *RemoveEventLoopParams) SetElg(elg string)

SetElg adds the elg to the remove event loop params

func (*RemoveEventLoopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove event loop params

func (*RemoveEventLoopParams) SetTimeout

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

SetTimeout adds the timeout to the remove event loop params

func (*RemoveEventLoopParams) WithContext

WithContext adds the context to the remove event loop params

func (*RemoveEventLoopParams) WithDefaults

func (o *RemoveEventLoopParams) WithDefaults() *RemoveEventLoopParams

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

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

func (*RemoveEventLoopParams) WithEl

WithEl adds the el to the remove event loop params

func (*RemoveEventLoopParams) WithElg

WithElg adds the elg to the remove event loop params

func (*RemoveEventLoopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove event loop params

func (*RemoveEventLoopParams) WithTimeout

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

WithTimeout adds the timeout to the remove event loop params

func (*RemoveEventLoopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveEventLoopReader

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

RemoveEventLoopReader is a Reader for the RemoveEventLoop structure.

func (*RemoveEventLoopReader) ReadResponse

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