plugin

package
v0.0.0-...-f9bae2f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const GetPluginPrivilegesInternalServerErrorCode int = 500

GetPluginPrivilegesInternalServerErrorCode is the HTTP code returned for type GetPluginPrivilegesInternalServerError

View Source
const GetPluginPrivilegesOKCode int = 200

GetPluginPrivilegesOKCode is the HTTP code returned for type GetPluginPrivilegesOK

View Source
const PluginCreateInternalServerErrorCode int = 500

PluginCreateInternalServerErrorCode is the HTTP code returned for type PluginCreateInternalServerError

View Source
const PluginCreateNoContentCode int = 204

PluginCreateNoContentCode is the HTTP code returned for type PluginCreateNoContent

View Source
const PluginDeleteInternalServerErrorCode int = 500

PluginDeleteInternalServerErrorCode is the HTTP code returned for type PluginDeleteInternalServerError

View Source
const PluginDeleteNotFoundCode int = 404

PluginDeleteNotFoundCode is the HTTP code returned for type PluginDeleteNotFound

View Source
const PluginDeleteOKCode int = 200

PluginDeleteOKCode is the HTTP code returned for type PluginDeleteOK

View Source
const PluginDisableInternalServerErrorCode int = 500

PluginDisableInternalServerErrorCode is the HTTP code returned for type PluginDisableInternalServerError

View Source
const PluginDisableNotFoundCode int = 404

PluginDisableNotFoundCode is the HTTP code returned for type PluginDisableNotFound

View Source
const PluginDisableOKCode int = 200

PluginDisableOKCode is the HTTP code returned for type PluginDisableOK

View Source
const PluginEnableInternalServerErrorCode int = 500

PluginEnableInternalServerErrorCode is the HTTP code returned for type PluginEnableInternalServerError

View Source
const PluginEnableNotFoundCode int = 404

PluginEnableNotFoundCode is the HTTP code returned for type PluginEnableNotFound

View Source
const PluginEnableOKCode int = 200

PluginEnableOKCode is the HTTP code returned for type PluginEnableOK

View Source
const PluginInspectInternalServerErrorCode int = 500

PluginInspectInternalServerErrorCode is the HTTP code returned for type PluginInspectInternalServerError

View Source
const PluginInspectNotFoundCode int = 404

PluginInspectNotFoundCode is the HTTP code returned for type PluginInspectNotFound

View Source
const PluginInspectOKCode int = 200

PluginInspectOKCode is the HTTP code returned for type PluginInspectOK

View Source
const PluginListInternalServerErrorCode int = 500

PluginListInternalServerErrorCode is the HTTP code returned for type PluginListInternalServerError

View Source
const PluginListOKCode int = 200

PluginListOKCode is the HTTP code returned for type PluginListOK

View Source
const PluginPullInternalServerErrorCode int = 500

PluginPullInternalServerErrorCode is the HTTP code returned for type PluginPullInternalServerError

View Source
const PluginPullNoContentCode int = 204

PluginPullNoContentCode is the HTTP code returned for type PluginPullNoContent

View Source
const PluginPushInternalServerErrorCode int = 500

PluginPushInternalServerErrorCode is the HTTP code returned for type PluginPushInternalServerError

View Source
const PluginPushNotFoundCode int = 404

PluginPushNotFoundCode is the HTTP code returned for type PluginPushNotFound

View Source
const PluginPushOKCode int = 200

PluginPushOKCode is the HTTP code returned for type PluginPushOK

View Source
const PluginSetInternalServerErrorCode int = 500

PluginSetInternalServerErrorCode is the HTTP code returned for type PluginSetInternalServerError

View Source
const PluginSetNoContentCode int = 204

PluginSetNoContentCode is the HTTP code returned for type PluginSetNoContent

View Source
const PluginSetNotFoundCode int = 404

PluginSetNotFoundCode is the HTTP code returned for type PluginSetNotFound

View Source
const PluginUpgradeInternalServerErrorCode int = 500

PluginUpgradeInternalServerErrorCode is the HTTP code returned for type PluginUpgradeInternalServerError

View Source
const PluginUpgradeNoContentCode int = 204

PluginUpgradeNoContentCode is the HTTP code returned for type PluginUpgradeNoContent

View Source
const PluginUpgradeNotFoundCode int = 404

PluginUpgradeNotFoundCode is the HTTP code returned for type PluginUpgradeNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPluginPrivileges

type GetPluginPrivileges struct {
	Context *middleware.Context
	Handler GetPluginPrivilegesHandler
}
GetPluginPrivileges swagger:route GET /plugins/privileges Plugin getPluginPrivileges

Get plugin privileges

func NewGetPluginPrivileges

func NewGetPluginPrivileges(ctx *middleware.Context, handler GetPluginPrivilegesHandler) *GetPluginPrivileges

NewGetPluginPrivileges creates a new http.Handler for the get plugin privileges operation

func (*GetPluginPrivileges) ServeHTTP

func (o *GetPluginPrivileges) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPluginPrivilegesHandler

type GetPluginPrivilegesHandler interface {
	Handle(GetPluginPrivilegesParams) middleware.Responder
}

GetPluginPrivilegesHandler interface for that can handle valid get plugin privileges params

type GetPluginPrivilegesHandlerFunc

type GetPluginPrivilegesHandlerFunc func(GetPluginPrivilegesParams) middleware.Responder

GetPluginPrivilegesHandlerFunc turns a function with the right signature into a get plugin privileges handler

func (GetPluginPrivilegesHandlerFunc) Handle

Handle executing the request and returning a response

type GetPluginPrivilegesInternalServerError

type GetPluginPrivilegesInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetPluginPrivilegesInternalServerError server error

swagger:response getPluginPrivilegesInternalServerError

func NewGetPluginPrivilegesInternalServerError

func NewGetPluginPrivilegesInternalServerError() *GetPluginPrivilegesInternalServerError

