Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePlugin(params *DeletePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginOK, error)
- 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) ListPlugin(params *ListPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ListPluginOK, error)
- func (a *Client) ReadPlugin(params *ReadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ReadPluginOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, error)
- type ClientService
- type DeletePluginBadRequest
- type DeletePluginConflict
- type DeletePluginForbidden
- type DeletePluginInternalServerError
- type DeletePluginNotFound
- type DeletePluginOK
- type DeletePluginParams
- func (o *DeletePluginParams) SetContext(ctx context.Context)
- func (o *DeletePluginParams) SetHTTPClient(client *http.Client)
- func (o *DeletePluginParams) SetID(id int64)
- func (o *DeletePluginParams) SetTimeout(timeout time.Duration)
- func (o *DeletePluginParams) WithContext(ctx context.Context) *DeletePluginParams
- func (o *DeletePluginParams) WithHTTPClient(client *http.Client) *DeletePluginParams
- func (o *DeletePluginParams) WithID(id int64) *DeletePluginParams
- func (o *DeletePluginParams) WithTimeout(timeout time.Duration) *DeletePluginParams
- func (o *DeletePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePluginReader
- type DeletePluginUnauthorized
- type DisablePluginBadRequest
- type DisablePluginConflict
- type DisablePluginForbidden
- type DisablePluginInternalServerError
- type DisablePluginNotFound
- type DisablePluginOK
- type DisablePluginParams
- func (o *DisablePluginParams) SetContext(ctx context.Context)
- func (o *DisablePluginParams) SetHTTPClient(client *http.Client)
- func (o *DisablePluginParams) SetResource(resource *models.PluginDisableRequest)
- func (o *DisablePluginParams) SetTimeout(timeout time.Duration)
- func (o *DisablePluginParams) WithContext(ctx context.Context) *DisablePluginParams
- func (o *DisablePluginParams) WithHTTPClient(client *http.Client) *DisablePluginParams
- func (o *DisablePluginParams) WithResource(resource *models.PluginDisableRequest) *DisablePluginParams
- func (o *DisablePluginParams) WithTimeout(timeout time.Duration) *DisablePluginParams
- func (o *DisablePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisablePluginReader
- type DisablePluginUnauthorized
- type EnablePluginBadRequest
- type EnablePluginConflict
- type EnablePluginForbidden
- type EnablePluginInternalServerError
- type EnablePluginNotFound
- type EnablePluginOK
- type EnablePluginParams
- func (o *EnablePluginParams) SetContext(ctx context.Context)
- func (o *EnablePluginParams) SetHTTPClient(client *http.Client)
- func (o *EnablePluginParams) SetResource(resource *models.PluginEnableRequest)
- func (o *EnablePluginParams) SetTimeout(timeout time.Duration)
- func (o *EnablePluginParams) WithContext(ctx context.Context) *EnablePluginParams
- func (o *EnablePluginParams) WithHTTPClient(client *http.Client) *EnablePluginParams
- func (o *EnablePluginParams) WithResource(resource *models.PluginEnableRequest) *EnablePluginParams
- func (o *EnablePluginParams) WithTimeout(timeout time.Duration) *EnablePluginParams
- func (o *EnablePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnablePluginReader
- type EnablePluginUnauthorized
- type ListPluginBadRequest
- type ListPluginConflict
- type ListPluginForbidden
- type ListPluginInternalServerError
- type ListPluginNotFound
- type ListPluginOK
- type ListPluginParams
- func (o *ListPluginParams) SetContext(ctx context.Context)
- func (o *ListPluginParams) SetFields(fields *string)
- func (o *ListPluginParams) SetHTTPClient(client *http.Client)
- func (o *ListPluginParams) SetLimit(limit *int32)
- func (o *ListPluginParams) SetOrderby(orderby *string)
- func (o *ListPluginParams) SetQ(q *string)
- func (o *ListPluginParams) SetStart(start *int32)
- func (o *ListPluginParams) SetTimeout(timeout time.Duration)
- func (o *ListPluginParams) WithContext(ctx context.Context) *ListPluginParams
- func (o *ListPluginParams) WithFields(fields *string) *ListPluginParams
- func (o *ListPluginParams) WithHTTPClient(client *http.Client) *ListPluginParams
- func (o *ListPluginParams) WithLimit(limit *int32) *ListPluginParams
- func (o *ListPluginParams) WithOrderby(orderby *string) *ListPluginParams
- func (o *ListPluginParams) WithQ(q *string) *ListPluginParams
- func (o *ListPluginParams) WithStart(start *int32) *ListPluginParams
- func (o *ListPluginParams) WithTimeout(timeout time.Duration) *ListPluginParams
- func (o *ListPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPluginReader
- type ListPluginUnauthorized
- type ReadPluginBadRequest
- type ReadPluginConflict
- type ReadPluginForbidden
- type ReadPluginInternalServerError
- type ReadPluginNotFound
- type ReadPluginOK
- type ReadPluginParams
- func (o *ReadPluginParams) SetContext(ctx context.Context)
- func (o *ReadPluginParams) SetFields(fields *string)
- func (o *ReadPluginParams) SetHTTPClient(client *http.Client)
- func (o *ReadPluginParams) SetID(id int64)
- func (o *ReadPluginParams) SetTimeout(timeout time.Duration)
- func (o *ReadPluginParams) WithContext(ctx context.Context) *ReadPluginParams
- func (o *ReadPluginParams) WithFields(fields *string) *ReadPluginParams
- func (o *ReadPluginParams) WithHTTPClient(client *http.Client) *ReadPluginParams
- func (o *ReadPluginParams) WithID(id int64) *ReadPluginParams
- func (o *ReadPluginParams) WithTimeout(timeout time.Duration) *ReadPluginParams
- func (o *ReadPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadPluginReader
- type ReadPluginUnauthorized
- type UploadPluginBadRequest
- type UploadPluginConflict
- type UploadPluginCreated
- type UploadPluginForbidden
- type UploadPluginInternalServerError
- type UploadPluginNotFound
- type UploadPluginParams
- func (o *UploadPluginParams) SetContext(ctx context.Context)
- func (o *UploadPluginParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadPluginParams) SetHTTPClient(client *http.Client)
- func (o *UploadPluginParams) SetTimeout(timeout time.Duration)
- func (o *UploadPluginParams) WithContext(ctx context.Context) *UploadPluginParams
- func (o *UploadPluginParams) WithFile(file runtime.NamedReadCloser) *UploadPluginParams
- func (o *UploadPluginParams) WithHTTPClient(client *http.Client) *UploadPluginParams
- func (o *UploadPluginParams) WithTimeout(timeout time.Duration) *UploadPluginParams
- func (o *UploadPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadPluginReader
- type UploadPluginUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for plugin controller API
func (*Client) DeletePlugin ¶
func (a *Client) DeletePlugin(params *DeletePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginOK, error)
DeletePlugin deletes
func (*Client) DisablePlugin ¶
func (a *Client) DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DisablePluginOK, error)
DisablePlugin disables a plugin
func (*Client) EnablePlugin ¶
func (a *Client) EnablePlugin(params *EnablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*EnablePluginOK, error)
EnablePlugin enables a plugin
func (*Client) ListPlugin ¶
func (a *Client) ListPlugin(params *ListPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ListPluginOK, error)
ListPlugin lists
func (*Client) ReadPlugin ¶
func (a *Client) ReadPlugin(params *ReadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ReadPluginOK, error)
ReadPlugin reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadPlugin ¶
func (a *Client) UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, error)
UploadPlugin uploads
type ClientService ¶
type ClientService interface { DeletePlugin(params *DeletePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginOK, error) DisablePlugin(params *DisablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*DisablePluginOK, error) EnablePlugin(params *EnablePluginParams, authInfo runtime.ClientAuthInfoWriter) (*EnablePluginOK, error) ListPlugin(params *ListPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ListPluginOK, error) ReadPlugin(params *ReadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*ReadPluginOK, error) UploadPlugin(params *UploadPluginParams, authInfo runtime.ClientAuthInfoWriter) (*UploadPluginCreated, 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 controller API client.
type DeletePluginBadRequest ¶
DeletePluginBadRequest handles this case with default header values.
Bad Request
func NewDeletePluginBadRequest ¶
func NewDeletePluginBadRequest() *DeletePluginBadRequest
NewDeletePluginBadRequest creates a DeletePluginBadRequest with default headers values
func (*DeletePluginBadRequest) Error ¶
func (o *DeletePluginBadRequest) Error() string
func (*DeletePluginBadRequest) GetPayload ¶
func (o *DeletePluginBadRequest) GetPayload() *models.APIResult
type DeletePluginConflict ¶
DeletePluginConflict handles this case with default header values.
Conflict
func NewDeletePluginConflict ¶
func NewDeletePluginConflict() *DeletePluginConflict
NewDeletePluginConflict creates a DeletePluginConflict with default headers values
func (*DeletePluginConflict) Error ¶
func (o *DeletePluginConflict) Error() string
func (*DeletePluginConflict) GetPayload ¶
func (o *DeletePluginConflict) GetPayload() *models.APIResult
type DeletePluginForbidden ¶
DeletePluginForbidden handles this case with default header values.
Forbidden
func NewDeletePluginForbidden ¶
func NewDeletePluginForbidden() *DeletePluginForbidden
NewDeletePluginForbidden creates a DeletePluginForbidden with default headers values
func (*DeletePluginForbidden) Error ¶
func (o *DeletePluginForbidden) Error() string
func (*DeletePluginForbidden) GetPayload ¶
func (o *DeletePluginForbidden) GetPayload() *models.APIResult
type DeletePluginInternalServerError ¶
DeletePluginInternalServerError handles this case with default header values.
Internal Server Error
func NewDeletePluginInternalServerError ¶
func NewDeletePluginInternalServerError() *DeletePluginInternalServerError
NewDeletePluginInternalServerError creates a DeletePluginInternalServerError with default headers values
func (*DeletePluginInternalServerError) Error ¶
func (o *DeletePluginInternalServerError) Error() string
func (*DeletePluginInternalServerError) GetPayload ¶
func (o *DeletePluginInternalServerError) GetPayload() *models.APIResult
type DeletePluginNotFound ¶
DeletePluginNotFound handles this case with default header values.
Not Found
func NewDeletePluginNotFound ¶
func NewDeletePluginNotFound() *DeletePluginNotFound
NewDeletePluginNotFound creates a DeletePluginNotFound with default headers values
func (*DeletePluginNotFound) Error ¶
func (o *DeletePluginNotFound) Error() string
func (*DeletePluginNotFound) GetPayload ¶
func (o *DeletePluginNotFound) GetPayload() *models.APIResult
type DeletePluginOK ¶
type DeletePluginOK struct {
Payload *models.APIResultVoid
}
DeletePluginOK handles this case with default header values.
OK
func NewDeletePluginOK ¶
func NewDeletePluginOK() *DeletePluginOK
NewDeletePluginOK creates a DeletePluginOK with default headers values
func (*DeletePluginOK) Error ¶
func (o *DeletePluginOK) Error() string
func (*DeletePluginOK) GetPayload ¶
func (o *DeletePluginOK) GetPayload() *models.APIResultVoid
type DeletePluginParams ¶
type DeletePluginParams struct { /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePluginParams contains all the parameters to send to the API endpoint for the delete plugin operation typically these are written to a http.Request
func NewDeletePluginParams ¶
func NewDeletePluginParams() *DeletePluginParams
NewDeletePluginParams creates a new DeletePluginParams object with the default values initialized.
func NewDeletePluginParamsWithContext ¶
func NewDeletePluginParamsWithContext(ctx context.Context) *DeletePluginParams
NewDeletePluginParamsWithContext creates a new DeletePluginParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePluginParamsWithHTTPClient ¶
func NewDeletePluginParamsWithHTTPClient(client *http.Client) *DeletePluginParams
NewDeletePluginParamsWithHTTPClient creates a new DeletePluginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePluginParamsWithTimeout ¶
func NewDeletePluginParamsWithTimeout(timeout time.Duration) *DeletePluginParams
NewDeletePluginParamsWithTimeout creates a new DeletePluginParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePluginParams) SetContext ¶
func (o *DeletePluginParams) SetContext(ctx context.Context)
SetContext adds the context to the delete plugin params
func (*DeletePluginParams) SetHTTPClient ¶
func (o *DeletePluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete plugin params
func (*DeletePluginParams) SetID ¶
func (o *DeletePluginParams) SetID(id int64)
SetID adds the id to the delete plugin params
func (*DeletePluginParams) SetTimeout ¶
func (o *DeletePluginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete plugin params
func (*DeletePluginParams) WithContext ¶
func (o *DeletePluginParams) WithContext(ctx context.Context) *DeletePluginParams
WithContext adds the context to the delete plugin params
func (*DeletePluginParams) WithHTTPClient ¶
func (o *DeletePluginParams) WithHTTPClient(client *http.Client) *DeletePluginParams
WithHTTPClient adds the HTTPClient to the delete plugin params
func (*DeletePluginParams) WithID ¶
func (o *DeletePluginParams) WithID(id int64) *DeletePluginParams
WithID adds the id to the delete plugin params
func (*DeletePluginParams) WithTimeout ¶
func (o *DeletePluginParams) WithTimeout(timeout time.Duration) *DeletePluginParams
WithTimeout adds the timeout to the delete plugin params
func (*DeletePluginParams) WriteToRequest ¶
func (o *DeletePluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePluginReader ¶
type DeletePluginReader struct {
// contains filtered or unexported fields
}
DeletePluginReader is a Reader for the DeletePlugin structure.
func (*DeletePluginReader) ReadResponse ¶
func (o *DeletePluginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePluginUnauthorized ¶
type DeletePluginUnauthorized struct {
}DeletePluginUnauthorized handles this case with default header values.
Unauthorized
func NewDeletePluginUnauthorized ¶
func NewDeletePluginUnauthorized() *DeletePluginUnauthorized
NewDeletePluginUnauthorized creates a DeletePluginUnauthorized with default headers values
func (*DeletePluginUnauthorized) Error ¶
func (o *DeletePluginUnauthorized) Error() string
func (*DeletePluginUnauthorized) GetPayload ¶
func (o *DeletePluginUnauthorized) GetPayload() *models.APIResult
type DisablePluginBadRequest ¶
DisablePluginBadRequest handles this case with default header values.
Bad Request
func NewDisablePluginBadRequest ¶
func NewDisablePluginBadRequest() *DisablePluginBadRequest
NewDisablePluginBadRequest creates a DisablePluginBadRequest with default headers values
func (*DisablePluginBadRequest) Error ¶
func (o *DisablePluginBadRequest) Error() string
func (*DisablePluginBadRequest) GetPayload ¶
func (o *DisablePluginBadRequest) GetPayload() *models.APIResult
type DisablePluginConflict ¶
DisablePluginConflict handles this case with default header values.
Conflict
func NewDisablePluginConflict ¶
func NewDisablePluginConflict() *DisablePluginConflict
NewDisablePluginConflict creates a DisablePluginConflict with default headers values
func (*DisablePluginConflict) Error ¶
func (o *DisablePluginConflict) Error() string
func (*DisablePluginConflict) GetPayload ¶
func (o *DisablePluginConflict) GetPayload() *models.APIResult
type DisablePluginForbidden ¶
DisablePluginForbidden handles this case with default header values.
Forbidden
func NewDisablePluginForbidden ¶
func NewDisablePluginForbidden() *DisablePluginForbidden
NewDisablePluginForbidden creates a DisablePluginForbidden with default headers values
func (*DisablePluginForbidden) Error ¶
func (o *DisablePluginForbidden) Error() string
func (*DisablePluginForbidden) GetPayload ¶
func (o *DisablePluginForbidden) GetPayload() *models.APIResult
type DisablePluginInternalServerError ¶
DisablePluginInternalServerError handles this case with default header values.
Internal Server Error
func NewDisablePluginInternalServerError ¶
func NewDisablePluginInternalServerError() *DisablePluginInternalServerError
NewDisablePluginInternalServerError creates a DisablePluginInternalServerError with default headers values
func (*DisablePluginInternalServerError) Error ¶
func (o *DisablePluginInternalServerError) Error() string
func (*DisablePluginInternalServerError) GetPayload ¶
func (o *DisablePluginInternalServerError) GetPayload() *models.APIResult
type DisablePluginNotFound ¶
DisablePluginNotFound handles this case with default header values.
Not Found
func NewDisablePluginNotFound ¶
func NewDisablePluginNotFound() *DisablePluginNotFound
NewDisablePluginNotFound creates a DisablePluginNotFound with default headers values
func (*DisablePluginNotFound) Error ¶
func (o *DisablePluginNotFound) Error() string
func (*DisablePluginNotFound) GetPayload ¶
func (o *DisablePluginNotFound) GetPayload() *models.APIResult
type DisablePluginOK ¶
type DisablePluginOK struct {
Payload *models.APIResultVoid
}
DisablePluginOK handles this case with default header values.
OK
func NewDisablePluginOK ¶
func NewDisablePluginOK() *DisablePluginOK
NewDisablePluginOK creates a DisablePluginOK with default headers values
func (*DisablePluginOK) Error ¶
func (o *DisablePluginOK) Error() string
func (*DisablePluginOK) GetPayload ¶
func (o *DisablePluginOK) GetPayload() *models.APIResultVoid
type DisablePluginParams ¶
type DisablePluginParams struct { /*Resource resource */ Resource *models.PluginDisableRequest 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 values initialized.
func NewDisablePluginParamsWithContext ¶
func NewDisablePluginParamsWithContext(ctx context.Context) *DisablePluginParams
NewDisablePluginParamsWithContext creates a new DisablePluginParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *DisablePluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable plugin params
func (*DisablePluginParams) SetResource ¶
func (o *DisablePluginParams) SetResource(resource *models.PluginDisableRequest)
SetResource adds the resource 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) WithHTTPClient ¶
func (o *DisablePluginParams) WithHTTPClient(client *http.Client) *DisablePluginParams
WithHTTPClient adds the HTTPClient to the disable plugin params
func (*DisablePluginParams) WithResource ¶
func (o *DisablePluginParams) WithResource(resource *models.PluginDisableRequest) *DisablePluginParams
WithResource adds the resource 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 handles this case with default header values.
Unauthorized
func NewDisablePluginUnauthorized ¶
func NewDisablePluginUnauthorized() *DisablePluginUnauthorized
NewDisablePluginUnauthorized creates a DisablePluginUnauthorized with default headers values
func (*DisablePluginUnauthorized) Error ¶
func (o *DisablePluginUnauthorized) Error() string
func (*DisablePluginUnauthorized) GetPayload ¶
func (o *DisablePluginUnauthorized) GetPayload() *models.APIResult
type EnablePluginBadRequest ¶
EnablePluginBadRequest handles this case with default header values.
Bad Request
func NewEnablePluginBadRequest ¶
func NewEnablePluginBadRequest() *EnablePluginBadRequest
NewEnablePluginBadRequest creates a EnablePluginBadRequest with default headers values
func (*EnablePluginBadRequest) Error ¶
func (o *EnablePluginBadRequest) Error() string
func (*EnablePluginBadRequest) GetPayload ¶
func (o *EnablePluginBadRequest) GetPayload() *models.APIResult
type EnablePluginConflict ¶
EnablePluginConflict handles this case with default header values.
Conflict
func NewEnablePluginConflict ¶
func NewEnablePluginConflict() *EnablePluginConflict
NewEnablePluginConflict creates a EnablePluginConflict with default headers values
func (*EnablePluginConflict) Error ¶
func (o *EnablePluginConflict) Error() string
func (*EnablePluginConflict) GetPayload ¶
func (o *EnablePluginConflict) GetPayload() *models.APIResult
type EnablePluginForbidden ¶
EnablePluginForbidden handles this case with default header values.
Forbidden
func NewEnablePluginForbidden ¶
func NewEnablePluginForbidden() *EnablePluginForbidden
NewEnablePluginForbidden creates a EnablePluginForbidden with default headers values
func (*EnablePluginForbidden) Error ¶
func (o *EnablePluginForbidden) Error() string
func (*EnablePluginForbidden) GetPayload ¶
func (o *EnablePluginForbidden) GetPayload() *models.APIResult
type EnablePluginInternalServerError ¶
EnablePluginInternalServerError handles this case with default header values.
Internal Server Error
func NewEnablePluginInternalServerError ¶
func NewEnablePluginInternalServerError() *EnablePluginInternalServerError
NewEnablePluginInternalServerError creates a EnablePluginInternalServerError with default headers values
func (*EnablePluginInternalServerError) Error ¶
func (o *EnablePluginInternalServerError) Error() string
func (*EnablePluginInternalServerError) GetPayload ¶
func (o *EnablePluginInternalServerError) GetPayload() *models.APIResult
type EnablePluginNotFound ¶
EnablePluginNotFound handles this case with default header values.
Not Found
func NewEnablePluginNotFound ¶
func NewEnablePluginNotFound() *EnablePluginNotFound
NewEnablePluginNotFound creates a EnablePluginNotFound with default headers values
func (*EnablePluginNotFound) Error ¶
func (o *EnablePluginNotFound) Error() string
func (*EnablePluginNotFound) GetPayload ¶
func (o *EnablePluginNotFound) GetPayload() *models.APIResult
type EnablePluginOK ¶
type EnablePluginOK struct {
Payload *models.APIResultVoid
}
EnablePluginOK handles this case with default header values.
OK
func NewEnablePluginOK ¶
func NewEnablePluginOK() *EnablePluginOK
NewEnablePluginOK creates a EnablePluginOK with default headers values
func (*EnablePluginOK) Error ¶
func (o *EnablePluginOK) Error() string
func (*EnablePluginOK) GetPayload ¶
func (o *EnablePluginOK) GetPayload() *models.APIResultVoid
type EnablePluginParams ¶
type EnablePluginParams struct { /*Resource resource */ Resource *models.PluginEnableRequest 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 values initialized.
func NewEnablePluginParamsWithContext ¶
func NewEnablePluginParamsWithContext(ctx context.Context) *EnablePluginParams
NewEnablePluginParamsWithContext creates a new EnablePluginParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *EnablePluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable plugin params
func (*EnablePluginParams) SetResource ¶
func (o *EnablePluginParams) SetResource(resource *models.PluginEnableRequest)
SetResource adds the resource 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) WithHTTPClient ¶
func (o *EnablePluginParams) WithHTTPClient(client *http.Client) *EnablePluginParams
WithHTTPClient adds the HTTPClient to the enable plugin params
func (*EnablePluginParams) WithResource ¶
func (o *EnablePluginParams) WithResource(resource *models.PluginEnableRequest) *EnablePluginParams
WithResource adds the resource 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 handles this case with default header values.
Unauthorized
func NewEnablePluginUnauthorized ¶
func NewEnablePluginUnauthorized() *EnablePluginUnauthorized
NewEnablePluginUnauthorized creates a EnablePluginUnauthorized with default headers values
func (*EnablePluginUnauthorized) Error ¶
func (o *EnablePluginUnauthorized) Error() string
func (*EnablePluginUnauthorized) GetPayload ¶
func (o *EnablePluginUnauthorized) GetPayload() *models.APIResult
type ListPluginBadRequest ¶
ListPluginBadRequest handles this case with default header values.
Bad Request
func NewListPluginBadRequest ¶
func NewListPluginBadRequest() *ListPluginBadRequest
NewListPluginBadRequest creates a ListPluginBadRequest with default headers values
func (*ListPluginBadRequest) Error ¶
func (o *ListPluginBadRequest) Error() string
func (*ListPluginBadRequest) GetPayload ¶
func (o *ListPluginBadRequest) GetPayload() *models.APIResult
type ListPluginConflict ¶
ListPluginConflict handles this case with default header values.
Conflict
func NewListPluginConflict ¶
func NewListPluginConflict() *ListPluginConflict
NewListPluginConflict creates a ListPluginConflict with default headers values
func (*ListPluginConflict) Error ¶
func (o *ListPluginConflict) Error() string
func (*ListPluginConflict) GetPayload ¶
func (o *ListPluginConflict) GetPayload() *models.APIResult
type ListPluginForbidden ¶
ListPluginForbidden handles this case with default header values.
Forbidden
func NewListPluginForbidden ¶
func NewListPluginForbidden() *ListPluginForbidden
NewListPluginForbidden creates a ListPluginForbidden with default headers values
func (*ListPluginForbidden) Error ¶
func (o *ListPluginForbidden) Error() string
func (*ListPluginForbidden) GetPayload ¶
func (o *ListPluginForbidden) GetPayload() *models.APIResult
type ListPluginInternalServerError ¶
ListPluginInternalServerError handles this case with default header values.
Internal Server Error
func NewListPluginInternalServerError ¶
func NewListPluginInternalServerError() *ListPluginInternalServerError
NewListPluginInternalServerError creates a ListPluginInternalServerError with default headers values
func (*ListPluginInternalServerError) Error ¶
func (o *ListPluginInternalServerError) Error() string
func (*ListPluginInternalServerError) GetPayload ¶
func (o *ListPluginInternalServerError) GetPayload() *models.APIResult
type ListPluginNotFound ¶
ListPluginNotFound handles this case with default header values.
Not Found
func NewListPluginNotFound ¶
func NewListPluginNotFound() *ListPluginNotFound
NewListPluginNotFound creates a ListPluginNotFound with default headers values
func (*ListPluginNotFound) Error ¶
func (o *ListPluginNotFound) Error() string
func (*ListPluginNotFound) GetPayload ¶
func (o *ListPluginNotFound) GetPayload() *models.APIResult
type ListPluginOK ¶
type ListPluginOK struct {
Payload *models.APIResultListPluginMetaData
}
ListPluginOK handles this case with default header values.
OK
func NewListPluginOK ¶
func NewListPluginOK() *ListPluginOK
NewListPluginOK creates a ListPluginOK with default headers values
func (*ListPluginOK) Error ¶
func (o *ListPluginOK) Error() string
func (*ListPluginOK) GetPayload ¶
func (o *ListPluginOK) GetPayload() *models.APIResultListPluginMetaData
type ListPluginParams ¶
type ListPluginParams struct { /*Fields Output fields */ Fields *string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPluginParams contains all the parameters to send to the API endpoint for the list plugin operation typically these are written to a http.Request
func NewListPluginParams ¶
func NewListPluginParams() *ListPluginParams
NewListPluginParams creates a new ListPluginParams object with the default values initialized.
func NewListPluginParamsWithContext ¶
func NewListPluginParamsWithContext(ctx context.Context) *ListPluginParams
NewListPluginParamsWithContext creates a new ListPluginParams object with the default values initialized, and the ability to set a context for a request
func NewListPluginParamsWithHTTPClient ¶
func NewListPluginParamsWithHTTPClient(client *http.Client) *ListPluginParams
NewListPluginParamsWithHTTPClient creates a new ListPluginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPluginParamsWithTimeout ¶
func NewListPluginParamsWithTimeout(timeout time.Duration) *ListPluginParams
NewListPluginParamsWithTimeout creates a new ListPluginParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPluginParams) SetContext ¶
func (o *ListPluginParams) SetContext(ctx context.Context)
SetContext adds the context to the list plugin params
func (*ListPluginParams) SetFields ¶
func (o *ListPluginParams) SetFields(fields *string)
SetFields adds the fields to the list plugin params
func (*ListPluginParams) SetHTTPClient ¶
func (o *ListPluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list plugin params
func (*ListPluginParams) SetLimit ¶
func (o *ListPluginParams) SetLimit(limit *int32)
SetLimit adds the limit to the list plugin params
func (*ListPluginParams) SetOrderby ¶
func (o *ListPluginParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list plugin params
func (*ListPluginParams) SetQ ¶
func (o *ListPluginParams) SetQ(q *string)
SetQ adds the q to the list plugin params
func (*ListPluginParams) SetStart ¶
func (o *ListPluginParams) SetStart(start *int32)
SetStart adds the start to the list plugin params
func (*ListPluginParams) SetTimeout ¶
func (o *ListPluginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list plugin params
func (*ListPluginParams) WithContext ¶
func (o *ListPluginParams) WithContext(ctx context.Context) *ListPluginParams
WithContext adds the context to the list plugin params
func (*ListPluginParams) WithFields ¶
func (o *ListPluginParams) WithFields(fields *string) *ListPluginParams
WithFields adds the fields to the list plugin params
func (*ListPluginParams) WithHTTPClient ¶
func (o *ListPluginParams) WithHTTPClient(client *http.Client) *ListPluginParams
WithHTTPClient adds the HTTPClient to the list plugin params
func (*ListPluginParams) WithLimit ¶
func (o *ListPluginParams) WithLimit(limit *int32) *ListPluginParams
WithLimit adds the limit to the list plugin params
func (*ListPluginParams) WithOrderby ¶
func (o *ListPluginParams) WithOrderby(orderby *string) *ListPluginParams
WithOrderby adds the orderby to the list plugin params
func (*ListPluginParams) WithQ ¶
func (o *ListPluginParams) WithQ(q *string) *ListPluginParams
WithQ adds the q to the list plugin params
func (*ListPluginParams) WithStart ¶
func (o *ListPluginParams) WithStart(start *int32) *ListPluginParams
WithStart adds the start to the list plugin params
func (*ListPluginParams) WithTimeout ¶
func (o *ListPluginParams) WithTimeout(timeout time.Duration) *ListPluginParams
WithTimeout adds the timeout to the list plugin params
func (*ListPluginParams) WriteToRequest ¶
func (o *ListPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPluginReader ¶
type ListPluginReader struct {
// contains filtered or unexported fields
}
ListPluginReader is a Reader for the ListPlugin structure.
func (*ListPluginReader) ReadResponse ¶
func (o *ListPluginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPluginUnauthorized ¶
type ListPluginUnauthorized struct {
}ListPluginUnauthorized handles this case with default header values.
Unauthorized
func NewListPluginUnauthorized ¶
func NewListPluginUnauthorized() *ListPluginUnauthorized
NewListPluginUnauthorized creates a ListPluginUnauthorized with default headers values
func (*ListPluginUnauthorized) Error ¶
func (o *ListPluginUnauthorized) Error() string
func (*ListPluginUnauthorized) GetPayload ¶
func (o *ListPluginUnauthorized) GetPayload() *models.APIResult
type ReadPluginBadRequest ¶
ReadPluginBadRequest handles this case with default header values.
Bad Request
func NewReadPluginBadRequest ¶
func NewReadPluginBadRequest() *ReadPluginBadRequest
NewReadPluginBadRequest creates a ReadPluginBadRequest with default headers values
func (*ReadPluginBadRequest) Error ¶
func (o *ReadPluginBadRequest) Error() string
func (*ReadPluginBadRequest) GetPayload ¶
func (o *ReadPluginBadRequest) GetPayload() *models.APIResult
type ReadPluginConflict ¶
ReadPluginConflict handles this case with default header values.
Conflict
func NewReadPluginConflict ¶
func NewReadPluginConflict() *ReadPluginConflict
NewReadPluginConflict creates a ReadPluginConflict with default headers values
func (*ReadPluginConflict) Error ¶
func (o *ReadPluginConflict) Error() string
func (*ReadPluginConflict) GetPayload ¶
func (o *ReadPluginConflict) GetPayload() *models.APIResult
type ReadPluginForbidden ¶
ReadPluginForbidden handles this case with default header values.
Forbidden
func NewReadPluginForbidden ¶
func NewReadPluginForbidden() *ReadPluginForbidden
NewReadPluginForbidden creates a ReadPluginForbidden with default headers values
func (*ReadPluginForbidden) Error ¶
func (o *ReadPluginForbidden) Error() string
func (*ReadPluginForbidden) GetPayload ¶
func (o *ReadPluginForbidden) GetPayload() *models.APIResult
type ReadPluginInternalServerError ¶
ReadPluginInternalServerError handles this case with default header values.
Internal Server Error
func NewReadPluginInternalServerError ¶
func NewReadPluginInternalServerError() *ReadPluginInternalServerError
NewReadPluginInternalServerError creates a ReadPluginInternalServerError with default headers values
func (*ReadPluginInternalServerError) Error ¶
func (o *ReadPluginInternalServerError) Error() string
func (*ReadPluginInternalServerError) GetPayload ¶
func (o *ReadPluginInternalServerError) GetPayload() *models.APIResult
type ReadPluginNotFound ¶
ReadPluginNotFound handles this case with default header values.
Not Found
func NewReadPluginNotFound ¶
func NewReadPluginNotFound() *ReadPluginNotFound
NewReadPluginNotFound creates a ReadPluginNotFound with default headers values
func (*ReadPluginNotFound) Error ¶
func (o *ReadPluginNotFound) Error() string
func (*ReadPluginNotFound) GetPayload ¶
func (o *ReadPluginNotFound) GetPayload() *models.APIResult
type ReadPluginOK ¶
type ReadPluginOK struct {
Payload *models.APIResultPluginMetaData
}
ReadPluginOK handles this case with default header values.
OK
func NewReadPluginOK ¶
func NewReadPluginOK() *ReadPluginOK
NewReadPluginOK creates a ReadPluginOK with default headers values
func (*ReadPluginOK) Error ¶
func (o *ReadPluginOK) Error() string
func (*ReadPluginOK) GetPayload ¶
func (o *ReadPluginOK) GetPayload() *models.APIResultPluginMetaData
type ReadPluginParams ¶
type ReadPluginParams struct { /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadPluginParams contains all the parameters to send to the API endpoint for the read plugin operation typically these are written to a http.Request
func NewReadPluginParams ¶
func NewReadPluginParams() *ReadPluginParams
NewReadPluginParams creates a new ReadPluginParams object with the default values initialized.
func NewReadPluginParamsWithContext ¶
func NewReadPluginParamsWithContext(ctx context.Context) *ReadPluginParams
NewReadPluginParamsWithContext creates a new ReadPluginParams object with the default values initialized, and the ability to set a context for a request
func NewReadPluginParamsWithHTTPClient ¶
func NewReadPluginParamsWithHTTPClient(client *http.Client) *ReadPluginParams
NewReadPluginParamsWithHTTPClient creates a new ReadPluginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadPluginParamsWithTimeout ¶
func NewReadPluginParamsWithTimeout(timeout time.Duration) *ReadPluginParams
NewReadPluginParamsWithTimeout creates a new ReadPluginParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadPluginParams) SetContext ¶
func (o *ReadPluginParams) SetContext(ctx context.Context)
SetContext adds the context to the read plugin params
func (*ReadPluginParams) SetFields ¶
func (o *ReadPluginParams) SetFields(fields *string)
SetFields adds the fields to the read plugin params
func (*ReadPluginParams) SetHTTPClient ¶
func (o *ReadPluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read plugin params
func (*ReadPluginParams) SetID ¶
func (o *ReadPluginParams) SetID(id int64)
SetID adds the id to the read plugin params
func (*ReadPluginParams) SetTimeout ¶
func (o *ReadPluginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read plugin params
func (*ReadPluginParams) WithContext ¶
func (o *ReadPluginParams) WithContext(ctx context.Context) *ReadPluginParams
WithContext adds the context to the read plugin params
func (*ReadPluginParams) WithFields ¶
func (o *ReadPluginParams) WithFields(fields *string) *ReadPluginParams
WithFields adds the fields to the read plugin params
func (*ReadPluginParams) WithHTTPClient ¶
func (o *ReadPluginParams) WithHTTPClient(client *http.Client) *ReadPluginParams
WithHTTPClient adds the HTTPClient to the read plugin params
func (*ReadPluginParams) WithID ¶
func (o *ReadPluginParams) WithID(id int64) *ReadPluginParams
WithID adds the id to the read plugin params
func (*ReadPluginParams) WithTimeout ¶
func (o *ReadPluginParams) WithTimeout(timeout time.Duration) *ReadPluginParams
WithTimeout adds the timeout to the read plugin params
func (*ReadPluginParams) WriteToRequest ¶
func (o *ReadPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadPluginReader ¶
type ReadPluginReader struct {
// contains filtered or unexported fields
}
ReadPluginReader is a Reader for the ReadPlugin structure.
func (*ReadPluginReader) ReadResponse ¶
func (o *ReadPluginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadPluginUnauthorized ¶
type ReadPluginUnauthorized struct {
}ReadPluginUnauthorized handles this case with default header values.
Unauthorized
func NewReadPluginUnauthorized ¶
func NewReadPluginUnauthorized() *ReadPluginUnauthorized
NewReadPluginUnauthorized creates a ReadPluginUnauthorized with default headers values
func (*ReadPluginUnauthorized) Error ¶
func (o *ReadPluginUnauthorized) Error() string
func (*ReadPluginUnauthorized) GetPayload ¶
func (o *ReadPluginUnauthorized) GetPayload() *models.APIResult
type UploadPluginBadRequest ¶
UploadPluginBadRequest handles this case with default header values.
Bad Request
func NewUploadPluginBadRequest ¶
func NewUploadPluginBadRequest() *UploadPluginBadRequest
NewUploadPluginBadRequest creates a UploadPluginBadRequest with default headers values
func (*UploadPluginBadRequest) Error ¶
func (o *UploadPluginBadRequest) Error() string
func (*UploadPluginBadRequest) GetPayload ¶
func (o *UploadPluginBadRequest) GetPayload() *models.APIResult
type UploadPluginConflict ¶
UploadPluginConflict handles this case with default header values.
Conflict
func NewUploadPluginConflict ¶
func NewUploadPluginConflict() *UploadPluginConflict
NewUploadPluginConflict creates a UploadPluginConflict with default headers values
func (*UploadPluginConflict) Error ¶
func (o *UploadPluginConflict) Error() string
func (*UploadPluginConflict) GetPayload ¶
func (o *UploadPluginConflict) GetPayload() *models.APIResult
type UploadPluginCreated ¶
type UploadPluginCreated struct {
Payload *models.APIResultPluginMetaData
}
UploadPluginCreated handles this case with default header values.
Created
func NewUploadPluginCreated ¶
func NewUploadPluginCreated() *UploadPluginCreated
NewUploadPluginCreated creates a UploadPluginCreated with default headers values
func (*UploadPluginCreated) Error ¶
func (o *UploadPluginCreated) Error() string
func (*UploadPluginCreated) GetPayload ¶
func (o *UploadPluginCreated) GetPayload() *models.APIResultPluginMetaData
type UploadPluginForbidden ¶
UploadPluginForbidden handles this case with default header values.
Forbidden
func NewUploadPluginForbidden ¶
func NewUploadPluginForbidden() *UploadPluginForbidden
NewUploadPluginForbidden creates a UploadPluginForbidden with default headers values
func (*UploadPluginForbidden) Error ¶
func (o *UploadPluginForbidden) Error() string
func (*UploadPluginForbidden) GetPayload ¶
func (o *UploadPluginForbidden) GetPayload() *models.APIResult
type UploadPluginInternalServerError ¶
UploadPluginInternalServerError handles this case with default header values.
Internal Server Error
func NewUploadPluginInternalServerError ¶
func NewUploadPluginInternalServerError() *UploadPluginInternalServerError
NewUploadPluginInternalServerError creates a UploadPluginInternalServerError with default headers values
func (*UploadPluginInternalServerError) Error ¶
func (o *UploadPluginInternalServerError) Error() string
func (*UploadPluginInternalServerError) GetPayload ¶
func (o *UploadPluginInternalServerError) GetPayload() *models.APIResult
type UploadPluginNotFound ¶
UploadPluginNotFound handles this case with default header values.
Not Found
func NewUploadPluginNotFound ¶
func NewUploadPluginNotFound() *UploadPluginNotFound
NewUploadPluginNotFound creates a UploadPluginNotFound with default headers values
func (*UploadPluginNotFound) Error ¶
func (o *UploadPluginNotFound) Error() string
func (*UploadPluginNotFound) GetPayload ¶
func (o *UploadPluginNotFound) GetPayload() *models.APIResult
type UploadPluginParams ¶
type UploadPluginParams struct { /*File file */ File runtime.NamedReadCloser Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadPluginParams contains all the parameters to send to the API endpoint for the upload plugin operation typically these are written to a http.Request
func NewUploadPluginParams ¶
func NewUploadPluginParams() *UploadPluginParams
NewUploadPluginParams creates a new UploadPluginParams object with the default values initialized.
func NewUploadPluginParamsWithContext ¶
func NewUploadPluginParamsWithContext(ctx context.Context) *UploadPluginParams
NewUploadPluginParamsWithContext creates a new UploadPluginParams object with the default values initialized, and the ability to set a context for a request
func NewUploadPluginParamsWithHTTPClient ¶
func NewUploadPluginParamsWithHTTPClient(client *http.Client) *UploadPluginParams
NewUploadPluginParamsWithHTTPClient creates a new UploadPluginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadPluginParamsWithTimeout ¶
func NewUploadPluginParamsWithTimeout(timeout time.Duration) *UploadPluginParams
NewUploadPluginParamsWithTimeout creates a new UploadPluginParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadPluginParams) SetContext ¶
func (o *UploadPluginParams) SetContext(ctx context.Context)
SetContext adds the context to the upload plugin params
func (*UploadPluginParams) SetFile ¶
func (o *UploadPluginParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload plugin params
func (*UploadPluginParams) SetHTTPClient ¶
func (o *UploadPluginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload plugin params
func (*UploadPluginParams) SetTimeout ¶
func (o *UploadPluginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload plugin params
func (*UploadPluginParams) WithContext ¶
func (o *UploadPluginParams) WithContext(ctx context.Context) *UploadPluginParams
WithContext adds the context to the upload plugin params
func (*UploadPluginParams) WithFile ¶
func (o *UploadPluginParams) WithFile(file runtime.NamedReadCloser) *UploadPluginParams
WithFile adds the file to the upload plugin params
func (*UploadPluginParams) WithHTTPClient ¶
func (o *UploadPluginParams) WithHTTPClient(client *http.Client) *UploadPluginParams
WithHTTPClient adds the HTTPClient to the upload plugin params
func (*UploadPluginParams) WithTimeout ¶
func (o *UploadPluginParams) WithTimeout(timeout time.Duration) *UploadPluginParams
WithTimeout adds the timeout to the upload plugin params
func (*UploadPluginParams) WriteToRequest ¶
func (o *UploadPluginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadPluginReader ¶
type UploadPluginReader struct {
// contains filtered or unexported fields
}
UploadPluginReader is a Reader for the UploadPlugin structure.
func (*UploadPluginReader) ReadResponse ¶
func (o *UploadPluginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadPluginUnauthorized ¶
type UploadPluginUnauthorized struct {
}UploadPluginUnauthorized handles this case with default header values.
Unauthorized
func NewUploadPluginUnauthorized ¶
func NewUploadPluginUnauthorized() *UploadPluginUnauthorized
NewUploadPluginUnauthorized creates a UploadPluginUnauthorized with default headers values
func (*UploadPluginUnauthorized) Error ¶
func (o *UploadPluginUnauthorized) Error() string
func (*UploadPluginUnauthorized) GetPayload ¶
func (o *UploadPluginUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- delete_plugin_parameters.go
- delete_plugin_responses.go
- disable_plugin_parameters.go
- disable_plugin_responses.go
- enable_plugin_parameters.go
- enable_plugin_responses.go
- list_plugin_parameters.go
- list_plugin_responses.go
- plugin_controller_client.go
- read_plugin_parameters.go
- read_plugin_responses.go
- upload_plugin_parameters.go
- upload_plugin_responses.go