Documentation ¶
Index ¶
- type Client
- type GetPluginsInfoOK
- type GetPluginsInfoParams
- func NewGetPluginsInfoParams() *GetPluginsInfoParams
- func NewGetPluginsInfoParamsWithContext(ctx context.Context) *GetPluginsInfoParams
- func NewGetPluginsInfoParamsWithHTTPClient(client *http.Client) *GetPluginsInfoParams
- func NewGetPluginsInfoParamsWithTimeout(timeout time.Duration) *GetPluginsInfoParams
- func (o *GetPluginsInfoParams) SetContext(ctx context.Context)
- func (o *GetPluginsInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginsInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginsInfoParams) WithContext(ctx context.Context) *GetPluginsInfoParams
- func (o *GetPluginsInfoParams) WithHTTPClient(client *http.Client) *GetPluginsInfoParams
- func (o *GetPluginsInfoParams) WithTimeout(timeout time.Duration) *GetPluginsInfoParams
- func (o *GetPluginsInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginsInfoReader
- type IPluginInfo
- type KillbillDefaults
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 info API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new plugin info API client.
func (*Client) GetPluginsInfo ¶
func (a *Client) GetPluginsInfo(ctx context.Context, params *GetPluginsInfoParams) (*GetPluginsInfoOK, error)
GetPluginsInfo retrieves the list of registered plugins
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetPluginsInfoOK ¶
type GetPluginsInfoOK struct { Payload []*kbmodel.PluginInfo HttpResponse runtime.ClientResponse }
GetPluginsInfoOK handles this case with default header values.
successful operation
func NewGetPluginsInfoOK ¶
func NewGetPluginsInfoOK() *GetPluginsInfoOK
NewGetPluginsInfoOK creates a GetPluginsInfoOK with default headers values
func (*GetPluginsInfoOK) Error ¶
func (o *GetPluginsInfoOK) Error() string
type GetPluginsInfoParams ¶
type GetPluginsInfoParams struct { WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetPluginsInfoParams contains all the parameters to send to the API endpoint for the get plugins info operation typically these are written to a http.Request
func NewGetPluginsInfoParams ¶
func NewGetPluginsInfoParams() *GetPluginsInfoParams
NewGetPluginsInfoParams creates a new GetPluginsInfoParams object with the default values initialized.
func NewGetPluginsInfoParamsWithContext ¶
func NewGetPluginsInfoParamsWithContext(ctx context.Context) *GetPluginsInfoParams
NewGetPluginsInfoParamsWithContext creates a new GetPluginsInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetPluginsInfoParamsWithHTTPClient ¶
func NewGetPluginsInfoParamsWithHTTPClient(client *http.Client) *GetPluginsInfoParams
NewGetPluginsInfoParamsWithHTTPClient creates a new GetPluginsInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPluginsInfoParamsWithTimeout ¶
func NewGetPluginsInfoParamsWithTimeout(timeout time.Duration) *GetPluginsInfoParams
NewGetPluginsInfoParamsWithTimeout creates a new GetPluginsInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPluginsInfoParams) SetContext ¶
func (o *GetPluginsInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get plugins info params
func (*GetPluginsInfoParams) SetHTTPClient ¶
func (o *GetPluginsInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plugins info params
func (*GetPluginsInfoParams) SetTimeout ¶
func (o *GetPluginsInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plugins info params
func (*GetPluginsInfoParams) WithContext ¶
func (o *GetPluginsInfoParams) WithContext(ctx context.Context) *GetPluginsInfoParams
WithContext adds the context to the get plugins info params
func (*GetPluginsInfoParams) WithHTTPClient ¶
func (o *GetPluginsInfoParams) WithHTTPClient(client *http.Client) *GetPluginsInfoParams
WithHTTPClient adds the HTTPClient to the get plugins info params
func (*GetPluginsInfoParams) WithTimeout ¶
func (o *GetPluginsInfoParams) WithTimeout(timeout time.Duration) *GetPluginsInfoParams
WithTimeout adds the timeout to the get plugins info params
func (*GetPluginsInfoParams) WriteToRequest ¶
func (o *GetPluginsInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPluginsInfoReader ¶
type GetPluginsInfoReader struct {
// contains filtered or unexported fields
}
GetPluginsInfoReader is a Reader for the GetPluginsInfo structure.
func (*GetPluginsInfoReader) ReadResponse ¶
func (o *GetPluginsInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IPluginInfo ¶
type IPluginInfo interface { /* GetPluginsInfo retrieves the list of registered plugins */ GetPluginsInfo(ctx context.Context, params *GetPluginsInfoParams) (*GetPluginsInfoOK, error) }
IPluginInfo - interface for PluginInfo client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.