connections_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for connections v1 API

func (*Client) CreateConnection

CreateConnection creates connection

func (*Client) DeleteConnection

DeleteConnection deletes connection

func (*Client) GetConnection

GetConnection gets connection

func (*Client) ListConnectionNames

ListConnectionNames lists connections names

func (*Client) ListConnections

ListConnections lists connections

func (*Client) PatchConnection

PatchConnection patches connection

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConnection

UpdateConnection updates connection

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new connections v1 API client.

type CreateConnectionDefault

type CreateConnectionDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateConnectionDefault

func NewCreateConnectionDefault(code int) *CreateConnectionDefault

NewCreateConnectionDefault creates a CreateConnectionDefault with default headers values

func (*CreateConnectionDefault) Code

func (o *CreateConnectionDefault) Code() int

Code gets the status code for the create connection default response

func (*CreateConnectionDefault) Error

func (o *CreateConnectionDefault) Error() string

func (*CreateConnectionDefault) GetPayload

func (*CreateConnectionDefault) IsClientError added in v1.21.0

func (o *CreateConnectionDefault) IsClientError() bool

IsClientError returns true when this create connection default response has a 4xx status code

func (*CreateConnectionDefault) IsCode added in v1.21.0

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

IsCode returns true when this create connection default response a status code equal to that given

func (*CreateConnectionDefault) IsRedirect added in v1.21.0

func (o *CreateConnectionDefault) IsRedirect() bool

IsRedirect returns true when this create connection default response has a 3xx status code

func (*CreateConnectionDefault) IsServerError added in v1.21.0

func (o *CreateConnectionDefault) IsServerError() bool

IsServerError returns true when this create connection default response has a 5xx status code

func (*CreateConnectionDefault) IsSuccess added in v1.21.0

func (o *CreateConnectionDefault) IsSuccess() bool

IsSuccess returns true when this create connection default response has a 2xx status code

func (*CreateConnectionDefault) String added in v1.21.0

func (o *CreateConnectionDefault) String() string

type CreateConnectionForbidden

type CreateConnectionForbidden struct {
	Payload interface{}
}
CreateConnectionForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateConnectionForbidden

func NewCreateConnectionForbidden() *CreateConnectionForbidden

NewCreateConnectionForbidden creates a CreateConnectionForbidden with default headers values

func (*CreateConnectionForbidden) Code added in v1.22.0

func (o *CreateConnectionForbidden) Code() int

Code gets the status code for the create connection forbidden response

func (*CreateConnectionForbidden) Error

func (o *CreateConnectionForbidden) Error() string

func (*CreateConnectionForbidden) GetPayload

func (o *CreateConnectionForbidden) GetPayload() interface{}

func (*CreateConnectionForbidden) IsClientError added in v1.21.0

func (o *CreateConnectionForbidden) IsClientError() bool

IsClientError returns true when this create connection forbidden response has a 4xx status code

func (*CreateConnectionForbidden) IsCode added in v1.21.0

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

IsCode returns true when this create connection forbidden response a status code equal to that given

func (*CreateConnectionForbidden) IsRedirect added in v1.21.0