NewGetPluginPrivilegesInternalServerError creates GetPluginPrivilegesInternalServerError with default headers values

func (*GetPluginPrivilegesInternalServerError) SetPayload

SetPayload sets the payload to the get plugin privileges internal server error response

func (*GetPluginPrivilegesInternalServerError) WithPayload

WithPayload adds the payload to the get plugin privileges internal server error response

func (*GetPluginPrivilegesInternalServerError) WriteResponse

WriteResponse to the client

type GetPluginPrivilegesOK

type GetPluginPrivilegesOK struct {

	/*
	  In: Body
	*/
	Payload []*GetPluginPrivilegesOKBodyItems0 `json:"body,omitempty"`
}

GetPluginPrivilegesOK no error

swagger:response getPluginPrivilegesOK

func NewGetPluginPrivilegesOK

func NewGetPluginPrivilegesOK() *GetPluginPrivilegesOK

NewGetPluginPrivilegesOK creates GetPluginPrivilegesOK with default headers values

func (*GetPluginPrivilegesOK) SetPayload

func (o *GetPluginPrivilegesOK) SetPayload(payload []*GetPluginPrivilegesOKBodyItems0)

SetPayload sets the payload to the get plugin privileges o k response

func (*GetPluginPrivilegesOK) WithPayload

WithPayload adds the payload to the get plugin privileges o k response

func (*GetPluginPrivilegesOK) WriteResponse

func (o *GetPluginPrivilegesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: query
	*/
	Remote string
}

GetPluginPrivilegesParams contains all the bound params for the get plugin privileges operation typically these are obtained from a http.Request

swagger:parameters GetPluginPrivileges

func NewGetPluginPrivilegesParams

func NewGetPluginPrivilegesParams() GetPluginPrivilegesParams

NewGetPluginPrivilegesParams creates a new GetPluginPrivilegesParams object

There are no default values defined in the spec.

