plugin

package
v0.0.0-...-8251c7d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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 API

func (*Client) GetPluginPrivileges

func (a *Client) GetPluginPrivileges(params *GetPluginPrivilegesParams, opts ...ClientOption) (*GetPluginPrivilegesOK, error)

GetPluginPrivileges gets plugin privileges

func (*Client) PluginCreate

func (a *Client) PluginCreate(params *PluginCreateParams, opts ...ClientOption) (*PluginCreateNoContent, error)

PluginCreate creates a plugin

func (*Client) PluginDelete

func (a *Client) PluginDelete(params *PluginDeleteParams, opts ...ClientOption) (*PluginDeleteOK, error)

PluginDelete removes a plugin

func (*Client) PluginDisable

func (a *Client) PluginDisable(params *PluginDisableParams, opts ...ClientOption) (*PluginDisableOK, error)

PluginDisable disables a plugin

func (*Client) PluginEnable

func (a *Client) PluginEnable(params *PluginEnableParams, opts ...ClientOption) (*PluginEnableOK, error)

PluginEnable enables a plugin

func (*Client) PluginInspect

func (a *Client) PluginInspect(params *PluginInspectParams, opts ...ClientOption) (*PluginInspectOK, error)

PluginInspect inspects a plugin

func (*Client) PluginList

func (a *Client) PluginList(params *PluginListParams, opts ...ClientOption) (*PluginListOK, error)

PluginList lists plugins

Returns information about installed plugins.

func (*Client) PluginPull

func (a *Client) PluginPull(params *PluginPullParams, opts ...ClientOption) (*PluginPullNoContent, error)

PluginPull installs a plugin

