capabilities

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for capabilities API

func (*Client) CreateCapability

func (a *Client) CreateCapability(params *CreateCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCapabilityOK, error)

CreateCapability creates a capability

Create a capability.

func (*Client) DeleteCapability

func (a *Client) DeleteCapability(params *DeleteCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCapabilityOK, error)
DeleteCapability deletes a capability by id and version

Delete a capability id and version.<br /><br />

Capability must be in `proposed` status. Once a capability is updated to `live` status, it cannot be deleted, and must be transitioned to `deprecated`.

func (*Client) GetCapability

func (a *Client) GetCapability(params *GetCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*GetCapabilityOK, error)

GetCapability gets a capability by id and version

Get a capability by id and version.

func (*Client) ListCapabilities

func (a *Client) ListCapabilities(params *ListCapabilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCapabilitiesOK, error)

ListCapabilities lists all capabilities

List all standard capabilities.

func (*Client) ListNamespacedCapabilities

func (a *Client) ListNamespacedCapabilities(params *ListNamespacedCapabilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListNamespacedCapabilitiesOK, error)
ListNamespacedCapabilities lists capabilities by namespace

List capabilities by namespace.<br /><br />

Namespaces are used to organize a user's capabilities and provide a way to uniquely identify them. A user can retrieve all of the capabilities under their assigned namespace by referencing it. The namespace is recognizable as the first part of a capabilityId in the format `namespace.capabilityName`.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCapability

func (a *Client) UpdateCapability(params *UpdateCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCapabilityOK, error)
UpdateCapability updates a capability

Update a capability.<br /><br />

Capabilities with a `proposed` status can be updated at will. Capabilities with a `live`, `deprecated`, or `dead` status are immutable and can't be updated. Capability names cannot be changed.

type ClientService

type ClientService interface {
	CreateCapability(params *CreateCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCapabilityOK, error)

	DeleteCapability(params *DeleteCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCapabilityOK, error)

	GetCapability(params *GetCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*GetCapabilityOK, error)

	ListCapabilities(params *ListCapabilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCapabilitiesOK, error)

	ListNamespacedCapabilities(params *ListNamespacedCapabilitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListNamespacedCapabilitiesOK, error)

	UpdateCapability(params *UpdateCapabilityParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCapabilityOK, 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 capabilities API client.

type CreateCapabilityDefault

type CreateCapabilityDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CreateCapabilityDefault handles this case with default header values.

Unexpected error

func NewCreateCapabilityDefault

func NewCreateCapabilityDefault(code int) *CreateCapabilityDefault

NewCreateCapabilityDefault creates a CreateCapabilityDefault with default headers values

func (*CreateCapabilityDefault) Code

func (o *CreateCapabilityDefault) Code() int

Code gets the status code for the create capability default response

func (*CreateCapabilityDefault) Error

func (o *CreateCapabilityDefault) Error() string

func (*CreateCapabilityDefault) GetPayload

func (o *CreateCapabilityDefault) GetPayload() *models.ErrorResponse

type CreateCapabilityForbidden

type CreateCapabilityForbidden struct {
}

CreateCapabilityForbidden handles this case with default header values.

Forbidden

func NewCreateCapabilityForbidden

func NewCreateCapabilityForbidden() *CreateCapabilityForbidden

NewCreateCapabilityForbidden creates a CreateCapabilityForbidden with default headers values

func (*CreateCapabilityForbidden) Error

func (o *CreateCapabilityForbidden) Error() string

type CreateCapabilityNotFound

type CreateCapabilityNotFound struct {
	Payload *models.ErrorResponse
}

CreateCapabilityNotFound handles this case with default header values.

Not found

func NewCreateCapabilityNotFound

func NewCreateCapabilityNotFound() *CreateCapabilityNotFound

NewCreateCapabilityNotFound creates a CreateCapabilityNotFound with default headers values

func (*CreateCapabilityNotFound) Error

func (o *CreateCapabilityNotFound) Error() string

func (*CreateCapabilityNotFound) GetPayload

type CreateCapabilityOK

type CreateCapabilityOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload *models.Capability
}

CreateCapabilityOK handles this case with default header values.

The custom capability

func NewCreateCapabilityOK

func NewCreateCapabilityOK() *CreateCapabilityOK

NewCreateCapabilityOK creates a CreateCapabilityOK with default headers values

func (*CreateCapabilityOK) Error

func (o *CreateCapabilityOK) Error() string

func (*CreateCapabilityOK) GetPayload

func (o *CreateCapabilityOK) GetPayload() *models.Capability

type CreateCapabilityParams

type CreateCapabilityParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*CapabilityRequest*/
	CapabilityRequest *models.CreateCapabilityRequest
	/*Namespace
	  The namespace of the capability

	*/
	Namespace *string

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

CreateCapabilityParams contains all the parameters to send to the API endpoint for the create capability operation typically these are written to a http.Request

func NewCreateCapabilityParams

func NewCreateCapabilityParams() *CreateCapabilityParams

NewCreateCapabilityParams creates a new CreateCapabilityParams object with the default values initialized.

func NewCreateCapabilityParamsWithContext

func NewCreateCapabilityParamsWithContext(ctx context.Context) *CreateCapabilityParams

NewCreateCapabilityParamsWithContext creates a new CreateCapabilityParams object with the default values initialized, and the ability to set a context for a request

func NewCreateCapabilityParamsWithHTTPClient

func NewCreateCapabilityParamsWithHTTPClient(client *http.Client) *CreateCapabilityParams

NewCreateCapabilityParamsWithHTTPClient creates a new CreateCapabilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateCapabilityParamsWithTimeout

func NewCreateCapabilityParamsWithTimeout(timeout time.Duration) *CreateCapabilityParams

NewCreateCapabilityParamsWithTimeout creates a new CreateCapabilityParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateCapabilityParams) SetAuthorization

