plugin_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for plugin controller API

func (*Client) DeletePlugin

func (a *Client) DeletePlugin(params *DeletePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginOK, error)

DeletePlugin deletes

func (*Client) DisablePlugin

func (a *Client) DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DisablePluginOK, error)

DisablePlugin disables a plugin

func (*Client) EnablePlugin

func (a *Client) EnablePlugin(params *EnablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*EnablePluginOK, error)

EnablePlugin enables a plugin

func (*Client) ListPlugin

func (a *Client) ListPlugin(params *ListPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ListPluginOK, error)

ListPlugin lists

func (*Client) ReadPlugin

func (a *Client) ReadPlugin(params *ReadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ReadPluginOK, error)

ReadPlugin reads

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadPlugin

func (a *Client) UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, error)

UploadPlugin uploads

type ClientService

type ClientService interface {
	DeletePlugin(params *DeletePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginOK, error)

	DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DisablePluginOK, error)

	EnablePlugin(params *EnablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*EnablePluginOK, error)

	ListPlugin(params *ListPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ListPluginOK, error)

	ReadPlugin(params *ReadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ReadPluginOK, error)

	UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, 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 plugin controller API client.

type DeletePluginBadRequest

type DeletePluginBadRequest struct {
	Payload *models.APIResult
}

DeletePluginBadRequest handles this case with default header values.

Bad Request

func NewDeletePluginBadRequest

func NewDeletePluginBadRequest() *DeletePluginBadRequest

NewDeletePluginBadRequest creates a DeletePluginBadRequest with default headers values

func (*DeletePluginBadRequest) Error

func (o *DeletePluginBadRequest) Error() string

func (*DeletePluginBadRequest) GetPayload

func (o *DeletePluginBadRequest) GetPayload() *models.APIResult

type DeletePluginConflict

type DeletePluginConflict struct {
	Payload *models.APIResult
}

DeletePluginConflict handles this case with default header values.

Conflict

func NewDeletePluginConflict

func NewDeletePluginConflict() *DeletePluginConflict

NewDeletePluginConflict creates a DeletePluginConflict with default headers values

func (*DeletePluginConflict) Error

func (o *DeletePluginConflict) Error() string

func (*DeletePluginConflict) GetPayload

func (o *DeletePluginConflict) GetPayload() *models.APIResult

type DeletePluginForbidden

type DeletePluginForbidden struct {
	Payload *models.APIResult
}

DeletePluginForbidden handles this case with default header values.

Forbidden

func NewDeletePluginForbidden

func NewDeletePluginForbidden() *DeletePluginForbidden

NewDeletePluginForbidden creates a DeletePluginForbidden with default headers values

func (*DeletePluginForbidden) Error

func (o *DeletePluginForbidden) Error() string

func (*DeletePluginForbidden) GetPayload

func (o *DeletePluginForbidden) GetPayload() *models.APIResult

type DeletePluginInternalServerError

type DeletePluginInternalServerError struct {
	Payload *models.APIResult
}

DeletePluginInternalServerError handles this case with default header values.

Internal Server Error

func NewDeletePluginInternalServerError

func NewDeletePluginInternalServerError() *DeletePluginInternalServerError

NewDeletePluginInternalServerError creates a DeletePluginInternalServerError with default headers values

func (*DeletePluginInternalServerError) Error

func (*DeletePluginInternalServerError) GetPayload

type DeletePluginNotFound

type DeletePluginNotFound struct {
	Payload *models.APIResult
}

DeletePluginNotFound handles this case with default header values.

Not Found

func NewDeletePluginNotFound

func NewDeletePluginNotFound() *DeletePluginNotFound

NewDeletePluginNotFound creates a DeletePluginNotFound with default headers values

func (*DeletePluginNotFound) Error

func (o *DeletePluginNotFound) Error() string

func (*DeletePluginNotFound) GetPayload

func (o *DeletePluginNotFound) GetPayload() *models.APIResult

type DeletePluginOK

type DeletePluginOK struct {
	Payload *models.APIResultVoid
}

DeletePluginOK handles this case with default header values.

OK

func NewDeletePluginOK

func NewDeletePluginOK() *DeletePluginOK

NewDeletePluginOK creates a DeletePluginOK with default headers values

func (*DeletePluginOK) Error

func (o *DeletePluginOK) Error() string

func (*DeletePluginOK) GetPayload

