plugin

package
v0.0.0-...-193a162 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: MIT 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 New

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

New creates a new plugin API client.

func (*Client) GetPluginPrivileges

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

GetPluginPrivileges gets plugin privileges

func (*Client) PluginCreate

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

PluginCreate creates a plugin

func (*Client) PluginDelete

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

PluginDelete removes a plugin

func (*Client) PluginDisable

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

PluginDisable disables a plugin

func (*Client) PluginEnable

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

PluginEnable enables a plugin

func (*Client) PluginInspect

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

PluginInspect inspects a plugin

func (*Client) PluginList

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

PluginList lists plugins

Returns information about installed plugins.

func (*Client) PluginPull

func (a *Client) PluginPull(params *PluginPullParams) (*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) (*PluginPushOK, error)

PluginPush pushes a plugin

Push a plugin to the registry.

func (*Client) PluginSet

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

PluginSet configures a plugin

func (*Client) PluginUpgrade

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

PluginUpgrade upgrades a plugin

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetPluginPrivilegesInternalServerError

type GetPluginPrivilegesInternalServerError struct {
	Payload *models.ErrorResponse
}

GetPluginPrivilegesInternalServerError handles this case with default header values.

server error

func NewGetPluginPrivilegesInternalServerError

func NewGetPluginPrivilegesInternalServerError() *GetPluginPrivilegesInternalServerError

NewGetPluginPrivilegesInternalServerError creates a GetPluginPrivilegesInternalServerError with default headers values

func (*GetPluginPrivilegesInternalServerError) Error

type GetPluginPrivilegesOK

type GetPluginPrivilegesOK struct {
	Payload models.GetPluginPrivilegesOKBody
}

GetPluginPrivilegesOK handles this case 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

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 values initialized.

func NewGetPluginPrivilegesParamsWithContext

func NewGetPluginPrivilegesParamsWithContext(ctx context.Context) *GetPluginPrivilegesParams

NewGetPluginPrivilegesParamsWithContext creates a new GetPluginPrivilegesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginCreateInternalServerError

func NewPluginCreateInternalServerError() *PluginCreateInternalServerError

NewPluginCreateInternalServerError creates a PluginCreateInternalServerError with default headers values

func (*PluginCreateInternalServerError) Error

type PluginCreateNoContent

type PluginCreateNoContent struct {
}

PluginCreateNoContent handles this case 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

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

	*/
	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 values initialized.

func NewPluginCreateParamsWithContext

func NewPluginCreateParamsWithContext(ctx context.Context) *PluginCreateParams

NewPluginCreateParamsWithContext creates a new PluginCreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginDeleteInternalServerError

func NewPluginDeleteInternalServerError() *PluginDeleteInternalServerError

NewPluginDeleteInternalServerError creates a PluginDeleteInternalServerError with default headers values

func (*PluginDeleteInternalServerError) Error

type PluginDeleteNotFound

type PluginDeleteNotFound struct {
	Payload *models.ErrorResponse
}

PluginDeleteNotFound handles this case 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

type PluginDeleteOK

type PluginDeleteOK struct {
	Payload *models.Plugin
}

PluginDeleteOK handles this case 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

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 values initialized.

func NewPluginDeleteParamsWithContext

func NewPluginDeleteParamsWithContext(ctx context.Context) *PluginDeleteParams

NewPluginDeleteParamsWithContext creates a new PluginDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginDisableInternalServerError

func NewPluginDisableInternalServerError() *PluginDisableInternalServerError

NewPluginDisableInternalServerError creates a PluginDisableInternalServerError with default headers values

func (*PluginDisableInternalServerError) Error

type PluginDisableNotFound

type PluginDisableNotFound struct {
	Payload *models.ErrorResponse
}

PluginDisableNotFound handles this case 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

type PluginDisableOK

type PluginDisableOK struct {
}

PluginDisableOK handles this case 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

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 values initialized.

func NewPluginDisableParamsWithContext

func NewPluginDisableParamsWithContext(ctx context.Context) *PluginDisableParams

NewPluginDisableParamsWithContext creates a new PluginDisableParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginEnableInternalServerError

func NewPluginEnableInternalServerError() *PluginEnableInternalServerError

NewPluginEnableInternalServerError creates a PluginEnableInternalServerError with default headers values

func (*PluginEnableInternalServerError) Error

type PluginEnableNotFound

type PluginEnableNotFound struct {
	Payload *models.ErrorResponse
}

PluginEnableNotFound handles this case 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

type PluginEnableOK

type PluginEnableOK struct {
}

