debug

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 debug API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new debug API client.

func (*Client) GetClock

func (a *Client) GetClock(ctx context.Context, params *GetClockParams) (*GetClockOK, error)

GetClock gets test clock

func (*Client) SetClock

func (a *Client) SetClock(ctx context.Context, params *SetClockParams) (*SetClockOK, error)

SetClock sets test clock

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetClockOK

type GetClockOK struct {
	Payload *kbmodel.Clock

	HttpResponse runtime.ClientResponse
}

GetClockOK handles this case with default header values.

successful operation

func NewGetClockOK

func NewGetClockOK() *GetClockOK

NewGetClockOK creates a GetClockOK with default headers values

func (*GetClockOK) Error

func (o *GetClockOK) Error() string

type GetClockParams

type GetClockParams struct {

	/*XKillbillAPIKey*/
	XKillbillAPIKey string
	/*XKillbillAPISecret*/
	XKillbillAPISecret string

	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
}

GetClockParams contains all the parameters to send to the API endpoint for the get clock operation typically these are written to a http.Request

func NewGetClockParams

func NewGetClockParams() *GetClockParams

NewGetClockParams creates a new GetClockParams object with the default values initialized.

func NewGetClockParamsWithContext

func NewGetClockParamsWithContext(ctx context.Context) *GetClockParams

NewGetClockParamsWithContext creates a new GetClockParams object with the default values initialized, and the ability to set a context for a request

func NewGetClockParamsWithHTTPClient

func NewGetClockParamsWithHTTPClient(client *http.Client) *GetClockParams

NewGetClockParamsWithHTTPClient creates a new GetClockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClockParamsWithTimeout

func NewGetClockParamsWithTimeout(timeout time.Duration) *GetClockParams

NewGetClockParamsWithTimeout creates a new GetClockParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetClockParams) SetContext

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

SetContext adds the context to the get clock params

func (*GetClockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clock params

func (*GetClockParams) SetTimeout

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

SetTimeout adds the timeout to the get clock params

func (*GetClockParams) SetXKillbillAPIKey

func (o *GetClockParams) SetXKillbillAPIKey(xKillbillAPIKey string)

SetXKillbillAPIKey adds the xKillbillApiKey to the get clock params

func (*GetClockParams) SetXKillbillAPISecret

func (o *GetClockParams) SetXKillbillAPISecret(xKillbillAPISecret string)

SetXKillbillAPISecret adds the xKillbillApiSecret to the get clock params

func (*GetClockParams) WithContext

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

WithContext adds the context to the get clock params

func (*GetClockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get clock params

func (*GetClockParams) WithTimeout

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

WithTimeout adds the timeout to the get clock params

func (*GetClockParams) WithXKillbillAPIKey

func (o *GetClockParams) WithXKillbillAPIKey(xKillbillAPIKey string) *GetClockParams

WithXKillbillAPIKey adds the xKillbillAPIKey to the get clock params

func (*GetClockParams) WithXKillbillAPISecret

func (o *GetClockParams) WithXKillbillAPISecret(xKillbillAPISecret string) *GetClockParams

WithXKillbillAPISecret adds the xKillbillAPISecret to the get clock params

func (*GetClockParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClockReader

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

GetClockReader is a Reader for the GetClock structure.

func (*GetClockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IDebug

type IDebug interface {
	/*
		GetClock gets test clock
	*/
	GetClock(ctx context.Context, params *GetClockParams) (*GetClockOK, error)

	/*
		SetClock sets test clock
	*/
	SetClock(ctx context.Context, params *SetClockParams) (*SetClockOK, error)
}

IDebug - interface for Debug 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.

type SetClockOK

type SetClockOK struct {
	Payload *kbmodel.Clock

	HttpResponse runtime.ClientResponse
}

SetClockOK handles this case with default header values.

successful operation

func NewSetClockOK

func NewSetClockOK() *SetClockOK

NewSetClockOK creates a SetClockOK with default headers values

func (*SetClockOK) Error

func (o *SetClockOK) Error() string

type SetClockParams

type SetClockParams struct {

	/*XKillbillAPIKey*/
	XKillbillAPIKey string
	/*XKillbillAPISecret*/
	XKillbillAPISecret string
	/*RequestedDate*/
	RequestedDate strfmt.DateTime

	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
}

SetClockParams contains all the parameters to send to the API endpoint for the set clock operation typically these are written to a http.Request

func NewSetClockParams

func NewSetClockParams() *SetClockParams

NewSetClockParams creates a new SetClockParams object with the default values initialized.

func NewSetClockParamsWithContext

func NewSetClockParamsWithContext(ctx context.Context) *SetClockParams

NewSetClockParamsWithContext creates a new SetClockParams object with the default values initialized, and the ability to set a context for a request

func NewSetClockParamsWithHTTPClient

func NewSetClockParamsWithHTTPClient(client *http.Client) *SetClockParams

NewSetClockParamsWithHTTPClient creates a new SetClockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetClockParamsWithTimeout

func NewSetClockParamsWithTimeout(timeout time.Duration) *SetClockParams

NewSetClockParamsWithTimeout creates a new SetClockParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetClockParams) SetContext

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

SetContext adds the context to the set clock params

func (*SetClockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set clock params

func (*SetClockParams) SetRequestedDate

func (o *SetClockParams) SetRequestedDate(requestedDate strfmt.DateTime)

SetRequestedDate adds the requestedDate to the set clock params

func (*SetClockParams) SetTimeout

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

SetTimeout adds the timeout to the set clock params

func (*SetClockParams) SetXKillbillAPIKey

func (o *SetClockParams) SetXKillbillAPIKey(xKillbillAPIKey string)

SetXKillbillAPIKey adds the xKillbillApiKey to the set clock params

func (*SetClockParams) SetXKillbillAPISecret

func (o *SetClockParams) SetXKillbillAPISecret(xKillbillAPISecret string)

SetXKillbillAPISecret adds the xKillbillApiSecret to the set clock params

func (*SetClockParams) WithContext

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

WithContext adds the context to the set clock params

func (*SetClockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set clock params

func (*SetClockParams) WithRequestedDate

func (o *SetClockParams) WithRequestedDate(requestedDate strfmt.DateTime) *SetClockParams

WithRequestedDate adds the requestedDate to the set clock params

func (*SetClockParams) WithTimeout

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

WithTimeout adds the timeout to the set clock params

func (*SetClockParams) WithXKillbillAPIKey

func (o *SetClockParams) WithXKillbillAPIKey(xKillbillAPIKey string) *SetClockParams

WithXKillbillAPIKey adds the xKillbillAPIKey to the set clock params

func (*SetClockParams) WithXKillbillAPISecret

func (o *SetClockParams) WithXKillbillAPISecret(xKillbillAPISecret string) *SetClockParams

WithXKillbillAPISecret adds the xKillbillAPISecret to the set clock params

func (*SetClockParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetClockReader

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

SetClockReader is a Reader for the SetClock structure.

func (*SetClockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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