func (o *DeletePluginOK) GetPayload() *models.APIResultVoid

type DeletePluginParams

type DeletePluginParams struct {

	/*ID
	  id

	*/
	ID int64

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

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

func NewDeletePluginParams

func NewDeletePluginParams() *DeletePluginParams

NewDeletePluginParams creates a new DeletePluginParams object with the default values initialized.

func NewDeletePluginParamsWithContext

func NewDeletePluginParamsWithContext(ctx context.Context) *DeletePluginParams

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

func NewDeletePluginParamsWithHTTPClient

func NewDeletePluginParamsWithHTTPClient(client *http.Client) *DeletePluginParams

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

func NewDeletePluginParamsWithTimeout

func NewDeletePluginParamsWithTimeout(timeout time.Duration) *DeletePluginParams

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

func (*DeletePluginParams) SetContext

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

SetContext adds the context to the delete plugin params

func (*DeletePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete plugin params

func (*DeletePluginParams) SetID

func (o *DeletePluginParams) SetID(id int64)

SetID adds the id to the delete plugin params

func (*DeletePluginParams) SetTimeout

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

SetTimeout adds the timeout to the delete plugin params

func (*DeletePluginParams) WithContext

WithContext adds the context to the delete plugin params

func (*DeletePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete plugin params

func (*DeletePluginParams) WithID

WithID adds the id to the delete plugin params

func (*DeletePluginParams) WithTimeout

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

WithTimeout adds the timeout to the delete plugin params

func (*DeletePluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePluginReader

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

DeletePluginReader is a Reader for the DeletePlugin structure.

func (*DeletePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePluginUnauthorized

type DeletePluginUnauthorized struct {
	Payload *models.APIResult
}

DeletePluginUnauthorized handles this case with default header values.

Unauthorized

func NewDeletePluginUnauthorized

func NewDeletePluginUnauthorized() *DeletePluginUnauthorized

NewDeletePluginUnauthorized creates a DeletePluginUnauthorized with default headers values

func (*DeletePluginUnauthorized) Error

func (o *DeletePluginUnauthorized) Error() string

func (*DeletePluginUnauthorized) GetPayload

func (o *DeletePluginUnauthorized) GetPayload() *models.APIResult

type DisablePluginBadRequest

type DisablePluginBadRequest struct {
	Payload *models.APIResult
}

DisablePluginBadRequest handles this case with default header values.

Bad Request

func NewDisablePluginBadRequest

func NewDisablePluginBadRequest() *DisablePluginBadRequest

NewDisablePluginBadRequest creates a DisablePluginBadRequest with default headers values

func (*DisablePluginBadRequest) Error

func (o *DisablePluginBadRequest) Error() string

func (*DisablePluginBadRequest) GetPayload

func (o *DisablePluginBadRequest) GetPayload() *models.APIResult

type DisablePluginConflict

type DisablePluginConflict struct {
	Payload *models.APIResult
}

DisablePluginConflict handles this case with default header values.

Conflict

func NewDisablePluginConflict

func NewDisablePluginConflict() *DisablePluginConflict

NewDisablePluginConflict creates a DisablePluginConflict with default headers values

func (*DisablePluginConflict) Error

func (o *DisablePluginConflict) Error() string

func (*DisablePluginConflict) GetPayload

func (o *DisablePluginConflict) GetPayload() *models.APIResult

type DisablePluginForbidden

type DisablePluginForbidden struct {
	Payload *models.APIResult
}

DisablePluginForbidden handles this case with default header values.

Forbidden

func NewDisablePluginForbidden

func NewDisablePluginForbidden() *DisablePluginForbidden

NewDisablePluginForbidden creates a DisablePluginForbidden with default headers values

func (*DisablePluginForbidden) Error

func (o *DisablePluginForbidden) Error() string

func (*DisablePluginForbidden) GetPayload

func (o *DisablePluginForbidden) GetPayload() *models.APIResult

type DisablePluginInternalServerError

type DisablePluginInternalServerError struct {
	Payload *models.APIResult
}

DisablePluginInternalServerError handles this case with default header values.

Internal Server Error

func NewDisablePluginInternalServerError

func NewDisablePluginInternalServerError() *DisablePluginInternalServerError

NewDisablePluginInternalServerError creates a DisablePluginInternalServerError with default headers values

func (*DisablePluginInternalServerError) Error

func (*DisablePluginInternalServerError) GetPayload

type DisablePluginNotFound

type DisablePluginNotFound struct {
	Payload *models.APIResult
}

DisablePluginNotFound handles this case with default header values.

Not Found

func NewDisablePluginNotFound

func NewDisablePluginNotFound() *DisablePluginNotFound

NewDisablePluginNotFound creates a DisablePluginNotFound with default headers values

func (*DisablePluginNotFound) Error

func (o *DisablePluginNotFound) Error() string

func (*DisablePluginNotFound) GetPayload

func (o *DisablePluginNotFound) GetPayload() *models.APIResult

type DisablePluginOK

type DisablePluginOK struct {
	Payload *models.APIResultVoid
}

DisablePluginOK handles this case with default header values.

OK

func NewDisablePluginOK

func NewDisablePluginOK() *DisablePluginOK

NewDisablePluginOK creates a DisablePluginOK with default headers values

func (*DisablePluginOK) Error

func (o *DisablePluginOK) Error() string

func (*DisablePluginOK) GetPayload

func (o *DisablePluginOK) GetPayload() *models.APIResultVoid

type DisablePluginParams

type DisablePluginParams struct {

	/*Resource
	  resource

	*/
	Resource *models.PluginDisableRequest

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

DisablePluginParams contains all the parameters to send to the API endpoint for the disable plugin operation typically these are written to a http.Request

func NewDisablePluginParams

func NewDisablePluginParams() *DisablePluginParams

NewDisablePluginParams creates a new DisablePluginParams object with the default values initialized.

func NewDisablePluginParamsWithContext

func NewDisablePluginParamsWithContext(ctx context.Context) *DisablePluginParams

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

func NewDisablePluginParamsWithHTTPClient

func NewDisablePluginParamsWithHTTPClient(client *http.Client) *DisablePluginParams

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

func NewDisablePluginParamsWithTimeout

func NewDisablePluginParamsWithTimeout(timeout time.Duration) *DisablePluginParams

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

func (*DisablePluginParams) SetContext

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

SetContext adds the context to the disable plugin params

func (*DisablePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable plugin params

func (*DisablePluginParams) SetResource

func (o *DisablePluginParams) SetResource(resource *models.PluginDisableRequest)

SetResource adds the resource to the disable plugin params

func (*DisablePluginParams) SetTimeout

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

SetTimeout adds the timeout to the disable plugin params

func (*DisablePluginParams) WithContext

WithContext adds the context to the disable plugin params

func (*DisablePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable plugin params

func (*DisablePluginParams) WithResource

WithResource adds the resource to the disable plugin params

func (*DisablePluginParams) WithTimeout

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

WithTimeout adds the timeout to the disable plugin params

func (*DisablePluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisablePluginReader

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

DisablePluginReader is a Reader for the DisablePlugin structure.

func (*DisablePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisablePluginUnauthorized

type DisablePluginUnauthorized struct {
	Payload *models.APIResult
}

DisablePluginUnauthorized handles this case with default header values.

Unauthorized

func NewDisablePluginUnauthorized

func NewDisablePluginUnauthorized() *DisablePluginUnauthorized

NewDisablePluginUnauthorized creates a DisablePluginUnauthorized with default headers values

func (*DisablePluginUnauthorized) Error

func (o *DisablePluginUnauthorized) Error() string

func (*DisablePluginUnauthorized) GetPayload

func (o *DisablePluginUnauthorized) GetPayload() *models.APIResult

type EnablePluginBadRequest

type EnablePluginBadRequest struct {
	Payload *models.APIResult
}

EnablePluginBadRequest handles this case with default header values.

Bad Request

func NewEnablePluginBadRequest

func NewEnablePluginBadRequest() *EnablePluginBadRequest

NewEnablePluginBadRequest creates a EnablePluginBadRequest with default headers values

func (*EnablePluginBadRequest) Error

func (o *EnablePluginBadRequest) Error() string

func (*EnablePluginBadRequest) GetPayload

func (o *EnablePluginBadRequest) GetPayload() *models.APIResult

type EnablePluginConflict

type EnablePluginConflict struct {
	Payload *models.APIResult
}

EnablePluginConflict handles this case with default header values.

Conflict

func NewEnablePluginConflict

func NewEnablePluginConflict() *EnablePluginConflict

NewEnablePluginConflict creates a EnablePluginConflict with default headers values

func (*EnablePluginConflict) Error

func (o *EnablePluginConflict) Error() string

func (*EnablePluginConflict) GetPayload

func (o *EnablePluginConflict) GetPayload() *models.APIResult

type EnablePluginForbidden

type EnablePluginForbidden struct {
	Payload *models.APIResult
}

EnablePluginForbidden handles this case with default header values.

Forbidden

func NewEnablePluginForbidden

func NewEnablePluginForbidden() *EnablePluginForbidden

NewEnablePluginForbidden creates a EnablePluginForbidden with default headers values

func (*EnablePluginForbidden) Error

func (o *EnablePluginForbidden) Error() string

func (*EnablePluginForbidden) GetPayload

func (o *EnablePluginForbidden) GetPayload() *models.APIResult

type EnablePluginInternalServerError

type EnablePluginInternalServerError struct {
	Payload *models.APIResult
}

EnablePluginInternalServerError handles this case with default header values.

Internal Server Error

func NewEnablePluginInternalServerError

func NewEnablePluginInternalServerError() *EnablePluginInternalServerError

NewEnablePluginInternalServerError creates a EnablePluginInternalServerError with default headers values

func (*EnablePluginInternalServerError) Error

func (*EnablePluginInternalServerError) GetPayload

type EnablePluginNotFound

type EnablePluginNotFound struct {
	Payload *models.APIResult
}

EnablePluginNotFound handles this case with default header values.

Not Found

func NewEnablePluginNotFound

func NewEnablePluginNotFound() *EnablePluginNotFound

NewEnablePluginNotFound creates a EnablePluginNotFound with default headers values

func (*EnablePluginNotFound) Error

func (o *EnablePluginNotFound) Error() string

func (*EnablePluginNotFound) GetPayload

func (o *EnablePluginNotFound) GetPayload() *models.APIResult

type EnablePluginOK

type EnablePluginOK struct {
	Payload *models.APIResultVoid
}

EnablePluginOK handles this case with default header values.

OK

func NewEnablePluginOK

func NewEnablePluginOK() *EnablePluginOK

NewEnablePluginOK creates a EnablePluginOK with default headers values

func (*EnablePluginOK) Error

func (o *EnablePluginOK) Error() string

func (*EnablePluginOK) GetPayload

func (o *EnablePluginOK) GetPayload() *models.APIResultVoid

type EnablePluginParams

type EnablePluginParams struct {

	/*Resource
	  resource

	*/
	Resource *models.PluginEnableRequest

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

EnablePluginParams contains all the parameters to send to the API endpoint for the enable plugin operation typically these are written to a http.Request

func NewEnablePluginParams

func NewEnablePluginParams() *EnablePluginParams

NewEnablePluginParams creates a new EnablePluginParams object with the default values initialized.

func NewEnablePluginParamsWithContext

func NewEnablePluginParamsWithContext(ctx context.Context) *EnablePluginParams

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

func NewEnablePluginParamsWithHTTPClient

func NewEnablePluginParamsWithHTTPClient(client *http.Client) *EnablePluginParams

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

func NewEnablePluginParamsWithTimeout

func NewEnablePluginParamsWithTimeout(timeout time.Duration) *EnablePluginParams

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

func (*EnablePluginParams) SetContext

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

SetContext adds the context to the enable plugin params

func (*EnablePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable plugin params

func (*EnablePluginParams) SetResource

func (o *EnablePluginParams) SetResource(resource *models.PluginEnableRequest)

SetResource adds the resource to the enable plugin params

func (*EnablePluginParams) SetTimeout

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

SetTimeout adds the timeout to the enable plugin params

func (*EnablePluginParams) WithContext

WithContext adds the context to the enable plugin params

func (*EnablePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable plugin params

func (*EnablePluginParams) WithResource

WithResource adds the resource to the enable plugin params

func (*EnablePluginParams) WithTimeout

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

WithTimeout adds the timeout to the enable plugin params

func (*EnablePluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnablePluginReader

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

EnablePluginReader is a Reader for the EnablePlugin structure.

func (*EnablePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnablePluginUnauthorized

type EnablePluginUnauthorized struct {
	Payload *models.APIResult
}

EnablePluginUnauthorized handles this case with default header values.

Unauthorized

func NewEnablePluginUnauthorized

func NewEnablePluginUnauthorized() *EnablePluginUnauthorized

NewEnablePluginUnauthorized creates a EnablePluginUnauthorized with default headers values

func (*EnablePluginUnauthorized) Error

func (o *EnablePluginUnauthorized) Error() string

func (*EnablePluginUnauthorized) GetPayload

func (o *EnablePluginUnauthorized) GetPayload() *models.APIResult

type ListPluginBadRequest

type ListPluginBadRequest struct {
	Payload *models.APIResult
}

ListPluginBadRequest handles this case with default header values.

Bad Request

func NewListPluginBadRequest

func NewListPluginBadRequest() *ListPluginBadRequest

NewListPluginBadRequest creates a ListPluginBadRequest with default headers values

func (*ListPluginBadRequest) Error

func (o *ListPluginBadRequest) Error() string

func (*ListPluginBadRequest) GetPayload

func (o *ListPluginBadRequest) GetPayload() *models.APIResult

type ListPluginConflict

type ListPluginConflict struct {
	Payload *models.APIResult
}

ListPluginConflict handles this case with default header values.

Conflict

func NewListPluginConflict

func NewListPluginConflict() *ListPluginConflict

NewListPluginConflict creates a ListPluginConflict with default headers values

func (*ListPluginConflict) Error

func (o *ListPluginConflict) Error() string

func (*ListPluginConflict) GetPayload

func (o *ListPluginConflict) GetPayload() *models.APIResult

type ListPluginForbidden

type ListPluginForbidden struct {
	Payload *models.APIResult
}

ListPluginForbidden handles this case with default header values.

Forbidden

func NewListPluginForbidden

func NewListPluginForbidden() *ListPluginForbidden

NewListPluginForbidden creates a ListPluginForbidden with default headers values

func (*ListPluginForbidden) Error

func (o *ListPluginForbidden) Error() string

func (*ListPluginForbidden) GetPayload

func (o *ListPluginForbidden) GetPayload() *models.APIResult

type ListPluginInternalServerError

type ListPluginInternalServerError struct {
	Payload *models.APIResult
}

ListPluginInternalServerError handles this case with default header values.

Internal Server Error

func NewListPluginInternalServerError

func NewListPluginInternalServerError() *ListPluginInternalServerError

NewListPluginInternalServerError creates a ListPluginInternalServerError with default headers values

func (*ListPluginInternalServerError) Error

func (*ListPluginInternalServerError) GetPayload

type ListPluginNotFound

type ListPluginNotFound struct {
	Payload *models.APIResult
}

ListPluginNotFound handles this case with default header values.

Not Found

func NewListPluginNotFound

func NewListPluginNotFound() *ListPluginNotFound

NewListPluginNotFound creates a ListPluginNotFound with default headers values

func (*ListPluginNotFound) Error

func (o *ListPluginNotFound) Error() string

func (*ListPluginNotFound) GetPayload

func (o *ListPluginNotFound) GetPayload() *models.APIResult

type ListPluginOK

type ListPluginOK struct {
	Payload *models.APIResultListPluginMetaData
}

ListPluginOK handles this case with default header values.

OK

func NewListPluginOK

func NewListPluginOK() *ListPluginOK

NewListPluginOK creates a ListPluginOK with default headers values

func (*ListPluginOK) Error

func (o *ListPluginOK) Error() string

func (*ListPluginOK) GetPayload

type ListPluginParams

type ListPluginParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search query

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

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

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

func NewListPluginParams

func NewListPluginParams() *ListPluginParams

NewListPluginParams creates a new ListPluginParams object with the default values initialized.

func NewListPluginParamsWithContext

func NewListPluginParamsWithContext(ctx context.Context) *ListPluginParams

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

func NewListPluginParamsWithHTTPClient

func NewListPluginParamsWithHTTPClient(client *http.Client) *ListPluginParams

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

func NewListPluginParamsWithTimeout

func NewListPluginParamsWithTimeout(timeout time.Duration) *ListPluginParams

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

func (*ListPluginParams) SetContext

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

SetContext adds the context to the list plugin params

func (*ListPluginParams) SetFields

func (o *ListPluginParams) SetFields(fields *string)

SetFields adds the fields to the list plugin params

func (*ListPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list plugin params

func (*ListPluginParams) SetLimit

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

SetLimit adds the limit to the list plugin params

func (*ListPluginParams) SetOrderby

func (o *ListPluginParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list plugin params

func (*ListPluginParams) SetQ

func (o *ListPluginParams) SetQ(q *string)

SetQ adds the q to the list plugin params

func (*ListPluginParams) SetStart

func (o *ListPluginParams) SetStart(start *int32)

SetStart adds the start to the list plugin params

func (*ListPluginParams) SetTimeout

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

SetTimeout adds the timeout to the list plugin params

func (*ListPluginParams) WithContext

func (o *ListPluginParams) WithContext(ctx context.Context) *ListPluginParams

WithContext adds the context to the list plugin params

func (*ListPluginParams) WithFields

func (o *ListPluginParams) WithFields(fields *string) *ListPluginParams

WithFields adds the fields to the list plugin params

func (*ListPluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list plugin params

func (*ListPluginParams) WithLimit

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

WithLimit adds the limit to the list plugin params

func (*ListPluginParams) WithOrderby

func (o *ListPluginParams) WithOrderby(orderby *string) *ListPluginParams

WithOrderby adds the orderby to the list plugin params

func (*ListPluginParams) WithQ

WithQ adds the q to the list plugin params

func (*ListPluginParams) WithStart

func (o *ListPluginParams) WithStart(start *int32) *ListPluginParams

WithStart adds the start to the list plugin params

func (*ListPluginParams) WithTimeout

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

WithTimeout adds the timeout to the list plugin params

func (*ListPluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPluginReader

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

ListPluginReader is a Reader for the ListPlugin structure.

func (*ListPluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPluginUnauthorized

type ListPluginUnauthorized struct {
	Payload *models.APIResult
}

ListPluginUnauthorized handles this case with default header values.

Unauthorized

func NewListPluginUnauthorized

func NewListPluginUnauthorized() *ListPluginUnauthorized

NewListPluginUnauthorized creates a ListPluginUnauthorized with default headers values

func (*ListPluginUnauthorized) Error

func (o *ListPluginUnauthorized) Error() string

func (*ListPluginUnauthorized) GetPayload

func (o *ListPluginUnauthorized) GetPayload() *models.APIResult

type ReadPluginBadRequest

type ReadPluginBadRequest struct {
	Payload *models.APIResult
}

ReadPluginBadRequest handles this case with default header values.

Bad Request

func NewReadPluginBadRequest

func NewReadPluginBadRequest() *ReadPluginBadRequest

NewReadPluginBadRequest creates a ReadPluginBadRequest with default headers values

func (*ReadPluginBadRequest) Error

func (o *ReadPluginBadRequest) Error() string

func (*ReadPluginBadRequest) GetPayload

func (o *ReadPluginBadRequest) GetPayload() *models.APIResult

type ReadPluginConflict

type ReadPluginConflict struct {
	Payload *models.APIResult
}

ReadPluginConflict handles this case with default header values.

Conflict

func NewReadPluginConflict

func NewReadPluginConflict() *ReadPluginConflict

NewReadPluginConflict creates a ReadPluginConflict with default headers values

func (*ReadPluginConflict) Error

func (o *ReadPluginConflict) Error() string

func (*ReadPluginConflict) GetPayload

func (o *ReadPluginConflict) GetPayload() *models.APIResult

type ReadPluginForbidden

type ReadPluginForbidden struct {
	Payload *models.APIResult
}

ReadPluginForbidden handles this case with default header values.

Forbidden

func NewReadPluginForbidden

func NewReadPluginForbidden() *ReadPluginForbidden

NewReadPluginForbidden creates a ReadPluginForbidden with default headers values

func (*ReadPluginForbidden) Error

func (o *ReadPluginForbidden) Error() string

func (*ReadPluginForbidden) GetPayload

func (o *ReadPluginForbidden) GetPayload() *models.APIResult

type ReadPluginInternalServerError

type ReadPluginInternalServerError struct {
	Payload *models.APIResult
}

ReadPluginInternalServerError handles this case with default header values.

Internal Server Error

func NewReadPluginInternalServerError

func NewReadPluginInternalServerError() *ReadPluginInternalServerError

NewReadPluginInternalServerError creates a ReadPluginInternalServerError with default headers values

func (*ReadPluginInternalServerError) Error

func (*ReadPluginInternalServerError) GetPayload

type ReadPluginNotFound

type ReadPluginNotFound struct {
	Payload *models.APIResult
}

ReadPluginNotFound handles this case with default header values.

Not Found

func NewReadPluginNotFound

func NewReadPluginNotFound() *ReadPluginNotFound

NewReadPluginNotFound creates a ReadPluginNotFound with default headers values

func (*ReadPluginNotFound) Error

func (o *ReadPluginNotFound) Error() string

func (*ReadPluginNotFound) GetPayload

func (o *ReadPluginNotFound) GetPayload() *models.APIResult

type ReadPluginOK

type ReadPluginOK struct {
	Payload *models.APIResultPluginMetaData
}

ReadPluginOK handles this case with default header values.

OK

func NewReadPluginOK

func NewReadPluginOK() *ReadPluginOK

NewReadPluginOK creates a ReadPluginOK with default headers values

func (*ReadPluginOK) Error

func (o *ReadPluginOK) Error() string

func (*ReadPluginOK) GetPayload

func (o *ReadPluginOK) GetPayload() *models.APIResultPluginMetaData

type ReadPluginParams

type ReadPluginParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*ID
	  id

	*/
	ID int64

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

ReadPluginParams contains all the parameters to send to the API endpoint for the read plugin operation typically these are written to a http.Request

func NewReadPluginParams

func NewReadPluginParams() *ReadPluginParams

NewReadPluginParams creates a new ReadPluginParams object with the default values initialized.

func NewReadPluginParamsWithContext

func NewReadPluginParamsWithContext(ctx context.Context) *ReadPluginParams

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

func NewReadPluginParamsWithHTTPClient

func NewReadPluginParamsWithHTTPClient(client *http.Client) *ReadPluginParams

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

func NewReadPluginParamsWithTimeout

func NewReadPluginParamsWithTimeout(timeout time.Duration) *ReadPluginParams

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

func (*ReadPluginParams) SetContext

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

SetContext adds the context to the read plugin params

func (*ReadPluginParams) SetFields

func (o *ReadPluginParams) SetFields(fields *string)

SetFields adds the fields to the read plugin params

func (*ReadPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read plugin params

func (*ReadPluginParams) SetID

func (o *ReadPluginParams) SetID(id int64)

SetID adds the id to the read plugin params

func (*ReadPluginParams) SetTimeout

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

SetTimeout adds the timeout to the read plugin params

func (*ReadPluginParams) WithContext

func (o *ReadPluginParams) WithContext(ctx context.Context) *ReadPluginParams

WithContext adds the context to the read plugin params

func (*ReadPluginParams) WithFields

func (o *ReadPluginParams) WithFields(fields *string) *ReadPluginParams

WithFields adds the fields to the read plugin params

func (*ReadPluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read plugin params

func (*ReadPluginParams) WithID

func (o *ReadPluginParams) WithID(id int64) *ReadPluginParams

WithID adds the id to the read plugin params

func (*ReadPluginParams) WithTimeout

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

WithTimeout adds the timeout to the read plugin params

func (*ReadPluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadPluginReader

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

ReadPluginReader is a Reader for the ReadPlugin structure.

func (*ReadPluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadPluginUnauthorized

type ReadPluginUnauthorized struct {
	Payload *models.APIResult
}

ReadPluginUnauthorized handles this case with default header values.

Unauthorized

func NewReadPluginUnauthorized

func NewReadPluginUnauthorized() *ReadPluginUnauthorized

NewReadPluginUnauthorized creates a ReadPluginUnauthorized with default headers values

func (*ReadPluginUnauthorized) Error

func (o *ReadPluginUnauthorized) Error() string

func (*ReadPluginUnauthorized) GetPayload

func (o *ReadPluginUnauthorized) GetPayload() *models.APIResult

type UploadPluginBadRequest

type UploadPluginBadRequest struct {
	Payload *models.APIResult
}

UploadPluginBadRequest handles this case with default header values.

Bad Request

func NewUploadPluginBadRequest

func NewUploadPluginBadRequest() *UploadPluginBadRequest

NewUploadPluginBadRequest creates a UploadPluginBadRequest with default headers values

func (*UploadPluginBadRequest) Error

func (o *UploadPluginBadRequest) Error() string

func (*UploadPluginBadRequest) GetPayload

func (o *UploadPluginBadRequest) GetPayload() *models.APIResult

type UploadPluginConflict

type UploadPluginConflict struct {
	Payload *models.APIResult
}

UploadPluginConflict handles this case with default header values.

Conflict

func NewUploadPluginConflict

func NewUploadPluginConflict() *UploadPluginConflict

NewUploadPluginConflict creates a UploadPluginConflict with default headers values

func (*UploadPluginConflict) Error

func (o *UploadPluginConflict) Error() string

func (*UploadPluginConflict) GetPayload

func (o *UploadPluginConflict) GetPayload() *models.APIResult

type UploadPluginCreated

type UploadPluginCreated struct {
	Payload *models.APIResultPluginMetaData
}

UploadPluginCreated handles this case with default header values.

Created

func NewUploadPluginCreated

func NewUploadPluginCreated() *UploadPluginCreated

NewUploadPluginCreated creates a UploadPluginCreated with default headers values

func (*UploadPluginCreated) Error

func (o *UploadPluginCreated) Error() string

func (*UploadPluginCreated) GetPayload

type UploadPluginForbidden

type UploadPluginForbidden struct {
	Payload *models.APIResult
}

UploadPluginForbidden handles this case with default header values.

Forbidden

func NewUploadPluginForbidden

func NewUploadPluginForbidden() *UploadPluginForbidden

NewUploadPluginForbidden creates a UploadPluginForbidden with default headers values

func (*UploadPluginForbidden) Error

func (o *UploadPluginForbidden) Error() string

func (*UploadPluginForbidden) GetPayload

func (o *UploadPluginForbidden) GetPayload() *models.APIResult

type UploadPluginInternalServerError

type UploadPluginInternalServerError struct {
	Payload *models.APIResult
}

UploadPluginInternalServerError handles this case with default header values.

Internal Server Error

func NewUploadPluginInternalServerError

func NewUploadPluginInternalServerError() *UploadPluginInternalServerError

NewUploadPluginInternalServerError creates a UploadPluginInternalServerError with default headers values

func (*UploadPluginInternalServerError) Error

func (*UploadPluginInternalServerError) GetPayload

type UploadPluginNotFound

type UploadPluginNotFound struct {
	Payload *models.APIResult
}

UploadPluginNotFound handles this case with default header values.

Not Found

func NewUploadPluginNotFound

func NewUploadPluginNotFound() *UploadPluginNotFound

NewUploadPluginNotFound creates a UploadPluginNotFound with default headers values

func (*UploadPluginNotFound) Error

func (o *UploadPluginNotFound) Error() string

func (*UploadPluginNotFound) GetPayload

func (o *UploadPluginNotFound) GetPayload() *models.APIResult

type UploadPluginParams

type UploadPluginParams struct {

	/*File
	  file

	*/
	File runtime.NamedReadCloser

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

UploadPluginParams contains all the parameters to send to the API endpoint for the upload plugin operation typically these are written to a http.Request

func NewUploadPluginParams

func NewUploadPluginParams() *UploadPluginParams

NewUploadPluginParams creates a new UploadPluginParams object with the default values initialized.

func NewUploadPluginParamsWithContext

func NewUploadPluginParamsWithContext(ctx context.Context) *UploadPluginParams

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

func NewUploadPluginParamsWithHTTPClient

func NewUploadPluginParamsWithHTTPClient(client *http.Client) *UploadPluginParams

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

func NewUploadPluginParamsWithTimeout

func NewUploadPluginParamsWithTimeout(timeout time.Duration) *UploadPluginParams

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

func (*UploadPluginParams) SetContext

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

SetContext adds the context to the upload plugin params

func (*UploadPluginParams) SetFile

func (o *UploadPluginParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the upload plugin params

func (*UploadPluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload plugin params

func (*UploadPluginParams) SetTimeout

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

SetTimeout adds the timeout to the upload plugin params

func (*UploadPluginParams) WithContext

WithContext adds the context to the upload plugin params

func (*UploadPluginParams) WithFile

WithFile adds the file to the upload plugin params

func (*UploadPluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload plugin params

func (*UploadPluginParams) WithTimeout

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

WithTimeout adds the timeout to the upload plugin params

func (*UploadPluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadPluginReader

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

UploadPluginReader is a Reader for the UploadPlugin structure.

func (*UploadPluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadPluginUnauthorized

type UploadPluginUnauthorized struct {
	Payload *models.APIResult
}

UploadPluginUnauthorized handles this case with default header values.

Unauthorized

func NewUploadPluginUnauthorized

func NewUploadPluginUnauthorized() *UploadPluginUnauthorized

NewUploadPluginUnauthorized creates a UploadPluginUnauthorized with default headers values

func (*UploadPluginUnauthorized) Error

func (o *UploadPluginUnauthorized) Error() string

func (*UploadPluginUnauthorized) GetPayload

func (o *UploadPluginUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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