func (*GetPluginPrivilegesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPluginPrivilegesParams() beforehand.

type GetPluginPrivilegesURL

type GetPluginPrivilegesURL struct {
	Remote string
	// contains filtered or unexported fields
}

GetPluginPrivilegesURL generates an URL for the get plugin privileges operation

func (*GetPluginPrivilegesURL) Build

func (o *GetPluginPrivilegesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPluginPrivilegesURL) BuildFull

func (o *GetPluginPrivilegesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPluginPrivilegesURL) Must

func (o *GetPluginPrivilegesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPluginPrivilegesURL) SetBasePath

func (o *GetPluginPrivilegesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPluginPrivilegesURL) String

func (o *GetPluginPrivilegesURL) String() string

String returns the string representation of the path with query string

func (*GetPluginPrivilegesURL) StringFull

func (o *GetPluginPrivilegesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPluginPrivilegesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginCreate

type PluginCreate struct {
	Context *middleware.Context
	Handler PluginCreateHandler
}
PluginCreate swagger:route POST /plugins/create Plugin pluginCreate

Create a plugin

func NewPluginCreate

func NewPluginCreate(ctx *middleware.Context, handler PluginCreateHandler) *PluginCreate

NewPluginCreate creates a new http.Handler for the plugin create operation

func (*PluginCreate) ServeHTTP

func (o *PluginCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginCreateHandler

type PluginCreateHandler interface {
	Handle(PluginCreateParams) middleware.Responder
}

PluginCreateHandler interface for that can handle valid plugin create params

type PluginCreateHandlerFunc

type PluginCreateHandlerFunc func(PluginCreateParams) middleware.Responder

PluginCreateHandlerFunc turns a function with the right signature into a plugin create handler

func (PluginCreateHandlerFunc) Handle

Handle executing the request and returning a response

type PluginCreateInternalServerError

type PluginCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginCreateInternalServerError server error

swagger:response pluginCreateInternalServerError

func NewPluginCreateInternalServerError

func NewPluginCreateInternalServerError() *PluginCreateInternalServerError

NewPluginCreateInternalServerError creates PluginCreateInternalServerError with default headers values

func (*PluginCreateInternalServerError) SetPayload

func (o *PluginCreateInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin create internal server error response

func (*PluginCreateInternalServerError) WithPayload

WithPayload adds the payload to the plugin create internal server error response

func (*PluginCreateInternalServerError) WriteResponse

func (o *PluginCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginCreateNoContent

type PluginCreateNoContent struct {
}

PluginCreateNoContent no error

swagger:response pluginCreateNoContent

func NewPluginCreateNoContent

func NewPluginCreateNoContent() *PluginCreateNoContent

NewPluginCreateNoContent creates PluginCreateNoContent with default headers values

func (*PluginCreateNoContent) WriteResponse

func (o *PluginCreateNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginCreateParams

type PluginCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: query
	*/
	Name string
	/*Path to tar containing plugin rootfs and manifest
	  In: body
	*/
	TarContext io.ReadCloser
}

PluginCreateParams contains all the bound params for the plugin create operation typically these are obtained from a http.Request

swagger:parameters PluginCreate

func NewPluginCreateParams

func NewPluginCreateParams() PluginCreateParams

NewPluginCreateParams creates a new PluginCreateParams object

There are no default values defined in the spec.

func (*PluginCreateParams) BindRequest

func (o *PluginCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginCreateParams() beforehand.

type PluginCreateURL

type PluginCreateURL struct {
	Name string
	// contains filtered or unexported fields
}

PluginCreateURL generates an URL for the plugin create operation

func (*PluginCreateURL) Build

func (o *PluginCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginCreateURL) BuildFull

func (o *PluginCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginCreateURL) Must

func (o *PluginCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginCreateURL) SetBasePath

func (o *PluginCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginCreateURL) String

func (o *PluginCreateURL) String() string

String returns the string representation of the path with query string

func (*PluginCreateURL) StringFull

func (o *PluginCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginCreateURL) WithBasePath

func (o *PluginCreateURL) WithBasePath(bp string) *PluginCreateURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginDelete

type PluginDelete struct {
	Context *middleware.Context
	Handler PluginDeleteHandler
}
PluginDelete swagger:route DELETE /plugins/{name} Plugin pluginDelete

Remove a plugin

func NewPluginDelete

func NewPluginDelete(ctx *middleware.Context, handler PluginDeleteHandler) *PluginDelete

NewPluginDelete creates a new http.Handler for the plugin delete operation

func (*PluginDelete) ServeHTTP

func (o *PluginDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginDeleteHandler

type PluginDeleteHandler interface {
	Handle(PluginDeleteParams) middleware.Responder
}

PluginDeleteHandler interface for that can handle valid plugin delete params

type PluginDeleteHandlerFunc

type PluginDeleteHandlerFunc func(PluginDeleteParams) middleware.Responder

PluginDeleteHandlerFunc turns a function with the right signature into a plugin delete handler

func (PluginDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type PluginDeleteInternalServerError

type PluginDeleteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginDeleteInternalServerError server error

swagger:response pluginDeleteInternalServerError

func NewPluginDeleteInternalServerError

func NewPluginDeleteInternalServerError() *PluginDeleteInternalServerError

NewPluginDeleteInternalServerError creates PluginDeleteInternalServerError with default headers values

func (*PluginDeleteInternalServerError) SetPayload

func (o *PluginDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin delete internal server error response

func (*PluginDeleteInternalServerError) WithPayload

WithPayload adds the payload to the plugin delete internal server error response

func (*PluginDeleteInternalServerError) WriteResponse

func (o *PluginDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDeleteNotFound

type PluginDeleteNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginDeleteNotFound plugin is not installed

swagger:response pluginDeleteNotFound

func NewPluginDeleteNotFound

func NewPluginDeleteNotFound() *PluginDeleteNotFound

NewPluginDeleteNotFound creates PluginDeleteNotFound with default headers values

func (*PluginDeleteNotFound) SetPayload

func (o *PluginDeleteNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin delete not found response

func (*PluginDeleteNotFound) WithPayload

WithPayload adds the payload to the plugin delete not found response

func (*PluginDeleteNotFound) WriteResponse

func (o *PluginDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDeleteOK

type PluginDeleteOK struct {

	/*
	  In: Body
	*/
	Payload *models.Plugin `json:"body,omitempty"`
}

PluginDeleteOK no error

swagger:response pluginDeleteOK

func NewPluginDeleteOK

func NewPluginDeleteOK() *PluginDeleteOK

NewPluginDeleteOK creates PluginDeleteOK with default headers values

func (*PluginDeleteOK) SetPayload

func (o *PluginDeleteOK) SetPayload(payload *models.Plugin)

SetPayload sets the payload to the plugin delete o k response

func (*PluginDeleteOK) WithPayload

func (o *PluginDeleteOK) WithPayload(payload *models.Plugin) *PluginDeleteOK

WithPayload adds the payload to the plugin delete o k response

func (*PluginDeleteOK) WriteResponse

func (o *PluginDeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDeleteParams

type PluginDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  In: query
	  Default: false
	*/
	Force *bool
	/*The name of the plugin. The `:latest` tag is optional, and is the
	default if omitted.

	  Required: true
	  In: path
	*/
	Name string
}

PluginDeleteParams contains all the bound params for the plugin delete operation typically these are obtained from a http.Request

swagger:parameters PluginDelete

func NewPluginDeleteParams

func NewPluginDeleteParams() PluginDeleteParams

NewPluginDeleteParams creates a new PluginDeleteParams object with the default values initialized.

func (*PluginDeleteParams) BindRequest

func (o *PluginDeleteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginDeleteParams() beforehand.

type PluginDeleteURL

type PluginDeleteURL struct {
	Name string

	Force *bool
	// contains filtered or unexported fields
}

PluginDeleteURL generates an URL for the plugin delete operation

func (*PluginDeleteURL) Build

func (o *PluginDeleteURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginDeleteURL) BuildFull

func (o *PluginDeleteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginDeleteURL) Must

func (o *PluginDeleteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginDeleteURL) SetBasePath

func (o *PluginDeleteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginDeleteURL) String

func (o *PluginDeleteURL) String() string

String returns the string representation of the path with query string

func (*PluginDeleteURL) StringFull

func (o *PluginDeleteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginDeleteURL) WithBasePath

func (o *PluginDeleteURL) WithBasePath(bp string) *PluginDeleteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginDisable

type PluginDisable struct {
	Context *middleware.Context
	Handler PluginDisableHandler
}
PluginDisable swagger:route POST /plugins/{name}/disable Plugin pluginDisable

Disable a plugin

func NewPluginDisable

func NewPluginDisable(ctx *middleware.Context, handler PluginDisableHandler) *PluginDisable

NewPluginDisable creates a new http.Handler for the plugin disable operation

func (*PluginDisable) ServeHTTP

func (o *PluginDisable) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginDisableHandler

type PluginDisableHandler interface {
	Handle(PluginDisableParams) middleware.Responder
}

PluginDisableHandler interface for that can handle valid plugin disable params

type PluginDisableHandlerFunc

type PluginDisableHandlerFunc func(PluginDisableParams) middleware.Responder

PluginDisableHandlerFunc turns a function with the right signature into a plugin disable handler

func (PluginDisableHandlerFunc) Handle

Handle executing the request and returning a response

type PluginDisableInternalServerError

type PluginDisableInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginDisableInternalServerError server error

swagger:response pluginDisableInternalServerError

func NewPluginDisableInternalServerError

func NewPluginDisableInternalServerError() *PluginDisableInternalServerError

NewPluginDisableInternalServerError creates PluginDisableInternalServerError with default headers values

func (*PluginDisableInternalServerError) SetPayload

func (o *PluginDisableInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin disable internal server error response

func (*PluginDisableInternalServerError) WithPayload

WithPayload adds the payload to the plugin disable internal server error response

func (*PluginDisableInternalServerError) WriteResponse

func (o *PluginDisableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDisableNotFound

type PluginDisableNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginDisableNotFound plugin is not installed

swagger:response pluginDisableNotFound

func NewPluginDisableNotFound

func NewPluginDisableNotFound() *PluginDisableNotFound

NewPluginDisableNotFound creates PluginDisableNotFound with default headers values

func (*PluginDisableNotFound) SetPayload

func (o *PluginDisableNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin disable not found response

func (*PluginDisableNotFound) WithPayload

WithPayload adds the payload to the plugin disable not found response

func (*PluginDisableNotFound) WriteResponse

func (o *PluginDisableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDisableOK

type PluginDisableOK struct {
}

PluginDisableOK no error

swagger:response pluginDisableOK

func NewPluginDisableOK

func NewPluginDisableOK() *PluginDisableOK

NewPluginDisableOK creates PluginDisableOK with default headers values

func (*PluginDisableOK) WriteResponse

func (o *PluginDisableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginDisableParams

type PluginDisableParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	Name string
}

PluginDisableParams contains all the bound params for the plugin disable operation typically these are obtained from a http.Request

swagger:parameters PluginDisable

func NewPluginDisableParams

func NewPluginDisableParams() PluginDisableParams

NewPluginDisableParams creates a new PluginDisableParams object

There are no default values defined in the spec.

func (*PluginDisableParams) BindRequest

func (o *PluginDisableParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginDisableParams() beforehand.

type PluginDisableURL

type PluginDisableURL struct {
	Name string
	// contains filtered or unexported fields
}

PluginDisableURL generates an URL for the plugin disable operation

func (*PluginDisableURL) Build

func (o *PluginDisableURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginDisableURL) BuildFull

func (o *PluginDisableURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginDisableURL) Must

func (o *PluginDisableURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginDisableURL) SetBasePath

func (o *PluginDisableURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginDisableURL) String

func (o *PluginDisableURL) String() string

String returns the string representation of the path with query string

func (*PluginDisableURL) StringFull

func (o *PluginDisableURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginDisableURL) WithBasePath

func (o *PluginDisableURL) WithBasePath(bp string) *PluginDisableURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginEnable

type PluginEnable struct {
	Context *middleware.Context
	Handler PluginEnableHandler
}
PluginEnable swagger:route POST /plugins/{name}/enable Plugin pluginEnable

Enable a plugin

func NewPluginEnable

func NewPluginEnable(ctx *middleware.Context, handler PluginEnableHandler) *PluginEnable

NewPluginEnable creates a new http.Handler for the plugin enable operation

func (*PluginEnable) ServeHTTP

func (o *PluginEnable) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginEnableHandler

type PluginEnableHandler interface {
	Handle(PluginEnableParams) middleware.Responder
}

PluginEnableHandler interface for that can handle valid plugin enable params

type PluginEnableHandlerFunc

type PluginEnableHandlerFunc func(PluginEnableParams) middleware.Responder

PluginEnableHandlerFunc turns a function with the right signature into a plugin enable handler

func (PluginEnableHandlerFunc) Handle

Handle executing the request and returning a response

type PluginEnableInternalServerError

type PluginEnableInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginEnableInternalServerError server error

swagger:response pluginEnableInternalServerError

func NewPluginEnableInternalServerError

func NewPluginEnableInternalServerError() *PluginEnableInternalServerError

NewPluginEnableInternalServerError creates PluginEnableInternalServerError with default headers values

func (*PluginEnableInternalServerError) SetPayload

func (o *PluginEnableInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin enable internal server error response

func (*PluginEnableInternalServerError) WithPayload

WithPayload adds the payload to the plugin enable internal server error response

func (*PluginEnableInternalServerError) WriteResponse

func (o *PluginEnableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginEnableNotFound

type PluginEnableNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginEnableNotFound plugin is not installed

swagger:response pluginEnableNotFound

func NewPluginEnableNotFound

func NewPluginEnableNotFound() *PluginEnableNotFound

NewPluginEnableNotFound creates PluginEnableNotFound with default headers values

func (*PluginEnableNotFound) SetPayload

func (o *PluginEnableNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin enable not found response

func (*PluginEnableNotFound) WithPayload

WithPayload adds the payload to the plugin enable not found response

func (*PluginEnableNotFound) WriteResponse

func (o *PluginEnableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginEnableOK

type PluginEnableOK struct {
}

PluginEnableOK no error

swagger:response pluginEnableOK

func NewPluginEnableOK

func NewPluginEnableOK() *PluginEnableOK

NewPluginEnableOK creates PluginEnableOK with default headers values

func (*PluginEnableOK) WriteResponse

func (o *PluginEnableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginEnableParams

type PluginEnableParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	Name string
	/*Set the HTTP client timeout (in seconds)
	  In: query
	  Default: 0
	*/
	Timeout *int64
}

PluginEnableParams contains all the bound params for the plugin enable operation typically these are obtained from a http.Request

swagger:parameters PluginEnable

func NewPluginEnableParams

func NewPluginEnableParams() PluginEnableParams

NewPluginEnableParams creates a new PluginEnableParams object with the default values initialized.

func (*PluginEnableParams) BindRequest

func (o *PluginEnableParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginEnableParams() beforehand.

type PluginEnableURL

type PluginEnableURL struct {
	Name string

	Timeout *int64
	// contains filtered or unexported fields
}

PluginEnableURL generates an URL for the plugin enable operation

func (*PluginEnableURL) Build

func (o *PluginEnableURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginEnableURL) BuildFull

func (o *PluginEnableURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginEnableURL) Must

func (o *PluginEnableURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginEnableURL) SetBasePath

func (o *PluginEnableURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginEnableURL) String

func (o *PluginEnableURL) String() string

String returns the string representation of the path with query string

func (*PluginEnableURL) StringFull

func (o *PluginEnableURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginEnableURL) WithBasePath

func (o *PluginEnableURL) WithBasePath(bp string) *PluginEnableURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginInspect

type PluginInspect struct {
	Context *middleware.Context
	Handler PluginInspectHandler
}
PluginInspect swagger:route GET /plugins/{name}/json Plugin pluginInspect

Inspect a plugin

func NewPluginInspect

func NewPluginInspect(ctx *middleware.Context, handler PluginInspectHandler) *PluginInspect

NewPluginInspect creates a new http.Handler for the plugin inspect operation

func (*PluginInspect) ServeHTTP

func (o *PluginInspect) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginInspectHandler

type PluginInspectHandler interface {
	Handle(PluginInspectParams) middleware.Responder
}

PluginInspectHandler interface for that can handle valid plugin inspect params

type PluginInspectHandlerFunc

type PluginInspectHandlerFunc func(PluginInspectParams) middleware.Responder

PluginInspectHandlerFunc turns a function with the right signature into a plugin inspect handler

func (PluginInspectHandlerFunc) Handle

Handle executing the request and returning a response

type PluginInspectInternalServerError

type PluginInspectInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginInspectInternalServerError server error

swagger:response pluginInspectInternalServerError

func NewPluginInspectInternalServerError

func NewPluginInspectInternalServerError() *PluginInspectInternalServerError

NewPluginInspectInternalServerError creates PluginInspectInternalServerError with default headers values

func (*PluginInspectInternalServerError) SetPayload

func (o *PluginInspectInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin inspect internal server error response

func (*PluginInspectInternalServerError) WithPayload

WithPayload adds the payload to the plugin inspect internal server error response

func (*PluginInspectInternalServerError) WriteResponse

func (o *PluginInspectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginInspectNotFound

type PluginInspectNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginInspectNotFound plugin is not installed

swagger:response pluginInspectNotFound

func NewPluginInspectNotFound

func NewPluginInspectNotFound() *PluginInspectNotFound

NewPluginInspectNotFound creates PluginInspectNotFound with default headers values

func (*PluginInspectNotFound) SetPayload

func (o *PluginInspectNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin inspect not found response

func (*PluginInspectNotFound) WithPayload

WithPayload adds the payload to the plugin inspect not found response

func (*PluginInspectNotFound) WriteResponse

func (o *PluginInspectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginInspectOK

type PluginInspectOK struct {

	/*
	  In: Body
	*/
	Payload *models.Plugin `json:"body,omitempty"`
}

PluginInspectOK no error

swagger:response pluginInspectOK

func NewPluginInspectOK

func NewPluginInspectOK() *PluginInspectOK

NewPluginInspectOK creates PluginInspectOK with default headers values

func (*PluginInspectOK) SetPayload

func (o *PluginInspectOK) SetPayload(payload *models.Plugin)

SetPayload sets the payload to the plugin inspect o k response

func (*PluginInspectOK) WithPayload

func (o *PluginInspectOK) WithPayload(payload *models.Plugin) *PluginInspectOK

WithPayload adds the payload to the plugin inspect o k response

func (*PluginInspectOK) WriteResponse

func (o *PluginInspectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginInspectParams

type PluginInspectParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	Name string
}

PluginInspectParams contains all the bound params for the plugin inspect operation typically these are obtained from a http.Request

swagger:parameters PluginInspect

func NewPluginInspectParams

func NewPluginInspectParams() PluginInspectParams

NewPluginInspectParams creates a new PluginInspectParams object

There are no default values defined in the spec.

func (*PluginInspectParams) BindRequest

func (o *PluginInspectParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginInspectParams() beforehand.

type PluginInspectURL

type PluginInspectURL struct {
	Name string
	// contains filtered or unexported fields
}

PluginInspectURL generates an URL for the plugin inspect operation

func (*PluginInspectURL) Build

func (o *PluginInspectURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginInspectURL) BuildFull

func (o *PluginInspectURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginInspectURL) Must

func (o *PluginInspectURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginInspectURL) SetBasePath

func (o *PluginInspectURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginInspectURL) String

func (o *PluginInspectURL) String() string

String returns the string representation of the path with query string

func (*PluginInspectURL) StringFull

func (o *PluginInspectURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginInspectURL) WithBasePath

func (o *PluginInspectURL) WithBasePath(bp string) *PluginInspectURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginList

type PluginList struct {
	Context *middleware.Context
	Handler PluginListHandler
}
PluginList swagger:route GET /plugins Plugin pluginList

List plugins

Returns information about installed plugins.

func NewPluginList

func NewPluginList(ctx *middleware.Context, handler PluginListHandler) *PluginList

NewPluginList creates a new http.Handler for the plugin list operation

func (*PluginList) ServeHTTP

func (o *PluginList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginListHandler

type PluginListHandler interface {
	Handle(PluginListParams) middleware.Responder
}

PluginListHandler interface for that can handle valid plugin list params

type PluginListHandlerFunc

type PluginListHandlerFunc func(PluginListParams) middleware.Responder

PluginListHandlerFunc turns a function with the right signature into a plugin list handler

func (PluginListHandlerFunc) Handle

Handle executing the request and returning a response

type PluginListInternalServerError

type PluginListInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginListInternalServerError Server error

swagger:response pluginListInternalServerError

func NewPluginListInternalServerError

func NewPluginListInternalServerError() *PluginListInternalServerError

NewPluginListInternalServerError creates PluginListInternalServerError with default headers values

func (*PluginListInternalServerError) SetPayload

func (o *PluginListInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin list internal server error response

func (*PluginListInternalServerError) WithPayload

WithPayload adds the payload to the plugin list internal server error response

func (*PluginListInternalServerError) WriteResponse

func (o *PluginListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginListOK

type PluginListOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Plugin `json:"body,omitempty"`
}

PluginListOK No error

swagger:response pluginListOK

func NewPluginListOK

func NewPluginListOK() *PluginListOK

NewPluginListOK creates PluginListOK with default headers values

func (*PluginListOK) SetPayload

func (o *PluginListOK) SetPayload(payload []*models.Plugin)

SetPayload sets the payload to the plugin list o k response

func (*PluginListOK) WithPayload

func (o *PluginListOK) WithPayload(payload []*models.Plugin) *PluginListOK

WithPayload adds the payload to the plugin list o k response

func (*PluginListOK) WriteResponse

func (o *PluginListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginListParams

type PluginListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*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>`

	  In: query
	*/
	Filters *string
}

PluginListParams contains all the bound params for the plugin list operation typically these are obtained from a http.Request

swagger:parameters PluginList

func NewPluginListParams

func NewPluginListParams() PluginListParams

NewPluginListParams creates a new PluginListParams object

There are no default values defined in the spec.

func (*PluginListParams) BindRequest

func (o *PluginListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginListParams() beforehand.

type PluginListURL

type PluginListURL struct {
	Filters *string
	// contains filtered or unexported fields
}

PluginListURL generates an URL for the plugin list operation

func (*PluginListURL) Build

func (o *PluginListURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginListURL) BuildFull

func (o *PluginListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginListURL) Must

func (o *PluginListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginListURL) SetBasePath

func (o *PluginListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginListURL) String

func (o *PluginListURL) String() string

String returns the string representation of the path with query string

func (*PluginListURL) StringFull

func (o *PluginListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginListURL) WithBasePath

func (o *PluginListURL) WithBasePath(bp string) *PluginListURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginPull

type PluginPull struct {
	Context *middleware.Context
	Handler PluginPullHandler
}
PluginPull swagger:route POST /plugins/pull Plugin pluginPull

Install 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 NewPluginPull

func NewPluginPull(ctx *middleware.Context, handler PluginPullHandler) *PluginPull

NewPluginPull creates a new http.Handler for the plugin pull operation

func (*PluginPull) ServeHTTP

func (o *PluginPull) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginPullHandler

type PluginPullHandler interface {
	Handle(PluginPullParams) middleware.Responder
}

PluginPullHandler interface for that can handle valid plugin pull params

type PluginPullHandlerFunc

type PluginPullHandlerFunc func(PluginPullParams) middleware.Responder

PluginPullHandlerFunc turns a function with the right signature into a plugin pull handler

func (PluginPullHandlerFunc) Handle

Handle executing the request and returning a response

type PluginPullInternalServerError

type PluginPullInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginPullInternalServerError server error

swagger:response pluginPullInternalServerError

func NewPluginPullInternalServerError

func NewPluginPullInternalServerError() *PluginPullInternalServerError

NewPluginPullInternalServerError creates PluginPullInternalServerError with default headers values

func (*PluginPullInternalServerError) SetPayload

func (o *PluginPullInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin pull internal server error response

func (*PluginPullInternalServerError) WithPayload

WithPayload adds the payload to the plugin pull internal server error response

func (*PluginPullInternalServerError) WriteResponse

func (o *PluginPullInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginPullNoContent

type PluginPullNoContent struct {
}

PluginPullNoContent no error

swagger:response pluginPullNoContent

func NewPluginPullNoContent

func NewPluginPullNoContent() *PluginPullNoContent

NewPluginPullNoContent creates PluginPullNoContent with default headers values

func (*PluginPullNoContent) WriteResponse

func (o *PluginPullNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginPullParams

type PluginPullParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A base64url-encoded auth configuration to use when pulling a plugin
	from a registry.

	Refer to the [authentication section](#section/Authentication) for
	details.

	  In: header
	*/
	XRegistryAuth *string
	/*
	  In: body
	*/
	Body []*PluginPullParamsBodyItems0
	/*Local name for the pulled plugin.

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

	  In: query
	*/
	Name *string
	/*Remote reference for plugin to install.

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

	  Required: true
	  In: query
	*/
	Remote string
}

PluginPullParams contains all the bound params for the plugin pull operation typically these are obtained from a http.Request

swagger:parameters PluginPull

func NewPluginPullParams

func NewPluginPullParams() PluginPullParams

NewPluginPullParams creates a new PluginPullParams object

There are no default values defined in the spec.

func (*PluginPullParams) BindRequest

func (o *PluginPullParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginPullParams() beforehand.

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 PluginPullURL

type PluginPullURL struct {
	Name   *string
	Remote string
	// contains filtered or unexported fields
}

PluginPullURL generates an URL for the plugin pull operation

func (*PluginPullURL) Build

func (o *PluginPullURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginPullURL) BuildFull

func (o *PluginPullURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginPullURL) Must

func (o *PluginPullURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginPullURL) SetBasePath

func (o *PluginPullURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginPullURL) String

func (o *PluginPullURL) String() string

String returns the string representation of the path with query string

func (*PluginPullURL) StringFull

func (o *PluginPullURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginPullURL) WithBasePath

func (o *PluginPullURL) WithBasePath(bp string) *PluginPullURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginPush

type PluginPush struct {
	Context *middleware.Context
	Handler PluginPushHandler
}
PluginPush swagger:route POST /plugins/{name}/push Plugin pluginPush

Push a plugin

Push a plugin to the registry.

func NewPluginPush

func NewPluginPush(ctx *middleware.Context, handler PluginPushHandler) *PluginPush

NewPluginPush creates a new http.Handler for the plugin push operation

func (*PluginPush) ServeHTTP

func (o *PluginPush) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginPushHandler

type PluginPushHandler interface {
	Handle(PluginPushParams) middleware.Responder
}

PluginPushHandler interface for that can handle valid plugin push params

type PluginPushHandlerFunc

type PluginPushHandlerFunc func(PluginPushParams) middleware.Responder

PluginPushHandlerFunc turns a function with the right signature into a plugin push handler

func (PluginPushHandlerFunc) Handle

Handle executing the request and returning a response

type PluginPushInternalServerError

type PluginPushInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginPushInternalServerError server error

swagger:response pluginPushInternalServerError

func NewPluginPushInternalServerError

func NewPluginPushInternalServerError() *PluginPushInternalServerError

NewPluginPushInternalServerError creates PluginPushInternalServerError with default headers values

func (*PluginPushInternalServerError) SetPayload

func (o *PluginPushInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin push internal server error response

func (*PluginPushInternalServerError) WithPayload

WithPayload adds the payload to the plugin push internal server error response

func (*PluginPushInternalServerError) WriteResponse

func (o *PluginPushInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginPushNotFound

type PluginPushNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginPushNotFound plugin not installed

swagger:response pluginPushNotFound

func NewPluginPushNotFound

func NewPluginPushNotFound() *PluginPushNotFound

NewPluginPushNotFound creates PluginPushNotFound with default headers values

func (*PluginPushNotFound) SetPayload

func (o *PluginPushNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin push not found response

func (*PluginPushNotFound) WithPayload

func (o *PluginPushNotFound) WithPayload(payload *models.ErrorResponse) *PluginPushNotFound

WithPayload adds the payload to the plugin push not found response

func (*PluginPushNotFound) WriteResponse

func (o *PluginPushNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginPushOK

type PluginPushOK struct {
}

PluginPushOK no error

swagger:response pluginPushOK

func NewPluginPushOK

func NewPluginPushOK() *PluginPushOK

NewPluginPushOK creates PluginPushOK with default headers values

func (*PluginPushOK) WriteResponse

func (o *PluginPushOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginPushParams

type PluginPushParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

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

	  Required: true
	  In: path
	*/
	Name string
}

PluginPushParams contains all the bound params for the plugin push operation typically these are obtained from a http.Request

swagger:parameters PluginPush

func NewPluginPushParams

func NewPluginPushParams() PluginPushParams

NewPluginPushParams creates a new PluginPushParams object

There are no default values defined in the spec.

func (*PluginPushParams) BindRequest

func (o *PluginPushParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginPushParams() beforehand.

type PluginPushURL

type PluginPushURL struct {
	Name string
	// contains filtered or unexported fields
}

PluginPushURL generates an URL for the plugin push operation

func (*PluginPushURL) Build

func (o *PluginPushURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginPushURL) BuildFull

func (o *PluginPushURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginPushURL) Must

func (o *PluginPushURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginPushURL) SetBasePath

func (o *PluginPushURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginPushURL) String

func (o *PluginPushURL) String() string

String returns the string representation of the path with query string

func (*PluginPushURL) StringFull

func (o *PluginPushURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginPushURL) WithBasePath

func (o *PluginPushURL) WithBasePath(bp string) *PluginPushURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginSet

type PluginSet struct {
	Context *middleware.Context
	Handler PluginSetHandler
}
PluginSet swagger:route POST /plugins/{name}/set Plugin pluginSet

Configure a plugin

func NewPluginSet

func NewPluginSet(ctx *middleware.Context, handler PluginSetHandler) *PluginSet

NewPluginSet creates a new http.Handler for the plugin set operation

func (*PluginSet) ServeHTTP

func (o *PluginSet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginSetHandler

type PluginSetHandler interface {
	Handle(PluginSetParams) middleware.Responder
}

PluginSetHandler interface for that can handle valid plugin set params

type PluginSetHandlerFunc

type PluginSetHandlerFunc func(PluginSetParams) middleware.Responder

PluginSetHandlerFunc turns a function with the right signature into a plugin set handler

func (PluginSetHandlerFunc) Handle

Handle executing the request and returning a response

type PluginSetInternalServerError

type PluginSetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginSetInternalServerError Server error

swagger:response pluginSetInternalServerError

func NewPluginSetInternalServerError

func NewPluginSetInternalServerError() *PluginSetInternalServerError

NewPluginSetInternalServerError creates PluginSetInternalServerError with default headers values

func (*PluginSetInternalServerError) SetPayload

func (o *PluginSetInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin set internal server error response

func (*PluginSetInternalServerError) WithPayload

WithPayload adds the payload to the plugin set internal server error response

func (*PluginSetInternalServerError) WriteResponse

func (o *PluginSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginSetNoContent

type PluginSetNoContent struct {
}

PluginSetNoContent No error

swagger:response pluginSetNoContent

func NewPluginSetNoContent

func NewPluginSetNoContent() *PluginSetNoContent

NewPluginSetNoContent creates PluginSetNoContent with default headers values

func (*PluginSetNoContent) WriteResponse

func (o *PluginSetNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginSetNotFound

type PluginSetNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginSetNotFound Plugin not installed

swagger:response pluginSetNotFound

func NewPluginSetNotFound

func NewPluginSetNotFound() *PluginSetNotFound

NewPluginSetNotFound creates PluginSetNotFound with default headers values

func (*PluginSetNotFound) SetPayload

func (o *PluginSetNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin set not found response

func (*PluginSetNotFound) WithPayload

func (o *PluginSetNotFound) WithPayload(payload *models.ErrorResponse) *PluginSetNotFound

WithPayload adds the payload to the plugin set not found response

func (*PluginSetNotFound) WriteResponse

func (o *PluginSetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginSetParams

type PluginSetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body []string
	/*The name of the plugin. The `:latest` tag is optional, and is the
	default if omitted.

	  Required: true
	  In: path
	*/
	Name string
}

PluginSetParams contains all the bound params for the plugin set operation typically these are obtained from a http.Request

swagger:parameters PluginSet

func NewPluginSetParams

func NewPluginSetParams() PluginSetParams

NewPluginSetParams creates a new PluginSetParams object

There are no default values defined in the spec.

func (*PluginSetParams) BindRequest

func (o *PluginSetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginSetParams() beforehand.

type PluginSetURL

type PluginSetURL struct {
	Name string
	// contains filtered or unexported fields
}

PluginSetURL generates an URL for the plugin set operation

func (*PluginSetURL) Build

func (o *PluginSetURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginSetURL) BuildFull

func (o *PluginSetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginSetURL) Must

func (o *PluginSetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginSetURL) SetBasePath

func (o *PluginSetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginSetURL) String

func (o *PluginSetURL) String() string

String returns the string representation of the path with query string

func (*PluginSetURL) StringFull

func (o *PluginSetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginSetURL) WithBasePath

func (o *PluginSetURL) WithBasePath(bp string) *PluginSetURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PluginUpgrade

type PluginUpgrade struct {
	Context *middleware.Context
	Handler PluginUpgradeHandler
}
PluginUpgrade swagger:route POST /plugins/{name}/upgrade Plugin pluginUpgrade

Upgrade a plugin

func NewPluginUpgrade

func NewPluginUpgrade(ctx *middleware.Context, handler PluginUpgradeHandler) *PluginUpgrade

NewPluginUpgrade creates a new http.Handler for the plugin upgrade operation

func (*PluginUpgrade) ServeHTTP

func (o *PluginUpgrade) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PluginUpgradeHandler

type PluginUpgradeHandler interface {
	Handle(PluginUpgradeParams) middleware.Responder
}

PluginUpgradeHandler interface for that can handle valid plugin upgrade params

type PluginUpgradeHandlerFunc

type PluginUpgradeHandlerFunc func(PluginUpgradeParams) middleware.Responder

PluginUpgradeHandlerFunc turns a function with the right signature into a plugin upgrade handler

func (PluginUpgradeHandlerFunc) Handle

Handle executing the request and returning a response

type PluginUpgradeInternalServerError

type PluginUpgradeInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginUpgradeInternalServerError server error

swagger:response pluginUpgradeInternalServerError

func NewPluginUpgradeInternalServerError

func NewPluginUpgradeInternalServerError() *PluginUpgradeInternalServerError

NewPluginUpgradeInternalServerError creates PluginUpgradeInternalServerError with default headers values

func (*PluginUpgradeInternalServerError) SetPayload

func (o *PluginUpgradeInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin upgrade internal server error response

func (*PluginUpgradeInternalServerError) WithPayload

WithPayload adds the payload to the plugin upgrade internal server error response

func (*PluginUpgradeInternalServerError) WriteResponse

func (o *PluginUpgradeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginUpgradeNoContent

type PluginUpgradeNoContent struct {
}

PluginUpgradeNoContent no error

swagger:response pluginUpgradeNoContent

func NewPluginUpgradeNoContent

func NewPluginUpgradeNoContent() *PluginUpgradeNoContent

NewPluginUpgradeNoContent creates PluginUpgradeNoContent with default headers values

func (*PluginUpgradeNoContent) WriteResponse

func (o *PluginUpgradeNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginUpgradeNotFound

type PluginUpgradeNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PluginUpgradeNotFound plugin not installed

swagger:response pluginUpgradeNotFound

func NewPluginUpgradeNotFound

func NewPluginUpgradeNotFound() *PluginUpgradeNotFound

NewPluginUpgradeNotFound creates PluginUpgradeNotFound with default headers values

func (*PluginUpgradeNotFound) SetPayload

func (o *PluginUpgradeNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the plugin upgrade not found response

func (*PluginUpgradeNotFound) WithPayload

WithPayload adds the payload to the plugin upgrade not found response

func (*PluginUpgradeNotFound) WriteResponse

func (o *PluginUpgradeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PluginUpgradeParams

type PluginUpgradeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A base64url-encoded auth configuration to use when pulling a plugin
	from a registry.

	Refer to the [authentication section](#section/Authentication) for
	details.

	  In: header
	*/
	XRegistryAuth *string
	/*
	  In: body
	*/
	Body []*PluginUpgradeParamsBodyItems0
	/*The name of the plugin. The `:latest` tag is optional, and is the
	default if omitted.

	  Required: true
	  In: path
	*/
	Name string
	/*Remote reference to upgrade to.

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

	  Required: true
	  In: query
	*/
	Remote string
}

PluginUpgradeParams contains all the bound params for the plugin upgrade operation typically these are obtained from a http.Request

swagger:parameters PluginUpgrade

func NewPluginUpgradeParams

func NewPluginUpgradeParams() PluginUpgradeParams

NewPluginUpgradeParams creates a new PluginUpgradeParams object

There are no default values defined in the spec.

func (*PluginUpgradeParams) BindRequest

func (o *PluginUpgradeParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPluginUpgradeParams() beforehand.

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 PluginUpgradeURL

type PluginUpgradeURL struct {
	Name string

	Remote string
	// contains filtered or unexported fields
}

PluginUpgradeURL generates an URL for the plugin upgrade operation

func (*PluginUpgradeURL) Build

func (o *PluginUpgradeURL) Build() (*url.URL, error)

Build a url path and query string

func (*PluginUpgradeURL) BuildFull

func (o *PluginUpgradeURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PluginUpgradeURL) Must

func (o *PluginUpgradeURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PluginUpgradeURL) SetBasePath

func (o *PluginUpgradeURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PluginUpgradeURL) String

func (o *PluginUpgradeURL) String() string

String returns the string representation of the path with query string

func (*PluginUpgradeURL) StringFull

func (o *PluginUpgradeURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PluginUpgradeURL) WithBasePath

func (o *PluginUpgradeURL) WithBasePath(bp string) *PluginUpgradeURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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