Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateConnection(params *CreateConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConnectionOK, *CreateConnectionNoContent, error)
- func (a *Client) DeleteConnection(params *DeleteConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConnectionOK, *DeleteConnectionNoContent, error)
- func (a *Client) GetConnection(params *GetConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConnectionOK, *GetConnectionNoContent, error)
- func (a *Client) ListConnectionNames(params *ListConnectionNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConnectionNamesOK, *ListConnectionNamesNoContent, error)
- func (a *Client) ListConnections(params *ListConnectionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConnectionsOK, *ListConnectionsNoContent, error)
- func (a *Client) PatchConnection(params *PatchConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchConnectionOK, *PatchConnectionNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConnection(params *UpdateConnectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateConnectionOK, *UpdateConnectionNoContent, error)
- type ClientOption
- type ClientService
- type CreateConnectionDefault
- func (o *CreateConnectionDefault) Code() int
- func (o *CreateConnectionDefault) Error() string
- func (o *CreateConnectionDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateConnectionDefault) IsClientError() bool
- func (o *CreateConnectionDefault) IsCode(code int) bool
- func (o *CreateConnectionDefault) IsRedirect() bool
- func (o *CreateConnectionDefault) IsServerError() bool
- func (o *CreateConnectionDefault) IsSuccess() bool
- func (o *CreateConnectionDefault) String() string
- type CreateConnectionForbidden
- func (o *CreateConnectionForbidden) Code() int
- func (o *CreateConnectionForbidden) Error() string
- func (o *CreateConnectionForbidden) GetPayload() interface{}
- func (o *CreateConnectionForbidden) IsClientError() bool
- func (o *CreateConnectionForbidden) IsCode(code int) bool
- func (o *CreateConnectionForbidden) IsRedirect() bool
- func (o *CreateConnectionForbidden) IsServerError() bool
- func (o *CreateConnectionForbidden) IsSuccess() bool
- func (o *CreateConnectionForbidden) String() string
- type CreateConnectionNoContent
- func (o *CreateConnectionNoContent) Code() int
- func (o *CreateConnectionNoContent) Error() string
- func (o *CreateConnectionNoContent) GetPayload() interface{}
- func (o *CreateConnectionNoContent) IsClientError() bool
- func (o *CreateConnectionNoContent) IsCode(code int) bool
- func (o *CreateConnectionNoContent) IsRedirect() bool
- func (o *CreateConnectionNoContent) IsServerError() bool
- func (o *CreateConnectionNoContent) IsSuccess() bool
- func (o *CreateConnectionNoContent) String() string
- type CreateConnectionNotFound
- func (o *CreateConnectionNotFound) Code() int
- func (o *CreateConnectionNotFound) Error() string
- func (o *CreateConnectionNotFound) GetPayload() interface{}
- func (o *CreateConnectionNotFound) IsClientError() bool
- func (o *CreateConnectionNotFound) IsCode(code int) bool
- func (o *CreateConnectionNotFound) IsRedirect() bool
- func (o *CreateConnectionNotFound) IsServerError() bool
- func (o *CreateConnectionNotFound) IsSuccess() bool
- func (o *CreateConnectionNotFound) String() string
- type CreateConnectionOK
- func (o *CreateConnectionOK) Code() int
- func (o *CreateConnectionOK) Error() string
- func (o *CreateConnectionOK) GetPayload() *service_model.V1ConnectionResponse
- func (o *CreateConnectionOK) IsClientError() bool
- func (o *CreateConnectionOK) IsCode(code int) bool
- func (o *CreateConnectionOK) IsRedirect() bool
- func (o *CreateConnectionOK) IsServerError() bool
- func (o *CreateConnectionOK) IsSuccess() bool
- func (o *CreateConnectionOK) String() string
- type CreateConnectionParams
- func NewCreateConnectionParams() *CreateConnectionParams
- func NewCreateConnectionParamsWithContext(ctx context.Context) *CreateConnectionParams
- func NewCreateConnectionParamsWithHTTPClient(client *http.Client) *CreateConnectionParams
- func NewCreateConnectionParamsWithTimeout(timeout time.Duration) *CreateConnectionParams
- func (o *CreateConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
- func (o *CreateConnectionParams) SetContext(ctx context.Context)
- func (o *CreateConnectionParams) SetDefaults()
- func (o *CreateConnectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateConnectionParams) SetOwner(owner string)
- func (o *CreateConnectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *CreateConnectionParams
- func (o *CreateConnectionParams) WithContext(ctx context.Context) *CreateConnectionParams
- func (o *CreateConnectionParams) WithDefaults() *CreateConnectionParams
- func (o *CreateConnectionParams) WithHTTPClient(client *http.Client) *CreateConnectionParams
- func (o *CreateConnectionParams) WithOwner(owner string) *CreateConnectionParams
- func (o *CreateConnectionParams) WithTimeout(timeout time.Duration) *CreateConnectionParams
- func (o *CreateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConnectionReader
- type DeleteConnectionDefault
- func (o *DeleteConnectionDefault) Code() int
- func (o *DeleteConnectionDefault) Error() string
- func (o *DeleteConnectionDefault) GetPayload() *service_model.RuntimeError
- func (o *DeleteConnectionDefault) IsClientError() bool
- func (o *DeleteConnectionDefault) IsCode(code int) bool
- func (o *DeleteConnectionDefault) IsRedirect() bool
- func (o *DeleteConnectionDefault) IsServerError() bool
- func (o *DeleteConnectionDefault) IsSuccess() bool
- func (o *DeleteConnectionDefault) String() string
- type DeleteConnectionForbidden
- func (o *DeleteConnectionForbidden) Code() int
- func (o *DeleteConnectionForbidden) Error() string
- func (o *DeleteConnectionForbidden) GetPayload() interface{}
- func (o *DeleteConnectionForbidden) IsClientError() bool
- func (o *DeleteConnectionForbidden) IsCode(code int) bool
- func (o *DeleteConnectionForbidden) IsRedirect() bool
- func (o *DeleteConnectionForbidden) IsServerError() bool
- func (o *DeleteConnectionForbidden) IsSuccess() bool
- func (o *DeleteConnectionForbidden) String() string
- type DeleteConnectionNoContent
- func (o *DeleteConnectionNoContent) Code() int
- func (o *DeleteConnectionNoContent) Error() string
- func (o *DeleteConnectionNoContent) GetPayload() interface{}
- func (o *DeleteConnectionNoContent) IsClientError() bool
- func (o *DeleteConnectionNoContent) IsCode(code int) bool
- func (o *DeleteConnectionNoContent) IsRedirect() bool
- func (o *DeleteConnectionNoContent) IsServerError() bool
- func (o *DeleteConnectionNoContent) IsSuccess() bool
- func (o *DeleteConnectionNoContent) String() string
- type DeleteConnectionNotFound
- func (o *DeleteConnectionNotFound) Code() int
- func (o *DeleteConnectionNotFound) Error() string
- func (o *DeleteConnectionNotFound) GetPayload() interface{}
- func (o *DeleteConnectionNotFound) IsClientError() bool
- func (o *DeleteConnectionNotFound) IsCode(code int) bool
- func (o *DeleteConnectionNotFound) IsRedirect() bool
- func (o *DeleteConnectionNotFound) IsServerError() bool
- func (o *DeleteConnectionNotFound) IsSuccess() bool
- func (o *DeleteConnectionNotFound) String() string
- type DeleteConnectionOK
- func (o *DeleteConnectionOK) Code() int
- func (o *DeleteConnectionOK) Error() string
- func (o *DeleteConnectionOK) IsClientError() bool
- func (o *DeleteConnectionOK) IsCode(code int) bool
- func (o *DeleteConnectionOK) IsRedirect() bool
- func (o *DeleteConnectionOK) IsServerError() bool
- func (o *DeleteConnectionOK) IsSuccess() bool
- func (o *DeleteConnectionOK) String() string
- type DeleteConnectionParams
- func NewDeleteConnectionParams() *DeleteConnectionParams
- func NewDeleteConnectionParamsWithContext(ctx context.Context) *DeleteConnectionParams
- func NewDeleteConnectionParamsWithHTTPClient(client *http.Client) *DeleteConnectionParams
- func NewDeleteConnectionParamsWithTimeout(timeout time.Duration) *DeleteConnectionParams
- func (o *DeleteConnectionParams) SetContext(ctx context.Context)
- func (o *DeleteConnectionParams) SetDefaults()
- func (o *DeleteConnectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConnectionParams) SetOwner(owner string)
- func (o *DeleteConnectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConnectionParams) SetUUID(uuid string)
- func (o *DeleteConnectionParams) WithContext(ctx context.Context) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithDefaults() *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithHTTPClient(client *http.Client) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithOwner(owner string) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithTimeout(timeout time.Duration) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithUUID(uuid string) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConnectionReader
- type GetConnectionDefault
- func (o *GetConnectionDefault) Code() int
- func (o *GetConnectionDefault) Error() string
- func (o *GetConnectionDefault) GetPayload() *service_model.RuntimeError
- func (o *GetConnectionDefault) IsClientError() bool
- func (o *GetConnectionDefault) IsCode(code int) bool
- func (o *GetConnectionDefault) IsRedirect() bool
- func (o *GetConnectionDefault) IsServerError() bool
- func (o *GetConnectionDefault) IsSuccess() bool
- func (o *GetConnectionDefault) String() string
- type GetConnectionForbidden
- func (o *GetConnectionForbidden) Code() int
- func (o *GetConnectionForbidden) Error() string
- func (o *GetConnectionForbidden) GetPayload() interface{}
- func (o *GetConnectionForbidden) IsClientError() bool
- func (o *GetConnectionForbidden) IsCode(code int) bool
- func (o *GetConnectionForbidden) IsRedirect() bool
- func (o *GetConnectionForbidden) IsServerError() bool
- func (o *GetConnectionForbidden) IsSuccess() bool
- func (o *GetConnectionForbidden) String() string
- type GetConnectionNoContent
- func (o *GetConnectionNoContent) Code() int
- func (o *GetConnectionNoContent) Error() string
- func (o *GetConnectionNoContent) GetPayload() interface{}
- func (o *GetConnectionNoContent) IsClientError() bool
- func (o *GetConnectionNoContent) IsCode(code int) bool
- func (o *GetConnectionNoContent) IsRedirect() bool
- func (o *GetConnectionNoContent) IsServerError() bool
- func (o *GetConnectionNoContent) IsSuccess() bool
- func (o *GetConnectionNoContent) String() string
- type GetConnectionNotFound
- func (o *GetConnectionNotFound) Code() int
- func (o *GetConnectionNotFound) Error() string
- func (o *GetConnectionNotFound) GetPayload() interface{}
- func (o *GetConnectionNotFound) IsClientError() bool
- func (o *GetConnectionNotFound) IsCode(code int) bool
- func (o *GetConnectionNotFound) IsRedirect() bool
- func (o *GetConnectionNotFound) IsServerError() bool
- func (o *GetConnectionNotFound) IsSuccess() bool
- func (o *GetConnectionNotFound) String() string
- type GetConnectionOK
- func (o *GetConnectionOK) Code() int
- func (o *GetConnectionOK) Error() string
- func (o *GetConnectionOK) GetPayload() *service_model.V1ConnectionResponse
- func (o *GetConnectionOK) IsClientError() bool
- func (o *GetConnectionOK) IsCode(code int) bool
- func (o *GetConnectionOK) IsRedirect() bool
- func (o *GetConnectionOK) IsServerError() bool
- func (o *GetConnectionOK) IsSuccess() bool
- func (o *GetConnectionOK) String() string
- type GetConnectionParams
- func (o *GetConnectionParams) SetContext(ctx context.Context)
- func (o *GetConnectionParams) SetDefaults()
- func (o *GetConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetConnectionParams) SetOwner(owner string)
- func (o *GetConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetConnectionParams) SetUUID(uuid string)
- func (o *GetConnectionParams) WithContext(ctx context.Context) *GetConnectionParams
- func (o *GetConnectionParams) WithDefaults() *GetConnectionParams
- func (o *GetConnectionParams) WithHTTPClient(client *http.Client) *GetConnectionParams
- func (o *GetConnectionParams) WithOwner(owner string) *GetConnectionParams
- func (o *GetConnectionParams) WithTimeout(timeout time.Duration) *GetConnectionParams
- func (o *GetConnectionParams) WithUUID(uuid string) *GetConnectionParams
- func (o *GetConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConnectionReader
- type ListConnectionNamesDefault
- func (o *ListConnectionNamesDefault) Code() int
- func (o *ListConnectionNamesDefault) Error() string
- func (o *ListConnectionNamesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListConnectionNamesDefault) IsClientError() bool
- func (o *ListConnectionNamesDefault) IsCode(code int) bool
- func (o *ListConnectionNamesDefault) IsRedirect() bool
- func (o *ListConnectionNamesDefault) IsServerError() bool
- func (o *ListConnectionNamesDefault) IsSuccess() bool
- func (o *ListConnectionNamesDefault) String() string
- type ListConnectionNamesForbidden
- func (o *ListConnectionNamesForbidden) Code() int
- func (o *ListConnectionNamesForbidden) Error() string
- func (o *ListConnectionNamesForbidden) GetPayload() interface{}
- func (o *ListConnectionNamesForbidden) IsClientError() bool
- func (o *ListConnectionNamesForbidden) IsCode(code int) bool
- func (o *ListConnectionNamesForbidden) IsRedirect() bool
- func (o *ListConnectionNamesForbidden) IsServerError() bool
- func (o *ListConnectionNamesForbidden) IsSuccess() bool
- func (o *ListConnectionNamesForbidden) String() string
- type ListConnectionNamesNoContent
- func (o *ListConnectionNamesNoContent) Code() int
- func (o *ListConnectionNamesNoContent) Error() string
- func (o *ListConnectionNamesNoContent) GetPayload() interface{}
- func (o *ListConnectionNamesNoContent) IsClientError() bool
- func (o *ListConnectionNamesNoContent) IsCode(code int) bool
- func (o *ListConnectionNamesNoContent) IsRedirect() bool
- func (o *ListConnectionNamesNoContent) IsServerError() bool
- func (o *ListConnectionNamesNoContent) IsSuccess() bool
- func (o *ListConnectionNamesNoContent) String() string
- type ListConnectionNamesNotFound
- func (o *ListConnectionNamesNotFound) Code() int
- func (o *ListConnectionNamesNotFound) Error() string
- func (o *ListConnectionNamesNotFound) GetPayload() interface{}
- func (o *ListConnectionNamesNotFound) IsClientError() bool
- func (o *ListConnectionNamesNotFound) IsCode(code int) bool
- func (o *ListConnectionNamesNotFound) IsRedirect() bool
- func (o *ListConnectionNamesNotFound) IsServerError() bool
- func (o *ListConnectionNamesNotFound) IsSuccess() bool
- func (o *ListConnectionNamesNotFound) String() string
- type ListConnectionNamesOK
- func (o *ListConnectionNamesOK) Code() int
- func (o *ListConnectionNamesOK) Error() string
- func (o *ListConnectionNamesOK) GetPayload() *service_model.V1ListConnectionsResponse
- func (o *ListConnectionNamesOK) IsClientError() bool
- func (o *ListConnectionNamesOK) IsCode(code int) bool
- func (o *ListConnectionNamesOK) IsRedirect() bool
- func (o *ListConnectionNamesOK) IsServerError() bool
- func (o *ListConnectionNamesOK) IsSuccess() bool
- func (o *ListConnectionNamesOK) String() string
- type ListConnectionNamesParams
- func NewListConnectionNamesParams() *ListConnectionNamesParams
- func NewListConnectionNamesParamsWithContext(ctx context.Context) *ListConnectionNamesParams
- func NewListConnectionNamesParamsWithHTTPClient(client *http.Client) *ListConnectionNamesParams
- func NewListConnectionNamesParamsWithTimeout(timeout time.Duration) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) SetBookmarks(bookmarks *bool)
- func (o *ListConnectionNamesParams) SetContext(ctx context.Context)
- func (o *ListConnectionNamesParams) SetDefaults()
- func (o *ListConnectionNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListConnectionNamesParams) SetLimit(limit *int32)
- func (o *ListConnectionNamesParams) SetMode(mode *string)
- func (o *ListConnectionNamesParams) SetNoPage(noPage *bool)
- func (o *ListConnectionNamesParams) SetOffset(offset *int32)
- func (o *ListConnectionNamesParams) SetOwner(owner string)
- func (o *ListConnectionNamesParams) SetQuery(query *string)
- func (o *ListConnectionNamesParams) SetSort(sort *string)
- func (o *ListConnectionNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListConnectionNamesParams) WithBookmarks(bookmarks *bool) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithContext(ctx context.Context) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithDefaults() *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithHTTPClient(client *http.Client) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithLimit(limit *int32) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithMode(mode *string) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithNoPage(noPage *bool) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithOffset(offset *int32) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithOwner(owner string) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithQuery(query *string) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithSort(sort *string) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WithTimeout(timeout time.Duration) *ListConnectionNamesParams
- func (o *ListConnectionNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConnectionNamesReader
- type ListConnectionsDefault
- func (o *ListConnectionsDefault) Code() int
- func (o *ListConnectionsDefault) Error() string
- func (o *ListConnectionsDefault) GetPayload() *service_model.RuntimeError
- func (o *ListConnectionsDefault) IsClientError() bool
- func (o *ListConnectionsDefault) IsCode(code int) bool
- func (o *ListConnectionsDefault) IsRedirect() bool
- func (o *ListConnectionsDefault) IsServerError() bool
- func (o *ListConnectionsDefault) IsSuccess() bool
- func (o *ListConnectionsDefault) String() string
- type ListConnectionsForbidden
- func (o *ListConnectionsForbidden) Code() int
- func (o *ListConnectionsForbidden) Error() string
- func (o *ListConnectionsForbidden) GetPayload() interface{}
- func (o *ListConnectionsForbidden) IsClientError() bool
- func (o *ListConnectionsForbidden) IsCode(code int) bool
- func (o *ListConnectionsForbidden) IsRedirect() bool
- func (o *ListConnectionsForbidden) IsServerError() bool
- func (o *ListConnectionsForbidden) IsSuccess() bool
- func (o *ListConnectionsForbidden) String() string
- type ListConnectionsNoContent
- func (o *ListConnectionsNoContent) Code() int
- func (o *ListConnectionsNoContent) Error() string
- func (o *ListConnectionsNoContent) GetPayload() interface{}
- func (o *ListConnectionsNoContent) IsClientError() bool
- func (o *ListConnectionsNoContent) IsCode(code int) bool
- func (o *ListConnectionsNoContent) IsRedirect() bool
- func (o *ListConnectionsNoContent) IsServerError() bool
- func (o *ListConnectionsNoContent) IsSuccess() bool
- func (o *ListConnectionsNoContent) String() string
- type ListConnectionsNotFound
- func (o *ListConnectionsNotFound) Code() int
- func (o *ListConnectionsNotFound) Error() string
- func (o *ListConnectionsNotFound) GetPayload() interface{}
- func (o *ListConnectionsNotFound) IsClientError() bool
- func (o *ListConnectionsNotFound) IsCode(code int) bool
- func (o *ListConnectionsNotFound) IsRedirect() bool
- func (o *ListConnectionsNotFound) IsServerError() bool
- func (o *ListConnectionsNotFound) IsSuccess() bool
- func (o *ListConnectionsNotFound) String() string
- type ListConnectionsOK
- func (o *ListConnectionsOK) Code() int
- func (o *ListConnectionsOK) Error() string
- func (o *ListConnectionsOK) GetPayload() *service_model.V1ListConnectionsResponse
- func (o *ListConnectionsOK) IsClientError() bool
- func (o *ListConnectionsOK) IsCode(code int) bool
- func (o *ListConnectionsOK) IsRedirect() bool
- func (o *ListConnectionsOK) IsServerError() bool
- func (o *ListConnectionsOK) IsSuccess() bool
- func (o *ListConnectionsOK) String() string
- type ListConnectionsParams
- func NewListConnectionsParams() *ListConnectionsParams
- func NewListConnectionsParamsWithContext(ctx context.Context) *ListConnectionsParams
- func NewListConnectionsParamsWithHTTPClient(client *http.Client) *ListConnectionsParams
- func NewListConnectionsParamsWithTimeout(timeout time.Duration) *ListConnectionsParams
- func (o *ListConnectionsParams) SetBookmarks(bookmarks *bool)
- func (o *ListConnectionsParams) SetContext(ctx context.Context)
- func (o *ListConnectionsParams) SetDefaults()
- func (o *ListConnectionsParams) SetHTTPClient(client *http.Client)
- func (o *ListConnectionsParams) SetLimit(limit *int32)
- func (o *ListConnectionsParams) SetMode(mode *string)
- func (o *ListConnectionsParams) SetNoPage(noPage *bool)
- func (o *ListConnectionsParams) SetOffset(offset *int32)
- func (o *ListConnectionsParams) SetOwner(owner string)
- func (o *ListConnectionsParams) SetQuery(query *string)
- func (o *ListConnectionsParams) SetSort(sort *string)
- func (o *ListConnectionsParams) SetTimeout(timeout time.Duration)
- func (o *ListConnectionsParams) WithBookmarks(bookmarks *bool) *ListConnectionsParams
- func (o *ListConnectionsParams) WithContext(ctx context.Context) *ListConnectionsParams
- func (o *ListConnectionsParams) WithDefaults() *ListConnectionsParams
- func (o *ListConnectionsParams) WithHTTPClient(client *http.Client) *ListConnectionsParams
- func (o *ListConnectionsParams) WithLimit(limit *int32) *ListConnectionsParams
- func (o *ListConnectionsParams) WithMode(mode *string) *ListConnectionsParams
- func (o *ListConnectionsParams) WithNoPage(noPage *bool) *ListConnectionsParams
- func (o *ListConnectionsParams) WithOffset(offset *int32) *ListConnectionsParams
- func (o *ListConnectionsParams) WithOwner(owner string) *ListConnectionsParams
- func (o *ListConnectionsParams) WithQuery(query *string) *ListConnectionsParams
- func (o *ListConnectionsParams) WithSort(sort *string) *ListConnectionsParams
- func (o *ListConnectionsParams) WithTimeout(timeout time.Duration) *ListConnectionsParams
- func (o *ListConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConnectionsReader
- type PatchConnectionDefault
- func (o *PatchConnectionDefault) Code() int
- func (o *PatchConnectionDefault) Error() string
- func (o *PatchConnectionDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchConnectionDefault) IsClientError() bool
- func (o *PatchConnectionDefault) IsCode(code int) bool
- func (o *PatchConnectionDefault) IsRedirect() bool
- func (o *PatchConnectionDefault) IsServerError() bool
- func (o *PatchConnectionDefault) IsSuccess() bool
- func (o *PatchConnectionDefault) String() string
- type PatchConnectionForbidden
- func (o *PatchConnectionForbidden) Code() int
- func (o *PatchConnectionForbidden) Error() string
- func (o *PatchConnectionForbidden) GetPayload() interface{}
- func (o *PatchConnectionForbidden) IsClientError() bool
- func (o *PatchConnectionForbidden) IsCode(code int) bool
- func (o *PatchConnectionForbidden) IsRedirect() bool
- func (o *PatchConnectionForbidden) IsServerError() bool
- func (o *PatchConnectionForbidden) IsSuccess() bool
- func (o *PatchConnectionForbidden) String() string
- type PatchConnectionNoContent
- func (o *PatchConnectionNoContent) Code() int
- func (o *PatchConnectionNoContent) Error() string
- func (o *PatchConnectionNoContent) GetPayload() interface{}
- func (o *PatchConnectionNoContent) IsClientError() bool
- func (o *PatchConnectionNoContent) IsCode(code int) bool
- func (o *PatchConnectionNoContent) IsRedirect() bool
- func (o *PatchConnectionNoContent) IsServerError() bool
- func (o *PatchConnectionNoContent) IsSuccess() bool
- func (o *PatchConnectionNoContent) String() string
- type PatchConnectionNotFound
- func (o *PatchConnectionNotFound) Code() int
- func (o *PatchConnectionNotFound) Error() string
- func (o *PatchConnectionNotFound) GetPayload() interface{}
- func (o *PatchConnectionNotFound) IsClientError() bool
- func (o *PatchConnectionNotFound) IsCode(code int) bool
- func (o *PatchConnectionNotFound) IsRedirect() bool
- func (o *PatchConnectionNotFound) IsServerError() bool
- func (o *PatchConnectionNotFound) IsSuccess() bool
- func (o *PatchConnectionNotFound) String() string
- type PatchConnectionOK
- func (o *PatchConnectionOK) Code() int
- func (o *PatchConnectionOK) Error() string
- func (o *PatchConnectionOK) GetPayload() *service_model.V1ConnectionResponse
- func (o *PatchConnectionOK) IsClientError() bool
- func (o *PatchConnectionOK) IsCode(code int) bool
- func (o *PatchConnectionOK) IsRedirect() bool
- func (o *PatchConnectionOK) IsServerError() bool
- func (o *PatchConnectionOK) IsSuccess() bool
- func (o *PatchConnectionOK) String() string
- type PatchConnectionParams
- func NewPatchConnectionParams() *PatchConnectionParams
- func NewPatchConnectionParamsWithContext(ctx context.Context) *PatchConnectionParams
- func NewPatchConnectionParamsWithHTTPClient(client *http.Client) *PatchConnectionParams
- func NewPatchConnectionParamsWithTimeout(timeout time.Duration) *PatchConnectionParams
- func (o *PatchConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
- func (o *PatchConnectionParams) SetConnectionUUID(connectionUUID string)
- func (o *PatchConnectionParams) SetContext(ctx context.Context)
- func (o *PatchConnectionParams) SetDefaults()
- func (o *PatchConnectionParams) SetHTTPClient(client *http.Client)
- func (o *PatchConnectionParams) SetOwner(owner string)
- func (o *PatchConnectionParams) SetTimeout(timeout time.Duration)
- func (o *PatchConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *PatchConnectionParams
- func (o *PatchConnectionParams) WithConnectionUUID(connectionUUID string) *PatchConnectionParams
- func (o *PatchConnectionParams) WithContext(ctx context.Context) *PatchConnectionParams
- func (o *PatchConnectionParams) WithDefaults() *PatchConnectionParams
- func (o *PatchConnectionParams) WithHTTPClient(client *http.Client) *PatchConnectionParams
- func (o *PatchConnectionParams) WithOwner(owner string) *PatchConnectionParams
- func (o *PatchConnectionParams) WithTimeout(timeout time.Duration) *PatchConnectionParams
- func (o *PatchConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConnectionReader
- type UpdateConnectionDefault
- func (o *UpdateConnectionDefault) Code() int
- func (o *UpdateConnectionDefault) Error() string
- func (o *UpdateConnectionDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateConnectionDefault) IsClientError() bool
- func (o *UpdateConnectionDefault) IsCode(code int) bool
- func (o *UpdateConnectionDefault) IsRedirect() bool
- func (o *UpdateConnectionDefault) IsServerError() bool
- func (o *UpdateConnectionDefault) IsSuccess() bool
- func (o *UpdateConnectionDefault) String() string
- type UpdateConnectionForbidden
- func (o *UpdateConnectionForbidden) Code() int
- func (o *UpdateConnectionForbidden) Error() string
- func (o *UpdateConnectionForbidden) GetPayload() interface{}
- func (o *UpdateConnectionForbidden) IsClientError() bool
- func (o *UpdateConnectionForbidden) IsCode(code int) bool
- func (o *UpdateConnectionForbidden) IsRedirect() bool
- func (o *UpdateConnectionForbidden) IsServerError() bool
- func (o *UpdateConnectionForbidden) IsSuccess() bool
- func (o *UpdateConnectionForbidden) String() string
- type UpdateConnectionNoContent
- func (o *UpdateConnectionNoContent) Code() int
- func (o *UpdateConnectionNoContent) Error() string
- func (o *UpdateConnectionNoContent) GetPayload() interface{}
- func (o *UpdateConnectionNoContent) IsClientError() bool
- func (o *UpdateConnectionNoContent) IsCode(code int) bool
- func (o *UpdateConnectionNoContent) IsRedirect() bool
- func (o *UpdateConnectionNoContent) IsServerError() bool
- func (o *UpdateConnectionNoContent) IsSuccess() bool
- func (o *UpdateConnectionNoContent) String() string
- type UpdateConnectionNotFound
- func (o *UpdateConnectionNotFound) Code() int
- func (o *UpdateConnectionNotFound) Error() string
- func (o *UpdateConnectionNotFound) GetPayload() interface{}
- func (o *UpdateConnectionNotFound) IsClientError() bool
- func (o *UpdateConnectionNotFound) IsCode(code int) bool
- func (o *UpdateConnectionNotFound) IsRedirect() bool
- func (o *UpdateConnectionNotFound) IsServerError() bool
- func (o *UpdateConnectionNotFound) IsSuccess() bool
- func (o *UpdateConnectionNotFound) String() string
- type UpdateConnectionOK
- func (o *UpdateConnectionOK) Code() int
- func (o *UpdateConnectionOK) Error() string
- func (o *UpdateConnectionOK) GetPayload() *service_model.V1ConnectionResponse
- func (o *UpdateConnectionOK) IsClientError() bool
- func (o *UpdateConnectionOK) IsCode(code int) bool
- func (o *UpdateConnectionOK) IsRedirect() bool
- func (o *UpdateConnectionOK) IsServerError() bool
- func (o *UpdateConnectionOK) IsSuccess() bool
- func (o *UpdateConnectionOK) String() string
- type UpdateConnectionParams
- func NewUpdateConnectionParams() *UpdateConnectionParams
- func NewUpdateConnectionParamsWithContext(ctx context.Context) *UpdateConnectionParams
- func NewUpdateConnectionParamsWithHTTPClient(client *http.Client) *UpdateConnectionParams
- func NewUpdateConnectionParamsWithTimeout(timeout time.Duration) *UpdateConnectionParams
- func (o *UpdateConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
- func (o *UpdateConnectionParams) SetConnectionUUID(connectionUUID string)
- func (o *UpdateConnectionParams) SetContext(ctx context.Context)
- func (o *UpdateConnectionParams) SetDefaults()
- func (o *UpdateConnectionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConnectionParams) SetOwner(owner string)
- func (o *UpdateConnectionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithConnectionUUID(connectionUUID string) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithContext(ctx context.Context) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithDefaults() *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithHTTPClient(client *http.Client) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithOwner(owner string) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithTimeout(timeout time.Duration) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConnectionReader
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 ¶
func (a *Client) CreateConnection(params *CreateConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConnectionOK, *CreateConnectionNoContent, error)
CreateConnection creates connection
func (*Client) DeleteConnection ¶
func (a *Client) DeleteConnection(params *DeleteConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConnectionOK, *DeleteConnectionNoContent, error)
DeleteConnection deletes connection
func (*Client) GetConnection ¶
func (a *Client) GetConnection(params *GetConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConnectionOK, *GetConnectionNoContent, error)
GetConnection gets connection
func (*Client) ListConnectionNames ¶
func (a *Client) ListConnectionNames(params *ListConnectionNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConnectionNamesOK, *ListConnectionNamesNoContent, error)
ListConnectionNames lists connections names
func (*Client) ListConnections ¶
func (a *Client) ListConnections(params *ListConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConnectionsOK, *ListConnectionsNoContent, error)
ListConnections lists connections
func (*Client) PatchConnection ¶
func (a *Client) PatchConnection(params *PatchConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConnectionOK, *PatchConnectionNoContent, error)
PatchConnection patches connection
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConnection ¶
func (a *Client) UpdateConnection(params *UpdateConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConnectionOK, *UpdateConnectionNoContent, error)
UpdateConnection updates connection
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateConnection(params *CreateConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConnectionOK, *CreateConnectionNoContent, error) DeleteConnection(params *DeleteConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConnectionOK, *DeleteConnectionNoContent, error) GetConnection(params *GetConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConnectionOK, *GetConnectionNoContent, error) ListConnectionNames(params *ListConnectionNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConnectionNamesOK, *ListConnectionNamesNoContent, error) ListConnections(params *ListConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConnectionsOK, *ListConnectionsNoContent, error) PatchConnection(params *PatchConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConnectionOK, *PatchConnectionNoContent, error) UpdateConnection(params *UpdateConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConnectionOK, *UpdateConnectionNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new 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 (o *CreateConnectionDefault) GetPayload() *service_model.RuntimeError
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 (o *CreateConnectionOK) GetPayload() *service_model.V1ConnectionResponse
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 ¶
func (o *CreateConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
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 ¶
func (o *CreateConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *CreateConnectionParams
WithBody adds the body to the create connection params
func (*CreateConnectionParams) WithContext ¶
func (o *CreateConnectionParams) WithContext(ctx context.Context) *CreateConnectionParams
WithContext adds the context to the create connection params
func (*CreateConnectionParams) WithDefaults ¶
func (o *CreateConnectionParams) WithDefaults() *CreateConnectionParams
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 ¶
func (o *CreateConnectionParams) WithOwner(owner string) *CreateConnectionParams
WithOwner adds the owner to the create connection params
func (*CreateConnectionParams) WithTimeout ¶
func (o *CreateConnectionParams) WithTimeout(timeout time.Duration) *CreateConnectionParams
WithTimeout adds the timeout to the create connection params
func (*CreateConnectionParams) WriteToRequest ¶
func (o *CreateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteConnectionDefault) GetPayload() *service_model.RuntimeError
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 ¶
func (o *DeleteConnectionParams) WithContext(ctx context.Context) *DeleteConnectionParams
WithContext adds the context to the delete connection params
func (*DeleteConnectionParams) WithDefaults ¶
func (o *DeleteConnectionParams) WithDefaults() *DeleteConnectionParams
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 ¶
func (o *DeleteConnectionParams) WithOwner(owner string) *DeleteConnectionParams
WithOwner adds the owner to the delete connection params
func (*DeleteConnectionParams) WithTimeout ¶
func (o *DeleteConnectionParams) WithTimeout(timeout time.Duration) *DeleteConnectionParams
WithTimeout adds the timeout to the delete connection params
func (*DeleteConnectionParams) WithUUID ¶
func (o *DeleteConnectionParams) WithUUID(uuid string) *DeleteConnectionParams
WithUUID adds the uuid to the delete connection params
func (*DeleteConnectionParams) WriteToRequest ¶
func (o *DeleteConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetConnectionDefault) GetPayload() *service_model.RuntimeError
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 (o *GetConnectionOK) GetPayload() *service_model.V1ConnectionResponse
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 ¶
func (o *GetConnectionParams) WithContext(ctx context.Context) *GetConnectionParams
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 (o *ListConnectionNamesDefault) Error() string
func (*ListConnectionNamesDefault) GetPayload ¶
func (o *ListConnectionNamesDefault) GetPayload() *service_model.RuntimeError
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
func (o *ListConnectionNamesForbidden) Code() int
Code gets the status code for the list connection names forbidden response
func (*ListConnectionNamesForbidden) Error ¶
func (o *ListConnectionNamesForbidden) Error() string
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
func (o *ListConnectionNamesForbidden) String() string
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
func (o *ListConnectionNamesNoContent) Code() int
Code gets the status code for the list connection names no content response
func (*ListConnectionNamesNoContent) Error ¶
func (o *ListConnectionNamesNoContent) Error() string
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
func (o *ListConnectionNamesNoContent) String() string
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 (o *ListConnectionNamesNotFound) Error() string
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 (o *ListConnectionNamesOK) GetPayload() *service_model.V1ListConnectionsResponse
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 ¶
func (o *ListConnectionNamesParams) WithContext(ctx context.Context) *ListConnectionNamesParams
WithContext adds the context to the list connection names params
func (*ListConnectionNamesParams) WithDefaults ¶
func (o *ListConnectionNamesParams) WithDefaults() *ListConnectionNamesParams
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 ¶
func (o *ListConnectionNamesParams) WithLimit(limit *int32) *ListConnectionNamesParams
WithLimit adds the limit to the list connection names params
func (*ListConnectionNamesParams) WithMode ¶
func (o *ListConnectionNamesParams) WithMode(mode *string) *ListConnectionNamesParams
WithMode adds the mode to the list connection names params
func (*ListConnectionNamesParams) WithNoPage ¶
func (o *ListConnectionNamesParams) WithNoPage(noPage *bool) *ListConnectionNamesParams
WithNoPage adds the noPage to the list connection names params
func (*ListConnectionNamesParams) WithOffset ¶
func (o *ListConnectionNamesParams) WithOffset(offset *int32) *ListConnectionNamesParams
WithOffset adds the offset to the list connection names params
func (*ListConnectionNamesParams) WithOwner ¶
func (o *ListConnectionNamesParams) WithOwner(owner string) *ListConnectionNamesParams
WithOwner adds the owner to the list connection names params
func (*ListConnectionNamesParams) WithQuery ¶
func (o *ListConnectionNamesParams) WithQuery(query *string) *ListConnectionNamesParams
WithQuery adds the query to the list connection names params
func (*ListConnectionNamesParams) WithSort ¶
func (o *ListConnectionNamesParams) WithSort(sort *string) *ListConnectionNamesParams
WithSort adds the sort to the list connection names params
func (*ListConnectionNamesParams) WithTimeout ¶
func (o *ListConnectionNamesParams) WithTimeout(timeout time.Duration) *ListConnectionNamesParams
WithTimeout adds the timeout to the list connection names params
func (*ListConnectionNamesParams) WriteToRequest ¶
func (o *ListConnectionNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListConnectionsDefault) GetPayload() *service_model.RuntimeError
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 (o *ListConnectionsOK) GetPayload() *service_model.V1ListConnectionsResponse
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 ¶
func (o *ListConnectionsParams) WithContext(ctx context.Context) *ListConnectionsParams
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 ¶
func (o *ListConnectionsParams) WithMode(mode *string) *ListConnectionsParams
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 ¶
func (o *ListConnectionsParams) WithSort(sort *string) *ListConnectionsParams
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 (o *PatchConnectionDefault) GetPayload() *service_model.RuntimeError
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 (o *PatchConnectionOK) GetPayload() *service_model.V1ConnectionResponse
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 ¶
func (o *PatchConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
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 ¶
func (o *PatchConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *PatchConnectionParams
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 ¶
func (o *PatchConnectionParams) WithContext(ctx context.Context) *PatchConnectionParams
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 (o *UpdateConnectionDefault) GetPayload() *service_model.RuntimeError
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 (o *UpdateConnectionOK) GetPayload() *service_model.V1ConnectionResponse
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 ¶
func (o *UpdateConnectionParams) SetBody(body *service_model.V1ConnectionResponse)
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 ¶
func (o *UpdateConnectionParams) WithBody(body *service_model.V1ConnectionResponse) *UpdateConnectionParams
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 ¶
func (o *UpdateConnectionParams) WithContext(ctx context.Context) *UpdateConnectionParams
WithContext adds the context to the update connection params
func (*UpdateConnectionParams) WithDefaults ¶
func (o *UpdateConnectionParams) WithDefaults() *UpdateConnectionParams
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 ¶
func (o *UpdateConnectionParams) WithOwner(owner string) *UpdateConnectionParams
WithOwner adds the owner to the update connection params
func (*UpdateConnectionParams) WithTimeout ¶
func (o *UpdateConnectionParams) WithTimeout(timeout time.Duration) *UpdateConnectionParams
WithTimeout adds the timeout to the update connection params
func (*UpdateConnectionParams) WriteToRequest ¶
func (o *UpdateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- connections_v1_client.go
- create_connection_parameters.go
- create_connection_responses.go
- delete_connection_parameters.go
- delete_connection_responses.go
- get_connection_parameters.go
- get_connection_responses.go
- list_connection_names_parameters.go
- list_connection_names_responses.go
- list_connections_parameters.go
- list_connections_responses.go
- patch_connection_parameters.go
- patch_connection_responses.go
- update_connection_parameters.go
- update_connection_responses.go