Pulls and installs a plugin. After the plugin is installed, it can be enabled using the [`POST /plugins/{name}/enable` endpoint](#operation/PostPluginsEnable).

func (*Client) PluginPush

func (a *Client) PluginPush(params *PluginPushParams, opts ...ClientOption) (*PluginPushOK, error)

PluginPush pushes a plugin

Push a plugin to the registry.

func (*Client) PluginSet

func (a *Client) PluginSet(params *PluginSetParams, opts ...ClientOption) (*PluginSetNoContent, error)

PluginSet configures a plugin

func (*Client) PluginUpgrade

func (a *Client) PluginUpgrade(params *PluginUpgradeParams, opts ...ClientOption) (*PluginUpgradeNoContent, error)

PluginUpgrade upgrades a plugin

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetPluginPrivileges(params *GetPluginPrivilegesParams, opts ...ClientOption) (*GetPluginPrivilegesOK, error)

	PluginCreate(params *PluginCreateParams, opts ...ClientOption) (*PluginCreateNoContent, error)

	PluginDelete(params *PluginDeleteParams, opts ...ClientOption) (*PluginDeleteOK, error)

	PluginDisable(params *PluginDisableParams, opts ...ClientOption) (*PluginDisableOK, error)

	PluginEnable(params *PluginEnableParams, opts ...ClientOption) (*PluginEnableOK, error)

	PluginInspect(params *PluginInspectParams, opts ...ClientOption) (*PluginInspectOK, error)

	PluginList(params *PluginListParams, opts ...ClientOption) (*PluginListOK, error)

	PluginPull(params *PluginPullParams, opts ...ClientOption) (*PluginPullNoContent, error)

	PluginPush(params *PluginPushParams, opts ...ClientOption) (*PluginPushOK, error)

	PluginSet(params *PluginSetParams, opts ...ClientOption) (*PluginSetNoContent, error)

	PluginUpgrade(params *PluginUpgradeParams, opts ...ClientOption) (*PluginUpgradeNoContent, 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 API client.

type GetPluginPrivilegesInternalServerError

type GetPluginPrivilegesInternalServerError struct {
	Payload *models.ErrorResponse
}
GetPluginPrivilegesInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetPluginPrivilegesInternalServerError

func NewGetPluginPrivilegesInternalServerError() *GetPluginPrivilegesInternalServerError

NewGetPluginPrivilegesInternalServerError creates a GetPluginPrivilegesInternalServerError with default headers values

func (*GetPluginPrivilegesInternalServerError) Error

func (*GetPluginPrivilegesInternalServerError) GetPayload

func (*GetPluginPrivilegesInternalServerError) IsClientError

func (o *GetPluginPrivilegesInternalServerError) IsClientError() bool

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

func (*GetPluginPrivilegesInternalServerError) IsCode

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

func (*GetPluginPrivilegesInternalServerError) IsRedirect

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

func (*GetPluginPrivilegesInternalServerError) IsServerError

func (o *GetPluginPrivilegesInternalServerError) IsServerError() bool

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

func (*GetPluginPrivilegesInternalServerError) IsSuccess

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

func (*GetPluginPrivilegesInternalServerError) String

type GetPluginPrivilegesOK

type GetPluginPrivilegesOK struct {
	Payload []*GetPluginPrivilegesOKBodyItems0
}
GetPluginPrivilegesOK describes a response with status code 200, with default header values.

no error

func NewGetPluginPrivilegesOK

func NewGetPluginPrivilegesOK() *GetPluginPrivilegesOK

NewGetPluginPrivilegesOK creates a GetPluginPrivilegesOK with default headers values

func (*GetPluginPrivilegesOK) Error

func (o *GetPluginPrivilegesOK) Error() string

func (*GetPluginPrivilegesOK) GetPayload

func (*GetPluginPrivilegesOK) IsClientError

func (o *GetPluginPrivilegesOK) IsClientError() bool

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

func (*GetPluginPrivilegesOK) IsCode

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

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

func (*GetPluginPrivilegesOK) IsRedirect

func (o *GetPluginPrivilegesOK) IsRedirect() bool

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

func (*GetPluginPrivilegesOK) IsServerError

func (o *GetPluginPrivilegesOK) IsServerError() bool

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

func (*GetPluginPrivilegesOK) IsSuccess

func (o *GetPluginPrivilegesOK) IsSuccess() bool

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

func (*GetPluginPrivilegesOK) String

func (o *GetPluginPrivilegesOK) String() string

type GetPluginPrivilegesOKBodyItems0

type GetPluginPrivilegesOKBodyItems0 struct {

	// description
	Description string `json:"Description,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// value
	Value []string `json:"Value"`
}

GetPluginPrivilegesOKBodyItems0 PluginPrivilegeItem // // Describes a permission the user has to accept upon installing the plugin. swagger:model GetPluginPrivilegesOKBodyItems0

func (*GetPluginPrivilegesOKBodyItems0) ContextValidate

func (o *GetPluginPrivilegesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get plugin privileges o k body items0 based on context it is used

func (*GetPluginPrivilegesOKBodyItems0) MarshalBinary

func (o *GetPluginPrivilegesOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPluginPrivilegesOKBodyItems0) UnmarshalBinary

func (o *GetPluginPrivilegesOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPluginPrivilegesOKBodyItems0) Validate

Validate validates this get plugin privileges o k body items0

type GetPluginPrivilegesParams

type GetPluginPrivilegesParams struct {

	/* Remote.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Remote string

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

GetPluginPrivilegesParams contains all the parameters to send to the API endpoint

for the get plugin privileges operation.

Typically these are written to a http.Request.

func NewGetPluginPrivilegesParams

func NewGetPluginPrivilegesParams() *GetPluginPrivilegesParams

NewGetPluginPrivilegesParams creates a new GetPluginPrivilegesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPluginPrivilegesParamsWithContext

func NewGetPluginPrivilegesParamsWithContext(ctx context.Context) *GetPluginPrivilegesParams

NewGetPluginPrivilegesParamsWithContext creates a new GetPluginPrivilegesParams object with the ability to set a context for a request.

func NewGetPluginPrivilegesParamsWithHTTPClient

func NewGetPluginPrivilegesParamsWithHTTPClient(client *http.Client) *GetPluginPrivilegesParams

NewGetPluginPrivilegesParamsWithHTTPClient creates a new GetPluginPrivilegesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPluginPrivilegesParamsWithTimeout

func NewGetPluginPrivilegesParamsWithTimeout(timeout time.Duration) *GetPluginPrivilegesParams

NewGetPluginPrivilegesParamsWithTimeout creates a new GetPluginPrivilegesParams object with the ability to set a timeout on a request.

func (*GetPluginPrivilegesParams) SetContext

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

SetContext adds the context to the get plugin privileges params

func (*GetPluginPrivilegesParams) SetDefaults

func (o *GetPluginPrivilegesParams) SetDefaults()

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

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

func (*GetPluginPrivilegesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin privileges params

func (*GetPluginPrivilegesParams) SetRemote

func (o *GetPluginPrivilegesParams) SetRemote(remote string)

SetRemote adds the remote to the get plugin privileges params

func (*GetPluginPrivilegesParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin privileges params

func (*GetPluginPrivilegesParams) WithContext

WithContext adds the context to the get plugin privileges params

func (*GetPluginPrivilegesParams) WithDefaults

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

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

func (*GetPluginPrivilegesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get plugin privileges params

func (*GetPluginPrivilegesParams) WithRemote

WithRemote adds the remote to the get plugin privileges params

func (*GetPluginPrivilegesParams) WithTimeout

WithTimeout adds the timeout to the get plugin privileges params

func (*GetPluginPrivilegesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPluginPrivilegesReader

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

GetPluginPrivilegesReader is a Reader for the GetPluginPrivileges structure.

func (*GetPluginPrivilegesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginCreateInternalServerError

type PluginCreateInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginCreateInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginCreateInternalServerError

func NewPluginCreateInternalServerError() *PluginCreateInternalServerError

NewPluginCreateInternalServerError creates a PluginCreateInternalServerError with default headers values

func (*PluginCreateInternalServerError) Error

func (*PluginCreateInternalServerError) GetPayload

func (*PluginCreateInternalServerError) IsClientError

func (o *PluginCreateInternalServerError) IsClientError() bool

IsClientError returns true when this plugin create internal server error response has a 4xx status code

func (*PluginCreateInternalServerError) IsCode

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

IsCode returns true when this plugin create internal server error response a status code equal to that given

func (*PluginCreateInternalServerError) IsRedirect

func (o *PluginCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin create internal server error response has a 3xx status code

func (*PluginCreateInternalServerError) IsServerError

func (o *PluginCreateInternalServerError) IsServerError() bool

IsServerError returns true when this plugin create internal server error response has a 5xx status code

func (*PluginCreateInternalServerError) IsSuccess

func (o *PluginCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin create internal server error response has a 2xx status code

func (*PluginCreateInternalServerError) String

type PluginCreateNoContent

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

no error

func NewPluginCreateNoContent

func NewPluginCreateNoContent() *PluginCreateNoContent

NewPluginCreateNoContent creates a PluginCreateNoContent with default headers values

func (*PluginCreateNoContent) Error

func (o *PluginCreateNoContent) Error() string

func (*PluginCreateNoContent) IsClientError

func (o *PluginCreateNoContent) IsClientError() bool

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

func (*PluginCreateNoContent) IsCode

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

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

func (*PluginCreateNoContent) IsRedirect

func (o *PluginCreateNoContent) IsRedirect() bool

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

func (*PluginCreateNoContent) IsServerError

func (o *PluginCreateNoContent) IsServerError() bool

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

func (*PluginCreateNoContent) IsSuccess

func (o *PluginCreateNoContent) IsSuccess() bool

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

func (*PluginCreateNoContent) String

func (o *PluginCreateNoContent) String() string

type PluginCreateParams

type PluginCreateParams struct {

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

	/* TarContext.

	   Path to tar containing plugin rootfs and manifest

	   Format: binary
	*/
	TarContext io.ReadCloser

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

PluginCreateParams contains all the parameters to send to the API endpoint

for the plugin create operation.

Typically these are written to a http.Request.

func NewPluginCreateParams

func NewPluginCreateParams() *PluginCreateParams

NewPluginCreateParams creates a new PluginCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginCreateParamsWithContext

func NewPluginCreateParamsWithContext(ctx context.Context) *PluginCreateParams

NewPluginCreateParamsWithContext creates a new PluginCreateParams object with the ability to set a context for a request.

func NewPluginCreateParamsWithHTTPClient

func NewPluginCreateParamsWithHTTPClient(client *http.Client) *PluginCreateParams

NewPluginCreateParamsWithHTTPClient creates a new PluginCreateParams object with the ability to set a custom HTTPClient for a request.

func NewPluginCreateParamsWithTimeout

func NewPluginCreateParamsWithTimeout(timeout time.Duration) *PluginCreateParams

NewPluginCreateParamsWithTimeout creates a new PluginCreateParams object with the ability to set a timeout on a request.

func (*PluginCreateParams) SetContext

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

SetContext adds the context to the plugin create params

func (*PluginCreateParams) SetDefaults

func (o *PluginCreateParams) SetDefaults()

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

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

func (*PluginCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin create params

func (*PluginCreateParams) SetName

func (o *PluginCreateParams) SetName(name string)

SetName adds the name to the plugin create params

func (*PluginCreateParams) SetTarContext

func (o *PluginCreateParams) SetTarContext(tarContext io.ReadCloser)

SetTarContext adds the tarContext to the plugin create params

func (*PluginCreateParams) SetTimeout

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

SetTimeout adds the timeout to the plugin create params

func (*PluginCreateParams) WithContext

WithContext adds the context to the plugin create params

func (*PluginCreateParams) WithDefaults

func (o *PluginCreateParams) WithDefaults() *PluginCreateParams

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

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

func (*PluginCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin create params

func (*PluginCreateParams) WithName

func (o *PluginCreateParams) WithName(name string) *PluginCreateParams

WithName adds the name to the plugin create params

func (*PluginCreateParams) WithTarContext

func (o *PluginCreateParams) WithTarContext(tarContext io.ReadCloser) *PluginCreateParams

WithTarContext adds the tarContext to the plugin create params

func (*PluginCreateParams) WithTimeout

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

WithTimeout adds the timeout to the plugin create params

func (*PluginCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginCreateReader

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

PluginCreateReader is a Reader for the PluginCreate structure.

func (*PluginCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginDeleteInternalServerError

type PluginDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginDeleteInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginDeleteInternalServerError

func NewPluginDeleteInternalServerError() *PluginDeleteInternalServerError

NewPluginDeleteInternalServerError creates a PluginDeleteInternalServerError with default headers values

func (*PluginDeleteInternalServerError) Error

func (*PluginDeleteInternalServerError) GetPayload

func (*PluginDeleteInternalServerError) IsClientError

func (o *PluginDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this plugin delete internal server error response has a 4xx status code

func (*PluginDeleteInternalServerError) IsCode

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

IsCode returns true when this plugin delete internal server error response a status code equal to that given

func (*PluginDeleteInternalServerError) IsRedirect

func (o *PluginDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin delete internal server error response has a 3xx status code

func (*PluginDeleteInternalServerError) IsServerError

func (o *PluginDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this plugin delete internal server error response has a 5xx status code

func (*PluginDeleteInternalServerError) IsSuccess

func (o *PluginDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin delete internal server error response has a 2xx status code

func (*PluginDeleteInternalServerError) String

type PluginDeleteNotFound

type PluginDeleteNotFound struct {
	Payload *models.ErrorResponse
}
PluginDeleteNotFound describes a response with status code 404, with default header values.

plugin is not installed

func NewPluginDeleteNotFound

func NewPluginDeleteNotFound() *PluginDeleteNotFound

NewPluginDeleteNotFound creates a PluginDeleteNotFound with default headers values

func (*PluginDeleteNotFound) Error

func (o *PluginDeleteNotFound) Error() string

func (*PluginDeleteNotFound) GetPayload

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

func (*PluginDeleteNotFound) IsClientError

func (o *PluginDeleteNotFound) IsClientError() bool

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

func (*PluginDeleteNotFound) IsCode

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

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

func (*PluginDeleteNotFound) IsRedirect

func (o *PluginDeleteNotFound) IsRedirect() bool

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

func (*PluginDeleteNotFound) IsServerError

func (o *PluginDeleteNotFound) IsServerError() bool

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

func (*PluginDeleteNotFound) IsSuccess

func (o *PluginDeleteNotFound) IsSuccess() bool

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

func (*PluginDeleteNotFound) String

func (o *PluginDeleteNotFound) String() string

type PluginDeleteOK

type PluginDeleteOK struct {
	Payload *models.Plugin
}
PluginDeleteOK describes a response with status code 200, with default header values.

no error

func NewPluginDeleteOK

func NewPluginDeleteOK() *PluginDeleteOK

NewPluginDeleteOK creates a PluginDeleteOK with default headers values

func (*PluginDeleteOK) Error

func (o *PluginDeleteOK) Error() string

func (*PluginDeleteOK) GetPayload

func (o *PluginDeleteOK) GetPayload() *models.Plugin

func (*PluginDeleteOK) IsClientError

func (o *PluginDeleteOK) IsClientError() bool

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

func (*PluginDeleteOK) IsCode

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

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

func (*PluginDeleteOK) IsRedirect

func (o *PluginDeleteOK) IsRedirect() bool

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

func (*PluginDeleteOK) IsServerError

func (o *PluginDeleteOK) IsServerError() bool

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

func (*PluginDeleteOK) IsSuccess

func (o *PluginDeleteOK) IsSuccess() bool

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

func (*PluginDeleteOK) String

func (o *PluginDeleteOK) String() string

type PluginDeleteParams

type PluginDeleteParams struct {

	/* Force.

	   Disable the plugin before removing. This may result in issues if the plugin is in use by a container.
	*/
	Force *bool

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

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

PluginDeleteParams contains all the parameters to send to the API endpoint

for the plugin delete operation.

Typically these are written to a http.Request.

func NewPluginDeleteParams

func NewPluginDeleteParams() *PluginDeleteParams

NewPluginDeleteParams creates a new PluginDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginDeleteParamsWithContext

func NewPluginDeleteParamsWithContext(ctx context.Context) *PluginDeleteParams

NewPluginDeleteParamsWithContext creates a new PluginDeleteParams object with the ability to set a context for a request.

func NewPluginDeleteParamsWithHTTPClient

func NewPluginDeleteParamsWithHTTPClient(client *http.Client) *PluginDeleteParams

NewPluginDeleteParamsWithHTTPClient creates a new PluginDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPluginDeleteParamsWithTimeout

func NewPluginDeleteParamsWithTimeout(timeout time.Duration) *PluginDeleteParams

NewPluginDeleteParamsWithTimeout creates a new PluginDeleteParams object with the ability to set a timeout on a request.

func (*PluginDeleteParams) SetContext

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

SetContext adds the context to the plugin delete params

func (*PluginDeleteParams) SetDefaults

func (o *PluginDeleteParams) SetDefaults()

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

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

func (*PluginDeleteParams) SetForce

func (o *PluginDeleteParams) SetForce(force *bool)

SetForce adds the force to the plugin delete params

func (*PluginDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin delete params

func (*PluginDeleteParams) SetName

func (o *PluginDeleteParams) SetName(name string)

SetName adds the name to the plugin delete params

func (*PluginDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the plugin delete params

func (*PluginDeleteParams) WithContext

WithContext adds the context to the plugin delete params

func (*PluginDeleteParams) WithDefaults

func (o *PluginDeleteParams) WithDefaults() *PluginDeleteParams

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

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

func (*PluginDeleteParams) WithForce

func (o *PluginDeleteParams) WithForce(force *bool) *PluginDeleteParams

WithForce adds the force to the plugin delete params

func (*PluginDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin delete params

func (*PluginDeleteParams) WithName

func (o *PluginDeleteParams) WithName(name string) *PluginDeleteParams

WithName adds the name to the plugin delete params

func (*PluginDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the plugin delete params

func (*PluginDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginDeleteReader

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

PluginDeleteReader is a Reader for the PluginDelete structure.

func (*PluginDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginDisableInternalServerError

type PluginDisableInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginDisableInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginDisableInternalServerError

func NewPluginDisableInternalServerError() *PluginDisableInternalServerError

NewPluginDisableInternalServerError creates a PluginDisableInternalServerError with default headers values

func (*PluginDisableInternalServerError) Error

func (*PluginDisableInternalServerError) GetPayload

func (*PluginDisableInternalServerError) IsClientError

func (o *PluginDisableInternalServerError) IsClientError() bool

IsClientError returns true when this plugin disable internal server error response has a 4xx status code

func (*PluginDisableInternalServerError) IsCode

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

IsCode returns true when this plugin disable internal server error response a status code equal to that given

func (*PluginDisableInternalServerError) IsRedirect

func (o *PluginDisableInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin disable internal server error response has a 3xx status code

func (*PluginDisableInternalServerError) IsServerError

func (o *PluginDisableInternalServerError) IsServerError() bool

IsServerError returns true when this plugin disable internal server error response has a 5xx status code

func (*PluginDisableInternalServerError) IsSuccess

func (o *PluginDisableInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin disable internal server error response has a 2xx status code

func (*PluginDisableInternalServerError) String

type PluginDisableNotFound

type PluginDisableNotFound struct {
	Payload *models.ErrorResponse
}
PluginDisableNotFound describes a response with status code 404, with default header values.

plugin is not installed

func NewPluginDisableNotFound

func NewPluginDisableNotFound() *PluginDisableNotFound

NewPluginDisableNotFound creates a PluginDisableNotFound with default headers values

func (*PluginDisableNotFound) Error

func (o *PluginDisableNotFound) Error() string

func (*PluginDisableNotFound) GetPayload

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

func (*PluginDisableNotFound) IsClientError

func (o *PluginDisableNotFound) IsClientError() bool

IsClientError returns true when this plugin disable not found response has a 4xx status code

func (*PluginDisableNotFound) IsCode

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

IsCode returns true when this plugin disable not found response a status code equal to that given

func (*PluginDisableNotFound) IsRedirect

func (o *PluginDisableNotFound) IsRedirect() bool

IsRedirect returns true when this plugin disable not found response has a 3xx status code

func (*PluginDisableNotFound) IsServerError

func (o *PluginDisableNotFound) IsServerError() bool

IsServerError returns true when this plugin disable not found response has a 5xx status code

func (*PluginDisableNotFound) IsSuccess

func (o *PluginDisableNotFound) IsSuccess() bool

IsSuccess returns true when this plugin disable not found response has a 2xx status code

func (*PluginDisableNotFound) String

func (o *PluginDisableNotFound) String() string

type PluginDisableOK

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

no error

func NewPluginDisableOK

func NewPluginDisableOK() *PluginDisableOK

NewPluginDisableOK creates a PluginDisableOK with default headers values

func (*PluginDisableOK) Error

func (o *PluginDisableOK) Error() string

func (*PluginDisableOK) IsClientError

func (o *PluginDisableOK) IsClientError() bool

IsClientError returns true when this plugin disable o k response has a 4xx status code

func (*PluginDisableOK) IsCode

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

IsCode returns true when this plugin disable o k response a status code equal to that given

func (*PluginDisableOK) IsRedirect

func (o *PluginDisableOK) IsRedirect() bool

IsRedirect returns true when this plugin disable o k response has a 3xx status code

func (*PluginDisableOK) IsServerError

func (o *PluginDisableOK) IsServerError() bool

IsServerError returns true when this plugin disable o k response has a 5xx status code

func (*PluginDisableOK) IsSuccess

func (o *PluginDisableOK) IsSuccess() bool

IsSuccess returns true when this plugin disable o k response has a 2xx status code

func (*PluginDisableOK) String

func (o *PluginDisableOK) String() string

type PluginDisableParams

type PluginDisableParams struct {

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

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

PluginDisableParams contains all the parameters to send to the API endpoint

for the plugin disable operation.

Typically these are written to a http.Request.

func NewPluginDisableParams

func NewPluginDisableParams() *PluginDisableParams

NewPluginDisableParams creates a new PluginDisableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginDisableParamsWithContext

func NewPluginDisableParamsWithContext(ctx context.Context) *PluginDisableParams

NewPluginDisableParamsWithContext creates a new PluginDisableParams object with the ability to set a context for a request.

func NewPluginDisableParamsWithHTTPClient

func NewPluginDisableParamsWithHTTPClient(client *http.Client) *PluginDisableParams

NewPluginDisableParamsWithHTTPClient creates a new PluginDisableParams object with the ability to set a custom HTTPClient for a request.

func NewPluginDisableParamsWithTimeout

func NewPluginDisableParamsWithTimeout(timeout time.Duration) *PluginDisableParams

NewPluginDisableParamsWithTimeout creates a new PluginDisableParams object with the ability to set a timeout on a request.

func (*PluginDisableParams) SetContext

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

SetContext adds the context to the plugin disable params

func (*PluginDisableParams) SetDefaults

func (o *PluginDisableParams) SetDefaults()

SetDefaults hydrates default values in the plugin disable params (not the query body).

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

func (*PluginDisableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin disable params

func (*PluginDisableParams) SetName

func (o *PluginDisableParams) SetName(name string)

SetName adds the name to the plugin disable params

func (*PluginDisableParams) SetTimeout

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

SetTimeout adds the timeout to the plugin disable params

func (*PluginDisableParams) WithContext

WithContext adds the context to the plugin disable params

func (*PluginDisableParams) WithDefaults

func (o *PluginDisableParams) WithDefaults() *PluginDisableParams

WithDefaults hydrates default values in the plugin disable params (not the query body).

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

func (*PluginDisableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin disable params

func (*PluginDisableParams) WithName

func (o *PluginDisableParams) WithName(name string) *PluginDisableParams

WithName adds the name to the plugin disable params

func (*PluginDisableParams) WithTimeout

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

WithTimeout adds the timeout to the plugin disable params

func (*PluginDisableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginDisableReader

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

PluginDisableReader is a Reader for the PluginDisable structure.

func (*PluginDisableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginEnableInternalServerError

type PluginEnableInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginEnableInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginEnableInternalServerError

func NewPluginEnableInternalServerError() *PluginEnableInternalServerError

NewPluginEnableInternalServerError creates a PluginEnableInternalServerError with default headers values

func (*PluginEnableInternalServerError) Error

func (*PluginEnableInternalServerError) GetPayload

func (*PluginEnableInternalServerError) IsClientError

func (o *PluginEnableInternalServerError) IsClientError() bool

IsClientError returns true when this plugin enable internal server error response has a 4xx status code

func (*PluginEnableInternalServerError) IsCode

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

IsCode returns true when this plugin enable internal server error response a status code equal to that given

func (*PluginEnableInternalServerError) IsRedirect

func (o *PluginEnableInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin enable internal server error response has a 3xx status code

func (*PluginEnableInternalServerError) IsServerError

func (o *PluginEnableInternalServerError) IsServerError() bool

IsServerError returns true when this plugin enable internal server error response has a 5xx status code

func (*PluginEnableInternalServerError) IsSuccess

func (o *PluginEnableInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin enable internal server error response has a 2xx status code

func (*PluginEnableInternalServerError) String

type PluginEnableNotFound

type PluginEnableNotFound struct {
	Payload *models.ErrorResponse
}
PluginEnableNotFound describes a response with status code 404, with default header values.

plugin is not installed

func NewPluginEnableNotFound

func NewPluginEnableNotFound() *PluginEnableNotFound

NewPluginEnableNotFound creates a PluginEnableNotFound with default headers values

func (*PluginEnableNotFound) Error

func (o *PluginEnableNotFound) Error() string

func (*PluginEnableNotFound) GetPayload

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

func (*PluginEnableNotFound) IsClientError

func (o *PluginEnableNotFound) IsClientError() bool

IsClientError returns true when this plugin enable not found response has a 4xx status code

func (*PluginEnableNotFound) IsCode

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

IsCode returns true when this plugin enable not found response a status code equal to that given

func (*PluginEnableNotFound) IsRedirect

func (o *PluginEnableNotFound) IsRedirect() bool

IsRedirect returns true when this plugin enable not found response has a 3xx status code

func (*PluginEnableNotFound) IsServerError

func (o *PluginEnableNotFound) IsServerError() bool

IsServerError returns true when this plugin enable not found response has a 5xx status code

func (*PluginEnableNotFound) IsSuccess

func (o *PluginEnableNotFound) IsSuccess() bool

IsSuccess returns true when this plugin enable not found response has a 2xx status code

func (*PluginEnableNotFound) String

func (o *PluginEnableNotFound) String() string

type PluginEnableOK

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

no error

func NewPluginEnableOK

func NewPluginEnableOK() *PluginEnableOK

NewPluginEnableOK creates a PluginEnableOK with default headers values

func (*PluginEnableOK) Error

func (o *PluginEnableOK) Error() string

func (*PluginEnableOK) IsClientError

func (o *PluginEnableOK) IsClientError() bool

IsClientError returns true when this plugin enable o k response has a 4xx status code

func (*PluginEnableOK) IsCode

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

IsCode returns true when this plugin enable o k response a status code equal to that given

func (*PluginEnableOK) IsRedirect

func (o *PluginEnableOK) IsRedirect() bool

IsRedirect returns true when this plugin enable o k response has a 3xx status code

func (*PluginEnableOK) IsServerError

func (o *PluginEnableOK) IsServerError() bool

IsServerError returns true when this plugin enable o k response has a 5xx status code

func (*PluginEnableOK) IsSuccess

func (o *PluginEnableOK) IsSuccess() bool

IsSuccess returns true when this plugin enable o k response has a 2xx status code

func (*PluginEnableOK) String

func (o *PluginEnableOK) String() string

type PluginEnableParams

type PluginEnableParams struct {

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

	/* Timeout.

	   Set the HTTP client timeout (in seconds)
	*/
	Timeout *int64

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

PluginEnableParams contains all the parameters to send to the API endpoint

for the plugin enable operation.

Typically these are written to a http.Request.

func NewPluginEnableParams

func NewPluginEnableParams() *PluginEnableParams

NewPluginEnableParams creates a new PluginEnableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginEnableParamsWithContext

func NewPluginEnableParamsWithContext(ctx context.Context) *PluginEnableParams

NewPluginEnableParamsWithContext creates a new PluginEnableParams object with the ability to set a context for a request.

func NewPluginEnableParamsWithHTTPClient

func NewPluginEnableParamsWithHTTPClient(client *http.Client) *PluginEnableParams

NewPluginEnableParamsWithHTTPClient creates a new PluginEnableParams object with the ability to set a custom HTTPClient for a request.

func NewPluginEnableParamsWithTimeout

func NewPluginEnableParamsWithTimeout(timeout time.Duration) *PluginEnableParams

NewPluginEnableParamsWithTimeout creates a new PluginEnableParams object with the ability to set a timeout on a request.

func (*PluginEnableParams) SetContext

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

SetContext adds the context to the plugin enable params

func (*PluginEnableParams) SetDefaults

func (o *PluginEnableParams) SetDefaults()

SetDefaults hydrates default values in the plugin enable params (not the query body).

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

func (*PluginEnableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin enable params

func (*PluginEnableParams) SetName

func (o *PluginEnableParams) SetName(name string)

SetName adds the name to the plugin enable params

func (*PluginEnableParams) SetRequestTimeout

func (o *PluginEnableParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the plugin enable params

func (*PluginEnableParams) SetTimeout

func (o *PluginEnableParams) SetTimeout(timeout *int64)

SetTimeout adds the timeout to the plugin enable params

func (*PluginEnableParams) WithContext

WithContext adds the context to the plugin enable params

func (*PluginEnableParams) WithDefaults

func (o *PluginEnableParams) WithDefaults() *PluginEnableParams

WithDefaults hydrates default values in the plugin enable params (not the query body).

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

func (*PluginEnableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin enable params

func (*PluginEnableParams) WithName

func (o *PluginEnableParams) WithName(name string) *PluginEnableParams

WithName adds the name to the plugin enable params

func (*PluginEnableParams) WithRequestTimeout

func (o *PluginEnableParams) WithRequestTimeout(timeout time.Duration) *PluginEnableParams

WithRequestTimeout adds the timeout to the plugin enable params

func (*PluginEnableParams) WithTimeout

func (o *PluginEnableParams) WithTimeout(timeout *int64) *PluginEnableParams

WithTimeout adds the timeout to the plugin enable params

func (*PluginEnableParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginEnableReader

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

PluginEnableReader is a Reader for the PluginEnable structure.

func (*PluginEnableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginInspectInternalServerError

type PluginInspectInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginInspectInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginInspectInternalServerError

func NewPluginInspectInternalServerError() *PluginInspectInternalServerError

NewPluginInspectInternalServerError creates a PluginInspectInternalServerError with default headers values

func (*PluginInspectInternalServerError) Error

func (*PluginInspectInternalServerError) GetPayload

func (*PluginInspectInternalServerError) IsClientError

func (o *PluginInspectInternalServerError) IsClientError() bool

IsClientError returns true when this plugin inspect internal server error response has a 4xx status code

func (*PluginInspectInternalServerError) IsCode

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

IsCode returns true when this plugin inspect internal server error response a status code equal to that given

func (*PluginInspectInternalServerError) IsRedirect

func (o *PluginInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin inspect internal server error response has a 3xx status code

func (*PluginInspectInternalServerError) IsServerError

func (o *PluginInspectInternalServerError) IsServerError() bool

IsServerError returns true when this plugin inspect internal server error response has a 5xx status code

func (*PluginInspectInternalServerError) IsSuccess

func (o *PluginInspectInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin inspect internal server error response has a 2xx status code

func (*PluginInspectInternalServerError) String

type PluginInspectNotFound

type PluginInspectNotFound struct {
	Payload *models.ErrorResponse
}
PluginInspectNotFound describes a response with status code 404, with default header values.

plugin is not installed

func NewPluginInspectNotFound

func NewPluginInspectNotFound() *PluginInspectNotFound

NewPluginInspectNotFound creates a PluginInspectNotFound with default headers values

func (*PluginInspectNotFound) Error

func (o *PluginInspectNotFound) Error() string

func (*PluginInspectNotFound) GetPayload

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

func (*PluginInspectNotFound) IsClientError

func (o *PluginInspectNotFound) IsClientError() bool

IsClientError returns true when this plugin inspect not found response has a 4xx status code

func (*PluginInspectNotFound) IsCode

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

IsCode returns true when this plugin inspect not found response a status code equal to that given

func (*PluginInspectNotFound) IsRedirect

func (o *PluginInspectNotFound) IsRedirect() bool

IsRedirect returns true when this plugin inspect not found response has a 3xx status code

func (*PluginInspectNotFound) IsServerError

func (o *PluginInspectNotFound) IsServerError() bool

IsServerError returns true when this plugin inspect not found response has a 5xx status code

func (*PluginInspectNotFound) IsSuccess

func (o *PluginInspectNotFound) IsSuccess() bool

IsSuccess returns true when this plugin inspect not found response has a 2xx status code

func (*PluginInspectNotFound) String

func (o *PluginInspectNotFound) String() string

type PluginInspectOK

type PluginInspectOK struct {
	Payload *models.Plugin
}
PluginInspectOK describes a response with status code 200, with default header values.

no error

func NewPluginInspectOK

func NewPluginInspectOK() *PluginInspectOK

NewPluginInspectOK creates a PluginInspectOK with default headers values

func (*PluginInspectOK) Error

func (o *PluginInspectOK) Error() string

func (*PluginInspectOK) GetPayload

func (o *PluginInspectOK) GetPayload() *models.Plugin

func (*PluginInspectOK) IsClientError

func (o *PluginInspectOK) IsClientError() bool

IsClientError returns true when this plugin inspect o k response has a 4xx status code

func (*PluginInspectOK) IsCode

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

IsCode returns true when this plugin inspect o k response a status code equal to that given

func (*PluginInspectOK) IsRedirect

func (o *PluginInspectOK) IsRedirect() bool

IsRedirect returns true when this plugin inspect o k response has a 3xx status code

func (*PluginInspectOK) IsServerError

func (o *PluginInspectOK) IsServerError() bool

IsServerError returns true when this plugin inspect o k response has a 5xx status code

func (*PluginInspectOK) IsSuccess

func (o *PluginInspectOK) IsSuccess() bool

IsSuccess returns true when this plugin inspect o k response has a 2xx status code

func (*PluginInspectOK) String

func (o *PluginInspectOK) String() string

type PluginInspectParams

type PluginInspectParams struct {

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

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

PluginInspectParams contains all the parameters to send to the API endpoint

for the plugin inspect operation.

Typically these are written to a http.Request.

func NewPluginInspectParams

func NewPluginInspectParams() *PluginInspectParams

NewPluginInspectParams creates a new PluginInspectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginInspectParamsWithContext

func NewPluginInspectParamsWithContext(ctx context.Context) *PluginInspectParams

NewPluginInspectParamsWithContext creates a new PluginInspectParams object with the ability to set a context for a request.

func NewPluginInspectParamsWithHTTPClient

func NewPluginInspectParamsWithHTTPClient(client *http.Client) *PluginInspectParams

NewPluginInspectParamsWithHTTPClient creates a new PluginInspectParams object with the ability to set a custom HTTPClient for a request.

func NewPluginInspectParamsWithTimeout

func NewPluginInspectParamsWithTimeout(timeout time.Duration) *PluginInspectParams

NewPluginInspectParamsWithTimeout creates a new PluginInspectParams object with the ability to set a timeout on a request.

func (*PluginInspectParams) SetContext

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

SetContext adds the context to the plugin inspect params

func (*PluginInspectParams) SetDefaults

func (o *PluginInspectParams) SetDefaults()

SetDefaults hydrates default values in the plugin inspect params (not the query body).

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

func (*PluginInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin inspect params

func (*PluginInspectParams) SetName

func (o *PluginInspectParams) SetName(name string)

SetName adds the name to the plugin inspect params

func (*PluginInspectParams) SetTimeout

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

SetTimeout adds the timeout to the plugin inspect params

func (*PluginInspectParams) WithContext

WithContext adds the context to the plugin inspect params

func (*PluginInspectParams) WithDefaults

func (o *PluginInspectParams) WithDefaults() *PluginInspectParams

WithDefaults hydrates default values in the plugin inspect params (not the query body).

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

func (*PluginInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin inspect params

func (*PluginInspectParams) WithName

func (o *PluginInspectParams) WithName(name string) *PluginInspectParams

WithName adds the name to the plugin inspect params

func (*PluginInspectParams) WithTimeout

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

WithTimeout adds the timeout to the plugin inspect params

func (*PluginInspectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginInspectReader

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

PluginInspectReader is a Reader for the PluginInspect structure.

func (*PluginInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginListInternalServerError

type PluginListInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginListInternalServerError describes a response with status code 500, with default header values.

Server error

func NewPluginListInternalServerError

func NewPluginListInternalServerError() *PluginListInternalServerError

NewPluginListInternalServerError creates a PluginListInternalServerError with default headers values

func (*PluginListInternalServerError) Error

func (*PluginListInternalServerError) GetPayload

func (*PluginListInternalServerError) IsClientError

func (o *PluginListInternalServerError) IsClientError() bool

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

func (*PluginListInternalServerError) IsCode

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

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

func (*PluginListInternalServerError) IsRedirect

func (o *PluginListInternalServerError) IsRedirect() bool

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

func (*PluginListInternalServerError) IsServerError

func (o *PluginListInternalServerError) IsServerError() bool

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

func (*PluginListInternalServerError) IsSuccess

func (o *PluginListInternalServerError) IsSuccess() bool

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

func (*PluginListInternalServerError) String

type PluginListOK

type PluginListOK struct {
	Payload []*models.Plugin
}
PluginListOK describes a response with status code 200, with default header values.

No error

func NewPluginListOK

func NewPluginListOK() *PluginListOK

NewPluginListOK creates a PluginListOK with default headers values

func (*PluginListOK) Error

func (o *PluginListOK) Error() string

func (*PluginListOK) GetPayload

func (o *PluginListOK) GetPayload() []*models.Plugin

func (*PluginListOK) IsClientError

func (o *PluginListOK) IsClientError() bool

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

func (*PluginListOK) IsCode

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

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

func (*PluginListOK) IsRedirect

func (o *PluginListOK) IsRedirect() bool

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

func (*PluginListOK) IsServerError

func (o *PluginListOK) IsServerError() bool

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

func (*PluginListOK) IsSuccess

func (o *PluginListOK) IsSuccess() bool

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

func (*PluginListOK) String

func (o *PluginListOK) String() string

type PluginListParams

type PluginListParams struct {

	/* Filters.

	     A JSON encoded value of the filters (a `map[string][]string`) to process on the plugin list. Available filters:

	- `capability=<capability name>`
	- `enable=<true>|<false>`

	*/
	Filters *string

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

PluginListParams contains all the parameters to send to the API endpoint

for the plugin list operation.

Typically these are written to a http.Request.

func NewPluginListParams

func NewPluginListParams() *PluginListParams

NewPluginListParams creates a new PluginListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginListParamsWithContext

func NewPluginListParamsWithContext(ctx context.Context) *PluginListParams

NewPluginListParamsWithContext creates a new PluginListParams object with the ability to set a context for a request.

func NewPluginListParamsWithHTTPClient

func NewPluginListParamsWithHTTPClient(client *http.Client) *PluginListParams

NewPluginListParamsWithHTTPClient creates a new PluginListParams object with the ability to set a custom HTTPClient for a request.

func NewPluginListParamsWithTimeout

func NewPluginListParamsWithTimeout(timeout time.Duration) *PluginListParams

NewPluginListParamsWithTimeout creates a new PluginListParams object with the ability to set a timeout on a request.

func (*PluginListParams) SetContext

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

SetContext adds the context to the plugin list params

func (*PluginListParams) SetDefaults

func (o *PluginListParams) SetDefaults()

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

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

func (*PluginListParams) SetFilters

func (o *PluginListParams) SetFilters(filters *string)

SetFilters adds the filters to the plugin list params

func (*PluginListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin list params

func (*PluginListParams) SetTimeout

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

SetTimeout adds the timeout to the plugin list params

func (*PluginListParams) WithContext

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

WithContext adds the context to the plugin list params

func (*PluginListParams) WithDefaults

func (o *PluginListParams) WithDefaults() *PluginListParams

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

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

func (*PluginListParams) WithFilters

func (o *PluginListParams) WithFilters(filters *string) *PluginListParams

WithFilters adds the filters to the plugin list params

func (*PluginListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin list params

func (*PluginListParams) WithTimeout

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

WithTimeout adds the timeout to the plugin list params

func (*PluginListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginListReader

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

PluginListReader is a Reader for the PluginList structure.

func (*PluginListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginPullInternalServerError

type PluginPullInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginPullInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginPullInternalServerError

func NewPluginPullInternalServerError() *PluginPullInternalServerError

NewPluginPullInternalServerError creates a PluginPullInternalServerError with default headers values

func (*PluginPullInternalServerError) Error

func (*PluginPullInternalServerError) GetPayload

func (*PluginPullInternalServerError) IsClientError

func (o *PluginPullInternalServerError) IsClientError() bool

IsClientError returns true when this plugin pull internal server error response has a 4xx status code

func (*PluginPullInternalServerError) IsCode

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

IsCode returns true when this plugin pull internal server error response a status code equal to that given

func (*PluginPullInternalServerError) IsRedirect

func (o *PluginPullInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin pull internal server error response has a 3xx status code

func (*PluginPullInternalServerError) IsServerError

func (o *PluginPullInternalServerError) IsServerError() bool

IsServerError returns true when this plugin pull internal server error response has a 5xx status code

func (*PluginPullInternalServerError) IsSuccess

func (o *PluginPullInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin pull internal server error response has a 2xx status code

func (*PluginPullInternalServerError) String

type PluginPullNoContent

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

no error

func NewPluginPullNoContent

func NewPluginPullNoContent() *PluginPullNoContent

NewPluginPullNoContent creates a PluginPullNoContent with default headers values

func (*PluginPullNoContent) Error

func (o *PluginPullNoContent) Error() string

func (*PluginPullNoContent) IsClientError

func (o *PluginPullNoContent) IsClientError() bool

IsClientError returns true when this plugin pull no content response has a 4xx status code

func (*PluginPullNoContent) IsCode

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

IsCode returns true when this plugin pull no content response a status code equal to that given

func (*PluginPullNoContent) IsRedirect

func (o *PluginPullNoContent) IsRedirect() bool

IsRedirect returns true when this plugin pull no content response has a 3xx status code

func (*PluginPullNoContent) IsServerError

func (o *PluginPullNoContent) IsServerError() bool

IsServerError returns true when this plugin pull no content response has a 5xx status code

func (*PluginPullNoContent) IsSuccess

func (o *PluginPullNoContent) IsSuccess() bool

IsSuccess returns true when this plugin pull no content response has a 2xx status code

func (*PluginPullNoContent) String

func (o *PluginPullNoContent) String() string

type PluginPullParams

type PluginPullParams struct {

	/* XRegistryAuth.

	   A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication)
	*/
	XRegistryAuth *string

	// Body.
	Body []*PluginPullParamsBodyItems0

	/* Name.

	     Local name for the pulled plugin.

	The `:latest` tag is optional, and is used as the default if omitted.

	*/
	Name *string

	/* Remote.

	     Remote reference for plugin to install.

	The `:latest` tag is optional, and is used as the default if omitted.

	*/
	Remote string

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

PluginPullParams contains all the parameters to send to the API endpoint

for the plugin pull operation.

Typically these are written to a http.Request.

func NewPluginPullParams

func NewPluginPullParams() *PluginPullParams

NewPluginPullParams creates a new PluginPullParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginPullParamsWithContext

func NewPluginPullParamsWithContext(ctx context.Context) *PluginPullParams

NewPluginPullParamsWithContext creates a new PluginPullParams object with the ability to set a context for a request.

func NewPluginPullParamsWithHTTPClient

func NewPluginPullParamsWithHTTPClient(client *http.Client) *PluginPullParams

NewPluginPullParamsWithHTTPClient creates a new PluginPullParams object with the ability to set a custom HTTPClient for a request.

func NewPluginPullParamsWithTimeout

func NewPluginPullParamsWithTimeout(timeout time.Duration) *PluginPullParams

NewPluginPullParamsWithTimeout creates a new PluginPullParams object with the ability to set a timeout on a request.

func (*PluginPullParams) SetBody

func (o *PluginPullParams) SetBody(body []*PluginPullParamsBodyItems0)

SetBody adds the body to the plugin pull params

func (*PluginPullParams) SetContext

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

SetContext adds the context to the plugin pull params

func (*PluginPullParams) SetDefaults

func (o *PluginPullParams) SetDefaults()

SetDefaults hydrates default values in the plugin pull params (not the query body).

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

func (*PluginPullParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin pull params

func (*PluginPullParams) SetName

func (o *PluginPullParams) SetName(name *string)

SetName adds the name to the plugin pull params

func (*PluginPullParams) SetRemote

func (o *PluginPullParams) SetRemote(remote string)

SetRemote adds the remote to the plugin pull params

func (*PluginPullParams) SetTimeout

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

SetTimeout adds the timeout to the plugin pull params

func (*PluginPullParams) SetXRegistryAuth

func (o *PluginPullParams) SetXRegistryAuth(xRegistryAuth *string)

SetXRegistryAuth adds the xRegistryAuth to the plugin pull params

func (*PluginPullParams) WithBody

WithBody adds the body to the plugin pull params

func (*PluginPullParams) WithContext

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

WithContext adds the context to the plugin pull params

func (*PluginPullParams) WithDefaults

func (o *PluginPullParams) WithDefaults() *PluginPullParams

WithDefaults hydrates default values in the plugin pull params (not the query body).

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

func (*PluginPullParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin pull params

func (*PluginPullParams) WithName

func (o *PluginPullParams) WithName(name *string) *PluginPullParams

WithName adds the name to the plugin pull params

func (*PluginPullParams) WithRemote

func (o *PluginPullParams) WithRemote(remote string) *PluginPullParams

WithRemote adds the remote to the plugin pull params

func (*PluginPullParams) WithTimeout

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

WithTimeout adds the timeout to the plugin pull params

func (*PluginPullParams) WithXRegistryAuth

func (o *PluginPullParams) WithXRegistryAuth(xRegistryAuth *string) *PluginPullParams

WithXRegistryAuth adds the xRegistryAuth to the plugin pull params

func (*PluginPullParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginPullParamsBodyItems0

type PluginPullParamsBodyItems0 struct {

	// description
	Description string `json:"Description,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// value
	Value []string `json:"Value"`
}

PluginPullParamsBodyItems0 Describes a permission accepted by the user upon installing the plugin. swagger:model PluginPullParamsBodyItems0

func (*PluginPullParamsBodyItems0) ContextValidate

func (o *PluginPullParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this plugin pull params body items0 based on context it is used

func (*PluginPullParamsBodyItems0) MarshalBinary

func (o *PluginPullParamsBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PluginPullParamsBodyItems0) UnmarshalBinary

func (o *PluginPullParamsBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginPullParamsBodyItems0) Validate

func (o *PluginPullParamsBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this plugin pull params body items0

type PluginPullReader

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

PluginPullReader is a Reader for the PluginPull structure.

func (*PluginPullReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginPushInternalServerError

type PluginPushInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginPushInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginPushInternalServerError

func NewPluginPushInternalServerError() *PluginPushInternalServerError

NewPluginPushInternalServerError creates a PluginPushInternalServerError with default headers values

func (*PluginPushInternalServerError) Error

func (*PluginPushInternalServerError) GetPayload

func (*PluginPushInternalServerError) IsClientError

func (o *PluginPushInternalServerError) IsClientError() bool

IsClientError returns true when this plugin push internal server error response has a 4xx status code

func (*PluginPushInternalServerError) IsCode

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

IsCode returns true when this plugin push internal server error response a status code equal to that given

func (*PluginPushInternalServerError) IsRedirect

func (o *PluginPushInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin push internal server error response has a 3xx status code

func (*PluginPushInternalServerError) IsServerError

func (o *PluginPushInternalServerError) IsServerError() bool

IsServerError returns true when this plugin push internal server error response has a 5xx status code

func (*PluginPushInternalServerError) IsSuccess

func (o *PluginPushInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin push internal server error response has a 2xx status code

func (*PluginPushInternalServerError) String

type PluginPushNotFound

type PluginPushNotFound struct {
	Payload *models.ErrorResponse
}
PluginPushNotFound describes a response with status code 404, with default header values.

plugin not installed

func NewPluginPushNotFound

func NewPluginPushNotFound() *PluginPushNotFound

NewPluginPushNotFound creates a PluginPushNotFound with default headers values

func (*PluginPushNotFound) Error

func (o *PluginPushNotFound) Error() string

func (*PluginPushNotFound) GetPayload

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

func (*PluginPushNotFound) IsClientError

func (o *PluginPushNotFound) IsClientError() bool

IsClientError returns true when this plugin push not found response has a 4xx status code

func (*PluginPushNotFound) IsCode

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

IsCode returns true when this plugin push not found response a status code equal to that given

func (*PluginPushNotFound) IsRedirect

func (o *PluginPushNotFound) IsRedirect() bool

IsRedirect returns true when this plugin push not found response has a 3xx status code

func (*PluginPushNotFound) IsServerError

func (o *PluginPushNotFound) IsServerError() bool

IsServerError returns true when this plugin push not found response has a 5xx status code

func (*PluginPushNotFound) IsSuccess

func (o *PluginPushNotFound) IsSuccess() bool

IsSuccess returns true when this plugin push not found response has a 2xx status code

func (*PluginPushNotFound) String

func (o *PluginPushNotFound) String() string

type PluginPushOK

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

no error

func NewPluginPushOK

func NewPluginPushOK() *PluginPushOK

NewPluginPushOK creates a PluginPushOK with default headers values

func (*PluginPushOK) Error

func (o *PluginPushOK) Error() string

func (*PluginPushOK) IsClientError

func (o *PluginPushOK) IsClientError() bool

IsClientError returns true when this plugin push o k response has a 4xx status code

func (*PluginPushOK) IsCode

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

IsCode returns true when this plugin push o k response a status code equal to that given

func (*PluginPushOK) IsRedirect

func (o *PluginPushOK) IsRedirect() bool

IsRedirect returns true when this plugin push o k response has a 3xx status code

func (*PluginPushOK) IsServerError

func (o *PluginPushOK) IsServerError() bool

IsServerError returns true when this plugin push o k response has a 5xx status code

func (*PluginPushOK) IsSuccess

func (o *PluginPushOK) IsSuccess() bool

IsSuccess returns true when this plugin push o k response has a 2xx status code

func (*PluginPushOK) String

func (o *PluginPushOK) String() string

type PluginPushParams

type PluginPushParams struct {

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

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

PluginPushParams contains all the parameters to send to the API endpoint

for the plugin push operation.

Typically these are written to a http.Request.

func NewPluginPushParams

func NewPluginPushParams() *PluginPushParams

NewPluginPushParams creates a new PluginPushParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginPushParamsWithContext

func NewPluginPushParamsWithContext(ctx context.Context) *PluginPushParams

NewPluginPushParamsWithContext creates a new PluginPushParams object with the ability to set a context for a request.

func NewPluginPushParamsWithHTTPClient

func NewPluginPushParamsWithHTTPClient(client *http.Client) *PluginPushParams

NewPluginPushParamsWithHTTPClient creates a new PluginPushParams object with the ability to set a custom HTTPClient for a request.

func NewPluginPushParamsWithTimeout

func NewPluginPushParamsWithTimeout(timeout time.Duration) *PluginPushParams

NewPluginPushParamsWithTimeout creates a new PluginPushParams object with the ability to set a timeout on a request.

func (*PluginPushParams) SetContext

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

SetContext adds the context to the plugin push params

func (*PluginPushParams) SetDefaults

func (o *PluginPushParams) SetDefaults()

SetDefaults hydrates default values in the plugin push params (not the query body).

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

func (*PluginPushParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin push params

func (*PluginPushParams) SetName

func (o *PluginPushParams) SetName(name string)

SetName adds the name to the plugin push params

func (*PluginPushParams) SetTimeout

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

SetTimeout adds the timeout to the plugin push params

func (*PluginPushParams) WithContext

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

WithContext adds the context to the plugin push params

func (*PluginPushParams) WithDefaults

func (o *PluginPushParams) WithDefaults() *PluginPushParams

WithDefaults hydrates default values in the plugin push params (not the query body).

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

func (*PluginPushParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin push params

func (*PluginPushParams) WithName

func (o *PluginPushParams) WithName(name string) *PluginPushParams

WithName adds the name to the plugin push params

func (*PluginPushParams) WithTimeout

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

WithTimeout adds the timeout to the plugin push params

func (*PluginPushParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginPushReader

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

PluginPushReader is a Reader for the PluginPush structure.

func (*PluginPushReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginSetInternalServerError

type PluginSetInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginSetInternalServerError describes a response with status code 500, with default header values.

Server error

func NewPluginSetInternalServerError

func NewPluginSetInternalServerError() *PluginSetInternalServerError

NewPluginSetInternalServerError creates a PluginSetInternalServerError with default headers values

func (*PluginSetInternalServerError) Error

func (*PluginSetInternalServerError) GetPayload

func (*PluginSetInternalServerError) IsClientError

func (o *PluginSetInternalServerError) IsClientError() bool

IsClientError returns true when this plugin set internal server error response has a 4xx status code

func (*PluginSetInternalServerError) IsCode

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

IsCode returns true when this plugin set internal server error response a status code equal to that given

func (*PluginSetInternalServerError) IsRedirect

func (o *PluginSetInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin set internal server error response has a 3xx status code

func (*PluginSetInternalServerError) IsServerError

func (o *PluginSetInternalServerError) IsServerError() bool

IsServerError returns true when this plugin set internal server error response has a 5xx status code

func (*PluginSetInternalServerError) IsSuccess

func (o *PluginSetInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin set internal server error response has a 2xx status code

func (*PluginSetInternalServerError) String

type PluginSetNoContent

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

No error

func NewPluginSetNoContent

func NewPluginSetNoContent() *PluginSetNoContent

NewPluginSetNoContent creates a PluginSetNoContent with default headers values

func (*PluginSetNoContent) Error

func (o *PluginSetNoContent) Error() string

func (*PluginSetNoContent) IsClientError

func (o *PluginSetNoContent) IsClientError() bool

IsClientError returns true when this plugin set no content response has a 4xx status code

func (*PluginSetNoContent) IsCode

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

IsCode returns true when this plugin set no content response a status code equal to that given

func (*PluginSetNoContent) IsRedirect

func (o *PluginSetNoContent) IsRedirect() bool

IsRedirect returns true when this plugin set no content response has a 3xx status code

func (*PluginSetNoContent) IsServerError

func (o *PluginSetNoContent) IsServerError() bool

IsServerError returns true when this plugin set no content response has a 5xx status code

func (*PluginSetNoContent) IsSuccess

func (o *PluginSetNoContent) IsSuccess() bool

IsSuccess returns true when this plugin set no content response has a 2xx status code

func (*PluginSetNoContent) String

func (o *PluginSetNoContent) String() string

type PluginSetNotFound

type PluginSetNotFound struct {
	Payload *models.ErrorResponse
}
PluginSetNotFound describes a response with status code 404, with default header values.

Plugin not installed

func NewPluginSetNotFound

func NewPluginSetNotFound() *PluginSetNotFound

NewPluginSetNotFound creates a PluginSetNotFound with default headers values

func (*PluginSetNotFound) Error

func (o *PluginSetNotFound) Error() string

func (*PluginSetNotFound) GetPayload

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

func (*PluginSetNotFound) IsClientError

func (o *PluginSetNotFound) IsClientError() bool

IsClientError returns true when this plugin set not found response has a 4xx status code

func (*PluginSetNotFound) IsCode

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

IsCode returns true when this plugin set not found response a status code equal to that given

func (*PluginSetNotFound) IsRedirect

func (o *PluginSetNotFound) IsRedirect() bool

IsRedirect returns true when this plugin set not found response has a 3xx status code

func (*PluginSetNotFound) IsServerError

func (o *PluginSetNotFound) IsServerError() bool

IsServerError returns true when this plugin set not found response has a 5xx status code

func (*PluginSetNotFound) IsSuccess

func (o *PluginSetNotFound) IsSuccess() bool

IsSuccess returns true when this plugin set not found response has a 2xx status code

func (*PluginSetNotFound) String

func (o *PluginSetNotFound) String() string

type PluginSetParams

type PluginSetParams struct {

	// Body.
	Body []string

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

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

PluginSetParams contains all the parameters to send to the API endpoint

for the plugin set operation.

Typically these are written to a http.Request.

func NewPluginSetParams

func NewPluginSetParams() *PluginSetParams

NewPluginSetParams creates a new PluginSetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginSetParamsWithContext

func NewPluginSetParamsWithContext(ctx context.Context) *PluginSetParams

NewPluginSetParamsWithContext creates a new PluginSetParams object with the ability to set a context for a request.

func NewPluginSetParamsWithHTTPClient

func NewPluginSetParamsWithHTTPClient(client *http.Client) *PluginSetParams

NewPluginSetParamsWithHTTPClient creates a new PluginSetParams object with the ability to set a custom HTTPClient for a request.

func NewPluginSetParamsWithTimeout

func NewPluginSetParamsWithTimeout(timeout time.Duration) *PluginSetParams

NewPluginSetParamsWithTimeout creates a new PluginSetParams object with the ability to set a timeout on a request.

func (*PluginSetParams) SetBody

func (o *PluginSetParams) SetBody(body []string)

SetBody adds the body to the plugin set params

func (*PluginSetParams) SetContext

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

SetContext adds the context to the plugin set params

func (*PluginSetParams) SetDefaults

func (o *PluginSetParams) SetDefaults()

SetDefaults hydrates default values in the plugin set params (not the query body).

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

func (*PluginSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin set params

func (*PluginSetParams) SetName

func (o *PluginSetParams) SetName(name string)

SetName adds the name to the plugin set params

func (*PluginSetParams) SetTimeout

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

SetTimeout adds the timeout to the plugin set params

func (*PluginSetParams) WithBody

func (o *PluginSetParams) WithBody(body []string) *PluginSetParams

WithBody adds the body to the plugin set params

func (*PluginSetParams) WithContext

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

WithContext adds the context to the plugin set params

func (*PluginSetParams) WithDefaults

func (o *PluginSetParams) WithDefaults() *PluginSetParams

WithDefaults hydrates default values in the plugin set params (not the query body).

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

func (*PluginSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin set params

func (*PluginSetParams) WithName

func (o *PluginSetParams) WithName(name string) *PluginSetParams

WithName adds the name to the plugin set params

func (*PluginSetParams) WithTimeout

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

WithTimeout adds the timeout to the plugin set params

func (*PluginSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginSetReader

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

PluginSetReader is a Reader for the PluginSet structure.

func (*PluginSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PluginUpgradeInternalServerError

type PluginUpgradeInternalServerError struct {
	Payload *models.ErrorResponse
}
PluginUpgradeInternalServerError describes a response with status code 500, with default header values.

server error

func NewPluginUpgradeInternalServerError

func NewPluginUpgradeInternalServerError() *PluginUpgradeInternalServerError

NewPluginUpgradeInternalServerError creates a PluginUpgradeInternalServerError with default headers values

func (*PluginUpgradeInternalServerError) Error

func (*PluginUpgradeInternalServerError) GetPayload

func (*PluginUpgradeInternalServerError) IsClientError

func (o *PluginUpgradeInternalServerError) IsClientError() bool

IsClientError returns true when this plugin upgrade internal server error response has a 4xx status code

func (*PluginUpgradeInternalServerError) IsCode

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

IsCode returns true when this plugin upgrade internal server error response a status code equal to that given

func (*PluginUpgradeInternalServerError) IsRedirect

func (o *PluginUpgradeInternalServerError) IsRedirect() bool

IsRedirect returns true when this plugin upgrade internal server error response has a 3xx status code

func (*PluginUpgradeInternalServerError) IsServerError

func (o *PluginUpgradeInternalServerError) IsServerError() bool

IsServerError returns true when this plugin upgrade internal server error response has a 5xx status code

func (*PluginUpgradeInternalServerError) IsSuccess

func (o *PluginUpgradeInternalServerError) IsSuccess() bool

IsSuccess returns true when this plugin upgrade internal server error response has a 2xx status code

func (*PluginUpgradeInternalServerError) String

type PluginUpgradeNoContent

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

no error

func NewPluginUpgradeNoContent

func NewPluginUpgradeNoContent() *PluginUpgradeNoContent

NewPluginUpgradeNoContent creates a PluginUpgradeNoContent with default headers values

func (*PluginUpgradeNoContent) Error

func (o *PluginUpgradeNoContent) Error() string

func (*PluginUpgradeNoContent) IsClientError

func (o *PluginUpgradeNoContent) IsClientError() bool

IsClientError returns true when this plugin upgrade no content response has a 4xx status code

func (*PluginUpgradeNoContent) IsCode

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

IsCode returns true when this plugin upgrade no content response a status code equal to that given

func (*PluginUpgradeNoContent) IsRedirect

func (o *PluginUpgradeNoContent) IsRedirect() bool

IsRedirect returns true when this plugin upgrade no content response has a 3xx status code

func (*PluginUpgradeNoContent) IsServerError

func (o *PluginUpgradeNoContent) IsServerError() bool

IsServerError returns true when this plugin upgrade no content response has a 5xx status code

func (*PluginUpgradeNoContent) IsSuccess

func (o *PluginUpgradeNoContent) IsSuccess() bool

IsSuccess returns true when this plugin upgrade no content response has a 2xx status code

func (*PluginUpgradeNoContent) String

func (o *PluginUpgradeNoContent) String() string

type PluginUpgradeNotFound

type PluginUpgradeNotFound struct {
	Payload *models.ErrorResponse
}
PluginUpgradeNotFound describes a response with status code 404, with default header values.

plugin not installed

func NewPluginUpgradeNotFound

func NewPluginUpgradeNotFound() *PluginUpgradeNotFound

NewPluginUpgradeNotFound creates a PluginUpgradeNotFound with default headers values

func (*PluginUpgradeNotFound) Error

func (o *PluginUpgradeNotFound) Error() string

func (*PluginUpgradeNotFound) GetPayload

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

func (*PluginUpgradeNotFound) IsClientError

func (o *PluginUpgradeNotFound) IsClientError() bool

IsClientError returns true when this plugin upgrade not found response has a 4xx status code

func (*PluginUpgradeNotFound) IsCode

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

IsCode returns true when this plugin upgrade not found response a status code equal to that given

func (*PluginUpgradeNotFound) IsRedirect

func (o *PluginUpgradeNotFound) IsRedirect() bool

IsRedirect returns true when this plugin upgrade not found response has a 3xx status code

func (*PluginUpgradeNotFound) IsServerError

func (o *PluginUpgradeNotFound) IsServerError() bool

IsServerError returns true when this plugin upgrade not found response has a 5xx status code

func (*PluginUpgradeNotFound) IsSuccess

func (o *PluginUpgradeNotFound) IsSuccess() bool

IsSuccess returns true when this plugin upgrade not found response has a 2xx status code

func (*PluginUpgradeNotFound) String

func (o *PluginUpgradeNotFound) String() string

type PluginUpgradeParams

type PluginUpgradeParams struct {

	/* XRegistryAuth.

	   A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication)
	*/
	XRegistryAuth *string

	// Body.
	Body []*PluginUpgradeParamsBodyItems0

	/* Name.

	   The name of the plugin. The `:latest` tag is optional, and is the default if omitted.
	*/
	Name string

	/* Remote.

	     Remote reference to upgrade to.

	The `:latest` tag is optional, and is used as the default if omitted.

	*/
	Remote string

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

PluginUpgradeParams contains all the parameters to send to the API endpoint

for the plugin upgrade operation.

Typically these are written to a http.Request.

func NewPluginUpgradeParams

func NewPluginUpgradeParams() *PluginUpgradeParams

NewPluginUpgradeParams creates a new PluginUpgradeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPluginUpgradeParamsWithContext

func NewPluginUpgradeParamsWithContext(ctx context.Context) *PluginUpgradeParams

NewPluginUpgradeParamsWithContext creates a new PluginUpgradeParams object with the ability to set a context for a request.

func NewPluginUpgradeParamsWithHTTPClient

func NewPluginUpgradeParamsWithHTTPClient(client *http.Client) *PluginUpgradeParams

NewPluginUpgradeParamsWithHTTPClient creates a new PluginUpgradeParams object with the ability to set a custom HTTPClient for a request.

func NewPluginUpgradeParamsWithTimeout

func NewPluginUpgradeParamsWithTimeout(timeout time.Duration) *PluginUpgradeParams

NewPluginUpgradeParamsWithTimeout creates a new PluginUpgradeParams object with the ability to set a timeout on a request.

func (*PluginUpgradeParams) SetBody

SetBody adds the body to the plugin upgrade params

func (*PluginUpgradeParams) SetContext

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

SetContext adds the context to the plugin upgrade params

func (*PluginUpgradeParams) SetDefaults

func (o *PluginUpgradeParams) SetDefaults()

SetDefaults hydrates default values in the plugin upgrade params (not the query body).

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

func (*PluginUpgradeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the plugin upgrade params

func (*PluginUpgradeParams) SetName

func (o *PluginUpgradeParams) SetName(name string)

SetName adds the name to the plugin upgrade params

func (*PluginUpgradeParams) SetRemote

func (o *PluginUpgradeParams) SetRemote(remote string)

SetRemote adds the remote to the plugin upgrade params

func (*PluginUpgradeParams) SetTimeout

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

SetTimeout adds the timeout to the plugin upgrade params

func (*PluginUpgradeParams) SetXRegistryAuth

func (o *PluginUpgradeParams) SetXRegistryAuth(xRegistryAuth *string)

SetXRegistryAuth adds the xRegistryAuth to the plugin upgrade params

func (*PluginUpgradeParams) WithBody

WithBody adds the body to the plugin upgrade params

func (*PluginUpgradeParams) WithContext

WithContext adds the context to the plugin upgrade params

func (*PluginUpgradeParams) WithDefaults

func (o *PluginUpgradeParams) WithDefaults() *PluginUpgradeParams

WithDefaults hydrates default values in the plugin upgrade params (not the query body).

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

func (*PluginUpgradeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the plugin upgrade params

func (*PluginUpgradeParams) WithName

func (o *PluginUpgradeParams) WithName(name string) *PluginUpgradeParams

WithName adds the name to the plugin upgrade params

func (*PluginUpgradeParams) WithRemote

func (o *PluginUpgradeParams) WithRemote(remote string) *PluginUpgradeParams

WithRemote adds the remote to the plugin upgrade params

func (*PluginUpgradeParams) WithTimeout

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

WithTimeout adds the timeout to the plugin upgrade params

func (*PluginUpgradeParams) WithXRegistryAuth

func (o *PluginUpgradeParams) WithXRegistryAuth(xRegistryAuth *string) *PluginUpgradeParams

WithXRegistryAuth adds the xRegistryAuth to the plugin upgrade params

func (*PluginUpgradeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PluginUpgradeParamsBodyItems0

type PluginUpgradeParamsBodyItems0 struct {

	// description
	Description string `json:"Description,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// value
	Value []string `json:"Value"`
}

PluginUpgradeParamsBodyItems0 Describes a permission accepted by the user upon installing the plugin. swagger:model PluginUpgradeParamsBodyItems0

func (*PluginUpgradeParamsBodyItems0) ContextValidate

func (o *PluginUpgradeParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this plugin upgrade params body items0 based on context it is used

func (*PluginUpgradeParamsBodyItems0) MarshalBinary

func (o *PluginUpgradeParamsBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PluginUpgradeParamsBodyItems0) UnmarshalBinary

func (o *PluginUpgradeParamsBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginUpgradeParamsBodyItems0) Validate

func (o *PluginUpgradeParamsBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this plugin upgrade params body items0

type PluginUpgradeReader

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

PluginUpgradeReader is a Reader for the PluginUpgrade structure.

func (*PluginUpgradeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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