func (o *CreateConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this create connection forbidden response has a 3xx status code

func (*CreateConnectionForbidden) IsServerError added in v1.21.0

func (o *CreateConnectionForbidden) IsServerError() bool

IsServerError returns true when this create connection forbidden response has a 5xx status code

func (*CreateConnectionForbidden) IsSuccess added in v1.21.0

func (o *CreateConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this create connection forbidden response has a 2xx status code

func (*CreateConnectionForbidden) String added in v1.21.0

func (o *CreateConnectionForbidden) String() string

type CreateConnectionNoContent

type CreateConnectionNoContent struct {
	Payload interface{}
}
CreateConnectionNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateConnectionNoContent

func NewCreateConnectionNoContent() *CreateConnectionNoContent

NewCreateConnectionNoContent creates a CreateConnectionNoContent with default headers values

func (*CreateConnectionNoContent) Code added in v1.22.0

func (o *CreateConnectionNoContent) Code() int

Code gets the status code for the create connection no content response

func (*CreateConnectionNoContent) Error

func (o *CreateConnectionNoContent) Error() string

func (*CreateConnectionNoContent) GetPayload

func (o *CreateConnectionNoContent) GetPayload() interface{}

func (*CreateConnectionNoContent) IsClientError added in v1.21.0

func (o *CreateConnectionNoContent) IsClientError() bool

IsClientError returns true when this create connection no content response has a 4xx status code

func (*CreateConnectionNoContent) IsCode added in v1.21.0

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

IsCode returns true when this create connection no content response a status code equal to that given

func (*CreateConnectionNoContent) IsRedirect added in v1.21.0

func (o *CreateConnectionNoContent) IsRedirect() bool

IsRedirect returns true when this create connection no content response has a 3xx status code

func (*CreateConnectionNoContent) IsServerError added in v1.21.0

func (o *CreateConnectionNoContent) IsServerError() bool

IsServerError returns true when this create connection no content response has a 5xx status code

func (*CreateConnectionNoContent) IsSuccess added in v1.21.0

func (o *CreateConnectionNoContent) IsSuccess() bool

IsSuccess returns true when this create connection no content response has a 2xx status code

func (*CreateConnectionNoContent) String added in v1.21.0

func (o *CreateConnectionNoContent) String() string

type CreateConnectionNotFound

type CreateConnectionNotFound struct {
	Payload interface{}
}
CreateConnectionNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateConnectionNotFound

func NewCreateConnectionNotFound() *CreateConnectionNotFound

NewCreateConnectionNotFound creates a CreateConnectionNotFound with default headers values

func (*CreateConnectionNotFound) Code added in v1.22.0

func (o *CreateConnectionNotFound) Code() int

Code gets the status code for the create connection not found response

func (*CreateConnectionNotFound) Error

func (o *CreateConnectionNotFound) Error() string

func (*CreateConnectionNotFound) GetPayload

func (o *CreateConnectionNotFound) GetPayload() interface{}

func (*CreateConnectionNotFound) IsClientError added in v1.21.0

func (o *CreateConnectionNotFound) IsClientError() bool

IsClientError returns true when this create connection not found response has a 4xx status code

func (*CreateConnectionNotFound) IsCode added in v1.21.0

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

IsCode returns true when this create connection not found response a status code equal to that given

func (*CreateConnectionNotFound) IsRedirect added in v1.21.0

func (o *CreateConnectionNotFound) IsRedirect() bool

IsRedirect returns true when this create connection not found response has a 3xx status code

func (*CreateConnectionNotFound) IsServerError added in v1.21.0

func (o *CreateConnectionNotFound) IsServerError() bool

IsServerError returns true when this create connection not found response has a 5xx status code

func (*CreateConnectionNotFound) IsSuccess added in v1.21.0

func (o *CreateConnectionNotFound) IsSuccess() bool

IsSuccess returns true when this create connection not found response has a 2xx status code

func (*CreateConnectionNotFound) String added in v1.21.0

func (o *CreateConnectionNotFound) String() string

type CreateConnectionOK

type CreateConnectionOK struct {
	Payload *service_model.V1ConnectionResponse
}
CreateConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateConnectionOK

func NewCreateConnectionOK() *CreateConnectionOK

NewCreateConnectionOK creates a CreateConnectionOK with default headers values

func (*CreateConnectionOK) Code added in v1.22.0

func (o *CreateConnectionOK) Code() int

Code gets the status code for the create connection o k response

func (*CreateConnectionOK) Error

func (o *CreateConnectionOK) Error() string

func (*CreateConnectionOK) GetPayload

func (*CreateConnectionOK) IsClientError added in v1.21.0

func (o *CreateConnectionOK) IsClientError() bool

IsClientError returns true when this create connection o k response has a 4xx status code

func (*CreateConnectionOK) IsCode added in v1.21.0

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

IsCode returns true when this create connection o k response a status code equal to that given

func (*CreateConnectionOK) IsRedirect added in v1.21.0

func (o *CreateConnectionOK) IsRedirect() bool

IsRedirect returns true when this create connection o k response has a 3xx status code

func (*CreateConnectionOK) IsServerError added in v1.21.0

func (o *CreateConnectionOK) IsServerError() bool

IsServerError returns true when this create connection o k response has a 5xx status code

func (*CreateConnectionOK) IsSuccess added in v1.21.0

func (o *CreateConnectionOK) IsSuccess() bool

IsSuccess returns true when this create connection o k response has a 2xx status code

func (*CreateConnectionOK) String added in v1.21.0

func (o *CreateConnectionOK) String() string

type CreateConnectionParams

type CreateConnectionParams struct {

	/* Body.

	   Connection body
	*/
	Body *service_model.V1ConnectionResponse

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

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

CreateConnectionParams contains all the parameters to send to the API endpoint

for the create connection operation.

Typically these are written to a http.Request.

func NewCreateConnectionParams

func NewCreateConnectionParams() *CreateConnectionParams

NewCreateConnectionParams creates a new CreateConnectionParams 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 NewCreateConnectionParamsWithContext

func NewCreateConnectionParamsWithContext(ctx context.Context) *CreateConnectionParams

NewCreateConnectionParamsWithContext creates a new CreateConnectionParams object with the ability to set a context for a request.

func NewCreateConnectionParamsWithHTTPClient

func NewCreateConnectionParamsWithHTTPClient(client *http.Client) *CreateConnectionParams

NewCreateConnectionParamsWithHTTPClient creates a new CreateConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConnectionParamsWithTimeout

func NewCreateConnectionParamsWithTimeout(timeout time.Duration) *CreateConnectionParams

NewCreateConnectionParamsWithTimeout creates a new CreateConnectionParams object with the ability to set a timeout on a request.

func (*CreateConnectionParams) SetBody

SetBody adds the body to the create connection params

func (*CreateConnectionParams) SetContext

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

SetContext adds the context to the create connection params

func (*CreateConnectionParams) SetDefaults

func (o *CreateConnectionParams) SetDefaults()

SetDefaults hydrates default values in the create connection params (not the query body).

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

func (*CreateConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create connection params

func (*CreateConnectionParams) SetOwner

func (o *CreateConnectionParams) SetOwner(owner string)

SetOwner adds the owner to the create connection params

func (*CreateConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the create connection params

func (*CreateConnectionParams) WithBody

WithBody adds the body to the create connection params

func (*CreateConnectionParams) WithContext

WithContext adds the context to the create connection params

func (*CreateConnectionParams) WithDefaults

WithDefaults hydrates default values in the create connection params (not the query body).

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

func (*CreateConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create connection params

func (*CreateConnectionParams) WithOwner

WithOwner adds the owner to the create connection params

func (*CreateConnectionParams) WithTimeout

WithTimeout adds the timeout to the create connection params

func (*CreateConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateConnectionReader

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

CreateConnectionReader is a Reader for the CreateConnection structure.

func (*CreateConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConnectionDefault

type DeleteConnectionDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteConnectionDefault

func NewDeleteConnectionDefault(code int) *DeleteConnectionDefault

NewDeleteConnectionDefault creates a DeleteConnectionDefault with default headers values

func (*DeleteConnectionDefault) Code

func (o *DeleteConnectionDefault) Code() int

Code gets the status code for the delete connection default response

func (*DeleteConnectionDefault) Error

func (o *DeleteConnectionDefault) Error() string

func (*DeleteConnectionDefault) GetPayload

func (*DeleteConnectionDefault) IsClientError added in v1.21.0

func (o *DeleteConnectionDefault) IsClientError() bool

IsClientError returns true when this delete connection default response has a 4xx status code

func (*DeleteConnectionDefault) IsCode added in v1.21.0

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

IsCode returns true when this delete connection default response a status code equal to that given

func (*DeleteConnectionDefault) IsRedirect added in v1.21.0

func (o *DeleteConnectionDefault) IsRedirect() bool

IsRedirect returns true when this delete connection default response has a 3xx status code

func (*DeleteConnectionDefault) IsServerError added in v1.21.0

func (o *DeleteConnectionDefault) IsServerError() bool

IsServerError returns true when this delete connection default response has a 5xx status code

func (*DeleteConnectionDefault) IsSuccess added in v1.21.0

func (o *DeleteConnectionDefault) IsSuccess() bool

IsSuccess returns true when this delete connection default response has a 2xx status code

func (*DeleteConnectionDefault) String added in v1.21.0

func (o *DeleteConnectionDefault) String() string

type DeleteConnectionForbidden

type DeleteConnectionForbidden struct {
	Payload interface{}
}
DeleteConnectionForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteConnectionForbidden

func NewDeleteConnectionForbidden() *DeleteConnectionForbidden

NewDeleteConnectionForbidden creates a DeleteConnectionForbidden with default headers values

func (*DeleteConnectionForbidden) Code added in v1.22.0

func (o *DeleteConnectionForbidden) Code() int

Code gets the status code for the delete connection forbidden response

func (*DeleteConnectionForbidden) Error

func (o *DeleteConnectionForbidden) Error() string

func (*DeleteConnectionForbidden) GetPayload

func (o *DeleteConnectionForbidden) GetPayload() interface{}

func (*DeleteConnectionForbidden) IsClientError added in v1.21.0

func (o *DeleteConnectionForbidden) IsClientError() bool

IsClientError returns true when this delete connection forbidden response has a 4xx status code

func (*DeleteConnectionForbidden) IsCode added in v1.21.0

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

IsCode returns true when this delete connection forbidden response a status code equal to that given

func (*DeleteConnectionForbidden) IsRedirect added in v1.21.0

func (o *DeleteConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this delete connection forbidden response has a 3xx status code

func (*DeleteConnectionForbidden) IsServerError added in v1.21.0

func (o *DeleteConnectionForbidden) IsServerError() bool

IsServerError returns true when this delete connection forbidden response has a 5xx status code

func (*DeleteConnectionForbidden) IsSuccess added in v1.21.0

func (o *DeleteConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this delete connection forbidden response has a 2xx status code

func (*DeleteConnectionForbidden) String added in v1.21.0

func (o *DeleteConnectionForbidden) String() string

type DeleteConnectionNoContent

type DeleteConnectionNoContent struct {
	Payload interface{}
}
DeleteConnectionNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteConnectionNoContent

func NewDeleteConnectionNoContent() *DeleteConnectionNoContent

NewDeleteConnectionNoContent creates a DeleteConnectionNoContent with default headers values

func (*DeleteConnectionNoContent) Code added in v1.22.0

func (o *DeleteConnectionNoContent) Code() int

Code gets the status code for the delete connection no content response

func (*DeleteConnectionNoContent) Error

func (o *DeleteConnectionNoContent) Error() string

func (*DeleteConnectionNoContent) GetPayload

func (o *DeleteConnectionNoContent) GetPayload() interface{}

func (*DeleteConnectionNoContent) IsClientError added in v1.21.0

func (o *DeleteConnectionNoContent) IsClientError() bool

IsClientError returns true when this delete connection no content response has a 4xx status code

func (*DeleteConnectionNoContent) IsCode added in v1.21.0

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

IsCode returns true when this delete connection no content response a status code equal to that given

func (*DeleteConnectionNoContent) IsRedirect added in v1.21.0

func (o *DeleteConnectionNoContent) IsRedirect() bool

IsRedirect returns true when this delete connection no content response has a 3xx status code

func (*DeleteConnectionNoContent) IsServerError added in v1.21.0

func (o *DeleteConnectionNoContent) IsServerError() bool

IsServerError returns true when this delete connection no content response has a 5xx status code

func (*DeleteConnectionNoContent) IsSuccess added in v1.21.0

func (o *DeleteConnectionNoContent) IsSuccess() bool

IsSuccess returns true when this delete connection no content response has a 2xx status code

func (*DeleteConnectionNoContent) String added in v1.21.0

func (o *DeleteConnectionNoContent) String() string

type DeleteConnectionNotFound

type DeleteConnectionNotFound struct {
	Payload interface{}
}
DeleteConnectionNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteConnectionNotFound

func NewDeleteConnectionNotFound() *DeleteConnectionNotFound

NewDeleteConnectionNotFound creates a DeleteConnectionNotFound with default headers values

func (*DeleteConnectionNotFound) Code added in v1.22.0

func (o *DeleteConnectionNotFound) Code() int

Code gets the status code for the delete connection not found response

func (*DeleteConnectionNotFound) Error

func (o *DeleteConnectionNotFound) Error() string

func (*DeleteConnectionNotFound) GetPayload

func (o *DeleteConnectionNotFound) GetPayload() interface{}

func (*DeleteConnectionNotFound) IsClientError added in v1.21.0

func (o *DeleteConnectionNotFound) IsClientError() bool

IsClientError returns true when this delete connection not found response has a 4xx status code

func (*DeleteConnectionNotFound) IsCode added in v1.21.0

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

IsCode returns true when this delete connection not found response a status code equal to that given

func (*DeleteConnectionNotFound) IsRedirect added in v1.21.0

func (o *DeleteConnectionNotFound) IsRedirect() bool

IsRedirect returns true when this delete connection not found response has a 3xx status code

func (*DeleteConnectionNotFound) IsServerError added in v1.21.0

func (o *DeleteConnectionNotFound) IsServerError() bool

IsServerError returns true when this delete connection not found response has a 5xx status code

func (*DeleteConnectionNotFound) IsSuccess added in v1.21.0

func (o *DeleteConnectionNotFound) IsSuccess() bool

IsSuccess returns true when this delete connection not found response has a 2xx status code

func (*DeleteConnectionNotFound) String added in v1.21.0

func (o *DeleteConnectionNotFound) String() string

type DeleteConnectionOK

type DeleteConnectionOK struct {
}
DeleteConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteConnectionOK

func NewDeleteConnectionOK() *DeleteConnectionOK

NewDeleteConnectionOK creates a DeleteConnectionOK with default headers values

func (*DeleteConnectionOK) Code added in v1.22.0

func (o *DeleteConnectionOK) Code() int

Code gets the status code for the delete connection o k response

func (*DeleteConnectionOK) Error

func (o *DeleteConnectionOK) Error() string

func (*DeleteConnectionOK) IsClientError added in v1.21.0

func (o *DeleteConnectionOK) IsClientError() bool

IsClientError returns true when this delete connection o k response has a 4xx status code

func (*DeleteConnectionOK) IsCode added in v1.21.0

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

IsCode returns true when this delete connection o k response a status code equal to that given

func (*DeleteConnectionOK) IsRedirect added in v1.21.0

func (o *DeleteConnectionOK) IsRedirect() bool

IsRedirect returns true when this delete connection o k response has a 3xx status code

func (*DeleteConnectionOK) IsServerError added in v1.21.0

func (o *DeleteConnectionOK) IsServerError() bool

IsServerError returns true when this delete connection o k response has a 5xx status code

func (*DeleteConnectionOK) IsSuccess added in v1.21.0

func (o *DeleteConnectionOK) IsSuccess() bool

IsSuccess returns true when this delete connection o k response has a 2xx status code

func (*DeleteConnectionOK) String added in v1.21.0

func (o *DeleteConnectionOK) String() string

type DeleteConnectionParams

type DeleteConnectionParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the entity
	*/
	UUID string

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

DeleteConnectionParams contains all the parameters to send to the API endpoint

for the delete connection operation.

Typically these are written to a http.Request.

func NewDeleteConnectionParams

func NewDeleteConnectionParams() *DeleteConnectionParams

NewDeleteConnectionParams creates a new DeleteConnectionParams 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 NewDeleteConnectionParamsWithContext

func NewDeleteConnectionParamsWithContext(ctx context.Context) *DeleteConnectionParams

NewDeleteConnectionParamsWithContext creates a new DeleteConnectionParams object with the ability to set a context for a request.

func NewDeleteConnectionParamsWithHTTPClient

func NewDeleteConnectionParamsWithHTTPClient(client *http.Client) *DeleteConnectionParams

NewDeleteConnectionParamsWithHTTPClient creates a new DeleteConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConnectionParamsWithTimeout

func NewDeleteConnectionParamsWithTimeout(timeout time.Duration) *DeleteConnectionParams

NewDeleteConnectionParamsWithTimeout creates a new DeleteConnectionParams object with the ability to set a timeout on a request.

func (*DeleteConnectionParams) SetContext

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

SetContext adds the context to the delete connection params

func (*DeleteConnectionParams) SetDefaults

func (o *DeleteConnectionParams) SetDefaults()

SetDefaults hydrates default values in the delete connection params (not the query body).

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

func (*DeleteConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete connection params

func (*DeleteConnectionParams) SetOwner

func (o *DeleteConnectionParams) SetOwner(owner string)

SetOwner adds the owner to the delete connection params

func (*DeleteConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete connection params

func (*DeleteConnectionParams) SetUUID

func (o *DeleteConnectionParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete connection params

func (*DeleteConnectionParams) WithContext

WithContext adds the context to the delete connection params

func (*DeleteConnectionParams) WithDefaults

WithDefaults hydrates default values in the delete connection params (not the query body).

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

func (*DeleteConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete connection params

func (*DeleteConnectionParams) WithOwner

WithOwner adds the owner to the delete connection params

func (*DeleteConnectionParams) WithTimeout

WithTimeout adds the timeout to the delete connection params

func (*DeleteConnectionParams) WithUUID

WithUUID adds the uuid to the delete connection params

func (*DeleteConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConnectionReader

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

DeleteConnectionReader is a Reader for the DeleteConnection structure.

func (*DeleteConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConnectionDefault

type GetConnectionDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetConnectionDefault

func NewGetConnectionDefault(code int) *GetConnectionDefault

NewGetConnectionDefault creates a GetConnectionDefault with default headers values

func (*GetConnectionDefault) Code

func (o *GetConnectionDefault) Code() int

Code gets the status code for the get connection default response

func (*GetConnectionDefault) Error

func (o *GetConnectionDefault) Error() string

func (*GetConnectionDefault) GetPayload

func (*GetConnectionDefault) IsClientError added in v1.21.0

func (o *GetConnectionDefault) IsClientError() bool

IsClientError returns true when this get connection default response has a 4xx status code

func (*GetConnectionDefault) IsCode added in v1.21.0

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

IsCode returns true when this get connection default response a status code equal to that given

func (*GetConnectionDefault) IsRedirect added in v1.21.0

func (o *GetConnectionDefault) IsRedirect() bool

IsRedirect returns true when this get connection default response has a 3xx status code

func (*GetConnectionDefault) IsServerError added in v1.21.0

func (o *GetConnectionDefault) IsServerError() bool

IsServerError returns true when this get connection default response has a 5xx status code

func (*GetConnectionDefault) IsSuccess added in v1.21.0

func (o *GetConnectionDefault) IsSuccess() bool

IsSuccess returns true when this get connection default response has a 2xx status code

func (*GetConnectionDefault) String added in v1.21.0

func (o *GetConnectionDefault) String() string

type GetConnectionForbidden

type GetConnectionForbidden struct {
	Payload interface{}
}
GetConnectionForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetConnectionForbidden

func NewGetConnectionForbidden() *GetConnectionForbidden

NewGetConnectionForbidden creates a GetConnectionForbidden with default headers values

func (*GetConnectionForbidden) Code added in v1.22.0

func (o *GetConnectionForbidden) Code() int

Code gets the status code for the get connection forbidden response

func (*GetConnectionForbidden) Error

func (o *GetConnectionForbidden) Error() string

func (*GetConnectionForbidden) GetPayload

func (o *GetConnectionForbidden) GetPayload() interface{}

func (*GetConnectionForbidden) IsClientError added in v1.21.0

func (o *GetConnectionForbidden) IsClientError() bool

IsClientError returns true when this get connection forbidden response has a 4xx status code

func (*GetConnectionForbidden) IsCode added in v1.21.0

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

IsCode returns true when this get connection forbidden response a status code equal to that given

func (*GetConnectionForbidden) IsRedirect added in v1.21.0

func (o *GetConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this get connection forbidden response has a 3xx status code

func (*GetConnectionForbidden) IsServerError added in v1.21.0

func (o *GetConnectionForbidden) IsServerError() bool

IsServerError returns true when this get connection forbidden response has a 5xx status code

func (*GetConnectionForbidden) IsSuccess added in v1.21.0

func (o *GetConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this get connection forbidden response has a 2xx status code

func (*GetConnectionForbidden) String added in v1.21.0

func (o *GetConnectionForbidden) String() string

type GetConnectionNoContent

type GetConnectionNoContent struct {
	Payload interface{}
}
GetConnectionNoContent describes a response with status code 204, with default header values.

No content.

func NewGetConnectionNoContent

func NewGetConnectionNoContent() *GetConnectionNoContent

NewGetConnectionNoContent creates a GetConnectionNoContent with default headers values

func (*GetConnectionNoContent) Code added in v1.22.0

func (o *GetConnectionNoContent) Code() int

Code gets the status code for the get connection no content response

func (*GetConnectionNoContent) Error

func (o *GetConnectionNoContent) Error() string

func (*GetConnectionNoContent) GetPayload

func (o *GetConnectionNoContent) GetPayload() interface{}

func (*GetConnectionNoContent) IsClientError added in v1.21.0

func (o *GetConnectionNoContent) IsClientError() bool

IsClientError returns true when this get connection no content response has a 4xx status code

func (*GetConnectionNoContent) IsCode added in v1.21.0

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

IsCode returns true when this get connection no content response a status code equal to that given

func (*GetConnectionNoContent) IsRedirect added in v1.21.0

func (o *GetConnectionNoContent) IsRedirect() bool

IsRedirect returns true when this get connection no content response has a 3xx status code

func (*GetConnectionNoContent) IsServerError added in v1.21.0

func (o *GetConnectionNoContent) IsServerError() bool

IsServerError returns true when this get connection no content response has a 5xx status code

func (*GetConnectionNoContent) IsSuccess added in v1.21.0

func (o *GetConnectionNoContent) IsSuccess() bool

IsSuccess returns true when this get connection no content response has a 2xx status code

func (*GetConnectionNoContent) String added in v1.21.0

func (o *GetConnectionNoContent) String() string

type GetConnectionNotFound

type GetConnectionNotFound struct {
	Payload interface{}
}
GetConnectionNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetConnectionNotFound

func NewGetConnectionNotFound() *GetConnectionNotFound

NewGetConnectionNotFound creates a GetConnectionNotFound with default headers values

func (*GetConnectionNotFound) Code added in v1.22.0

func (o *GetConnectionNotFound) Code() int

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

func (*GetConnectionNotFound) Error

func (o *GetConnectionNotFound) Error() string

func (*GetConnectionNotFound) GetPayload

func (o *GetConnectionNotFound) GetPayload() interface{}

func (*GetConnectionNotFound) IsClientError added in v1.21.0

func (o *GetConnectionNotFound) IsClientError() bool

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

func (*GetConnectionNotFound) IsCode added in v1.21.0

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

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

func (*GetConnectionNotFound) IsRedirect added in v1.21.0

func (o *GetConnectionNotFound) IsRedirect() bool

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

func (*GetConnectionNotFound) IsServerError added in v1.21.0

func (o *GetConnectionNotFound) IsServerError() bool

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

func (*GetConnectionNotFound) IsSuccess added in v1.21.0

func (o *GetConnectionNotFound) IsSuccess() bool

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

func (*GetConnectionNotFound) String added in v1.21.0

func (o *GetConnectionNotFound) String() string

type GetConnectionOK

type GetConnectionOK struct {
	Payload *service_model.V1ConnectionResponse
}
GetConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewGetConnectionOK

func NewGetConnectionOK() *GetConnectionOK

NewGetConnectionOK creates a GetConnectionOK with default headers values

func (*GetConnectionOK) Code added in v1.22.0

func (o *GetConnectionOK) Code() int

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

func (*GetConnectionOK) Error

func (o *GetConnectionOK) Error() string

func (*GetConnectionOK) GetPayload

func (*GetConnectionOK) IsClientError added in v1.21.0

func (o *GetConnectionOK) IsClientError() bool

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

func (*GetConnectionOK) IsCode added in v1.21.0

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

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

func (*GetConnectionOK) IsRedirect added in v1.21.0

func (o *GetConnectionOK) IsRedirect() bool

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

func (*GetConnectionOK) IsServerError added in v1.21.0

func (o *GetConnectionOK) IsServerError() bool

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

func (*GetConnectionOK) IsSuccess added in v1.21.0

func (o *GetConnectionOK) IsSuccess() bool

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

func (*GetConnectionOK) String added in v1.21.0

func (o *GetConnectionOK) String() string

type GetConnectionParams

type GetConnectionParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the entity
	*/
	UUID string

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

GetConnectionParams contains all the parameters to send to the API endpoint

for the get connection operation.

Typically these are written to a http.Request.

func NewGetConnectionParams

func NewGetConnectionParams() *GetConnectionParams

NewGetConnectionParams creates a new GetConnectionParams 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 NewGetConnectionParamsWithContext

func NewGetConnectionParamsWithContext(ctx context.Context) *GetConnectionParams

NewGetConnectionParamsWithContext creates a new GetConnectionParams object with the ability to set a context for a request.

func NewGetConnectionParamsWithHTTPClient

func NewGetConnectionParamsWithHTTPClient(client *http.Client) *GetConnectionParams

NewGetConnectionParamsWithHTTPClient creates a new GetConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetConnectionParamsWithTimeout

func NewGetConnectionParamsWithTimeout(timeout time.Duration) *GetConnectionParams

NewGetConnectionParamsWithTimeout creates a new GetConnectionParams object with the ability to set a timeout on a request.

func (*GetConnectionParams) SetContext

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

SetContext adds the context to the get connection params

func (*GetConnectionParams) SetDefaults

func (o *GetConnectionParams) SetDefaults()

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

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

func (*GetConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get connection params

func (*GetConnectionParams) SetOwner

func (o *GetConnectionParams) SetOwner(owner string)

SetOwner adds the owner to the get connection params

func (*GetConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get connection params

func (*GetConnectionParams) SetUUID

func (o *GetConnectionParams) SetUUID(uuid string)

SetUUID adds the uuid to the get connection params

func (*GetConnectionParams) WithContext

WithContext adds the context to the get connection params

func (*GetConnectionParams) WithDefaults

func (o *GetConnectionParams) WithDefaults() *GetConnectionParams

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

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

func (*GetConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get connection params

func (*GetConnectionParams) WithOwner

func (o *GetConnectionParams) WithOwner(owner string) *GetConnectionParams

WithOwner adds the owner to the get connection params

func (*GetConnectionParams) WithTimeout

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

WithTimeout adds the timeout to the get connection params

func (*GetConnectionParams) WithUUID

func (o *GetConnectionParams) WithUUID(uuid string) *GetConnectionParams

WithUUID adds the uuid to the get connection params

func (*GetConnectionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetConnectionReader

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

GetConnectionReader is a Reader for the GetConnection structure.

func (*GetConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConnectionNamesDefault

type ListConnectionNamesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListConnectionNamesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListConnectionNamesDefault

func NewListConnectionNamesDefault(code int) *ListConnectionNamesDefault

NewListConnectionNamesDefault creates a ListConnectionNamesDefault with default headers values

func (*ListConnectionNamesDefault) Code

func (o *ListConnectionNamesDefault) Code() int

Code gets the status code for the list connection names default response

func (*ListConnectionNamesDefault) Error

func (*ListConnectionNamesDefault) GetPayload

func (*ListConnectionNamesDefault) IsClientError added in v1.21.0

func (o *ListConnectionNamesDefault) IsClientError() bool

IsClientError returns true when this list connection names default response has a 4xx status code

func (*ListConnectionNamesDefault) IsCode added in v1.21.0

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

IsCode returns true when this list connection names default response a status code equal to that given

func (*ListConnectionNamesDefault) IsRedirect added in v1.21.0

func (o *ListConnectionNamesDefault) IsRedirect() bool

IsRedirect returns true when this list connection names default response has a 3xx status code

func (*ListConnectionNamesDefault) IsServerError added in v1.21.0

func (o *ListConnectionNamesDefault) IsServerError() bool

IsServerError returns true when this list connection names default response has a 5xx status code

func (*ListConnectionNamesDefault) IsSuccess added in v1.21.0

func (o *ListConnectionNamesDefault) IsSuccess() bool

IsSuccess returns true when this list connection names default response has a 2xx status code

func (*ListConnectionNamesDefault) String added in v1.21.0

func (o *ListConnectionNamesDefault) String() string

type ListConnectionNamesForbidden

type ListConnectionNamesForbidden struct {
	Payload interface{}
}
ListConnectionNamesForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListConnectionNamesForbidden

func NewListConnectionNamesForbidden() *ListConnectionNamesForbidden

NewListConnectionNamesForbidden creates a ListConnectionNamesForbidden with default headers values

func (*ListConnectionNamesForbidden) Code added in v1.22.0

Code gets the status code for the list connection names forbidden response

func (*ListConnectionNamesForbidden) Error

func (*ListConnectionNamesForbidden) GetPayload

func (o *ListConnectionNamesForbidden) GetPayload() interface{}

func (*ListConnectionNamesForbidden) IsClientError added in v1.21.0

func (o *ListConnectionNamesForbidden) IsClientError() bool

IsClientError returns true when this list connection names forbidden response has a 4xx status code

func (*ListConnectionNamesForbidden) IsCode added in v1.21.0

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

IsCode returns true when this list connection names forbidden response a status code equal to that given

func (*ListConnectionNamesForbidden) IsRedirect added in v1.21.0

func (o *ListConnectionNamesForbidden) IsRedirect() bool

IsRedirect returns true when this list connection names forbidden response has a 3xx status code

func (*ListConnectionNamesForbidden) IsServerError added in v1.21.0

func (o *ListConnectionNamesForbidden) IsServerError() bool

IsServerError returns true when this list connection names forbidden response has a 5xx status code

func (*ListConnectionNamesForbidden) IsSuccess added in v1.21.0

func (o *ListConnectionNamesForbidden) IsSuccess() bool

IsSuccess returns true when this list connection names forbidden response has a 2xx status code

func (*ListConnectionNamesForbidden) String added in v1.21.0

type ListConnectionNamesNoContent

type ListConnectionNamesNoContent struct {
	Payload interface{}
}
ListConnectionNamesNoContent describes a response with status code 204, with default header values.

No content.

func NewListConnectionNamesNoContent

func NewListConnectionNamesNoContent() *ListConnectionNamesNoContent

NewListConnectionNamesNoContent creates a ListConnectionNamesNoContent with default headers values

func (*ListConnectionNamesNoContent) Code added in v1.22.0

Code gets the status code for the list connection names no content response

func (*ListConnectionNamesNoContent) Error

func (*ListConnectionNamesNoContent) GetPayload

func (o *ListConnectionNamesNoContent) GetPayload() interface{}

func (*ListConnectionNamesNoContent) IsClientError added in v1.21.0

func (o *ListConnectionNamesNoContent) IsClientError() bool

IsClientError returns true when this list connection names no content response has a 4xx status code

func (*ListConnectionNamesNoContent) IsCode added in v1.21.0

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

IsCode returns true when this list connection names no content response a status code equal to that given

func (*ListConnectionNamesNoContent) IsRedirect added in v1.21.0

func (o *ListConnectionNamesNoContent) IsRedirect() bool

IsRedirect returns true when this list connection names no content response has a 3xx status code

func (*ListConnectionNamesNoContent) IsServerError added in v1.21.0

func (o *ListConnectionNamesNoContent) IsServerError() bool

IsServerError returns true when this list connection names no content response has a 5xx status code

func (*ListConnectionNamesNoContent) IsSuccess added in v1.21.0

func (o *ListConnectionNamesNoContent) IsSuccess() bool

IsSuccess returns true when this list connection names no content response has a 2xx status code

func (*ListConnectionNamesNoContent) String added in v1.21.0

type ListConnectionNamesNotFound

type ListConnectionNamesNotFound struct {
	Payload interface{}
}
ListConnectionNamesNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListConnectionNamesNotFound

func NewListConnectionNamesNotFound() *ListConnectionNamesNotFound

NewListConnectionNamesNotFound creates a ListConnectionNamesNotFound with default headers values

func (*ListConnectionNamesNotFound) Code added in v1.22.0

func (o *ListConnectionNamesNotFound) Code() int

Code gets the status code for the list connection names not found response

func (*ListConnectionNamesNotFound) Error

func (*ListConnectionNamesNotFound) GetPayload

func (o *ListConnectionNamesNotFound) GetPayload() interface{}

func (*ListConnectionNamesNotFound) IsClientError added in v1.21.0

func (o *ListConnectionNamesNotFound) IsClientError() bool

IsClientError returns true when this list connection names not found response has a 4xx status code

func (*ListConnectionNamesNotFound) IsCode added in v1.21.0

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

IsCode returns true when this list connection names not found response a status code equal to that given

func (*ListConnectionNamesNotFound) IsRedirect added in v1.21.0

func (o *ListConnectionNamesNotFound) IsRedirect() bool

IsRedirect returns true when this list connection names not found response has a 3xx status code

func (*ListConnectionNamesNotFound) IsServerError added in v1.21.0

func (o *ListConnectionNamesNotFound) IsServerError() bool

IsServerError returns true when this list connection names not found response has a 5xx status code

func (*ListConnectionNamesNotFound) IsSuccess added in v1.21.0

func (o *ListConnectionNamesNotFound) IsSuccess() bool

IsSuccess returns true when this list connection names not found response has a 2xx status code

func (*ListConnectionNamesNotFound) String added in v1.21.0

func (o *ListConnectionNamesNotFound) String() string

type ListConnectionNamesOK

type ListConnectionNamesOK struct {
	Payload *service_model.V1ListConnectionsResponse
}
ListConnectionNamesOK describes a response with status code 200, with default header values.

A successful response.

func NewListConnectionNamesOK

func NewListConnectionNamesOK() *ListConnectionNamesOK

NewListConnectionNamesOK creates a ListConnectionNamesOK with default headers values

func (*ListConnectionNamesOK) Code added in v1.22.0

func (o *ListConnectionNamesOK) Code() int

Code gets the status code for the list connection names o k response

func (*ListConnectionNamesOK) Error

func (o *ListConnectionNamesOK) Error() string

func (*ListConnectionNamesOK) GetPayload

func (*ListConnectionNamesOK) IsClientError added in v1.21.0

func (o *ListConnectionNamesOK) IsClientError() bool

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

func (*ListConnectionNamesOK) IsCode added in v1.21.0

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

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

func (*ListConnectionNamesOK) IsRedirect added in v1.21.0

func (o *ListConnectionNamesOK) IsRedirect() bool

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

func (*ListConnectionNamesOK) IsServerError added in v1.21.0

func (o *ListConnectionNamesOK) IsServerError() bool

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

func (*ListConnectionNamesOK) IsSuccess added in v1.21.0

func (o *ListConnectionNamesOK) IsSuccess() bool

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

func (*ListConnectionNamesOK) String added in v1.21.0

func (o *ListConnectionNamesOK) String() string

type ListConnectionNamesParams

type ListConnectionNamesParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

ListConnectionNamesParams contains all the parameters to send to the API endpoint

for the list connection names operation.

Typically these are written to a http.Request.

func NewListConnectionNamesParams

func NewListConnectionNamesParams() *ListConnectionNamesParams

NewListConnectionNamesParams creates a new ListConnectionNamesParams 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 NewListConnectionNamesParamsWithContext

func NewListConnectionNamesParamsWithContext(ctx context.Context) *ListConnectionNamesParams

NewListConnectionNamesParamsWithContext creates a new ListConnectionNamesParams object with the ability to set a context for a request.

func NewListConnectionNamesParamsWithHTTPClient

func NewListConnectionNamesParamsWithHTTPClient(client *http.Client) *ListConnectionNamesParams

NewListConnectionNamesParamsWithHTTPClient creates a new ListConnectionNamesParams object with the ability to set a custom HTTPClient for a request.

func NewListConnectionNamesParamsWithTimeout

func NewListConnectionNamesParamsWithTimeout(timeout time.Duration) *ListConnectionNamesParams

NewListConnectionNamesParamsWithTimeout creates a new ListConnectionNamesParams object with the ability to set a timeout on a request.

func (*ListConnectionNamesParams) SetBookmarks

func (o *ListConnectionNamesParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list connection names params

func (*ListConnectionNamesParams) SetContext

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

SetContext adds the context to the list connection names params

func (*ListConnectionNamesParams) SetDefaults

func (o *ListConnectionNamesParams) SetDefaults()

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

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

func (*ListConnectionNamesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list connection names params

func (*ListConnectionNamesParams) SetLimit

func (o *ListConnectionNamesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list connection names params

func (*ListConnectionNamesParams) SetMode

func (o *ListConnectionNamesParams) SetMode(mode *string)

SetMode adds the mode to the list connection names params

func (*ListConnectionNamesParams) SetNoPage

func (o *ListConnectionNamesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list connection names params

func (*ListConnectionNamesParams) SetOffset

func (o *ListConnectionNamesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list connection names params

func (*ListConnectionNamesParams) SetOwner

func (o *ListConnectionNamesParams) SetOwner(owner string)

SetOwner adds the owner to the list connection names params

func (*ListConnectionNamesParams) SetQuery

func (o *ListConnectionNamesParams) SetQuery(query *string)

SetQuery adds the query to the list connection names params

func (*ListConnectionNamesParams) SetSort

func (o *ListConnectionNamesParams) SetSort(sort *string)

SetSort adds the sort to the list connection names params

func (*ListConnectionNamesParams) SetTimeout

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

SetTimeout adds the timeout to the list connection names params

func (*ListConnectionNamesParams) WithBookmarks

func (o *ListConnectionNamesParams) WithBookmarks(bookmarks *bool) *ListConnectionNamesParams

WithBookmarks adds the bookmarks to the list connection names params

func (*ListConnectionNamesParams) WithContext

WithContext adds the context to the list connection names params

func (*ListConnectionNamesParams) WithDefaults

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

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

func (*ListConnectionNamesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list connection names params

func (*ListConnectionNamesParams) WithLimit

WithLimit adds the limit to the list connection names params

func (*ListConnectionNamesParams) WithMode

WithMode adds the mode to the list connection names params

func (*ListConnectionNamesParams) WithNoPage

WithNoPage adds the noPage to the list connection names params

func (*ListConnectionNamesParams) WithOffset

WithOffset adds the offset to the list connection names params

func (*ListConnectionNamesParams) WithOwner

WithOwner adds the owner to the list connection names params

func (*ListConnectionNamesParams) WithQuery

WithQuery adds the query to the list connection names params

func (*ListConnectionNamesParams) WithSort

WithSort adds the sort to the list connection names params

func (*ListConnectionNamesParams) WithTimeout

WithTimeout adds the timeout to the list connection names params

func (*ListConnectionNamesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListConnectionNamesReader

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

ListConnectionNamesReader is a Reader for the ListConnectionNames structure.

func (*ListConnectionNamesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConnectionsDefault

type ListConnectionsDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListConnectionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListConnectionsDefault

func NewListConnectionsDefault(code int) *ListConnectionsDefault

NewListConnectionsDefault creates a ListConnectionsDefault with default headers values

func (*ListConnectionsDefault) Code

func (o *ListConnectionsDefault) Code() int

Code gets the status code for the list connections default response

func (*ListConnectionsDefault) Error

func (o *ListConnectionsDefault) Error() string

func (*ListConnectionsDefault) GetPayload

func (*ListConnectionsDefault) IsClientError added in v1.21.0

func (o *ListConnectionsDefault) IsClientError() bool

IsClientError returns true when this list connections default response has a 4xx status code

func (*ListConnectionsDefault) IsCode added in v1.21.0

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

IsCode returns true when this list connections default response a status code equal to that given

func (*ListConnectionsDefault) IsRedirect added in v1.21.0

func (o *ListConnectionsDefault) IsRedirect() bool

IsRedirect returns true when this list connections default response has a 3xx status code

func (*ListConnectionsDefault) IsServerError added in v1.21.0

func (o *ListConnectionsDefault) IsServerError() bool

IsServerError returns true when this list connections default response has a 5xx status code

func (*ListConnectionsDefault) IsSuccess added in v1.21.0

func (o *ListConnectionsDefault) IsSuccess() bool

IsSuccess returns true when this list connections default response has a 2xx status code

func (*ListConnectionsDefault) String added in v1.21.0

func (o *ListConnectionsDefault) String() string

type ListConnectionsForbidden

type ListConnectionsForbidden struct {
	Payload interface{}
}
ListConnectionsForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListConnectionsForbidden

func NewListConnectionsForbidden() *ListConnectionsForbidden

NewListConnectionsForbidden creates a ListConnectionsForbidden with default headers values

func (*ListConnectionsForbidden) Code added in v1.22.0

func (o *ListConnectionsForbidden) Code() int

Code gets the status code for the list connections forbidden response

func (*ListConnectionsForbidden) Error

func (o *ListConnectionsForbidden) Error() string

func (*ListConnectionsForbidden) GetPayload

func (o *ListConnectionsForbidden) GetPayload() interface{}

func (*ListConnectionsForbidden) IsClientError added in v1.21.0

func (o *ListConnectionsForbidden) IsClientError() bool

IsClientError returns true when this list connections forbidden response has a 4xx status code

func (*ListConnectionsForbidden) IsCode added in v1.21.0

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

IsCode returns true when this list connections forbidden response a status code equal to that given

func (*ListConnectionsForbidden) IsRedirect added in v1.21.0

func (o *ListConnectionsForbidden) IsRedirect() bool

IsRedirect returns true when this list connections forbidden response has a 3xx status code

func (*ListConnectionsForbidden) IsServerError added in v1.21.0

func (o *ListConnectionsForbidden) IsServerError() bool

IsServerError returns true when this list connections forbidden response has a 5xx status code

func (*ListConnectionsForbidden) IsSuccess added in v1.21.0

func (o *ListConnectionsForbidden) IsSuccess() bool

IsSuccess returns true when this list connections forbidden response has a 2xx status code

func (*ListConnectionsForbidden) String added in v1.21.0

func (o *ListConnectionsForbidden) String() string

type ListConnectionsNoContent

type ListConnectionsNoContent struct {
	Payload interface{}
}
ListConnectionsNoContent describes a response with status code 204, with default header values.

No content.

func NewListConnectionsNoContent

func NewListConnectionsNoContent() *ListConnectionsNoContent

NewListConnectionsNoContent creates a ListConnectionsNoContent with default headers values

func (*ListConnectionsNoContent) Code added in v1.22.0

func (o *ListConnectionsNoContent) Code() int

Code gets the status code for the list connections no content response

func (*ListConnectionsNoContent) Error

func (o *ListConnectionsNoContent) Error() string

func (*ListConnectionsNoContent) GetPayload

func (o *ListConnectionsNoContent) GetPayload() interface{}

func (*ListConnectionsNoContent) IsClientError added in v1.21.0

func (o *ListConnectionsNoContent) IsClientError() bool

IsClientError returns true when this list connections no content response has a 4xx status code

func (*ListConnectionsNoContent) IsCode added in v1.21.0

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

IsCode returns true when this list connections no content response a status code equal to that given

func (*ListConnectionsNoContent) IsRedirect added in v1.21.0

func (o *ListConnectionsNoContent) IsRedirect() bool

IsRedirect returns true when this list connections no content response has a 3xx status code

func (*ListConnectionsNoContent) IsServerError added in v1.21.0

func (o *ListConnectionsNoContent) IsServerError() bool

IsServerError returns true when this list connections no content response has a 5xx status code

func (*ListConnectionsNoContent) IsSuccess added in v1.21.0

func (o *ListConnectionsNoContent) IsSuccess() bool

IsSuccess returns true when this list connections no content response has a 2xx status code

func (*ListConnectionsNoContent) String added in v1.21.0

func (o *ListConnectionsNoContent) String() string

type ListConnectionsNotFound

type ListConnectionsNotFound struct {
	Payload interface{}
}
ListConnectionsNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListConnectionsNotFound

func NewListConnectionsNotFound() *ListConnectionsNotFound

NewListConnectionsNotFound creates a ListConnectionsNotFound with default headers values

func (*ListConnectionsNotFound) Code added in v1.22.0

func (o *ListConnectionsNotFound) Code() int

Code gets the status code for the list connections not found response

func (*ListConnectionsNotFound) Error

func (o *ListConnectionsNotFound) Error() string

func (*ListConnectionsNotFound) GetPayload

func (o *ListConnectionsNotFound) GetPayload() interface{}

func (*ListConnectionsNotFound) IsClientError added in v1.21.0

func (o *ListConnectionsNotFound) IsClientError() bool

IsClientError returns true when this list connections not found response has a 4xx status code

func (*ListConnectionsNotFound) IsCode added in v1.21.0

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

IsCode returns true when this list connections not found response a status code equal to that given

func (*ListConnectionsNotFound) IsRedirect added in v1.21.0

func (o *ListConnectionsNotFound) IsRedirect() bool

IsRedirect returns true when this list connections not found response has a 3xx status code

func (*ListConnectionsNotFound) IsServerError added in v1.21.0

func (o *ListConnectionsNotFound) IsServerError() bool

IsServerError returns true when this list connections not found response has a 5xx status code

func (*ListConnectionsNotFound) IsSuccess added in v1.21.0

func (o *ListConnectionsNotFound) IsSuccess() bool

IsSuccess returns true when this list connections not found response has a 2xx status code

func (*ListConnectionsNotFound) String added in v1.21.0

func (o *ListConnectionsNotFound) String() string

type ListConnectionsOK

type ListConnectionsOK struct {
	Payload *service_model.V1ListConnectionsResponse
}
ListConnectionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListConnectionsOK

func NewListConnectionsOK() *ListConnectionsOK

NewListConnectionsOK creates a ListConnectionsOK with default headers values

func (*ListConnectionsOK) Code added in v1.22.0

func (o *ListConnectionsOK) Code() int

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

func (*ListConnectionsOK) Error

func (o *ListConnectionsOK) Error() string

func (*ListConnectionsOK) GetPayload

func (*ListConnectionsOK) IsClientError added in v1.21.0

func (o *ListConnectionsOK) IsClientError() bool

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

func (*ListConnectionsOK) IsCode added in v1.21.0

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

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

func (*ListConnectionsOK) IsRedirect added in v1.21.0

func (o *ListConnectionsOK) IsRedirect() bool

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

func (*ListConnectionsOK) IsServerError added in v1.21.0

func (o *ListConnectionsOK) IsServerError() bool

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

func (*ListConnectionsOK) IsSuccess added in v1.21.0

func (o *ListConnectionsOK) IsSuccess() bool

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

func (*ListConnectionsOK) String added in v1.21.0

func (o *ListConnectionsOK) String() string

type ListConnectionsParams

type ListConnectionsParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

ListConnectionsParams contains all the parameters to send to the API endpoint

for the list connections operation.

Typically these are written to a http.Request.

func NewListConnectionsParams

func NewListConnectionsParams() *ListConnectionsParams

NewListConnectionsParams creates a new ListConnectionsParams 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 NewListConnectionsParamsWithContext

func NewListConnectionsParamsWithContext(ctx context.Context) *ListConnectionsParams

NewListConnectionsParamsWithContext creates a new ListConnectionsParams object with the ability to set a context for a request.

func NewListConnectionsParamsWithHTTPClient

func NewListConnectionsParamsWithHTTPClient(client *http.Client) *ListConnectionsParams

NewListConnectionsParamsWithHTTPClient creates a new ListConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewListConnectionsParamsWithTimeout

func NewListConnectionsParamsWithTimeout(timeout time.Duration) *ListConnectionsParams

NewListConnectionsParamsWithTimeout creates a new ListConnectionsParams object with the ability to set a timeout on a request.

func (*ListConnectionsParams) SetBookmarks

func (o *ListConnectionsParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list connections params

func (*ListConnectionsParams) SetContext

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

SetContext adds the context to the list connections params

func (*ListConnectionsParams) SetDefaults

func (o *ListConnectionsParams) SetDefaults()

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

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

func (*ListConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list connections params

func (*ListConnectionsParams) SetLimit

func (o *ListConnectionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list connections params

func (*ListConnectionsParams) SetMode

func (o *ListConnectionsParams) SetMode(mode *string)

SetMode adds the mode to the list connections params

func (*ListConnectionsParams) SetNoPage

func (o *ListConnectionsParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list connections params

func (*ListConnectionsParams) SetOffset

func (o *ListConnectionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list connections params

func (*ListConnectionsParams) SetOwner

func (o *ListConnectionsParams) SetOwner(owner string)

SetOwner adds the owner to the list connections params

func (*ListConnectionsParams) SetQuery

func (o *ListConnectionsParams) SetQuery(query *string)

SetQuery adds the query to the list connections params

func (*ListConnectionsParams) SetSort

func (o *ListConnectionsParams) SetSort(sort *string)

SetSort adds the sort to the list connections params

func (*ListConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the list connections params

func (*ListConnectionsParams) WithBookmarks

func (o *ListConnectionsParams) WithBookmarks(bookmarks *bool) *ListConnectionsParams

WithBookmarks adds the bookmarks to the list connections params

func (*ListConnectionsParams) WithContext

WithContext adds the context to the list connections params

func (*ListConnectionsParams) WithDefaults

func (o *ListConnectionsParams) WithDefaults() *ListConnectionsParams

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

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

func (*ListConnectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list connections params

func (*ListConnectionsParams) WithLimit

func (o *ListConnectionsParams) WithLimit(limit *int32) *ListConnectionsParams

WithLimit adds the limit to the list connections params

func (*ListConnectionsParams) WithMode

WithMode adds the mode to the list connections params

func (*ListConnectionsParams) WithNoPage

func (o *ListConnectionsParams) WithNoPage(noPage *bool) *ListConnectionsParams

WithNoPage adds the noPage to the list connections params

func (*ListConnectionsParams) WithOffset

func (o *ListConnectionsParams) WithOffset(offset *int32) *ListConnectionsParams

WithOffset adds the offset to the list connections params

func (*ListConnectionsParams) WithOwner

func (o *ListConnectionsParams) WithOwner(owner string) *ListConnectionsParams

WithOwner adds the owner to the list connections params

func (*ListConnectionsParams) WithQuery

func (o *ListConnectionsParams) WithQuery(query *string) *ListConnectionsParams

WithQuery adds the query to the list connections params

func (*ListConnectionsParams) WithSort

WithSort adds the sort to the list connections params

func (*ListConnectionsParams) WithTimeout

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

WithTimeout adds the timeout to the list connections params

func (*ListConnectionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConnectionsReader

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

ListConnectionsReader is a Reader for the ListConnections structure.

func (*ListConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchConnectionDefault

type PatchConnectionDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchConnectionDefault

func NewPatchConnectionDefault(code int) *PatchConnectionDefault

NewPatchConnectionDefault creates a PatchConnectionDefault with default headers values

func (*PatchConnectionDefault) Code

func (o *PatchConnectionDefault) Code() int

Code gets the status code for the patch connection default response

func (*PatchConnectionDefault) Error

func (o *PatchConnectionDefault) Error() string

func (*PatchConnectionDefault) GetPayload

func (*PatchConnectionDefault) IsClientError added in v1.21.0

func (o *PatchConnectionDefault) IsClientError() bool

IsClientError returns true when this patch connection default response has a 4xx status code

func (*PatchConnectionDefault) IsCode added in v1.21.0

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

IsCode returns true when this patch connection default response a status code equal to that given

func (*PatchConnectionDefault) IsRedirect added in v1.21.0

func (o *PatchConnectionDefault) IsRedirect() bool

IsRedirect returns true when this patch connection default response has a 3xx status code

func (*PatchConnectionDefault) IsServerError added in v1.21.0

func (o *PatchConnectionDefault) IsServerError() bool

IsServerError returns true when this patch connection default response has a 5xx status code

func (*PatchConnectionDefault) IsSuccess added in v1.21.0

func (o *PatchConnectionDefault) IsSuccess() bool

IsSuccess returns true when this patch connection default response has a 2xx status code

func (*PatchConnectionDefault) String added in v1.21.0

func (o *PatchConnectionDefault) String() string

type PatchConnectionForbidden

type PatchConnectionForbidden struct {
	Payload interface{}
}
PatchConnectionForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchConnectionForbidden

func NewPatchConnectionForbidden() *PatchConnectionForbidden

NewPatchConnectionForbidden creates a PatchConnectionForbidden with default headers values

func (*PatchConnectionForbidden) Code added in v1.22.0

func (o *PatchConnectionForbidden) Code() int

Code gets the status code for the patch connection forbidden response

func (*PatchConnectionForbidden) Error

func (o *PatchConnectionForbidden) Error() string

func (*PatchConnectionForbidden) GetPayload

func (o *PatchConnectionForbidden) GetPayload() interface{}

func (*PatchConnectionForbidden) IsClientError added in v1.21.0

func (o *PatchConnectionForbidden) IsClientError() bool

IsClientError returns true when this patch connection forbidden response has a 4xx status code

func (*PatchConnectionForbidden) IsCode added in v1.21.0

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

IsCode returns true when this patch connection forbidden response a status code equal to that given

func (*PatchConnectionForbidden) IsRedirect added in v1.21.0

func (o *PatchConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this patch connection forbidden response has a 3xx status code

func (*PatchConnectionForbidden) IsServerError added in v1.21.0

func (o *PatchConnectionForbidden) IsServerError() bool

IsServerError returns true when this patch connection forbidden response has a 5xx status code

func (*PatchConnectionForbidden) IsSuccess added in v1.21.0

func (o *PatchConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this patch connection forbidden response has a 2xx status code

func (*PatchConnectionForbidden) String added in v1.21.0

func (o *PatchConnectionForbidden) String() string

type PatchConnectionNoContent

type PatchConnectionNoContent struct {
	Payload interface{}
}
PatchConnectionNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchConnectionNoContent

func NewPatchConnectionNoContent() *PatchConnectionNoContent

NewPatchConnectionNoContent creates a PatchConnectionNoContent with default headers values

func (*PatchConnectionNoContent) Code added in v1.22.0

func (o *PatchConnectionNoContent) Code() int

Code gets the status code for the patch connection no content response

func (*PatchConnectionNoContent) Error

func (o *PatchConnectionNoContent) Error() string

func (*PatchConnectionNoContent) GetPayload

func (o *PatchConnectionNoContent) GetPayload() interface{}

func (*PatchConnectionNoContent) IsClientError added in v1.21.0

func (o *PatchConnectionNoContent) IsClientError() bool

IsClientError returns true when this patch connection no content response has a 4xx status code

func (*PatchConnectionNoContent) IsCode added in v1.21.0

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

IsCode returns true when this patch connection no content response a status code equal to that given

func (*PatchConnectionNoContent) IsRedirect added in v1.21.0

func (o *PatchConnectionNoContent) IsRedirect() bool

IsRedirect returns true when this patch connection no content response has a 3xx status code

func (*PatchConnectionNoContent) IsServerError added in v1.21.0

func (o *PatchConnectionNoContent) IsServerError() bool

IsServerError returns true when this patch connection no content response has a 5xx status code

func (*PatchConnectionNoContent) IsSuccess added in v1.21.0

func (o *PatchConnectionNoContent) IsSuccess() bool

IsSuccess returns true when this patch connection no content response has a 2xx status code

func (*PatchConnectionNoContent) String added in v1.21.0

func (o *PatchConnectionNoContent) String() string

type PatchConnectionNotFound

type PatchConnectionNotFound struct {
	Payload interface{}
}
PatchConnectionNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchConnectionNotFound

func NewPatchConnectionNotFound() *PatchConnectionNotFound

NewPatchConnectionNotFound creates a PatchConnectionNotFound with default headers values

func (*PatchConnectionNotFound) Code added in v1.22.0

func (o *PatchConnectionNotFound) Code() int

Code gets the status code for the patch connection not found response

func (*PatchConnectionNotFound) Error

func (o *PatchConnectionNotFound) Error() string

func (*PatchConnectionNotFound) GetPayload

func (o *PatchConnectionNotFound) GetPayload() interface{}

func (*PatchConnectionNotFound) IsClientError added in v1.21.0

func (o *PatchConnectionNotFound) IsClientError() bool

IsClientError returns true when this patch connection not found response has a 4xx status code

func (*PatchConnectionNotFound) IsCode added in v1.21.0

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

IsCode returns true when this patch connection not found response a status code equal to that given

func (*PatchConnectionNotFound) IsRedirect added in v1.21.0

func (o *PatchConnectionNotFound) IsRedirect() bool

IsRedirect returns true when this patch connection not found response has a 3xx status code

func (*PatchConnectionNotFound) IsServerError added in v1.21.0

func (o *PatchConnectionNotFound) IsServerError() bool

IsServerError returns true when this patch connection not found response has a 5xx status code

func (*PatchConnectionNotFound) IsSuccess added in v1.21.0

func (o *PatchConnectionNotFound) IsSuccess() bool

IsSuccess returns true when this patch connection not found response has a 2xx status code

func (*PatchConnectionNotFound) String added in v1.21.0

func (o *PatchConnectionNotFound) String() string

type PatchConnectionOK

type PatchConnectionOK struct {
	Payload *service_model.V1ConnectionResponse
}
PatchConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchConnectionOK

func NewPatchConnectionOK() *PatchConnectionOK

NewPatchConnectionOK creates a PatchConnectionOK with default headers values

func (*PatchConnectionOK) Code added in v1.22.0

func (o *PatchConnectionOK) Code() int

Code gets the status code for the patch connection o k response

func (*PatchConnectionOK) Error

func (o *PatchConnectionOK) Error() string

func (*PatchConnectionOK) GetPayload

func (*PatchConnectionOK) IsClientError added in v1.21.0

func (o *PatchConnectionOK) IsClientError() bool

IsClientError returns true when this patch connection o k response has a 4xx status code

func (*PatchConnectionOK) IsCode added in v1.21.0

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

IsCode returns true when this patch connection o k response a status code equal to that given

func (*PatchConnectionOK) IsRedirect added in v1.21.0

func (o *PatchConnectionOK) IsRedirect() bool

IsRedirect returns true when this patch connection o k response has a 3xx status code

func (*PatchConnectionOK) IsServerError added in v1.21.0

func (o *PatchConnectionOK) IsServerError() bool

IsServerError returns true when this patch connection o k response has a 5xx status code

func (*PatchConnectionOK) IsSuccess added in v1.21.0

func (o *PatchConnectionOK) IsSuccess() bool

IsSuccess returns true when this patch connection o k response has a 2xx status code

func (*PatchConnectionOK) String added in v1.21.0

func (o *PatchConnectionOK) String() string

type PatchConnectionParams

type PatchConnectionParams struct {

	/* Body.

	   Connection body
	*/
	Body *service_model.V1ConnectionResponse

	/* ConnectionUUID.

	   UUID
	*/
	ConnectionUUID string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

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

PatchConnectionParams contains all the parameters to send to the API endpoint

for the patch connection operation.

Typically these are written to a http.Request.

func NewPatchConnectionParams

func NewPatchConnectionParams() *PatchConnectionParams

NewPatchConnectionParams creates a new PatchConnectionParams 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 NewPatchConnectionParamsWithContext

func NewPatchConnectionParamsWithContext(ctx context.Context) *PatchConnectionParams

NewPatchConnectionParamsWithContext creates a new PatchConnectionParams object with the ability to set a context for a request.

func NewPatchConnectionParamsWithHTTPClient

func NewPatchConnectionParamsWithHTTPClient(client *http.Client) *PatchConnectionParams

NewPatchConnectionParamsWithHTTPClient creates a new PatchConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewPatchConnectionParamsWithTimeout

func NewPatchConnectionParamsWithTimeout(timeout time.Duration) *PatchConnectionParams

NewPatchConnectionParamsWithTimeout creates a new PatchConnectionParams object with the ability to set a timeout on a request.

func (*PatchConnectionParams) SetBody

SetBody adds the body to the patch connection params

func (*PatchConnectionParams) SetConnectionUUID

func (o *PatchConnectionParams) SetConnectionUUID(connectionUUID string)

SetConnectionUUID adds the connectionUuid to the patch connection params

func (*PatchConnectionParams) SetContext

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

SetContext adds the context to the patch connection params

func (*PatchConnectionParams) SetDefaults

func (o *PatchConnectionParams) SetDefaults()

SetDefaults hydrates default values in the patch connection params (not the query body).

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

func (*PatchConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch connection params

func (*PatchConnectionParams) SetOwner

func (o *PatchConnectionParams) SetOwner(owner string)

SetOwner adds the owner to the patch connection params

func (*PatchConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the patch connection params

func (*PatchConnectionParams) WithBody

WithBody adds the body to the patch connection params

func (*PatchConnectionParams) WithConnectionUUID

func (o *PatchConnectionParams) WithConnectionUUID(connectionUUID string) *PatchConnectionParams

WithConnectionUUID adds the connectionUUID to the patch connection params

func (*PatchConnectionParams) WithContext

WithContext adds the context to the patch connection params

func (*PatchConnectionParams) WithDefaults

func (o *PatchConnectionParams) WithDefaults() *PatchConnectionParams

WithDefaults hydrates default values in the patch connection params (not the query body).

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

func (*PatchConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch connection params

func (*PatchConnectionParams) WithOwner

func (o *PatchConnectionParams) WithOwner(owner string) *PatchConnectionParams

WithOwner adds the owner to the patch connection params

func (*PatchConnectionParams) WithTimeout

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

WithTimeout adds the timeout to the patch connection params

func (*PatchConnectionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchConnectionReader

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

PatchConnectionReader is a Reader for the PatchConnection structure.

func (*PatchConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConnectionDefault

type UpdateConnectionDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateConnectionDefault

func NewUpdateConnectionDefault(code int) *UpdateConnectionDefault

NewUpdateConnectionDefault creates a UpdateConnectionDefault with default headers values

func (*UpdateConnectionDefault) Code

func (o *UpdateConnectionDefault) Code() int

Code gets the status code for the update connection default response

func (*UpdateConnectionDefault) Error

func (o *UpdateConnectionDefault) Error() string

func (*UpdateConnectionDefault) GetPayload

func (*UpdateConnectionDefault) IsClientError added in v1.21.0

func (o *UpdateConnectionDefault) IsClientError() bool

IsClientError returns true when this update connection default response has a 4xx status code

func (*UpdateConnectionDefault) IsCode added in v1.21.0

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

IsCode returns true when this update connection default response a status code equal to that given

func (*UpdateConnectionDefault) IsRedirect added in v1.21.0

func (o *UpdateConnectionDefault) IsRedirect() bool

IsRedirect returns true when this update connection default response has a 3xx status code

func (*UpdateConnectionDefault) IsServerError added in v1.21.0

func (o *UpdateConnectionDefault) IsServerError() bool

IsServerError returns true when this update connection default response has a 5xx status code

func (*UpdateConnectionDefault) IsSuccess added in v1.21.0

func (o *UpdateConnectionDefault) IsSuccess() bool

IsSuccess returns true when this update connection default response has a 2xx status code

func (*UpdateConnectionDefault) String added in v1.21.0

func (o *UpdateConnectionDefault) String() string

type UpdateConnectionForbidden

type UpdateConnectionForbidden struct {
	Payload interface{}
}
UpdateConnectionForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateConnectionForbidden

func NewUpdateConnectionForbidden() *UpdateConnectionForbidden

NewUpdateConnectionForbidden creates a UpdateConnectionForbidden with default headers values

func (*UpdateConnectionForbidden) Code added in v1.22.0

func (o *UpdateConnectionForbidden) Code() int

Code gets the status code for the update connection forbidden response

func (*UpdateConnectionForbidden) Error

func (o *UpdateConnectionForbidden) Error() string

func (*UpdateConnectionForbidden) GetPayload

func (o *UpdateConnectionForbidden) GetPayload() interface{}

func (*UpdateConnectionForbidden) IsClientError added in v1.21.0

func (o *UpdateConnectionForbidden) IsClientError() bool

IsClientError returns true when this update connection forbidden response has a 4xx status code

func (*UpdateConnectionForbidden) IsCode added in v1.21.0

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

IsCode returns true when this update connection forbidden response a status code equal to that given

func (*UpdateConnectionForbidden) IsRedirect added in v1.21.0

func (o *UpdateConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this update connection forbidden response has a 3xx status code

func (*UpdateConnectionForbidden) IsServerError added in v1.21.0

func (o *UpdateConnectionForbidden) IsServerError() bool

IsServerError returns true when this update connection forbidden response has a 5xx status code

func (*UpdateConnectionForbidden) IsSuccess added in v1.21.0

func (o *UpdateConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this update connection forbidden response has a 2xx status code

func (*UpdateConnectionForbidden) String added in v1.21.0

func (o *UpdateConnectionForbidden) String() string

type UpdateConnectionNoContent

type UpdateConnectionNoContent struct {
	Payload interface{}
}
UpdateConnectionNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateConnectionNoContent

func NewUpdateConnectionNoContent() *UpdateConnectionNoContent

NewUpdateConnectionNoContent creates a UpdateConnectionNoContent with default headers values

func (*UpdateConnectionNoContent) Code added in v1.22.0

func (o *UpdateConnectionNoContent) Code() int

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

func (*UpdateConnectionNoContent) Error

func (o *UpdateConnectionNoContent) Error() string

func (*UpdateConnectionNoContent) GetPayload

func (o *UpdateConnectionNoContent) GetPayload() interface{}

func (*UpdateConnectionNoContent) IsClientError added in v1.21.0

func (o *UpdateConnectionNoContent) IsClientError() bool

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

func (*UpdateConnectionNoContent) IsCode added in v1.21.0

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

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

func (*UpdateConnectionNoContent) IsRedirect added in v1.21.0

func (o *UpdateConnectionNoContent) IsRedirect() bool

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

func (*UpdateConnectionNoContent) IsServerError added in v1.21.0

func (o *UpdateConnectionNoContent) IsServerError() bool

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

func (*UpdateConnectionNoContent) IsSuccess added in v1.21.0

func (o *UpdateConnectionNoContent) IsSuccess() bool

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

func (*UpdateConnectionNoContent) String added in v1.21.0

func (o *UpdateConnectionNoContent) String() string

type UpdateConnectionNotFound

type UpdateConnectionNotFound struct {
	Payload interface{}
}
UpdateConnectionNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateConnectionNotFound

func NewUpdateConnectionNotFound() *UpdateConnectionNotFound

NewUpdateConnectionNotFound creates a UpdateConnectionNotFound with default headers values

func (*UpdateConnectionNotFound) Code added in v1.22.0

func (o *UpdateConnectionNotFound) Code() int

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

func (*UpdateConnectionNotFound) Error

func (o *UpdateConnectionNotFound) Error() string

func (*UpdateConnectionNotFound) GetPayload

func (o *UpdateConnectionNotFound) GetPayload() interface{}

func (*UpdateConnectionNotFound) IsClientError added in v1.21.0

func (o *UpdateConnectionNotFound) IsClientError() bool

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

func (*UpdateConnectionNotFound) IsCode added in v1.21.0

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

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

func (*UpdateConnectionNotFound) IsRedirect added in v1.21.0

func (o *UpdateConnectionNotFound) IsRedirect() bool

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

func (*UpdateConnectionNotFound) IsServerError added in v1.21.0

func (o *UpdateConnectionNotFound) IsServerError() bool

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

func (*UpdateConnectionNotFound) IsSuccess added in v1.21.0

func (o *UpdateConnectionNotFound) IsSuccess() bool

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

func (*UpdateConnectionNotFound) String added in v1.21.0

func (o *UpdateConnectionNotFound) String() string

type UpdateConnectionOK

type UpdateConnectionOK struct {
	Payload *service_model.V1ConnectionResponse
}
UpdateConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateConnectionOK

func NewUpdateConnectionOK() *UpdateConnectionOK

NewUpdateConnectionOK creates a UpdateConnectionOK with default headers values

func (*UpdateConnectionOK) Code added in v1.22.0

func (o *UpdateConnectionOK) Code() int

Code gets the status code for the update connection o k response

func (*UpdateConnectionOK) Error

func (o *UpdateConnectionOK) Error() string

func (*UpdateConnectionOK) GetPayload

func (*UpdateConnectionOK) IsClientError added in v1.21.0

func (o *UpdateConnectionOK) IsClientError() bool

IsClientError returns true when this update connection o k response has a 4xx status code

func (*UpdateConnectionOK) IsCode added in v1.21.0

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

IsCode returns true when this update connection o k response a status code equal to that given

func (*UpdateConnectionOK) IsRedirect added in v1.21.0

func (o *UpdateConnectionOK) IsRedirect() bool

IsRedirect returns true when this update connection o k response has a 3xx status code

func (*UpdateConnectionOK) IsServerError added in v1.21.0

func (o *UpdateConnectionOK) IsServerError() bool

IsServerError returns true when this update connection o k response has a 5xx status code

func (*UpdateConnectionOK) IsSuccess added in v1.21.0

func (o *UpdateConnectionOK) IsSuccess() bool

IsSuccess returns true when this update connection o k response has a 2xx status code

func (*UpdateConnectionOK) String added in v1.21.0

func (o *UpdateConnectionOK) String() string

type UpdateConnectionParams

type UpdateConnectionParams struct {

	/* Body.

	   Connection body
	*/
	Body *service_model.V1ConnectionResponse

	/* ConnectionUUID.

	   UUID
	*/
	ConnectionUUID string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

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

UpdateConnectionParams contains all the parameters to send to the API endpoint

for the update connection operation.

Typically these are written to a http.Request.

func NewUpdateConnectionParams

func NewUpdateConnectionParams() *UpdateConnectionParams

NewUpdateConnectionParams creates a new UpdateConnectionParams 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 NewUpdateConnectionParamsWithContext

func NewUpdateConnectionParamsWithContext(ctx context.Context) *UpdateConnectionParams

NewUpdateConnectionParamsWithContext creates a new UpdateConnectionParams object with the ability to set a context for a request.

func NewUpdateConnectionParamsWithHTTPClient

func NewUpdateConnectionParamsWithHTTPClient(client *http.Client) *UpdateConnectionParams

NewUpdateConnectionParamsWithHTTPClient creates a new UpdateConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConnectionParamsWithTimeout

func NewUpdateConnectionParamsWithTimeout(timeout time.Duration) *UpdateConnectionParams

NewUpdateConnectionParamsWithTimeout creates a new UpdateConnectionParams object with the ability to set a timeout on a request.

func (*UpdateConnectionParams) SetBody

SetBody adds the body to the update connection params

func (*UpdateConnectionParams) SetConnectionUUID

func (o *UpdateConnectionParams) SetConnectionUUID(connectionUUID string)

SetConnectionUUID adds the connectionUuid to the update connection params

func (*UpdateConnectionParams) SetContext

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

SetContext adds the context to the update connection params

func (*UpdateConnectionParams) SetDefaults

func (o *UpdateConnectionParams) SetDefaults()

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

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

func (*UpdateConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update connection params

func (*UpdateConnectionParams) SetOwner

func (o *UpdateConnectionParams) SetOwner(owner string)

SetOwner adds the owner to the update connection params

func (*UpdateConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the update connection params

func (*UpdateConnectionParams) WithBody

WithBody adds the body to the update connection params

func (*UpdateConnectionParams) WithConnectionUUID

func (o *UpdateConnectionParams) WithConnectionUUID(connectionUUID string) *UpdateConnectionParams

WithConnectionUUID adds the connectionUUID to the update connection params

func (*UpdateConnectionParams) WithContext

WithContext adds the context to the update connection params

func (*UpdateConnectionParams) WithDefaults

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

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

func (*UpdateConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update connection params

func (*UpdateConnectionParams) WithOwner

WithOwner adds the owner to the update connection params

func (*UpdateConnectionParams) WithTimeout

WithTimeout adds the timeout to the update connection params

func (*UpdateConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConnectionReader

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

UpdateConnectionReader is a Reader for the UpdateConnection structure.

func (*UpdateConnectionReader) ReadResponse

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