plugin

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationxYaml

func WithAcceptApplicationxYaml(r *runtime.ClientOperation)

WithAcceptApplicationxYaml sets the Accept header to "application/x-yaml".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxYaml

func WithContentTypeApplicationxYaml(r *runtime.ClientOperation)

WithContentTypeApplicationxYaml sets the Content-Type header to "application/x-yaml".

Types

type Client

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

Client for plugin API

func (*Client) DisablePlugin

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

DisablePlugin disables a plugin

func (*Client) EnablePlugin

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

EnablePlugin enables a plugin

func (*Client) GetPluginConfig

func (a *Client) GetPluginConfig(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginConfigOK, error)

GetPluginConfig gets y a m l configuration for configurer plugin

func (*Client) GetPluginDisplay

func (a *Client) GetPluginDisplay(params *GetPluginDisplayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginDisplayOK, error)

GetPluginDisplay gets display info for a displayer plugin

func (*Client) GetPlugins

func (a *Client) GetPlugins(params *GetPluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginsOK, error)

GetPlugins returns all plugins

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePluginConfig

func (a *Client) UpdatePluginConfig(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePluginConfigOK, error)

UpdatePluginConfig updates y a m l configuration for configurer plugin

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisablePluginOK, error)

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

	GetPluginConfig(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginConfigOK, error)

	GetPluginDisplay(params *GetPluginDisplayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginDisplayOK, error)

	GetPlugins(params *GetPluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPluginsOK, error)

	UpdatePluginConfig(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePluginConfigOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new plugin API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new plugin API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new plugin API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DisablePluginForbidden

type DisablePluginForbidden struct {
	Payload *models.Error
}

DisablePluginForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDisablePluginForbidden

func NewDisablePluginForbidden() *DisablePluginForbidden

NewDisablePluginForbidden creates a DisablePluginForbidden with default headers values

func (*DisablePluginForbidden) Code

func (o *DisablePluginForbidden) Code() int

Code gets the status code for the disable plugin forbidden response

func (*DisablePluginForbidden) Error

func (o *DisablePluginForbidden) Error() string

func (*DisablePluginForbidden) GetPayload

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

func (*DisablePluginForbidden) IsClientError

func (o *DisablePluginForbidden) IsClientError() bool

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

func (*DisablePluginForbidden) IsCode

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

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

func (*DisablePluginForbidden) IsRedirect

func (o *DisablePluginForbidden) IsRedirect() bool

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

func (*DisablePluginForbidden) IsServerError

func (o *DisablePluginForbidden) IsServerError() bool

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

func (*DisablePluginForbidden) IsSuccess

func (o *DisablePluginForbidden) IsSuccess() bool

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

func (*DisablePluginForbidden) String

func (o *DisablePluginForbidden) String() string

type DisablePluginInternalServerError

type DisablePluginInternalServerError struct {
	Payload *models.Error
}

DisablePluginInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDisablePluginInternalServerError

func NewDisablePluginInternalServerError() *DisablePluginInternalServerError

NewDisablePluginInternalServerError creates a DisablePluginInternalServerError with default headers values

func (*DisablePluginInternalServerError) Code

Code gets the status code for the disable plugin internal server error response

func (*DisablePluginInternalServerError) Error

func (*DisablePluginInternalServerError) GetPayload

func (*DisablePluginInternalServerError) IsClientError

func (o *DisablePluginInternalServerError) IsClientError() bool

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

func (*DisablePluginInternalServerError) IsCode

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

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

func (*DisablePluginInternalServerError) IsRedirect

func (o *DisablePluginInternalServerError) IsRedirect() bool

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

func (*DisablePluginInternalServerError) IsServerError

func (o *DisablePluginInternalServerError) IsServerError() bool

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

func (*DisablePluginInternalServerError) IsSuccess

func (o *DisablePluginInternalServerError) IsSuccess() bool

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

func (*DisablePluginInternalServerError) String

type DisablePluginNotFound

type DisablePluginNotFound struct {
	Payload *models.Error
}

DisablePluginNotFound describes a response with status code 404, with default header values.

Not Found

func NewDisablePluginNotFound

func NewDisablePluginNotFound() *DisablePluginNotFound

NewDisablePluginNotFound creates a DisablePluginNotFound with default headers values

func (*DisablePluginNotFound) Code

func (o *DisablePluginNotFound) Code() int

Code gets the status code for the disable plugin not found response

func (*DisablePluginNotFound) Error

func (o *DisablePluginNotFound) Error() string

func (*DisablePluginNotFound) GetPayload

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

func (*DisablePluginNotFound) IsClientError

func (o *DisablePluginNotFound) IsClientError() bool

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

func (*DisablePluginNotFound) IsCode

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

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

func (*DisablePluginNotFound) IsRedirect

func (o *DisablePluginNotFound) IsRedirect() bool

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

func (*DisablePluginNotFound) IsServerError

func (o *DisablePluginNotFound) IsServerError() bool

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

func (*DisablePluginNotFound) IsSuccess

func (o *DisablePluginNotFound) IsSuccess() bool

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

func (*DisablePluginNotFound) String

func (o *DisablePluginNotFound) String() string

type DisablePluginOK

type DisablePluginOK struct {
}

DisablePluginOK describes a response with status code 200, with default header values.

Ok

func NewDisablePluginOK

func NewDisablePluginOK() *DisablePluginOK

NewDisablePluginOK creates a DisablePluginOK with default headers values

func (*DisablePluginOK) Code

func (o *DisablePluginOK) Code() int

Code gets the status code for the disable plugin o k response

func (*DisablePluginOK) Error

func (o *DisablePluginOK) Error() string

func (*DisablePluginOK) IsClientError

func (o *DisablePluginOK) IsClientError() bool

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

func (*DisablePluginOK) IsCode

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

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

func (*DisablePluginOK) IsRedirect

func (o *DisablePluginOK) IsRedirect() bool

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

func (*DisablePluginOK) IsServerError

func (o *DisablePluginOK) IsServerError() bool

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

func (*DisablePluginOK) IsSuccess

func (o *DisablePluginOK) IsSuccess() bool

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

func (*DisablePluginOK) String

func (o *DisablePluginOK) String() string

type DisablePluginParams

type DisablePluginParams struct {

	/* ID.

	   the plugin id

	   Format: int64
	*/
	ID int64

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

DisablePluginParams contains all the parameters to send to the API endpoint

for the disable plugin operation.

Typically these are written to a http.Request.

func NewDisablePluginParams

func NewDisablePluginParams() *DisablePluginParams

NewDisablePluginParams creates a new DisablePluginParams object, with the default timeout for this client.

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

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

func NewDisablePluginParamsWithContext

func NewDisablePluginParamsWithContext(ctx context.Context) *DisablePluginParams

NewDisablePluginParamsWithContext creates a new DisablePluginParams object with the ability to set a context for a request.

func NewDisablePluginParamsWithHTTPClient

func NewDisablePluginParamsWithHTTPClient(client *http.Client) *DisablePluginParams

NewDisablePluginParamsWithHTTPClient creates a new DisablePluginParams object with the ability to set a custom HTTPClient for a request.

func NewDisablePluginParamsWithTimeout

func NewDisablePluginParamsWithTimeout(timeout time.Duration) *DisablePluginParams

NewDisablePluginParamsWithTimeout creates a new DisablePluginParams object with the ability to set a timeout on a request.

func (*DisablePluginParams) SetContext

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

SetContext adds the context to the disable plugin params

func (*DisablePluginParams) SetDefaults

func (o *DisablePluginParams) SetDefaults()

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

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

func (*DisablePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable plugin params

func (*DisablePluginParams) SetID

func (o *DisablePluginParams) SetID(id int64)

SetID adds the id to the disable plugin params

func (*DisablePluginParams) SetTimeout

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

SetTimeout adds the timeout to the disable plugin params

func (*DisablePluginParams) WithContext

WithContext adds the context to the disable plugin params

func (*DisablePluginParams) WithDefaults

func (o *DisablePluginParams) WithDefaults() *DisablePluginParams

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

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

func (*DisablePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable plugin params

func (*DisablePluginParams) WithID

WithID adds the id to the disable plugin params

func (*DisablePluginParams) WithTimeout

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

WithTimeout adds the timeout to the disable plugin params

func (*DisablePluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisablePluginReader

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

DisablePluginReader is a Reader for the DisablePlugin structure.

func (*DisablePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisablePluginUnauthorized

type DisablePluginUnauthorized struct {
	Payload *models.Error
}

DisablePluginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDisablePluginUnauthorized

func NewDisablePluginUnauthorized() *DisablePluginUnauthorized

NewDisablePluginUnauthorized creates a DisablePluginUnauthorized with default headers values

func (*DisablePluginUnauthorized) Code

func (o *DisablePluginUnauthorized) Code() int

Code gets the status code for the disable plugin unauthorized response

func (*DisablePluginUnauthorized) Error

func (o *DisablePluginUnauthorized) Error() string

func (*DisablePluginUnauthorized) GetPayload

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

func (*DisablePluginUnauthorized) IsClientError

func (o *DisablePluginUnauthorized) IsClientError() bool

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

func (*DisablePluginUnauthorized) IsCode

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

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

func (*DisablePluginUnauthorized) IsRedirect

func (o *DisablePluginUnauthorized) IsRedirect() bool

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

func (*DisablePluginUnauthorized) IsServerError

func (o *DisablePluginUnauthorized) IsServerError() bool

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

func (*DisablePluginUnauthorized) IsSuccess

func (o *DisablePluginUnauthorized) IsSuccess() bool

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

func (*DisablePluginUnauthorized) String

func (o *DisablePluginUnauthorized) String() string

type EnablePluginForbidden

type EnablePluginForbidden struct {
	Payload *models.Error
}

EnablePluginForbidden describes a response with status code 403, with default header values.

Forbidden

func NewEnablePluginForbidden

func NewEnablePluginForbidden() *EnablePluginForbidden

NewEnablePluginForbidden creates a EnablePluginForbidden with default headers values

func (*EnablePluginForbidden) Code

func (o *EnablePluginForbidden) Code() int

Code gets the status code for the enable plugin forbidden response

func (*EnablePluginForbidden) Error

func (o *EnablePluginForbidden) Error() string

func (*EnablePluginForbidden) GetPayload

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

func (*EnablePluginForbidden) IsClientError

func (o *EnablePluginForbidden) IsClientError() bool

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

func (*EnablePluginForbidden) IsCode

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

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

func (*EnablePluginForbidden) IsRedirect

func (o *EnablePluginForbidden) IsRedirect() bool

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

func (*EnablePluginForbidden) IsServerError

func (o *EnablePluginForbidden) IsServerError() bool

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

func (*EnablePluginForbidden) IsSuccess

func (o *EnablePluginForbidden) IsSuccess() bool

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

func (*EnablePluginForbidden) String

func (o *EnablePluginForbidden) String() string

type EnablePluginInternalServerError

type EnablePluginInternalServerError struct {
	Payload *models.Error
}

EnablePluginInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewEnablePluginInternalServerError

func NewEnablePluginInternalServerError() *EnablePluginInternalServerError

NewEnablePluginInternalServerError creates a EnablePluginInternalServerError with default headers values

func (*EnablePluginInternalServerError) Code

Code gets the status code for the enable plugin internal server error response

func (*EnablePluginInternalServerError) Error

func (*EnablePluginInternalServerError) GetPayload

func (o *EnablePluginInternalServerError) GetPayload() *models.Error

func (*EnablePluginInternalServerError) IsClientError

func (o *EnablePluginInternalServerError) IsClientError() bool

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

func (*EnablePluginInternalServerError) IsCode

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

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

func (*EnablePluginInternalServerError) IsRedirect

func (o *EnablePluginInternalServerError) IsRedirect() bool

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

func (*EnablePluginInternalServerError) IsServerError

func (o *EnablePluginInternalServerError) IsServerError() bool

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

func (*EnablePluginInternalServerError) IsSuccess

func (o *EnablePluginInternalServerError) IsSuccess() bool

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

func (*EnablePluginInternalServerError) String

type EnablePluginNotFound

type EnablePluginNotFound struct {
	Payload *models.Error
}

EnablePluginNotFound describes a response with status code 404, with default header values.

Not Found

func NewEnablePluginNotFound

func NewEnablePluginNotFound() *EnablePluginNotFound

NewEnablePluginNotFound creates a EnablePluginNotFound with default headers values

func (*EnablePluginNotFound) Code

func (o *EnablePluginNotFound) Code() int

Code gets the status code for the enable plugin not found response

func (*EnablePluginNotFound) Error

func (o *EnablePluginNotFound) Error() string

func (*EnablePluginNotFound) GetPayload

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

func (*EnablePluginNotFound) IsClientError

func (o *EnablePluginNotFound) IsClientError() bool

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

func (*EnablePluginNotFound) IsCode

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

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

func (*EnablePluginNotFound) IsRedirect

func (o *EnablePluginNotFound) IsRedirect() bool

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

func (*EnablePluginNotFound) IsServerError

func (o *EnablePluginNotFound) IsServerError() bool

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

func (*EnablePluginNotFound) IsSuccess

func (o *EnablePluginNotFound) IsSuccess() bool

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

func (*EnablePluginNotFound) String

func (o *EnablePluginNotFound) String() string

type EnablePluginOK

type EnablePluginOK struct {
}

EnablePluginOK describes a response with status code 200, with default header values.

Ok

func NewEnablePluginOK

func NewEnablePluginOK() *EnablePluginOK

NewEnablePluginOK creates a EnablePluginOK with default headers values

func (*EnablePluginOK) Code

func (o *EnablePluginOK) Code() int

Code gets the status code for the enable plugin o k response

func (*EnablePluginOK) Error

func (o *EnablePluginOK) Error() string

func (*EnablePluginOK) IsClientError

func (o *EnablePluginOK) IsClientError() bool

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

func (*EnablePluginOK) IsCode

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

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

func (*EnablePluginOK) IsRedirect

func (o *EnablePluginOK) IsRedirect() bool

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

func (*EnablePluginOK) IsServerError

func (o *EnablePluginOK) IsServerError() bool

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

func (*EnablePluginOK) IsSuccess

func (o *EnablePluginOK) IsSuccess() bool

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

func (*EnablePluginOK) String

func (o *EnablePluginOK) String() string

type EnablePluginParams

type EnablePluginParams struct {

	/* ID.

	   the plugin id

	   Format: int64
	*/
	ID int64

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

EnablePluginParams contains all the parameters to send to the API endpoint

for the enable plugin operation.

Typically these are written to a http.Request.

func NewEnablePluginParams

func NewEnablePluginParams() *EnablePluginParams

NewEnablePluginParams creates a new EnablePluginParams object, with the default timeout for this client.

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

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

func NewEnablePluginParamsWithContext

func NewEnablePluginParamsWithContext(ctx context.Context) *EnablePluginParams

NewEnablePluginParamsWithContext creates a new EnablePluginParams object with the ability to set a context for a request.

func NewEnablePluginParamsWithHTTPClient

func NewEnablePluginParamsWithHTTPClient(client *http.Client) *EnablePluginParams

NewEnablePluginParamsWithHTTPClient creates a new EnablePluginParams object with the ability to set a custom HTTPClient for a request.

func NewEnablePluginParamsWithTimeout

func NewEnablePluginParamsWithTimeout(timeout time.Duration) *EnablePluginParams

NewEnablePluginParamsWithTimeout creates a new EnablePluginParams object with the ability to set a timeout on a request.

func (*EnablePluginParams) SetContext

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

SetContext adds the context to the enable plugin params

func (*EnablePluginParams) SetDefaults

func (o *EnablePluginParams) SetDefaults()

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

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

func (*EnablePluginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable plugin params

func (*EnablePluginParams) SetID

func (o *EnablePluginParams) SetID(id int64)

SetID adds the id to the enable plugin params

func (*EnablePluginParams) SetTimeout

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

SetTimeout adds the timeout to the enable plugin params

func (*EnablePluginParams) WithContext

WithContext adds the context to the enable plugin params

func (*EnablePluginParams) WithDefaults

func (o *EnablePluginParams) WithDefaults() *EnablePluginParams

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

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

func (*EnablePluginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable plugin params

func (*EnablePluginParams) WithID

WithID adds the id to the enable plugin params

func (*EnablePluginParams) WithTimeout

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

WithTimeout adds the timeout to the enable plugin params

func (*EnablePluginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnablePluginReader

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

EnablePluginReader is a Reader for the EnablePlugin structure.

func (*EnablePluginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnablePluginUnauthorized

type EnablePluginUnauthorized struct {
	Payload *models.Error
}

EnablePluginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewEnablePluginUnauthorized

func NewEnablePluginUnauthorized() *EnablePluginUnauthorized

NewEnablePluginUnauthorized creates a EnablePluginUnauthorized with default headers values

func (*EnablePluginUnauthorized) Code

func (o *EnablePluginUnauthorized) Code() int

Code gets the status code for the enable plugin unauthorized response

func (*EnablePluginUnauthorized) Error

func (o *EnablePluginUnauthorized) Error() string

func (*EnablePluginUnauthorized) GetPayload

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

func (*EnablePluginUnauthorized) IsClientError

func (o *EnablePluginUnauthorized) IsClientError() bool

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

func (*EnablePluginUnauthorized) IsCode

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

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

func (*EnablePluginUnauthorized) IsRedirect

func (o *EnablePluginUnauthorized) IsRedirect() bool

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

func (*EnablePluginUnauthorized) IsServerError

func (o *EnablePluginUnauthorized) IsServerError() bool

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

func (*EnablePluginUnauthorized) IsSuccess

func (o *EnablePluginUnauthorized) IsSuccess() bool

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

func (*EnablePluginUnauthorized) String

func (o *EnablePluginUnauthorized) String() string

type GetPluginConfigBadRequest

type GetPluginConfigBadRequest struct {
	Payload *models.Error
}

GetPluginConfigBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetPluginConfigBadRequest

func NewGetPluginConfigBadRequest() *GetPluginConfigBadRequest

NewGetPluginConfigBadRequest creates a GetPluginConfigBadRequest with default headers values

func (*GetPluginConfigBadRequest) Code

func (o *GetPluginConfigBadRequest) Code() int

Code gets the status code for the get plugin config bad request response

func (*GetPluginConfigBadRequest) Error

func (o *GetPluginConfigBadRequest) Error() string

func (*GetPluginConfigBadRequest) GetPayload

func (o *GetPluginConfigBadRequest) GetPayload() *models.Error

func (*GetPluginConfigBadRequest) IsClientError

func (o *GetPluginConfigBadRequest) IsClientError() bool

IsClientError returns true when this get plugin config bad request response has a 4xx status code

func (*GetPluginConfigBadRequest) IsCode

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

IsCode returns true when this get plugin config bad request response a status code equal to that given

func (*GetPluginConfigBadRequest) IsRedirect

func (o *GetPluginConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this get plugin config bad request response has a 3xx status code

func (*GetPluginConfigBadRequest) IsServerError

func (o *GetPluginConfigBadRequest) IsServerError() bool

IsServerError returns true when this get plugin config bad request response has a 5xx status code

func (*GetPluginConfigBadRequest) IsSuccess

func (o *GetPluginConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this get plugin config bad request response has a 2xx status code

func (*GetPluginConfigBadRequest) String

func (o *GetPluginConfigBadRequest) String() string

type GetPluginConfigForbidden

type GetPluginConfigForbidden struct {
	Payload *models.Error
}

GetPluginConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPluginConfigForbidden

func NewGetPluginConfigForbidden() *GetPluginConfigForbidden

NewGetPluginConfigForbidden creates a GetPluginConfigForbidden with default headers values

func (*GetPluginConfigForbidden) Code

func (o *GetPluginConfigForbidden) Code() int

Code gets the status code for the get plugin config forbidden response

func (*GetPluginConfigForbidden) Error

func (o *GetPluginConfigForbidden) Error() string

func (*GetPluginConfigForbidden) GetPayload

func (o *GetPluginConfigForbidden) GetPayload() *models.Error

func (*GetPluginConfigForbidden) IsClientError

func (o *GetPluginConfigForbidden) IsClientError() bool

IsClientError returns true when this get plugin config forbidden response has a 4xx status code

func (*GetPluginConfigForbidden) IsCode

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

IsCode returns true when this get plugin config forbidden response a status code equal to that given

func (*GetPluginConfigForbidden) IsRedirect

func (o *GetPluginConfigForbidden) IsRedirect() bool

IsRedirect returns true when this get plugin config forbidden response has a 3xx status code

func (*GetPluginConfigForbidden) IsServerError

func (o *GetPluginConfigForbidden) IsServerError() bool

IsServerError returns true when this get plugin config forbidden response has a 5xx status code

func (*GetPluginConfigForbidden) IsSuccess

func (o *GetPluginConfigForbidden) IsSuccess() bool

IsSuccess returns true when this get plugin config forbidden response has a 2xx status code

func (*GetPluginConfigForbidden) String

func (o *GetPluginConfigForbidden) String() string

type GetPluginConfigInternalServerError

type GetPluginConfigInternalServerError struct {
	Payload *models.Error
}

GetPluginConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPluginConfigInternalServerError

func NewGetPluginConfigInternalServerError() *GetPluginConfigInternalServerError

NewGetPluginConfigInternalServerError creates a GetPluginConfigInternalServerError with default headers values

func (*GetPluginConfigInternalServerError) Code

Code gets the status code for the get plugin config internal server error response

func (*GetPluginConfigInternalServerError) Error

func (*GetPluginConfigInternalServerError) GetPayload

func (*GetPluginConfigInternalServerError) IsClientError

func (o *GetPluginConfigInternalServerError) IsClientError() bool

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

func (*GetPluginConfigInternalServerError) IsCode

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

func (*GetPluginConfigInternalServerError) IsRedirect

func (o *GetPluginConfigInternalServerError) IsRedirect() bool

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

func (*GetPluginConfigInternalServerError) IsServerError

func (o *GetPluginConfigInternalServerError) IsServerError() bool

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

func (*GetPluginConfigInternalServerError) IsSuccess

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

func (*GetPluginConfigInternalServerError) String

type GetPluginConfigNotFound

type GetPluginConfigNotFound struct {
	Payload *models.Error
}

GetPluginConfigNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetPluginConfigNotFound

func NewGetPluginConfigNotFound() *GetPluginConfigNotFound

NewGetPluginConfigNotFound creates a GetPluginConfigNotFound with default headers values

func (*GetPluginConfigNotFound) Code

func (o *GetPluginConfigNotFound) Code() int

Code gets the status code for the get plugin config not found response

func (*GetPluginConfigNotFound) Error

func (o *GetPluginConfigNotFound) Error() string

func (*GetPluginConfigNotFound) GetPayload

func (o *GetPluginConfigNotFound) GetPayload() *models.Error

func (*GetPluginConfigNotFound) IsClientError

func (o *GetPluginConfigNotFound) IsClientError() bool

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

func (*GetPluginConfigNotFound) IsCode

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

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

func (*GetPluginConfigNotFound) IsRedirect

func (o *GetPluginConfigNotFound) IsRedirect() bool

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

func (*GetPluginConfigNotFound) IsServerError

func (o *GetPluginConfigNotFound) IsServerError() bool

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

func (*GetPluginConfigNotFound) IsSuccess

func (o *GetPluginConfigNotFound) IsSuccess() bool

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

func (*GetPluginConfigNotFound) String

func (o *GetPluginConfigNotFound) String() string

type GetPluginConfigOK

type GetPluginConfigOK struct {
	Payload interface{}
}

GetPluginConfigOK describes a response with status code 200, with default header values.

Ok

func NewGetPluginConfigOK

func NewGetPluginConfigOK() *GetPluginConfigOK

NewGetPluginConfigOK creates a GetPluginConfigOK with default headers values

func (*GetPluginConfigOK) Code

func (o *GetPluginConfigOK) Code() int

Code gets the status code for the get plugin config o k response

func (*GetPluginConfigOK) Error

func (o *GetPluginConfigOK) Error() string

func (*GetPluginConfigOK) GetPayload

func (o *GetPluginConfigOK) GetPayload() interface{}

func (*GetPluginConfigOK) IsClientError

func (o *GetPluginConfigOK) IsClientError() bool

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

func (*GetPluginConfigOK) IsCode

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

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

func (*GetPluginConfigOK) IsRedirect

func (o *GetPluginConfigOK) IsRedirect() bool

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

func (*GetPluginConfigOK) IsServerError

func (o *GetPluginConfigOK) IsServerError() bool

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

func (*GetPluginConfigOK) IsSuccess

func (o *GetPluginConfigOK) IsSuccess() bool

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

func (*GetPluginConfigOK) String

func (o *GetPluginConfigOK) String() string

type GetPluginConfigParams

type GetPluginConfigParams struct {

	/* ID.

	   the plugin id

	   Format: int64
	*/
	ID int64

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

GetPluginConfigParams contains all the parameters to send to the API endpoint

for the get plugin config operation.

Typically these are written to a http.Request.

func NewGetPluginConfigParams

func NewGetPluginConfigParams() *GetPluginConfigParams

NewGetPluginConfigParams creates a new GetPluginConfigParams object, with the default timeout for this client.

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

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

func NewGetPluginConfigParamsWithContext

func NewGetPluginConfigParamsWithContext(ctx context.Context) *GetPluginConfigParams

NewGetPluginConfigParamsWithContext creates a new GetPluginConfigParams object with the ability to set a context for a request.

func NewGetPluginConfigParamsWithHTTPClient

func NewGetPluginConfigParamsWithHTTPClient(client *http.Client) *GetPluginConfigParams

NewGetPluginConfigParamsWithHTTPClient creates a new GetPluginConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetPluginConfigParamsWithTimeout

func NewGetPluginConfigParamsWithTimeout(timeout time.Duration) *GetPluginConfigParams

NewGetPluginConfigParamsWithTimeout creates a new GetPluginConfigParams object with the ability to set a timeout on a request.

func (*GetPluginConfigParams) SetContext

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

SetContext adds the context to the get plugin config params

func (*GetPluginConfigParams) SetDefaults

func (o *GetPluginConfigParams) SetDefaults()

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

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

func (*GetPluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin config params

func (*GetPluginConfigParams) SetID

func (o *GetPluginConfigParams) SetID(id int64)

SetID adds the id to the get plugin config params

func (*GetPluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin config params

func (*GetPluginConfigParams) WithContext

WithContext adds the context to the get plugin config params

func (*GetPluginConfigParams) WithDefaults

func (o *GetPluginConfigParams) WithDefaults() *GetPluginConfigParams

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

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

func (*GetPluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get plugin config params

func (*GetPluginConfigParams) WithID

WithID adds the id to the get plugin config params

func (*GetPluginConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get plugin config params

func (*GetPluginConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPluginConfigReader

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

GetPluginConfigReader is a Reader for the GetPluginConfig structure.

func (*GetPluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginConfigUnauthorized

type GetPluginConfigUnauthorized struct {
	Payload *models.Error
}

GetPluginConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPluginConfigUnauthorized

func NewGetPluginConfigUnauthorized() *GetPluginConfigUnauthorized

NewGetPluginConfigUnauthorized creates a GetPluginConfigUnauthorized with default headers values

func (*GetPluginConfigUnauthorized) Code

func (o *GetPluginConfigUnauthorized) Code() int

Code gets the status code for the get plugin config unauthorized response

func (*GetPluginConfigUnauthorized) Error

func (*GetPluginConfigUnauthorized) GetPayload

func (o *GetPluginConfigUnauthorized) GetPayload() *models.Error

func (*GetPluginConfigUnauthorized) IsClientError

func (o *GetPluginConfigUnauthorized) IsClientError() bool

IsClientError returns true when this get plugin config unauthorized response has a 4xx status code

func (*GetPluginConfigUnauthorized) IsCode

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

IsCode returns true when this get plugin config unauthorized response a status code equal to that given

func (*GetPluginConfigUnauthorized) IsRedirect

func (o *GetPluginConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this get plugin config unauthorized response has a 3xx status code

func (*GetPluginConfigUnauthorized) IsServerError

func (o *GetPluginConfigUnauthorized) IsServerError() bool

IsServerError returns true when this get plugin config unauthorized response has a 5xx status code

func (*GetPluginConfigUnauthorized) IsSuccess

func (o *GetPluginConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this get plugin config unauthorized response has a 2xx status code

func (*GetPluginConfigUnauthorized) String

func (o *GetPluginConfigUnauthorized) String() string

type GetPluginDisplayForbidden

type GetPluginDisplayForbidden struct {
	Payload *models.Error
}

GetPluginDisplayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPluginDisplayForbidden

func NewGetPluginDisplayForbidden() *GetPluginDisplayForbidden

NewGetPluginDisplayForbidden creates a GetPluginDisplayForbidden with default headers values

func (*GetPluginDisplayForbidden) Code

func (o *GetPluginDisplayForbidden) Code() int

Code gets the status code for the get plugin display forbidden response

func (*GetPluginDisplayForbidden) Error

func (o *GetPluginDisplayForbidden) Error() string

func (*GetPluginDisplayForbidden) GetPayload

func (o *GetPluginDisplayForbidden) GetPayload() *models.Error

func (*GetPluginDisplayForbidden) IsClientError

func (o *GetPluginDisplayForbidden) IsClientError() bool

IsClientError returns true when this get plugin display forbidden response has a 4xx status code

func (*GetPluginDisplayForbidden) IsCode

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

IsCode returns true when this get plugin display forbidden response a status code equal to that given

func (*GetPluginDisplayForbidden) IsRedirect

func (o *GetPluginDisplayForbidden) IsRedirect() bool

IsRedirect returns true when this get plugin display forbidden response has a 3xx status code

func (*GetPluginDisplayForbidden) IsServerError

func (o *GetPluginDisplayForbidden) IsServerError() bool

IsServerError returns true when this get plugin display forbidden response has a 5xx status code

func (*GetPluginDisplayForbidden) IsSuccess

func (o *GetPluginDisplayForbidden) IsSuccess() bool

IsSuccess returns true when this get plugin display forbidden response has a 2xx status code

func (*GetPluginDisplayForbidden) String

func (o *GetPluginDisplayForbidden) String() string

type GetPluginDisplayInternalServerError

type GetPluginDisplayInternalServerError struct {
	Payload *models.Error
}

GetPluginDisplayInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPluginDisplayInternalServerError

func NewGetPluginDisplayInternalServerError() *GetPluginDisplayInternalServerError

NewGetPluginDisplayInternalServerError creates a GetPluginDisplayInternalServerError with default headers values

func (*GetPluginDisplayInternalServerError) Code

Code gets the status code for the get plugin display internal server error response

func (*GetPluginDisplayInternalServerError) Error

func (*GetPluginDisplayInternalServerError) GetPayload

func (*GetPluginDisplayInternalServerError) IsClientError

func (o *GetPluginDisplayInternalServerError) IsClientError() bool

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

func (*GetPluginDisplayInternalServerError) IsCode

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

func (*GetPluginDisplayInternalServerError) IsRedirect

func (o *GetPluginDisplayInternalServerError) IsRedirect() bool

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

func (*GetPluginDisplayInternalServerError) IsServerError

func (o *GetPluginDisplayInternalServerError) IsServerError() bool

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

func (*GetPluginDisplayInternalServerError) IsSuccess

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

func (*GetPluginDisplayInternalServerError) String

type GetPluginDisplayNotFound

type GetPluginDisplayNotFound struct {
	Payload *models.Error
}

GetPluginDisplayNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetPluginDisplayNotFound

func NewGetPluginDisplayNotFound() *GetPluginDisplayNotFound

NewGetPluginDisplayNotFound creates a GetPluginDisplayNotFound with default headers values

func (*GetPluginDisplayNotFound) Code

func (o *GetPluginDisplayNotFound) Code() int

Code gets the status code for the get plugin display not found response

func (*GetPluginDisplayNotFound) Error

func (o *GetPluginDisplayNotFound) Error() string

func (*GetPluginDisplayNotFound) GetPayload

func (o *GetPluginDisplayNotFound) GetPayload() *models.Error

func (*GetPluginDisplayNotFound) IsClientError

func (o *GetPluginDisplayNotFound) IsClientError() bool

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

func (*GetPluginDisplayNotFound) IsCode

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

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

func (*GetPluginDisplayNotFound) IsRedirect

func (o *GetPluginDisplayNotFound) IsRedirect() bool

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

func (*GetPluginDisplayNotFound) IsServerError

func (o *GetPluginDisplayNotFound) IsServerError() bool

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

func (*GetPluginDisplayNotFound) IsSuccess

func (o *GetPluginDisplayNotFound) IsSuccess() bool

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

func (*GetPluginDisplayNotFound) String

func (o *GetPluginDisplayNotFound) String() string

type GetPluginDisplayOK

type GetPluginDisplayOK struct {
	Payload string
}

GetPluginDisplayOK describes a response with status code 200, with default header values.

Ok

func NewGetPluginDisplayOK

func NewGetPluginDisplayOK() *GetPluginDisplayOK

NewGetPluginDisplayOK creates a GetPluginDisplayOK with default headers values

func (*GetPluginDisplayOK) Code

func (o *GetPluginDisplayOK) Code() int

Code gets the status code for the get plugin display o k response

func (*GetPluginDisplayOK) Error

func (o *GetPluginDisplayOK) Error() string

func (*GetPluginDisplayOK) GetPayload

func (o *GetPluginDisplayOK) GetPayload() string

func (*GetPluginDisplayOK) IsClientError

func (o *GetPluginDisplayOK) IsClientError() bool

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

func (*GetPluginDisplayOK) IsCode

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

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

func (*GetPluginDisplayOK) IsRedirect

func (o *GetPluginDisplayOK) IsRedirect() bool

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

func (*GetPluginDisplayOK) IsServerError

func (o *GetPluginDisplayOK) IsServerError() bool

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

func (*GetPluginDisplayOK) IsSuccess

func (o *GetPluginDisplayOK) IsSuccess() bool

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

func (*GetPluginDisplayOK) String

func (o *GetPluginDisplayOK) String() string

type GetPluginDisplayParams

type GetPluginDisplayParams struct {

	/* ID.

	   the plugin id

	   Format: int64
	*/
	ID int64

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

GetPluginDisplayParams contains all the parameters to send to the API endpoint

for the get plugin display operation.

Typically these are written to a http.Request.

func NewGetPluginDisplayParams

func NewGetPluginDisplayParams() *GetPluginDisplayParams

NewGetPluginDisplayParams creates a new GetPluginDisplayParams object, with the default timeout for this client.

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

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

func NewGetPluginDisplayParamsWithContext

func NewGetPluginDisplayParamsWithContext(ctx context.Context) *GetPluginDisplayParams

NewGetPluginDisplayParamsWithContext creates a new GetPluginDisplayParams object with the ability to set a context for a request.

func NewGetPluginDisplayParamsWithHTTPClient

func NewGetPluginDisplayParamsWithHTTPClient(client *http.Client) *GetPluginDisplayParams

NewGetPluginDisplayParamsWithHTTPClient creates a new GetPluginDisplayParams object with the ability to set a custom HTTPClient for a request.

func NewGetPluginDisplayParamsWithTimeout

func NewGetPluginDisplayParamsWithTimeout(timeout time.Duration) *GetPluginDisplayParams

NewGetPluginDisplayParamsWithTimeout creates a new GetPluginDisplayParams object with the ability to set a timeout on a request.

func (*GetPluginDisplayParams) SetContext

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

SetContext adds the context to the get plugin display params

func (*GetPluginDisplayParams) SetDefaults

func (o *GetPluginDisplayParams) SetDefaults()

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

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

func (*GetPluginDisplayParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin display params

func (*GetPluginDisplayParams) SetID

func (o *GetPluginDisplayParams) SetID(id int64)

SetID adds the id to the get plugin display params

func (*GetPluginDisplayParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin display params

func (*GetPluginDisplayParams) WithContext

WithContext adds the context to the get plugin display params

func (*GetPluginDisplayParams) WithDefaults

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

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

func (*GetPluginDisplayParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get plugin display params

func (*GetPluginDisplayParams) WithID

WithID adds the id to the get plugin display params

func (*GetPluginDisplayParams) WithTimeout

WithTimeout adds the timeout to the get plugin display params

func (*GetPluginDisplayParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPluginDisplayReader

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

GetPluginDisplayReader is a Reader for the GetPluginDisplay structure.

func (*GetPluginDisplayReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginDisplayUnauthorized

type GetPluginDisplayUnauthorized struct {
	Payload *models.Error
}

GetPluginDisplayUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPluginDisplayUnauthorized

func NewGetPluginDisplayUnauthorized() *GetPluginDisplayUnauthorized

NewGetPluginDisplayUnauthorized creates a GetPluginDisplayUnauthorized with default headers values

func (*GetPluginDisplayUnauthorized) Code

Code gets the status code for the get plugin display unauthorized response

func (*GetPluginDisplayUnauthorized) Error

func (*GetPluginDisplayUnauthorized) GetPayload

func (o *GetPluginDisplayUnauthorized) GetPayload() *models.Error

func (*GetPluginDisplayUnauthorized) IsClientError

func (o *GetPluginDisplayUnauthorized) IsClientError() bool

IsClientError returns true when this get plugin display unauthorized response has a 4xx status code

func (*GetPluginDisplayUnauthorized) IsCode

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

IsCode returns true when this get plugin display unauthorized response a status code equal to that given

func (*GetPluginDisplayUnauthorized) IsRedirect

func (o *GetPluginDisplayUnauthorized) IsRedirect() bool

IsRedirect returns true when this get plugin display unauthorized response has a 3xx status code

func (*GetPluginDisplayUnauthorized) IsServerError

func (o *GetPluginDisplayUnauthorized) IsServerError() bool

IsServerError returns true when this get plugin display unauthorized response has a 5xx status code

func (*GetPluginDisplayUnauthorized) IsSuccess

func (o *GetPluginDisplayUnauthorized) IsSuccess() bool

IsSuccess returns true when this get plugin display unauthorized response has a 2xx status code

func (*GetPluginDisplayUnauthorized) String

type GetPluginsForbidden

type GetPluginsForbidden struct {
	Payload *models.Error
}

GetPluginsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPluginsForbidden

func NewGetPluginsForbidden() *GetPluginsForbidden

NewGetPluginsForbidden creates a GetPluginsForbidden with default headers values

func (*GetPluginsForbidden) Code

func (o *GetPluginsForbidden) Code() int

Code gets the status code for the get plugins forbidden response

func (*GetPluginsForbidden) Error

func (o *GetPluginsForbidden) Error() string

func (*GetPluginsForbidden) GetPayload

func (o *GetPluginsForbidden) GetPayload() *models.Error

func (*GetPluginsForbidden) IsClientError

func (o *GetPluginsForbidden) IsClientError() bool

IsClientError returns true when this get plugins forbidden response has a 4xx status code

func (*GetPluginsForbidden) IsCode

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

IsCode returns true when this get plugins forbidden response a status code equal to that given

func (*GetPluginsForbidden) IsRedirect

func (o *GetPluginsForbidden) IsRedirect() bool

IsRedirect returns true when this get plugins forbidden response has a 3xx status code

func (*GetPluginsForbidden) IsServerError

func (o *GetPluginsForbidden) IsServerError() bool

IsServerError returns true when this get plugins forbidden response has a 5xx status code

func (*GetPluginsForbidden) IsSuccess

func (o *GetPluginsForbidden) IsSuccess() bool

IsSuccess returns true when this get plugins forbidden response has a 2xx status code

func (*GetPluginsForbidden) String

func (o *GetPluginsForbidden) String() string

type GetPluginsInternalServerError

type GetPluginsInternalServerError struct {
	Payload *models.Error
}

GetPluginsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPluginsInternalServerError

func NewGetPluginsInternalServerError() *GetPluginsInternalServerError

NewGetPluginsInternalServerError creates a GetPluginsInternalServerError with default headers values

func (*GetPluginsInternalServerError) Code

Code gets the status code for the get plugins internal server error response

func (*GetPluginsInternalServerError) Error

func (*GetPluginsInternalServerError) GetPayload

func (o *GetPluginsInternalServerError) GetPayload() *models.Error

func (*GetPluginsInternalServerError) IsClientError

func (o *GetPluginsInternalServerError) IsClientError() bool

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

func (*GetPluginsInternalServerError) IsCode

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

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

func (*GetPluginsInternalServerError) IsRedirect

func (o *GetPluginsInternalServerError) IsRedirect() bool

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

func (*GetPluginsInternalServerError) IsServerError

func (o *GetPluginsInternalServerError) IsServerError() bool

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

func (*GetPluginsInternalServerError) IsSuccess

func (o *GetPluginsInternalServerError) IsSuccess() bool

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

func (*GetPluginsInternalServerError) String

type GetPluginsNotFound

type GetPluginsNotFound struct {
	Payload *models.Error
}

GetPluginsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetPluginsNotFound

func NewGetPluginsNotFound() *GetPluginsNotFound

NewGetPluginsNotFound creates a GetPluginsNotFound with default headers values

func (*GetPluginsNotFound) Code

func (o *GetPluginsNotFound) Code() int

Code gets the status code for the get plugins not found response

func (*GetPluginsNotFound) Error

func (o *GetPluginsNotFound) Error() string

func (*GetPluginsNotFound) GetPayload

func (o *GetPluginsNotFound) GetPayload() *models.Error

func (*GetPluginsNotFound) IsClientError

func (o *GetPluginsNotFound) IsClientError() bool

IsClientError returns true when this get plugins not found response has a 4xx status code

func (*GetPluginsNotFound) IsCode

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

IsCode returns true when this get plugins not found response a status code equal to that given

func (*GetPluginsNotFound) IsRedirect

func (o *GetPluginsNotFound) IsRedirect() bool

IsRedirect returns true when this get plugins not found response has a 3xx status code

func (*GetPluginsNotFound) IsServerError

func (o *GetPluginsNotFound) IsServerError() bool

IsServerError returns true when this get plugins not found response has a 5xx status code

func (*GetPluginsNotFound) IsSuccess

func (o *GetPluginsNotFound) IsSuccess() bool

IsSuccess returns true when this get plugins not found response has a 2xx status code

func (*GetPluginsNotFound) String

func (o *GetPluginsNotFound) String() string

type GetPluginsOK

type GetPluginsOK struct {
	Payload []*models.PluginConfExternal
}

GetPluginsOK describes a response with status code 200, with default header values.

Ok

func NewGetPluginsOK

func NewGetPluginsOK() *GetPluginsOK

NewGetPluginsOK creates a GetPluginsOK with default headers values

func (*GetPluginsOK) Code

func (o *GetPluginsOK) Code() int

Code gets the status code for the get plugins o k response

func (*GetPluginsOK) Error

func (o *GetPluginsOK) Error() string

func (*GetPluginsOK) GetPayload

func (o *GetPluginsOK) GetPayload() []*models.PluginConfExternal

func (*GetPluginsOK) IsClientError

func (o *GetPluginsOK) IsClientError() bool

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

func (*GetPluginsOK) IsCode

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

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

func (*GetPluginsOK) IsRedirect

func (o *GetPluginsOK) IsRedirect() bool

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

func (*GetPluginsOK) IsServerError

func (o *GetPluginsOK) IsServerError() bool

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

func (*GetPluginsOK) IsSuccess

func (o *GetPluginsOK) IsSuccess() bool

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

func (*GetPluginsOK) String

func (o *GetPluginsOK) String() string

type GetPluginsParams

type GetPluginsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPluginsParams contains all the parameters to send to the API endpoint

for the get plugins operation.

Typically these are written to a http.Request.

func NewGetPluginsParams

func NewGetPluginsParams() *GetPluginsParams

NewGetPluginsParams creates a new GetPluginsParams object, with the default timeout for this client.

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

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

func NewGetPluginsParamsWithContext

func NewGetPluginsParamsWithContext(ctx context.Context) *GetPluginsParams

NewGetPluginsParamsWithContext creates a new GetPluginsParams object with the ability to set a context for a request.

func NewGetPluginsParamsWithHTTPClient

func NewGetPluginsParamsWithHTTPClient(client *http.Client) *GetPluginsParams

NewGetPluginsParamsWithHTTPClient creates a new GetPluginsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPluginsParamsWithTimeout

func NewGetPluginsParamsWithTimeout(timeout time.Duration) *GetPluginsParams

NewGetPluginsParamsWithTimeout creates a new GetPluginsParams object with the ability to set a timeout on a request.

func (*GetPluginsParams) SetContext

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

SetContext adds the context to the get plugins params

func (*GetPluginsParams) SetDefaults

func (o *GetPluginsParams) SetDefaults()

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

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

func (*GetPluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugins params

func (*GetPluginsParams) SetTimeout

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

SetTimeout adds the timeout to the get plugins params

func (*GetPluginsParams) WithContext

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

WithContext adds the context to the get plugins params

func (*GetPluginsParams) WithDefaults

func (o *GetPluginsParams) WithDefaults() *GetPluginsParams

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

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

func (*GetPluginsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get plugins params

func (*GetPluginsParams) WithTimeout

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

WithTimeout adds the timeout to the get plugins params

func (*GetPluginsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPluginsReader

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

GetPluginsReader is a Reader for the GetPlugins structure.

func (*GetPluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginsUnauthorized

type GetPluginsUnauthorized struct {
	Payload *models.Error
}

GetPluginsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPluginsUnauthorized

func NewGetPluginsUnauthorized() *GetPluginsUnauthorized

NewGetPluginsUnauthorized creates a GetPluginsUnauthorized with default headers values

func (*GetPluginsUnauthorized) Code

func (o *GetPluginsUnauthorized) Code() int

Code gets the status code for the get plugins unauthorized response

func (*GetPluginsUnauthorized) Error

func (o *GetPluginsUnauthorized) Error() string

func (*GetPluginsUnauthorized) GetPayload

func (o *GetPluginsUnauthorized) GetPayload() *models.Error

func (*GetPluginsUnauthorized) IsClientError

func (o *GetPluginsUnauthorized) IsClientError() bool

IsClientError returns true when this get plugins unauthorized response has a 4xx status code

func (*GetPluginsUnauthorized) IsCode

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

IsCode returns true when this get plugins unauthorized response a status code equal to that given

func (*GetPluginsUnauthorized) IsRedirect

func (o *GetPluginsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get plugins unauthorized response has a 3xx status code

func (*GetPluginsUnauthorized) IsServerError

func (o *GetPluginsUnauthorized) IsServerError() bool

IsServerError returns true when this get plugins unauthorized response has a 5xx status code

func (*GetPluginsUnauthorized) IsSuccess

func (o *GetPluginsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get plugins unauthorized response has a 2xx status code

func (*GetPluginsUnauthorized) String

func (o *GetPluginsUnauthorized) String() string

type UpdatePluginConfigBadRequest

type UpdatePluginConfigBadRequest struct {
	Payload *models.Error
}

UpdatePluginConfigBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdatePluginConfigBadRequest

func NewUpdatePluginConfigBadRequest() *UpdatePluginConfigBadRequest

NewUpdatePluginConfigBadRequest creates a UpdatePluginConfigBadRequest with default headers values

func (*UpdatePluginConfigBadRequest) Code

Code gets the status code for the update plugin config bad request response

func (*UpdatePluginConfigBadRequest) Error

func (*UpdatePluginConfigBadRequest) GetPayload

func (o *UpdatePluginConfigBadRequest) GetPayload() *models.Error

func (*UpdatePluginConfigBadRequest) IsClientError

func (o *UpdatePluginConfigBadRequest) IsClientError() bool

IsClientError returns true when this update plugin config bad request response has a 4xx status code

func (*UpdatePluginConfigBadRequest) IsCode

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

IsCode returns true when this update plugin config bad request response a status code equal to that given

func (*UpdatePluginConfigBadRequest) IsRedirect

func (o *UpdatePluginConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this update plugin config bad request response has a 3xx status code

func (*UpdatePluginConfigBadRequest) IsServerError

func (o *UpdatePluginConfigBadRequest) IsServerError() bool

IsServerError returns true when this update plugin config bad request response has a 5xx status code

func (*UpdatePluginConfigBadRequest) IsSuccess

func (o *UpdatePluginConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this update plugin config bad request response has a 2xx status code

func (*UpdatePluginConfigBadRequest) String

type UpdatePluginConfigForbidden

type UpdatePluginConfigForbidden struct {
	Payload *models.Error
}

UpdatePluginConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdatePluginConfigForbidden

func NewUpdatePluginConfigForbidden() *UpdatePluginConfigForbidden

NewUpdatePluginConfigForbidden creates a UpdatePluginConfigForbidden with default headers values

func (*UpdatePluginConfigForbidden) Code

func (o *UpdatePluginConfigForbidden) Code() int

Code gets the status code for the update plugin config forbidden response

func (*UpdatePluginConfigForbidden) Error

func (*UpdatePluginConfigForbidden) GetPayload

func (o *UpdatePluginConfigForbidden) GetPayload() *models.Error

func (*UpdatePluginConfigForbidden) IsClientError

func (o *UpdatePluginConfigForbidden) IsClientError() bool

IsClientError returns true when this update plugin config forbidden response has a 4xx status code

func (*UpdatePluginConfigForbidden) IsCode

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

IsCode returns true when this update plugin config forbidden response a status code equal to that given

func (*UpdatePluginConfigForbidden) IsRedirect

func (o *UpdatePluginConfigForbidden) IsRedirect() bool

IsRedirect returns true when this update plugin config forbidden response has a 3xx status code

func (*UpdatePluginConfigForbidden) IsServerError

func (o *UpdatePluginConfigForbidden) IsServerError() bool

IsServerError returns true when this update plugin config forbidden response has a 5xx status code

func (*UpdatePluginConfigForbidden) IsSuccess

func (o *UpdatePluginConfigForbidden) IsSuccess() bool

IsSuccess returns true when this update plugin config forbidden response has a 2xx status code

func (*UpdatePluginConfigForbidden) String

func (o *UpdatePluginConfigForbidden) String() string

type UpdatePluginConfigInternalServerError

type UpdatePluginConfigInternalServerError struct {
	Payload *models.Error
}

UpdatePluginConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdatePluginConfigInternalServerError

func NewUpdatePluginConfigInternalServerError() *UpdatePluginConfigInternalServerError

NewUpdatePluginConfigInternalServerError creates a UpdatePluginConfigInternalServerError with default headers values

func (*UpdatePluginConfigInternalServerError) Code

Code gets the status code for the update plugin config internal server error response

func (*UpdatePluginConfigInternalServerError) Error

func (*UpdatePluginConfigInternalServerError) GetPayload

func (*UpdatePluginConfigInternalServerError) IsClientError

func (o *UpdatePluginConfigInternalServerError) IsClientError() bool

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

func (*UpdatePluginConfigInternalServerError) IsCode

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

func (*UpdatePluginConfigInternalServerError) IsRedirect

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

func (*UpdatePluginConfigInternalServerError) IsServerError

func (o *UpdatePluginConfigInternalServerError) IsServerError() bool

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

func (*UpdatePluginConfigInternalServerError) IsSuccess

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

func (*UpdatePluginConfigInternalServerError) String

type UpdatePluginConfigNotFound

type UpdatePluginConfigNotFound struct {
	Payload *models.Error
}

UpdatePluginConfigNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdatePluginConfigNotFound

func NewUpdatePluginConfigNotFound() *UpdatePluginConfigNotFound

NewUpdatePluginConfigNotFound creates a UpdatePluginConfigNotFound with default headers values

func (*UpdatePluginConfigNotFound) Code

func (o *UpdatePluginConfigNotFound) Code() int

Code gets the status code for the update plugin config not found response

func (*UpdatePluginConfigNotFound) Error

func (*UpdatePluginConfigNotFound) GetPayload

func (o *UpdatePluginConfigNotFound) GetPayload() *models.Error

func (*UpdatePluginConfigNotFound) IsClientError

func (o *UpdatePluginConfigNotFound) IsClientError() bool

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

func (*UpdatePluginConfigNotFound) IsCode

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

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

func (*UpdatePluginConfigNotFound) IsRedirect

func (o *UpdatePluginConfigNotFound) IsRedirect() bool

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

func (*UpdatePluginConfigNotFound) IsServerError

func (o *UpdatePluginConfigNotFound) IsServerError() bool

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

func (*UpdatePluginConfigNotFound) IsSuccess

func (o *UpdatePluginConfigNotFound) IsSuccess() bool

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

func (*UpdatePluginConfigNotFound) String

func (o *UpdatePluginConfigNotFound) String() string

type UpdatePluginConfigOK

type UpdatePluginConfigOK struct {
}

UpdatePluginConfigOK describes a response with status code 200, with default header values.

Ok

func NewUpdatePluginConfigOK

func NewUpdatePluginConfigOK() *UpdatePluginConfigOK

NewUpdatePluginConfigOK creates a UpdatePluginConfigOK with default headers values

func (*UpdatePluginConfigOK) Code

func (o *UpdatePluginConfigOK) Code() int

Code gets the status code for the update plugin config o k response

func (*UpdatePluginConfigOK) Error

func (o *UpdatePluginConfigOK) Error() string

func (*UpdatePluginConfigOK) IsClientError

func (o *UpdatePluginConfigOK) IsClientError() bool

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

func (*UpdatePluginConfigOK) IsCode

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

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

func (*UpdatePluginConfigOK) IsRedirect

func (o *UpdatePluginConfigOK) IsRedirect() bool

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

func (*UpdatePluginConfigOK) IsServerError

func (o *UpdatePluginConfigOK) IsServerError() bool

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

func (*UpdatePluginConfigOK) IsSuccess

func (o *UpdatePluginConfigOK) IsSuccess() bool

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

func (*UpdatePluginConfigOK) String

func (o *UpdatePluginConfigOK) String() string

type UpdatePluginConfigParams

type UpdatePluginConfigParams struct {

	/* ID.

	   the plugin id

	   Format: int64
	*/
	ID int64

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

UpdatePluginConfigParams contains all the parameters to send to the API endpoint

for the update plugin config operation.

Typically these are written to a http.Request.

func NewUpdatePluginConfigParams

func NewUpdatePluginConfigParams() *UpdatePluginConfigParams

NewUpdatePluginConfigParams creates a new UpdatePluginConfigParams object, with the default timeout for this client.

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

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

func NewUpdatePluginConfigParamsWithContext

func NewUpdatePluginConfigParamsWithContext(ctx context.Context) *UpdatePluginConfigParams

NewUpdatePluginConfigParamsWithContext creates a new UpdatePluginConfigParams object with the ability to set a context for a request.

func NewUpdatePluginConfigParamsWithHTTPClient

func NewUpdatePluginConfigParamsWithHTTPClient(client *http.Client) *UpdatePluginConfigParams

NewUpdatePluginConfigParamsWithHTTPClient creates a new UpdatePluginConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePluginConfigParamsWithTimeout

func NewUpdatePluginConfigParamsWithTimeout(timeout time.Duration) *UpdatePluginConfigParams

NewUpdatePluginConfigParamsWithTimeout creates a new UpdatePluginConfigParams object with the ability to set a timeout on a request.

func (*UpdatePluginConfigParams) SetContext

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

SetContext adds the context to the update plugin config params

func (*UpdatePluginConfigParams) SetDefaults

func (o *UpdatePluginConfigParams) SetDefaults()

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

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

func (*UpdatePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update plugin config params

func (*UpdatePluginConfigParams) SetID

func (o *UpdatePluginConfigParams) SetID(id int64)

SetID adds the id to the update plugin config params

func (*UpdatePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update plugin config params

func (*UpdatePluginConfigParams) WithContext

WithContext adds the context to the update plugin config params

func (*UpdatePluginConfigParams) WithDefaults

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

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

func (*UpdatePluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update plugin config params

func (*UpdatePluginConfigParams) WithID

WithID adds the id to the update plugin config params

func (*UpdatePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the update plugin config params

func (*UpdatePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePluginConfigReader

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

UpdatePluginConfigReader is a Reader for the UpdatePluginConfig structure.

func (*UpdatePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePluginConfigUnauthorized

type UpdatePluginConfigUnauthorized struct {
	Payload *models.Error
}

UpdatePluginConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdatePluginConfigUnauthorized

func NewUpdatePluginConfigUnauthorized() *UpdatePluginConfigUnauthorized

NewUpdatePluginConfigUnauthorized creates a UpdatePluginConfigUnauthorized with default headers values

func (*UpdatePluginConfigUnauthorized) Code

Code gets the status code for the update plugin config unauthorized response

func (*UpdatePluginConfigUnauthorized) Error

func (*UpdatePluginConfigUnauthorized) GetPayload

func (o *UpdatePluginConfigUnauthorized) GetPayload() *models.Error

func (*UpdatePluginConfigUnauthorized) IsClientError

func (o *UpdatePluginConfigUnauthorized) IsClientError() bool

IsClientError returns true when this update plugin config unauthorized response has a 4xx status code

func (*UpdatePluginConfigUnauthorized) IsCode

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

IsCode returns true when this update plugin config unauthorized response a status code equal to that given

func (*UpdatePluginConfigUnauthorized) IsRedirect

func (o *UpdatePluginConfigUnauthorized) IsRedirect() bool

IsRedirect returns true when this update plugin config unauthorized response has a 3xx status code

func (*UpdatePluginConfigUnauthorized) IsServerError

func (o *UpdatePluginConfigUnauthorized) IsServerError() bool

IsServerError returns true when this update plugin config unauthorized response has a 5xx status code

func (*UpdatePluginConfigUnauthorized) IsSuccess

func (o *UpdatePluginConfigUnauthorized) IsSuccess() bool

IsSuccess returns true when this update plugin config unauthorized response has a 2xx status code

func (*UpdatePluginConfigUnauthorized) String

Jump to

Keyboard shortcuts

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