PluginEnableOK handles this case 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

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 values initialized.

func NewPluginEnableParamsWithContext

func NewPluginEnableParamsWithContext(ctx context.Context) *PluginEnableParams

NewPluginEnableParamsWithContext creates a new PluginEnableParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginInspectInternalServerError

func NewPluginInspectInternalServerError() *PluginInspectInternalServerError

NewPluginInspectInternalServerError creates a PluginInspectInternalServerError with default headers values

func (*PluginInspectInternalServerError) Error

type PluginInspectNotFound

type PluginInspectNotFound struct {
	Payload *models.ErrorResponse
}

PluginInspectNotFound handles this case 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

type PluginInspectOK

type PluginInspectOK struct {
	Payload *models.Plugin
}

PluginInspectOK handles this case 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

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 values initialized.

func NewPluginInspectParamsWithContext

func NewPluginInspectParamsWithContext(ctx context.Context) *PluginInspectParams

NewPluginInspectParamsWithContext creates a new PluginInspectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Server error

func NewPluginListInternalServerError

func NewPluginListInternalServerError() *PluginListInternalServerError

NewPluginListInternalServerError creates a PluginListInternalServerError with default headers values

func (*PluginListInternalServerError) Error

type PluginListOK

type PluginListOK struct {
	Payload models.PluginListOKBody
}

PluginListOK handles this case 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

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 values initialized.

func NewPluginListParamsWithContext

func NewPluginListParamsWithContext(ctx context.Context) *PluginListParams

NewPluginListParamsWithContext creates a new PluginListParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginPullInternalServerError

func NewPluginPullInternalServerError() *PluginPullInternalServerError

NewPluginPullInternalServerError creates a PluginPullInternalServerError with default headers values

func (*PluginPullInternalServerError) Error

type PluginPullNoContent

type PluginPullNoContent struct {
}

PluginPullNoContent handles this case 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

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 models.PluginPullParamsBody
	/*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 values initialized.

func NewPluginPullParamsWithContext

func NewPluginPullParamsWithContext(ctx context.Context) *PluginPullParams

NewPluginPullParamsWithContext creates a new PluginPullParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PluginPullParams) SetBody

func (o *PluginPullParams) SetBody(body models.PluginPullParamsBody)

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) 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) 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 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 handles this case with default header values.

server error

func NewPluginPushInternalServerError

func NewPluginPushInternalServerError() *PluginPushInternalServerError

NewPluginPushInternalServerError creates a PluginPushInternalServerError with default headers values

func (*PluginPushInternalServerError) Error

type PluginPushNotFound

type PluginPushNotFound struct {
	Payload *models.ErrorResponse
}

PluginPushNotFound handles this case 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

type PluginPushOK

type PluginPushOK struct {
}

PluginPushOK handles this case 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

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 values initialized.

func NewPluginPushParamsWithContext

func NewPluginPushParamsWithContext(ctx context.Context) *PluginPushParams

NewPluginPushParamsWithContext creates a new PluginPushParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Server error

func NewPluginSetInternalServerError

func NewPluginSetInternalServerError() *PluginSetInternalServerError

NewPluginSetInternalServerError creates a PluginSetInternalServerError with default headers values

func (*PluginSetInternalServerError) Error

type PluginSetNoContent

type PluginSetNoContent struct {
}

PluginSetNoContent handles this case 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

type PluginSetNotFound

type PluginSetNotFound struct {
	Payload *models.ErrorResponse
}

PluginSetNotFound handles this case 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

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 values initialized.

func NewPluginSetParamsWithContext

func NewPluginSetParamsWithContext(ctx context.Context) *PluginSetParams

NewPluginSetParamsWithContext creates a new PluginSetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

server error

func NewPluginUpgradeInternalServerError

func NewPluginUpgradeInternalServerError() *PluginUpgradeInternalServerError

NewPluginUpgradeInternalServerError creates a PluginUpgradeInternalServerError with default headers values

func (*PluginUpgradeInternalServerError) Error

type PluginUpgradeNoContent

type PluginUpgradeNoContent struct {
}

PluginUpgradeNoContent handles this case 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

type PluginUpgradeNotFound

type PluginUpgradeNotFound struct {
	Payload *models.ErrorResponse
}

PluginUpgradeNotFound handles this case 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

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 models.PluginUpgradeParamsBody
	/*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 values initialized.

func NewPluginUpgradeParamsWithContext

func NewPluginUpgradeParamsWithContext(ctx context.Context) *PluginUpgradeParams

NewPluginUpgradeParamsWithContext creates a new PluginUpgradeParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 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