Documentation ¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationxYaml(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxYaml(r *runtime.ClientOperation)
- type Client
- func (a *Client) DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisablePluginOK, error)
- func (a *Client) EnablePlugin(params *EnablePluginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnablePluginOK, error)
- func (a *Client) GetPluginConfig(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPluginConfigOK, error)
- func (a *Client) GetPluginDisplay(params *GetPluginDisplayParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPluginDisplayOK, error)
- func (a *Client) GetPlugins(params *GetPluginsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPluginsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePluginConfig(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePluginConfigOK, error)
- type ClientOption
- type ClientService
- type DisablePluginForbidden
- func (o *DisablePluginForbidden) Code() int
- func (o *DisablePluginForbidden) Error() string
- func (o *DisablePluginForbidden) GetPayload() *models.Error
- func (o *DisablePluginForbidden) IsClientError() bool
- func (o *DisablePluginForbidden) IsCode(code int) bool
- func (o *DisablePluginForbidden) IsRedirect() bool
- func (o *DisablePluginForbidden) IsServerError() bool
- func (o *DisablePluginForbidden) IsSuccess() bool
- func (o *DisablePluginForbidden) String() string
- type DisablePluginInternalServerError
- func (o *DisablePluginInternalServerError) Code() int
- func (o *DisablePluginInternalServerError) Error() string
- func (o *DisablePluginInternalServerError) GetPayload() *models.Error
- func (o *DisablePluginInternalServerError) IsClientError() bool
- func (o *DisablePluginInternalServerError) IsCode(code int) bool
- func (o *DisablePluginInternalServerError) IsRedirect() bool
- func (o *DisablePluginInternalServerError) IsServerError() bool
- func (o *DisablePluginInternalServerError) IsSuccess() bool
- func (o *DisablePluginInternalServerError) String() string
- type DisablePluginNotFound
- func (o *DisablePluginNotFound) Code() int
- func (o *DisablePluginNotFound) Error() string
- func (o *DisablePluginNotFound) GetPayload() *models.Error
- func (o *DisablePluginNotFound) IsClientError() bool
- func (o *DisablePluginNotFound) IsCode(code int) bool
- func (o *DisablePluginNotFound) IsRedirect() bool
- func (o *DisablePluginNotFound) IsServerError() bool
- func (o *DisablePluginNotFound) IsSuccess() bool
- func (o *DisablePluginNotFound) String() string
- type DisablePluginOK
- func (o *DisablePluginOK) Code() int
- func (o *DisablePluginOK) Error() string
- func (o *DisablePluginOK) IsClientError() bool
- func (o *DisablePluginOK) IsCode(code int) bool
- func (o *DisablePluginOK) IsRedirect() bool
- func (o *DisablePluginOK) IsServerError() bool
- func (o *DisablePluginOK) IsSuccess() bool
- func (o *DisablePluginOK) String() string
- type DisablePluginParams
- func (o *DisablePluginParams) SetContext(ctx context.Context)
- func (o *DisablePluginParams) SetDefaults()
- func (o *DisablePluginParams) SetHTTPClient(client *http.Client)
- func (o *DisablePluginParams) SetID(id int64)
- func (o *DisablePluginParams) SetTimeout(timeout time.Duration)
- func (o *DisablePluginParams) WithContext(ctx context.Context) *DisablePluginParams
- func (o *DisablePluginParams) WithDefaults() *DisablePluginParams
- func (o *DisablePluginParams) WithHTTPClient(client *http.Client) *DisablePluginParams
- func (o *DisablePluginParams) WithID(id int64) *DisablePluginParams
- func (o *DisablePluginParams) WithTimeout(timeout time.Duration) *DisablePluginParams
- func (o *DisablePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisablePluginReader
- type DisablePluginUnauthorized
- func (o *DisablePluginUnauthorized) Code() int
- func (o *DisablePluginUnauthorized) Error() string
- func (o *DisablePluginUnauthorized) GetPayload() *models.Error
- func (o *DisablePluginUnauthorized) IsClientError() bool
- func (o *DisablePluginUnauthorized) IsCode(code int) bool
- func (o *DisablePluginUnauthorized) IsRedirect() bool
- func (o *DisablePluginUnauthorized) IsServerError() bool
- func (o *DisablePluginUnauthorized) IsSuccess() bool
- func (o *DisablePluginUnauthorized) String() string
- type EnablePluginForbidden
- func (o *EnablePluginForbidden) Code() int
- func (o *EnablePluginForbidden) Error() string
- func (o *EnablePluginForbidden) GetPayload() *models.Error
- func (o *EnablePluginForbidden) IsClientError() bool
- func (o *EnablePluginForbidden) IsCode(code int) bool
- func (o *EnablePluginForbidden) IsRedirect() bool
- func (o *EnablePluginForbidden) IsServerError() bool
- func (o *EnablePluginForbidden) IsSuccess() bool
- func (o *EnablePluginForbidden) String() string
- type EnablePluginInternalServerError
- func (o *EnablePluginInternalServerError) Code() int
- func (o *EnablePluginInternalServerError) Error() string
- func (o *EnablePluginInternalServerError) GetPayload() *models.Error
- func (o *EnablePluginInternalServerError) IsClientError() bool
- func (o *EnablePluginInternalServerError) IsCode(code int) bool
- func (o *EnablePluginInternalServerError) IsRedirect() bool
- func (o *EnablePluginInternalServerError) IsServerError() bool
- func (o *EnablePluginInternalServerError) IsSuccess() bool
- func (o *EnablePluginInternalServerError) String() string
- type EnablePluginNotFound
- func (o *EnablePluginNotFound) Code() int
- func (o *EnablePluginNotFound) Error() string
- func (o *EnablePluginNotFound) GetPayload() *models.Error
- func (o *EnablePluginNotFound) IsClientError() bool
- func (o *EnablePluginNotFound) IsCode(code int) bool
- func (o *EnablePluginNotFound) IsRedirect() bool
- func (o *EnablePluginNotFound) IsServerError() bool
- func (o *EnablePluginNotFound) IsSuccess() bool
- func (o *EnablePluginNotFound) String() string
- type EnablePluginOK
- func (o *EnablePluginOK) Code() int
- func (o *EnablePluginOK) Error() string
- func (o *EnablePluginOK) IsClientError() bool
- func (o *EnablePluginOK) IsCode(code int) bool
- func (o *EnablePluginOK) IsRedirect() bool
- func (o *EnablePluginOK) IsServerError() bool
- func (o *EnablePluginOK) IsSuccess() bool
- func (o *EnablePluginOK) String() string
- type EnablePluginParams
- func (o *EnablePluginParams) SetContext(ctx context.Context)
- func (o *EnablePluginParams) SetDefaults()
- func (o *EnablePluginParams) SetHTTPClient(client *http.Client)
- func (o *EnablePluginParams) SetID(id int64)
- func (o *EnablePluginParams) SetTimeout(timeout time.Duration)
- func (o *EnablePluginParams) WithContext(ctx context.Context) *EnablePluginParams
- func (o *EnablePluginParams) WithDefaults() *EnablePluginParams
- func (o *EnablePluginParams) WithHTTPClient(client *http.Client) *EnablePluginParams
- func (o *EnablePluginParams) WithID(id int64) *EnablePluginParams
- func (o *EnablePluginParams) WithTimeout(timeout time.Duration) *EnablePluginParams
- func (o *EnablePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnablePluginReader
- type EnablePluginUnauthorized
- func (o *EnablePluginUnauthorized) Code() int
- func (o *EnablePluginUnauthorized) Error() string
- func (o *EnablePluginUnauthorized) GetPayload() *models.Error
- func (o *EnablePluginUnauthorized) IsClientError() bool
- func (o *EnablePluginUnauthorized) IsCode(code int) bool
- func (o *EnablePluginUnauthorized) IsRedirect() bool
- func (o *EnablePluginUnauthorized) IsServerError() bool
- func (o *EnablePluginUnauthorized) IsSuccess() bool
- func (o *EnablePluginUnauthorized) String() string
- type GetPluginConfigBadRequest
- func (o *GetPluginConfigBadRequest) Code() int
- func (o *GetPluginConfigBadRequest) Error() string
- func (o *GetPluginConfigBadRequest) GetPayload() *models.Error
- func (o *GetPluginConfigBadRequest) IsClientError() bool
- func (o *GetPluginConfigBadRequest) IsCode(code int) bool
- func (o *GetPluginConfigBadRequest) IsRedirect() bool
- func (o *GetPluginConfigBadRequest) IsServerError() bool
- func (o *GetPluginConfigBadRequest) IsSuccess() bool
- func (o *GetPluginConfigBadRequest) String() string
- type GetPluginConfigForbidden
- func (o *GetPluginConfigForbidden) Code() int
- func (o *GetPluginConfigForbidden) Error() string
- func (o *GetPluginConfigForbidden) GetPayload() *models.Error
- func (o *GetPluginConfigForbidden) IsClientError() bool
- func (o *GetPluginConfigForbidden) IsCode(code int) bool
- func (o *GetPluginConfigForbidden) IsRedirect() bool
- func (o *GetPluginConfigForbidden) IsServerError() bool
- func (o *GetPluginConfigForbidden) IsSuccess() bool
- func (o *GetPluginConfigForbidden) String() string
- type GetPluginConfigInternalServerError
- func (o *GetPluginConfigInternalServerError) Code() int
- func (o *GetPluginConfigInternalServerError) Error() string
- func (o *GetPluginConfigInternalServerError) GetPayload() *models.Error
- func (o *GetPluginConfigInternalServerError) IsClientError() bool
- func (o *GetPluginConfigInternalServerError) IsCode(code int) bool
- func (o *GetPluginConfigInternalServerError) IsRedirect() bool
- func (o *GetPluginConfigInternalServerError) IsServerError() bool
- func (o *GetPluginConfigInternalServerError) IsSuccess() bool
- func (o *GetPluginConfigInternalServerError) String() string
- type GetPluginConfigNotFound
- func (o *GetPluginConfigNotFound) Code() int
- func (o *GetPluginConfigNotFound) Error() string
- func (o *GetPluginConfigNotFound) GetPayload() *models.Error
- func (o *GetPluginConfigNotFound) IsClientError() bool
- func (o *GetPluginConfigNotFound) IsCode(code int) bool
- func (o *GetPluginConfigNotFound) IsRedirect() bool
- func (o *GetPluginConfigNotFound) IsServerError() bool
- func (o *GetPluginConfigNotFound) IsSuccess() bool
- func (o *GetPluginConfigNotFound) String() string
- type GetPluginConfigOK
- func (o *GetPluginConfigOK) Code() int
- func (o *GetPluginConfigOK) Error() string
- func (o *GetPluginConfigOK) GetPayload() interface{}
- func (o *GetPluginConfigOK) IsClientError() bool
- func (o *GetPluginConfigOK) IsCode(code int) bool
- func (o *GetPluginConfigOK) IsRedirect() bool
- func (o *GetPluginConfigOK) IsServerError() bool
- func (o *GetPluginConfigOK) IsSuccess() bool
- func (o *GetPluginConfigOK) String() string
- type GetPluginConfigParams
- func NewGetPluginConfigParams() *GetPluginConfigParams
- func NewGetPluginConfigParamsWithContext(ctx context.Context) *GetPluginConfigParams
- func NewGetPluginConfigParamsWithHTTPClient(client *http.Client) *GetPluginConfigParams
- func NewGetPluginConfigParamsWithTimeout(timeout time.Duration) *GetPluginConfigParams
- func (o *GetPluginConfigParams) SetContext(ctx context.Context)
- func (o *GetPluginConfigParams) SetDefaults()
- func (o *GetPluginConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginConfigParams) SetID(id int64)
- func (o *GetPluginConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginConfigParams) WithContext(ctx context.Context) *GetPluginConfigParams
- func (o *GetPluginConfigParams) WithDefaults() *GetPluginConfigParams
- func (o *GetPluginConfigParams) WithHTTPClient(client *http.Client) *GetPluginConfigParams
- func (o *GetPluginConfigParams) WithID(id int64) *GetPluginConfigParams
- func (o *GetPluginConfigParams) WithTimeout(timeout time.Duration) *GetPluginConfigParams
- func (o *GetPluginConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginConfigReader
- type GetPluginConfigUnauthorized
- func (o *GetPluginConfigUnauthorized) Code() int
- func (o *GetPluginConfigUnauthorized) Error() string
- func (o *GetPluginConfigUnauthorized) GetPayload() *models.Error
- func (o *GetPluginConfigUnauthorized) IsClientError() bool
- func (o *GetPluginConfigUnauthorized) IsCode(code int) bool
- func (o *GetPluginConfigUnauthorized) IsRedirect() bool
- func (o *GetPluginConfigUnauthorized) IsServerError() bool
- func (o *GetPluginConfigUnauthorized) IsSuccess() bool
- func (o *GetPluginConfigUnauthorized) String() string
- type GetPluginDisplayForbidden
- func (o *GetPluginDisplayForbidden) Code() int
- func (o *GetPluginDisplayForbidden) Error() string
- func (o *GetPluginDisplayForbidden) GetPayload() *models.Error
- func (o *GetPluginDisplayForbidden) IsClientError() bool
- func (o *GetPluginDisplayForbidden) IsCode(code int) bool
- func (o *GetPluginDisplayForbidden) IsRedirect() bool
- func (o *GetPluginDisplayForbidden) IsServerError() bool
- func (o *GetPluginDisplayForbidden) IsSuccess() bool
- func (o *GetPluginDisplayForbidden) String() string
- type GetPluginDisplayInternalServerError
- func (o *GetPluginDisplayInternalServerError) Code() int
- func (o *GetPluginDisplayInternalServerError) Error() string
- func (o *GetPluginDisplayInternalServerError) GetPayload() *models.Error
- func (o *GetPluginDisplayInternalServerError) IsClientError() bool
- func (o *GetPluginDisplayInternalServerError) IsCode(code int) bool
- func (o *GetPluginDisplayInternalServerError) IsRedirect() bool
- func (o *GetPluginDisplayInternalServerError) IsServerError() bool
- func (o *GetPluginDisplayInternalServerError) IsSuccess() bool
- func (o *GetPluginDisplayInternalServerError) String() string
- type GetPluginDisplayNotFound
- func (o *GetPluginDisplayNotFound) Code() int
- func (o *GetPluginDisplayNotFound) Error() string
- func (o *GetPluginDisplayNotFound) GetPayload() *models.Error
- func (o *GetPluginDisplayNotFound) IsClientError() bool
- func (o *GetPluginDisplayNotFound) IsCode(code int) bool
- func (o *GetPluginDisplayNotFound) IsRedirect() bool
- func (o *GetPluginDisplayNotFound) IsServerError() bool
- func (o *GetPluginDisplayNotFound) IsSuccess() bool
- func (o *GetPluginDisplayNotFound) String() string
- type GetPluginDisplayOK
- func (o *GetPluginDisplayOK) Code() int
- func (o *GetPluginDisplayOK) Error() string
- func (o *GetPluginDisplayOK) GetPayload() string
- func (o *GetPluginDisplayOK) IsClientError() bool
- func (o *GetPluginDisplayOK) IsCode(code int) bool
- func (o *GetPluginDisplayOK) IsRedirect() bool
- func (o *GetPluginDisplayOK) IsServerError() bool
- func (o *GetPluginDisplayOK) IsSuccess() bool
- func (o *GetPluginDisplayOK) String() string
- type GetPluginDisplayParams
- func NewGetPluginDisplayParams() *GetPluginDisplayParams
- func NewGetPluginDisplayParamsWithContext(ctx context.Context) *GetPluginDisplayParams
- func NewGetPluginDisplayParamsWithHTTPClient(client *http.Client) *GetPluginDisplayParams
- func NewGetPluginDisplayParamsWithTimeout(timeout time.Duration) *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) SetContext(ctx context.Context)
- func (o *GetPluginDisplayParams) SetDefaults()
- func (o *GetPluginDisplayParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginDisplayParams) SetID(id int64)
- func (o *GetPluginDisplayParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginDisplayParams) WithContext(ctx context.Context) *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) WithDefaults() *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) WithHTTPClient(client *http.Client) *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) WithID(id int64) *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) WithTimeout(timeout time.Duration) *GetPluginDisplayParams
- func (o *GetPluginDisplayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginDisplayReader
- type GetPluginDisplayUnauthorized
- func (o *GetPluginDisplayUnauthorized) Code() int
- func (o *GetPluginDisplayUnauthorized) Error() string
- func (o *GetPluginDisplayUnauthorized) GetPayload() *models.Error
- func (o *GetPluginDisplayUnauthorized) IsClientError() bool
- func (o *GetPluginDisplayUnauthorized) IsCode(code int) bool
- func (o *GetPluginDisplayUnauthorized) IsRedirect() bool
- func (o *GetPluginDisplayUnauthorized) IsServerError() bool
- func (o *GetPluginDisplayUnauthorized) IsSuccess() bool
- func (o *GetPluginDisplayUnauthorized) String() string
- type GetPluginsForbidden
- func (o *GetPluginsForbidden) Code() int
- func (o *GetPluginsForbidden) Error() string
- func (o *GetPluginsForbidden) GetPayload() *models.Error
- func (o *GetPluginsForbidden) IsClientError() bool
- func (o *GetPluginsForbidden) IsCode(code int) bool
- func (o *GetPluginsForbidden) IsRedirect() bool
- func (o *GetPluginsForbidden) IsServerError() bool
- func (o *GetPluginsForbidden) IsSuccess() bool
- func (o *GetPluginsForbidden) String() string
- type GetPluginsInternalServerError
- func (o *GetPluginsInternalServerError) Code() int
- func (o *GetPluginsInternalServerError) Error() string
- func (o *GetPluginsInternalServerError) GetPayload() *models.Error
- func (o *GetPluginsInternalServerError) IsClientError() bool
- func (o *GetPluginsInternalServerError) IsCode(code int) bool
- func (o *GetPluginsInternalServerError) IsRedirect() bool
- func (o *GetPluginsInternalServerError) IsServerError() bool
- func (o *GetPluginsInternalServerError) IsSuccess() bool
- func (o *GetPluginsInternalServerError) String() string
- type GetPluginsNotFound
- func (o *GetPluginsNotFound) Code() int
- func (o *GetPluginsNotFound) Error() string
- func (o *GetPluginsNotFound) GetPayload() *models.Error
- func (o *GetPluginsNotFound) IsClientError() bool
- func (o *GetPluginsNotFound) IsCode(code int) bool
- func (o *GetPluginsNotFound) IsRedirect() bool
- func (o *GetPluginsNotFound) IsServerError() bool
- func (o *GetPluginsNotFound) IsSuccess() bool
- func (o *GetPluginsNotFound) String() string
- type GetPluginsOK
- func (o *GetPluginsOK) Code() int
- func (o *GetPluginsOK) Error() string
- func (o *GetPluginsOK) GetPayload() []*models.PluginConfExternal
- func (o *GetPluginsOK) IsClientError() bool
- func (o *GetPluginsOK) IsCode(code int) bool
- func (o *GetPluginsOK) IsRedirect() bool
- func (o *GetPluginsOK) IsServerError() bool
- func (o *GetPluginsOK) IsSuccess() bool
- func (o *GetPluginsOK) String() string
- type GetPluginsParams
- func (o *GetPluginsParams) SetContext(ctx context.Context)
- func (o *GetPluginsParams) SetDefaults()
- func (o *GetPluginsParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginsParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginsParams) WithContext(ctx context.Context) *GetPluginsParams
- func (o *GetPluginsParams) WithDefaults() *GetPluginsParams
- func (o *GetPluginsParams) WithHTTPClient(client *http.Client) *GetPluginsParams
- func (o *GetPluginsParams) WithTimeout(timeout time.Duration) *GetPluginsParams
- func (o *GetPluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginsReader
- type GetPluginsUnauthorized
- func (o *GetPluginsUnauthorized) Code() int
- func (o *GetPluginsUnauthorized) Error() string
- func (o *GetPluginsUnauthorized) GetPayload() *models.Error
- func (o *GetPluginsUnauthorized) IsClientError() bool
- func (o *GetPluginsUnauthorized) IsCode(code int) bool
- func (o *GetPluginsUnauthorized) IsRedirect() bool
- func (o *GetPluginsUnauthorized) IsServerError() bool
- func (o *GetPluginsUnauthorized) IsSuccess() bool
- func (o *GetPluginsUnauthorized) String() string
- type UpdatePluginConfigBadRequest
- func (o *UpdatePluginConfigBadRequest) Code() int
- func (o *UpdatePluginConfigBadRequest) Error() string
- func (o *UpdatePluginConfigBadRequest) GetPayload() *models.Error
- func (o *UpdatePluginConfigBadRequest) IsClientError() bool
- func (o *UpdatePluginConfigBadRequest) IsCode(code int) bool
- func (o *UpdatePluginConfigBadRequest) IsRedirect() bool
- func (o *UpdatePluginConfigBadRequest) IsServerError() bool
- func (o *UpdatePluginConfigBadRequest) IsSuccess() bool
- func (o *UpdatePluginConfigBadRequest) String() string
- type UpdatePluginConfigForbidden
- func (o *UpdatePluginConfigForbidden) Code() int
- func (o *UpdatePluginConfigForbidden) Error() string
- func (o *UpdatePluginConfigForbidden) GetPayload() *models.Error
- func (o *UpdatePluginConfigForbidden) IsClientError() bool
- func (o *UpdatePluginConfigForbidden) IsCode(code int) bool
- func (o *UpdatePluginConfigForbidden) IsRedirect() bool
- func (o *UpdatePluginConfigForbidden) IsServerError() bool
- func (o *UpdatePluginConfigForbidden) IsSuccess() bool
- func (o *UpdatePluginConfigForbidden) String() string
- type UpdatePluginConfigInternalServerError
- func (o *UpdatePluginConfigInternalServerError) Code() int
- func (o *UpdatePluginConfigInternalServerError) Error() string
- func (o *UpdatePluginConfigInternalServerError) GetPayload() *models.Error
- func (o *UpdatePluginConfigInternalServerError) IsClientError() bool
- func (o *UpdatePluginConfigInternalServerError) IsCode(code int) bool
- func (o *UpdatePluginConfigInternalServerError) IsRedirect() bool
- func (o *UpdatePluginConfigInternalServerError) IsServerError() bool
- func (o *UpdatePluginConfigInternalServerError) IsSuccess() bool
- func (o *UpdatePluginConfigInternalServerError) String() string
- type UpdatePluginConfigNotFound
- func (o *UpdatePluginConfigNotFound) Code() int
- func (o *UpdatePluginConfigNotFound) Error() string
- func (o *UpdatePluginConfigNotFound) GetPayload() *models.Error
- func (o *UpdatePluginConfigNotFound) IsClientError() bool
- func (o *UpdatePluginConfigNotFound) IsCode(code int) bool
- func (o *UpdatePluginConfigNotFound) IsRedirect() bool
- func (o *UpdatePluginConfigNotFound) IsServerError() bool
- func (o *UpdatePluginConfigNotFound) IsSuccess() bool
- func (o *UpdatePluginConfigNotFound) String() string
- type UpdatePluginConfigOK
- func (o *UpdatePluginConfigOK) Code() int
- func (o *UpdatePluginConfigOK) Error() string
- func (o *UpdatePluginConfigOK) IsClientError() bool
- func (o *UpdatePluginConfigOK) IsCode(code int) bool
- func (o *UpdatePluginConfigOK) IsRedirect() bool
- func (o *UpdatePluginConfigOK) IsServerError() bool
- func (o *UpdatePluginConfigOK) IsSuccess() bool
- func (o *UpdatePluginConfigOK) String() string
- type UpdatePluginConfigParams
- func NewUpdatePluginConfigParams() *UpdatePluginConfigParams
- func NewUpdatePluginConfigParamsWithContext(ctx context.Context) *UpdatePluginConfigParams
- func NewUpdatePluginConfigParamsWithHTTPClient(client *http.Client) *UpdatePluginConfigParams
- func NewUpdatePluginConfigParamsWithTimeout(timeout time.Duration) *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePluginConfigParams) SetDefaults()
- func (o *UpdatePluginConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePluginConfigParams) SetID(id int64)
- func (o *UpdatePluginConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePluginConfigParams) WithContext(ctx context.Context) *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) WithDefaults() *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) WithHTTPClient(client *http.Client) *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) WithID(id int64) *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) WithTimeout(timeout time.Duration) *UpdatePluginConfigParams
- func (o *UpdatePluginConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePluginConfigReader
- type UpdatePluginConfigUnauthorized
- func (o *UpdatePluginConfigUnauthorized) Code() int
- func (o *UpdatePluginConfigUnauthorized) Error() string
- func (o *UpdatePluginConfigUnauthorized) GetPayload() *models.Error
- func (o *UpdatePluginConfigUnauthorized) IsClientError() bool
- func (o *UpdatePluginConfigUnauthorized) IsCode(code int) bool
- func (o *UpdatePluginConfigUnauthorized) IsRedirect() bool
- func (o *UpdatePluginConfigUnauthorized) IsServerError() bool
- func (o *UpdatePluginConfigUnauthorized) IsSuccess() bool
- func (o *UpdatePluginConfigUnauthorized) String() string
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 ¶
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 ¶
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 ¶
func (o *DisablePluginInternalServerError) Code() int
Code gets the status code for the disable plugin internal server error response
func (*DisablePluginInternalServerError) Error ¶
func (o *DisablePluginInternalServerError) Error() string
func (*DisablePluginInternalServerError) GetPayload ¶
func (o *DisablePluginInternalServerError) GetPayload() *models.Error
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 ¶
func (o *DisablePluginInternalServerError) String() string
type DisablePluginNotFound ¶
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 ¶
func (o *DisablePluginParams) WithContext(ctx context.Context) *DisablePluginParams
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 ¶
func (o *DisablePluginParams) WithID(id int64) *DisablePluginParams
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 {
}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 ¶
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 ¶
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 ¶
func (o *EnablePluginInternalServerError) Code() int
Code gets the status code for the enable plugin internal server error response
func (*EnablePluginInternalServerError) Error ¶
func (o *EnablePluginInternalServerError) Error() string
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 ¶
func (o *EnablePluginInternalServerError) String() string
type EnablePluginNotFound ¶
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 ¶
func (o *EnablePluginParams) WithContext(ctx context.Context) *EnablePluginParams
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 ¶
func (o *EnablePluginParams) WithID(id int64) *EnablePluginParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *GetPluginConfigInternalServerError) Code() int
Code gets the status code for the get plugin config internal server error response
func (*GetPluginConfigInternalServerError) Error ¶
func (o *GetPluginConfigInternalServerError) Error() string
func (*GetPluginConfigInternalServerError) GetPayload ¶
func (o *GetPluginConfigInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetPluginConfigInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetPluginConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this get plugin config internal server error response has a 2xx status code
func (*GetPluginConfigInternalServerError) String ¶
func (o *GetPluginConfigInternalServerError) String() string
type GetPluginConfigNotFound ¶
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 ¶
func (o *GetPluginConfigParams) WithContext(ctx context.Context) *GetPluginConfigParams
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 ¶
func (o *GetPluginConfigParams) WithID(id int64) *GetPluginConfigParams
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 {
}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 (o *GetPluginConfigUnauthorized) Error() string
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 ¶
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 ¶
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 ¶
func (o *GetPluginDisplayInternalServerError) Code() int
Code gets the status code for the get plugin display internal server error response
func (*GetPluginDisplayInternalServerError) Error ¶
func (o *GetPluginDisplayInternalServerError) Error() string
func (*GetPluginDisplayInternalServerError) GetPayload ¶
func (o *GetPluginDisplayInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetPluginDisplayInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetPluginDisplayInternalServerError) IsSuccess() bool
IsSuccess returns true when this get plugin display internal server error response has a 2xx status code
func (*GetPluginDisplayInternalServerError) String ¶
func (o *GetPluginDisplayInternalServerError) String() string
type GetPluginDisplayNotFound ¶
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 ¶
func (o *GetPluginDisplayParams) WithContext(ctx context.Context) *GetPluginDisplayParams
WithContext adds the context to the get plugin display params
func (*GetPluginDisplayParams) WithDefaults ¶
func (o *GetPluginDisplayParams) WithDefaults() *GetPluginDisplayParams
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 ¶
func (o *GetPluginDisplayParams) WithID(id int64) *GetPluginDisplayParams
WithID adds the id to the get plugin display params
func (*GetPluginDisplayParams) WithTimeout ¶
func (o *GetPluginDisplayParams) WithTimeout(timeout time.Duration) *GetPluginDisplayParams
WithTimeout adds the timeout to the get plugin display params
func (*GetPluginDisplayParams) WriteToRequest ¶
func (o *GetPluginDisplayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetPluginDisplayUnauthorized) Code() int
Code gets the status code for the get plugin display unauthorized response
func (*GetPluginDisplayUnauthorized) Error ¶
func (o *GetPluginDisplayUnauthorized) Error() string
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 ¶
func (o *GetPluginDisplayUnauthorized) String() string
type GetPluginsForbidden ¶
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 ¶
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 ¶
func (o *GetPluginsInternalServerError) Code() int
Code gets the status code for the get plugins internal server error response
func (*GetPluginsInternalServerError) Error ¶
func (o *GetPluginsInternalServerError) Error() string
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 ¶
func (o *GetPluginsInternalServerError) String() string
type GetPluginsNotFound ¶
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 {
}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 ¶
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 ¶
func (o *UpdatePluginConfigBadRequest) Code() int
Code gets the status code for the update plugin config bad request response
func (*UpdatePluginConfigBadRequest) Error ¶
func (o *UpdatePluginConfigBadRequest) Error() string
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 ¶
func (o *UpdatePluginConfigBadRequest) String() string
type UpdatePluginConfigForbidden ¶
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 (o *UpdatePluginConfigForbidden) Error() string
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 ¶
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 ¶
func (o *UpdatePluginConfigInternalServerError) Code() int
Code gets the status code for the update plugin config internal server error response
func (*UpdatePluginConfigInternalServerError) Error ¶
func (o *UpdatePluginConfigInternalServerError) Error() string
func (*UpdatePluginConfigInternalServerError) GetPayload ¶
func (o *UpdatePluginConfigInternalServerError) GetPayload() *models.Error
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 ¶
func (o *UpdatePluginConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this update plugin config internal server error response a status code equal to that given
func (*UpdatePluginConfigInternalServerError) IsRedirect ¶
func (o *UpdatePluginConfigInternalServerError) IsRedirect() bool
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 ¶
func (o *UpdatePluginConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this update plugin config internal server error response has a 2xx status code
func (*UpdatePluginConfigInternalServerError) String ¶
func (o *UpdatePluginConfigInternalServerError) String() string
type UpdatePluginConfigNotFound ¶
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 (o *UpdatePluginConfigNotFound) Error() string
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 ¶
func (o *UpdatePluginConfigParams) WithContext(ctx context.Context) *UpdatePluginConfigParams
WithContext adds the context to the update plugin config params
func (*UpdatePluginConfigParams) WithDefaults ¶
func (o *UpdatePluginConfigParams) WithDefaults() *UpdatePluginConfigParams
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 ¶
func (o *UpdatePluginConfigParams) WithID(id int64) *UpdatePluginConfigParams
WithID adds the id to the update plugin config params
func (*UpdatePluginConfigParams) WithTimeout ¶
func (o *UpdatePluginConfigParams) WithTimeout(timeout time.Duration) *UpdatePluginConfigParams
WithTimeout adds the timeout to the update plugin config params
func (*UpdatePluginConfigParams) WriteToRequest ¶
func (o *UpdatePluginConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *UpdatePluginConfigUnauthorized) Code() int
Code gets the status code for the update plugin config unauthorized response
func (*UpdatePluginConfigUnauthorized) Error ¶
func (o *UpdatePluginConfigUnauthorized) Error() string
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 ¶
func (o *UpdatePluginConfigUnauthorized) String() string
Source Files ¶
- disable_plugin_parameters.go
- disable_plugin_responses.go
- enable_plugin_parameters.go
- enable_plugin_responses.go
- get_plugin_config_parameters.go
- get_plugin_config_responses.go
- get_plugin_display_parameters.go
- get_plugin_display_responses.go
- get_plugins_parameters.go
- get_plugins_responses.go
- plugin_client.go
- update_plugin_config_parameters.go
- update_plugin_config_responses.go