func (o *CreateCapabilityParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create capability params

func (*CreateCapabilityParams) SetCapabilityRequest

func (o *CreateCapabilityParams) SetCapabilityRequest(capabilityRequest *models.CreateCapabilityRequest)

SetCapabilityRequest adds the capabilityRequest to the create capability params

func (*CreateCapabilityParams) SetContext

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

SetContext adds the context to the create capability params

func (*CreateCapabilityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create capability params

func (*CreateCapabilityParams) SetNamespace

func (o *CreateCapabilityParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the create capability params

func (*CreateCapabilityParams) SetTimeout

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

SetTimeout adds the timeout to the create capability params

func (*CreateCapabilityParams) WithAuthorization

func (o *CreateCapabilityParams) WithAuthorization(authorization string) *CreateCapabilityParams

WithAuthorization adds the authorization to the create capability params

func (*CreateCapabilityParams) WithCapabilityRequest

func (o *CreateCapabilityParams) WithCapabilityRequest(capabilityRequest *models.CreateCapabilityRequest) *CreateCapabilityParams

WithCapabilityRequest adds the capabilityRequest to the create capability params

func (*CreateCapabilityParams) WithContext

WithContext adds the context to the create capability params

func (*CreateCapabilityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create capability params

func (*CreateCapabilityParams) WithNamespace

func (o *CreateCapabilityParams) WithNamespace(namespace *string) *CreateCapabilityParams

WithNamespace adds the namespace to the create capability params

func (*CreateCapabilityParams) WithTimeout

WithTimeout adds the timeout to the create capability params

func (*CreateCapabilityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCapabilityReader

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

CreateCapabilityReader is a Reader for the CreateCapability structure.

func (*CreateCapabilityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCapabilityTooManyRequests

type CreateCapabilityTooManyRequests struct {
	Payload *models.ErrorResponse
}

CreateCapabilityTooManyRequests handles this case with default header values.

Too many requests

func NewCreateCapabilityTooManyRequests

func NewCreateCapabilityTooManyRequests() *CreateCapabilityTooManyRequests

NewCreateCapabilityTooManyRequests creates a CreateCapabilityTooManyRequests with default headers values

func (*CreateCapabilityTooManyRequests) Error

func (*CreateCapabilityTooManyRequests) GetPayload

type CreateCapabilityUnauthorized

type CreateCapabilityUnauthorized struct {
}

CreateCapabilityUnauthorized handles this case with default header values.

Unauthorized

func NewCreateCapabilityUnauthorized

func NewCreateCapabilityUnauthorized() *CreateCapabilityUnauthorized

NewCreateCapabilityUnauthorized creates a CreateCapabilityUnauthorized with default headers values

func (*CreateCapabilityUnauthorized) Error

type DeleteCapabilityDefault

type DeleteCapabilityDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteCapabilityDefault handles this case with default header values.

Unexpected error

func NewDeleteCapabilityDefault

func NewDeleteCapabilityDefault(code int) *DeleteCapabilityDefault

NewDeleteCapabilityDefault creates a DeleteCapabilityDefault with default headers values

func (*DeleteCapabilityDefault) Code

func (o *DeleteCapabilityDefault) Code() int

Code gets the status code for the delete capability default response

func (*DeleteCapabilityDefault) Error

func (o *DeleteCapabilityDefault) Error() string

func (*DeleteCapabilityDefault) GetPayload

func (o *DeleteCapabilityDefault) GetPayload() *models.ErrorResponse

type DeleteCapabilityForbidden

type DeleteCapabilityForbidden struct {
}

DeleteCapabilityForbidden handles this case with default header values.

Forbidden

func NewDeleteCapabilityForbidden

func NewDeleteCapabilityForbidden() *DeleteCapabilityForbidden

NewDeleteCapabilityForbidden creates a DeleteCapabilityForbidden with default headers values

func (*DeleteCapabilityForbidden) Error

func (o *DeleteCapabilityForbidden) Error() string

type DeleteCapabilityNotFound

type DeleteCapabilityNotFound struct {
	Payload *models.ErrorResponse
}

DeleteCapabilityNotFound handles this case with default header values.

Not found

func NewDeleteCapabilityNotFound

func NewDeleteCapabilityNotFound() *DeleteCapabilityNotFound

NewDeleteCapabilityNotFound creates a DeleteCapabilityNotFound with default headers values

func (*DeleteCapabilityNotFound) Error

func (o *DeleteCapabilityNotFound) Error() string

func (*DeleteCapabilityNotFound) GetPayload

type DeleteCapabilityOK

type DeleteCapabilityOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload models.DeleteNamespaceResponse
}

DeleteCapabilityOK handles this case with default header values.

Capability Deleted

func NewDeleteCapabilityOK

func NewDeleteCapabilityOK() *DeleteCapabilityOK

NewDeleteCapabilityOK creates a DeleteCapabilityOK with default headers values

func (*DeleteCapabilityOK) Error

func (o *DeleteCapabilityOK) Error() string

func (*DeleteCapabilityOK) GetPayload

type DeleteCapabilityParams

type DeleteCapabilityParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*CapabilityID
	  The ID of the capability.

	*/
	CapabilityID string
	/*CapabilityVersion
	  The version of the capability

	*/
	CapabilityVersion int64

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

DeleteCapabilityParams contains all the parameters to send to the API endpoint for the delete capability operation typically these are written to a http.Request

func NewDeleteCapabilityParams

func NewDeleteCapabilityParams() *DeleteCapabilityParams

NewDeleteCapabilityParams creates a new DeleteCapabilityParams object with the default values initialized.

func NewDeleteCapabilityParamsWithContext

func NewDeleteCapabilityParamsWithContext(ctx context.Context) *DeleteCapabilityParams

NewDeleteCapabilityParamsWithContext creates a new DeleteCapabilityParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCapabilityParamsWithHTTPClient

func NewDeleteCapabilityParamsWithHTTPClient(client *http.Client) *DeleteCapabilityParams

NewDeleteCapabilityParamsWithHTTPClient creates a new DeleteCapabilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCapabilityParamsWithTimeout

func NewDeleteCapabilityParamsWithTimeout(timeout time.Duration) *DeleteCapabilityParams

NewDeleteCapabilityParamsWithTimeout creates a new DeleteCapabilityParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCapabilityParams) SetAuthorization

func (o *DeleteCapabilityParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete capability params

func (*DeleteCapabilityParams) SetCapabilityID

func (o *DeleteCapabilityParams) SetCapabilityID(capabilityID string)

SetCapabilityID adds the capabilityId to the delete capability params

func (*DeleteCapabilityParams) SetCapabilityVersion

func (o *DeleteCapabilityParams) SetCapabilityVersion(capabilityVersion int64)

SetCapabilityVersion adds the capabilityVersion to the delete capability params

func (*DeleteCapabilityParams) SetContext

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

SetContext adds the context to the delete capability params

func (*DeleteCapabilityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete capability params

func (*DeleteCapabilityParams) SetTimeout

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

SetTimeout adds the timeout to the delete capability params

func (*DeleteCapabilityParams) WithAuthorization

func (o *DeleteCapabilityParams) WithAuthorization(authorization string) *DeleteCapabilityParams

WithAuthorization adds the authorization to the delete capability params

func (*DeleteCapabilityParams) WithCapabilityID

func (o *DeleteCapabilityParams) WithCapabilityID(capabilityID string) *DeleteCapabilityParams

WithCapabilityID adds the capabilityID to the delete capability params

func (*DeleteCapabilityParams) WithCapabilityVersion

func (o *DeleteCapabilityParams) WithCapabilityVersion(capabilityVersion int64) *DeleteCapabilityParams

WithCapabilityVersion adds the capabilityVersion to the delete capability params

func (*DeleteCapabilityParams) WithContext

WithContext adds the context to the delete capability params

func (*DeleteCapabilityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete capability params

func (*DeleteCapabilityParams) WithTimeout

WithTimeout adds the timeout to the delete capability params

func (*DeleteCapabilityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCapabilityReader

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

DeleteCapabilityReader is a Reader for the DeleteCapability structure.

func (*DeleteCapabilityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCapabilityUnauthorized

type DeleteCapabilityUnauthorized struct {
}

DeleteCapabilityUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteCapabilityUnauthorized

func NewDeleteCapabilityUnauthorized() *DeleteCapabilityUnauthorized

NewDeleteCapabilityUnauthorized creates a DeleteCapabilityUnauthorized with default headers values

func (*DeleteCapabilityUnauthorized) Error

type GetCapabilityDefault

type GetCapabilityDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetCapabilityDefault handles this case with default header values.

Unexpected error

func NewGetCapabilityDefault

func NewGetCapabilityDefault(code int) *GetCapabilityDefault

NewGetCapabilityDefault creates a GetCapabilityDefault with default headers values

func (*GetCapabilityDefault) Code

func (o *GetCapabilityDefault) Code() int

Code gets the status code for the get capability default response

func (*GetCapabilityDefault) Error

func (o *GetCapabilityDefault) Error() string

func (*GetCapabilityDefault) GetPayload

func (o *GetCapabilityDefault) GetPayload() *models.ErrorResponse

type GetCapabilityForbidden

type GetCapabilityForbidden struct {
}

GetCapabilityForbidden handles this case with default header values.

Forbidden

func NewGetCapabilityForbidden

func NewGetCapabilityForbidden() *GetCapabilityForbidden

NewGetCapabilityForbidden creates a GetCapabilityForbidden with default headers values

func (*GetCapabilityForbidden) Error

func (o *GetCapabilityForbidden) Error() string

type GetCapabilityNotFound

type GetCapabilityNotFound struct {
	Payload *models.ErrorResponse
}

GetCapabilityNotFound handles this case with default header values.

Not found

func NewGetCapabilityNotFound

func NewGetCapabilityNotFound() *GetCapabilityNotFound

NewGetCapabilityNotFound creates a GetCapabilityNotFound with default headers values

func (*GetCapabilityNotFound) Error

func (o *GetCapabilityNotFound) Error() string

func (*GetCapabilityNotFound) GetPayload

func (o *GetCapabilityNotFound) GetPayload() *models.ErrorResponse

type GetCapabilityOK

type GetCapabilityOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload *models.Capability
}

GetCapabilityOK handles this case with default header values.

successful return of a capability

func NewGetCapabilityOK

func NewGetCapabilityOK() *GetCapabilityOK

NewGetCapabilityOK creates a GetCapabilityOK with default headers values

func (*GetCapabilityOK) Error

func (o *GetCapabilityOK) Error() string

func (*GetCapabilityOK) GetPayload

func (o *GetCapabilityOK) GetPayload() *models.Capability

type GetCapabilityParams

type GetCapabilityParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*CapabilityID
	  The ID of the capability.

	*/
	CapabilityID string
	/*CapabilityVersion
	  The version of the capability

	*/
	CapabilityVersion int64

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

GetCapabilityParams contains all the parameters to send to the API endpoint for the get capability operation typically these are written to a http.Request

func NewGetCapabilityParams

func NewGetCapabilityParams() *GetCapabilityParams

NewGetCapabilityParams creates a new GetCapabilityParams object with the default values initialized.

func NewGetCapabilityParamsWithContext

func NewGetCapabilityParamsWithContext(ctx context.Context) *GetCapabilityParams

NewGetCapabilityParamsWithContext creates a new GetCapabilityParams object with the default values initialized, and the ability to set a context for a request

func NewGetCapabilityParamsWithHTTPClient

func NewGetCapabilityParamsWithHTTPClient(client *http.Client) *GetCapabilityParams

NewGetCapabilityParamsWithHTTPClient creates a new GetCapabilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCapabilityParamsWithTimeout

func NewGetCapabilityParamsWithTimeout(timeout time.Duration) *GetCapabilityParams

NewGetCapabilityParamsWithTimeout creates a new GetCapabilityParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCapabilityParams) SetAuthorization

func (o *GetCapabilityParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get capability params

func (*GetCapabilityParams) SetCapabilityID

func (o *GetCapabilityParams) SetCapabilityID(capabilityID string)

SetCapabilityID adds the capabilityId to the get capability params

func (*GetCapabilityParams) SetCapabilityVersion

func (o *GetCapabilityParams) SetCapabilityVersion(capabilityVersion int64)

SetCapabilityVersion adds the capabilityVersion to the get capability params

func (*GetCapabilityParams) SetContext

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

SetContext adds the context to the get capability params

func (*GetCapabilityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get capability params

func (*GetCapabilityParams) SetTimeout

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

SetTimeout adds the timeout to the get capability params

func (*GetCapabilityParams) WithAuthorization

func (o *GetCapabilityParams) WithAuthorization(authorization string) *GetCapabilityParams

WithAuthorization adds the authorization to the get capability params

func (*GetCapabilityParams) WithCapabilityID

func (o *GetCapabilityParams) WithCapabilityID(capabilityID string) *GetCapabilityParams

WithCapabilityID adds the capabilityID to the get capability params

func (*GetCapabilityParams) WithCapabilityVersion

func (o *GetCapabilityParams) WithCapabilityVersion(capabilityVersion int64) *GetCapabilityParams

WithCapabilityVersion adds the capabilityVersion to the get capability params

func (*GetCapabilityParams) WithContext

WithContext adds the context to the get capability params

func (*GetCapabilityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get capability params

func (*GetCapabilityParams) WithTimeout

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

WithTimeout adds the timeout to the get capability params

func (*GetCapabilityParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCapabilityReader

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

GetCapabilityReader is a Reader for the GetCapability structure.

func (*GetCapabilityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCapabilityTooManyRequests

type GetCapabilityTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetCapabilityTooManyRequests handles this case with default header values.

Too many requests

func NewGetCapabilityTooManyRequests

func NewGetCapabilityTooManyRequests() *GetCapabilityTooManyRequests

NewGetCapabilityTooManyRequests creates a GetCapabilityTooManyRequests with default headers values

func (*GetCapabilityTooManyRequests) Error

func (*GetCapabilityTooManyRequests) GetPayload

type GetCapabilityUnauthorized

type GetCapabilityUnauthorized struct {
}

GetCapabilityUnauthorized handles this case with default header values.

Unauthorized

func NewGetCapabilityUnauthorized

func NewGetCapabilityUnauthorized() *GetCapabilityUnauthorized

NewGetCapabilityUnauthorized creates a GetCapabilityUnauthorized with default headers values

func (*GetCapabilityUnauthorized) Error

func (o *GetCapabilityUnauthorized) Error() string

type ListCapabilitiesDefault

type ListCapabilitiesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListCapabilitiesDefault handles this case with default header values.

Unexpected error

func NewListCapabilitiesDefault

func NewListCapabilitiesDefault(code int) *ListCapabilitiesDefault

NewListCapabilitiesDefault creates a ListCapabilitiesDefault with default headers values

func (*ListCapabilitiesDefault) Code

func (o *ListCapabilitiesDefault) Code() int

Code gets the status code for the list capabilities default response

func (*ListCapabilitiesDefault) Error

func (o *ListCapabilitiesDefault) Error() string

func (*ListCapabilitiesDefault) GetPayload

func (o *ListCapabilitiesDefault) GetPayload() *models.ErrorResponse

type ListCapabilitiesForbidden

type ListCapabilitiesForbidden struct {
}

ListCapabilitiesForbidden handles this case with default header values.

Forbidden

func NewListCapabilitiesForbidden

func NewListCapabilitiesForbidden() *ListCapabilitiesForbidden

NewListCapabilitiesForbidden creates a ListCapabilitiesForbidden with default headers values

func (*ListCapabilitiesForbidden) Error

func (o *ListCapabilitiesForbidden) Error() string

type ListCapabilitiesOK

type ListCapabilitiesOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload *models.PagedCapabilities
}

ListCapabilitiesOK handles this case with default header values.

successful return of all capabilities

func NewListCapabilitiesOK

func NewListCapabilitiesOK() *ListCapabilitiesOK

NewListCapabilitiesOK creates a ListCapabilitiesOK with default headers values

func (*ListCapabilitiesOK) Error

func (o *ListCapabilitiesOK) Error() string

func (*ListCapabilitiesOK) GetPayload

func (o *ListCapabilitiesOK) GetPayload() *models.PagedCapabilities

type ListCapabilitiesParams

type ListCapabilitiesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string

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

ListCapabilitiesParams contains all the parameters to send to the API endpoint for the list capabilities operation typically these are written to a http.Request

func NewListCapabilitiesParams

func NewListCapabilitiesParams() *ListCapabilitiesParams

NewListCapabilitiesParams creates a new ListCapabilitiesParams object with the default values initialized.

func NewListCapabilitiesParamsWithContext

func NewListCapabilitiesParamsWithContext(ctx context.Context) *ListCapabilitiesParams

NewListCapabilitiesParamsWithContext creates a new ListCapabilitiesParams object with the default values initialized, and the ability to set a context for a request

func NewListCapabilitiesParamsWithHTTPClient

func NewListCapabilitiesParamsWithHTTPClient(client *http.Client) *ListCapabilitiesParams

NewListCapabilitiesParamsWithHTTPClient creates a new ListCapabilitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListCapabilitiesParamsWithTimeout

func NewListCapabilitiesParamsWithTimeout(timeout time.Duration) *ListCapabilitiesParams

NewListCapabilitiesParamsWithTimeout creates a new ListCapabilitiesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListCapabilitiesParams) SetAuthorization

func (o *ListCapabilitiesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the list capabilities params

func (*ListCapabilitiesParams) SetContext

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

SetContext adds the context to the list capabilities params

func (*ListCapabilitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list capabilities params

func (*ListCapabilitiesParams) SetTimeout

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

SetTimeout adds the timeout to the list capabilities params

func (*ListCapabilitiesParams) WithAuthorization

func (o *ListCapabilitiesParams) WithAuthorization(authorization string) *ListCapabilitiesParams

WithAuthorization adds the authorization to the list capabilities params

func (*ListCapabilitiesParams) WithContext

WithContext adds the context to the list capabilities params

func (*ListCapabilitiesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list capabilities params

func (*ListCapabilitiesParams) WithTimeout

WithTimeout adds the timeout to the list capabilities params

func (*ListCapabilitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCapabilitiesReader

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

ListCapabilitiesReader is a Reader for the ListCapabilities structure.

func (*ListCapabilitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCapabilitiesTooManyRequests

type ListCapabilitiesTooManyRequests struct {
	Payload *models.ErrorResponse
}

ListCapabilitiesTooManyRequests handles this case with default header values.

Too many requests

func NewListCapabilitiesTooManyRequests

func NewListCapabilitiesTooManyRequests() *ListCapabilitiesTooManyRequests

NewListCapabilitiesTooManyRequests creates a ListCapabilitiesTooManyRequests with default headers values

func (*ListCapabilitiesTooManyRequests) Error

func (*ListCapabilitiesTooManyRequests) GetPayload

type ListCapabilitiesUnauthorized

type ListCapabilitiesUnauthorized struct {
}

ListCapabilitiesUnauthorized handles this case with default header values.

Unauthorized

func NewListCapabilitiesUnauthorized

func NewListCapabilitiesUnauthorized() *ListCapabilitiesUnauthorized

NewListCapabilitiesUnauthorized creates a ListCapabilitiesUnauthorized with default headers values

func (*ListCapabilitiesUnauthorized) Error

type ListNamespacedCapabilitiesDefault

type ListNamespacedCapabilitiesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListNamespacedCapabilitiesDefault handles this case with default header values.

Unexpected error

func NewListNamespacedCapabilitiesDefault

func NewListNamespacedCapabilitiesDefault(code int) *ListNamespacedCapabilitiesDefault

NewListNamespacedCapabilitiesDefault creates a ListNamespacedCapabilitiesDefault with default headers values

func (*ListNamespacedCapabilitiesDefault) Code

Code gets the status code for the list namespaced capabilities default response

func (*ListNamespacedCapabilitiesDefault) Error

func (*ListNamespacedCapabilitiesDefault) GetPayload

type ListNamespacedCapabilitiesForbidden

type ListNamespacedCapabilitiesForbidden struct {
}

ListNamespacedCapabilitiesForbidden handles this case with default header values.

Forbidden

func NewListNamespacedCapabilitiesForbidden

func NewListNamespacedCapabilitiesForbidden() *ListNamespacedCapabilitiesForbidden

NewListNamespacedCapabilitiesForbidden creates a ListNamespacedCapabilitiesForbidden with default headers values

func (*ListNamespacedCapabilitiesForbidden) Error

type ListNamespacedCapabilitiesOK

type ListNamespacedCapabilitiesOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload *models.PagedCapabilities
}

ListNamespacedCapabilitiesOK handles this case with default header values.

successful return of a namespace's capabilities

func NewListNamespacedCapabilitiesOK

func NewListNamespacedCapabilitiesOK() *ListNamespacedCapabilitiesOK

NewListNamespacedCapabilitiesOK creates a ListNamespacedCapabilitiesOK with default headers values

func (*ListNamespacedCapabilitiesOK) Error

func (*ListNamespacedCapabilitiesOK) GetPayload

type ListNamespacedCapabilitiesParams

type ListNamespacedCapabilitiesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*Namespace
	  The namespace of the capability

	*/
	Namespace string

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

ListNamespacedCapabilitiesParams contains all the parameters to send to the API endpoint for the list namespaced capabilities operation typically these are written to a http.Request

func NewListNamespacedCapabilitiesParams

func NewListNamespacedCapabilitiesParams() *ListNamespacedCapabilitiesParams

NewListNamespacedCapabilitiesParams creates a new ListNamespacedCapabilitiesParams object with the default values initialized.

func NewListNamespacedCapabilitiesParamsWithContext

func NewListNamespacedCapabilitiesParamsWithContext(ctx context.Context) *ListNamespacedCapabilitiesParams

NewListNamespacedCapabilitiesParamsWithContext creates a new ListNamespacedCapabilitiesParams object with the default values initialized, and the ability to set a context for a request

func NewListNamespacedCapabilitiesParamsWithHTTPClient

func NewListNamespacedCapabilitiesParamsWithHTTPClient(client *http.Client) *ListNamespacedCapabilitiesParams

NewListNamespacedCapabilitiesParamsWithHTTPClient creates a new ListNamespacedCapabilitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListNamespacedCapabilitiesParamsWithTimeout

func NewListNamespacedCapabilitiesParamsWithTimeout(timeout time.Duration) *ListNamespacedCapabilitiesParams

NewListNamespacedCapabilitiesParamsWithTimeout creates a new ListNamespacedCapabilitiesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListNamespacedCapabilitiesParams) SetAuthorization

func (o *ListNamespacedCapabilitiesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) SetContext

SetContext adds the context to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) SetNamespace

func (o *ListNamespacedCapabilitiesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) SetTimeout

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

SetTimeout adds the timeout to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WithAuthorization

func (o *ListNamespacedCapabilitiesParams) WithAuthorization(authorization string) *ListNamespacedCapabilitiesParams

WithAuthorization adds the authorization to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WithContext

WithContext adds the context to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WithNamespace

WithNamespace adds the namespace to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WithTimeout

WithTimeout adds the timeout to the list namespaced capabilities params

func (*ListNamespacedCapabilitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNamespacedCapabilitiesReader

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

ListNamespacedCapabilitiesReader is a Reader for the ListNamespacedCapabilities structure.

func (*ListNamespacedCapabilitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNamespacedCapabilitiesTooManyRequests

type ListNamespacedCapabilitiesTooManyRequests struct {
	Payload *models.ErrorResponse
}

ListNamespacedCapabilitiesTooManyRequests handles this case with default header values.

Too many requests

func NewListNamespacedCapabilitiesTooManyRequests

func NewListNamespacedCapabilitiesTooManyRequests() *ListNamespacedCapabilitiesTooManyRequests

NewListNamespacedCapabilitiesTooManyRequests creates a ListNamespacedCapabilitiesTooManyRequests with default headers values

func (*ListNamespacedCapabilitiesTooManyRequests) Error

func (*ListNamespacedCapabilitiesTooManyRequests) GetPayload

type ListNamespacedCapabilitiesUnauthorized

type ListNamespacedCapabilitiesUnauthorized struct {
}

ListNamespacedCapabilitiesUnauthorized handles this case with default header values.

Unauthorized

func NewListNamespacedCapabilitiesUnauthorized

func NewListNamespacedCapabilitiesUnauthorized() *ListNamespacedCapabilitiesUnauthorized

NewListNamespacedCapabilitiesUnauthorized creates a ListNamespacedCapabilitiesUnauthorized with default headers values

func (*ListNamespacedCapabilitiesUnauthorized) Error

type UpdateCapabilityBadRequest

type UpdateCapabilityBadRequest struct {
	Payload *models.ErrorResponse
}

UpdateCapabilityBadRequest handles this case with default header values.

Bad request

func NewUpdateCapabilityBadRequest

func NewUpdateCapabilityBadRequest() *UpdateCapabilityBadRequest

NewUpdateCapabilityBadRequest creates a UpdateCapabilityBadRequest with default headers values

func (*UpdateCapabilityBadRequest) Error

func (*UpdateCapabilityBadRequest) GetPayload

type UpdateCapabilityConflict

type UpdateCapabilityConflict struct {
	Payload *models.ErrorResponse
}

UpdateCapabilityConflict handles this case with default header values.

Conflict

func NewUpdateCapabilityConflict

func NewUpdateCapabilityConflict() *UpdateCapabilityConflict

NewUpdateCapabilityConflict creates a UpdateCapabilityConflict with default headers values

func (*UpdateCapabilityConflict) Error

func (o *UpdateCapabilityConflict) Error() string

func (*UpdateCapabilityConflict) GetPayload

type UpdateCapabilityDefault

type UpdateCapabilityDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

UpdateCapabilityDefault handles this case with default header values.

Unexpected error

func NewUpdateCapabilityDefault

func NewUpdateCapabilityDefault(code int) *UpdateCapabilityDefault

NewUpdateCapabilityDefault creates a UpdateCapabilityDefault with default headers values

func (*UpdateCapabilityDefault) Code

func (o *UpdateCapabilityDefault) Code() int

Code gets the status code for the update capability default response

func (*UpdateCapabilityDefault) Error

func (o *UpdateCapabilityDefault) Error() string

func (*UpdateCapabilityDefault) GetPayload

func (o *UpdateCapabilityDefault) GetPayload() *models.ErrorResponse

type UpdateCapabilityForbidden

type UpdateCapabilityForbidden struct {
}

UpdateCapabilityForbidden handles this case with default header values.

Forbidden

func NewUpdateCapabilityForbidden

func NewUpdateCapabilityForbidden() *UpdateCapabilityForbidden

NewUpdateCapabilityForbidden creates a UpdateCapabilityForbidden with default headers values

func (*UpdateCapabilityForbidden) Error

func (o *UpdateCapabilityForbidden) Error() string

type UpdateCapabilityOK

type UpdateCapabilityOK struct {
	/*Maximum requests allowed within the rate limit window.
	 */
	XRateLimitLimit int64
	/*Remaining requests available within the window.
	 */
	XRateLimitRemaining int64
	/*Time in milliseconds until the current window expires.
	 */
	XRateLimitReset int64

	Payload *models.Capability
}

UpdateCapabilityOK handles this case with default header values.

The custom capability

func NewUpdateCapabilityOK

func NewUpdateCapabilityOK() *UpdateCapabilityOK

NewUpdateCapabilityOK creates a UpdateCapabilityOK with default headers values

func (*UpdateCapabilityOK) Error

func (o *UpdateCapabilityOK) Error() string

func (*UpdateCapabilityOK) GetPayload

func (o *UpdateCapabilityOK) GetPayload() *models.Capability

type UpdateCapabilityParams

type UpdateCapabilityParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*CapabilityID
	  The ID of the capability.

	*/
	CapabilityID string
	/*CapabilityRequest*/
	CapabilityRequest *models.UpdateCapabilityRequest
	/*CapabilityVersion
	  The version of the capability

	*/
	CapabilityVersion int64

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

UpdateCapabilityParams contains all the parameters to send to the API endpoint for the update capability operation typically these are written to a http.Request

func NewUpdateCapabilityParams

func NewUpdateCapabilityParams() *UpdateCapabilityParams

NewUpdateCapabilityParams creates a new UpdateCapabilityParams object with the default values initialized.

func NewUpdateCapabilityParamsWithContext

func NewUpdateCapabilityParamsWithContext(ctx context.Context) *UpdateCapabilityParams

NewUpdateCapabilityParamsWithContext creates a new UpdateCapabilityParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateCapabilityParamsWithHTTPClient

func NewUpdateCapabilityParamsWithHTTPClient(client *http.Client) *UpdateCapabilityParams

NewUpdateCapabilityParamsWithHTTPClient creates a new UpdateCapabilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateCapabilityParamsWithTimeout

func NewUpdateCapabilityParamsWithTimeout(timeout time.Duration) *UpdateCapabilityParams

NewUpdateCapabilityParamsWithTimeout creates a new UpdateCapabilityParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateCapabilityParams) SetAuthorization

func (o *UpdateCapabilityParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update capability params

func (*UpdateCapabilityParams) SetCapabilityID

func (o *UpdateCapabilityParams) SetCapabilityID(capabilityID string)

SetCapabilityID adds the capabilityId to the update capability params

func (*UpdateCapabilityParams) SetCapabilityRequest

func (o *UpdateCapabilityParams) SetCapabilityRequest(capabilityRequest *models.UpdateCapabilityRequest)

SetCapabilityRequest adds the capabilityRequest to the update capability params

func (*UpdateCapabilityParams) SetCapabilityVersion

func (o *UpdateCapabilityParams) SetCapabilityVersion(capabilityVersion int64)

SetCapabilityVersion adds the capabilityVersion to the update capability params

func (*UpdateCapabilityParams) SetContext

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

SetContext adds the context to the update capability params

func (*UpdateCapabilityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update capability params

func (*UpdateCapabilityParams) SetTimeout

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

SetTimeout adds the timeout to the update capability params

func (*UpdateCapabilityParams) WithAuthorization

func (o *UpdateCapabilityParams) WithAuthorization(authorization string) *UpdateCapabilityParams

WithAuthorization adds the authorization to the update capability params

func (*UpdateCapabilityParams) WithCapabilityID

func (o *UpdateCapabilityParams) WithCapabilityID(capabilityID string) *UpdateCapabilityParams

WithCapabilityID adds the capabilityID to the update capability params

func (*UpdateCapabilityParams) WithCapabilityRequest

func (o *UpdateCapabilityParams) WithCapabilityRequest(capabilityRequest *models.UpdateCapabilityRequest) *UpdateCapabilityParams

WithCapabilityRequest adds the capabilityRequest to the update capability params

func (*UpdateCapabilityParams) WithCapabilityVersion

func (o *UpdateCapabilityParams) WithCapabilityVersion(capabilityVersion int64) *UpdateCapabilityParams

WithCapabilityVersion adds the capabilityVersion to the update capability params

func (*UpdateCapabilityParams) WithContext

WithContext adds the context to the update capability params

func (*UpdateCapabilityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update capability params

func (*UpdateCapabilityParams) WithTimeout

WithTimeout adds the timeout to the update capability params

func (*UpdateCapabilityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCapabilityReader

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

UpdateCapabilityReader is a Reader for the UpdateCapability structure.

func (*UpdateCapabilityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCapabilityTooManyRequests

type UpdateCapabilityTooManyRequests struct {
	Payload *models.ErrorResponse
}

UpdateCapabilityTooManyRequests handles this case with default header values.

Too many requests

func NewUpdateCapabilityTooManyRequests

func NewUpdateCapabilityTooManyRequests() *UpdateCapabilityTooManyRequests

NewUpdateCapabilityTooManyRequests creates a UpdateCapabilityTooManyRequests with default headers values

func (*UpdateCapabilityTooManyRequests) Error

func (*UpdateCapabilityTooManyRequests) GetPayload

type UpdateCapabilityUnauthorized

type UpdateCapabilityUnauthorized struct {
}

UpdateCapabilityUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateCapabilityUnauthorized

func NewUpdateCapabilityUnauthorized() *UpdateCapabilityUnauthorized

NewUpdateCapabilityUnauthorized creates a UpdateCapabilityUnauthorized with default headers values

func (*UpdateCapabilityUnauthorized) Error

type UpdateCapabilityUnprocessableEntity

type UpdateCapabilityUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

UpdateCapabilityUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewUpdateCapabilityUnprocessableEntity

func NewUpdateCapabilityUnprocessableEntity() *UpdateCapabilityUnprocessableEntity

NewUpdateCapabilityUnprocessableEntity creates a UpdateCapabilityUnprocessableEntity with default headers values

func (*UpdateCapabilityUnprocessableEntity) Error

func (*UpdateCapabilityUnprocessableEntity) GetPayload

type UpdateCapabilityUnsupportedMediaType

type UpdateCapabilityUnsupportedMediaType struct {
	Payload *models.ErrorResponse
}

UpdateCapabilityUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewUpdateCapabilityUnsupportedMediaType

func NewUpdateCapabilityUnsupportedMediaType() *UpdateCapabilityUnsupportedMediaType

NewUpdateCapabilityUnsupportedMediaType creates a UpdateCapabilityUnsupportedMediaType with default headers values

func (*UpdateCapabilityUnsupportedMediaType) Error

func (*UpdateCapabilityUnsupportedMediaType) GetPayload

Jump to

Keyboard shortcuts

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