c_o_r_s

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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 c o r s API

func (*Client) OptionsAccounts

func (a *Client) OptionsAccounts(params *OptionsAccountsParams) (*OptionsAccountsOK, error)

OptionsAccounts cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsAccountsID

func (a *Client) OptionsAccountsID(params *OptionsAccountsIDParams) (*OptionsAccountsIDOK, error)

OptionsAccountsID cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsAuth added in v0.5.0

func (a *Client) OptionsAuth(params *OptionsAuthParams) (*OptionsAuthOK, error)

OptionsAuth cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsAuthFile added in v0.5.0

func (a *Client) OptionsAuthFile(params *OptionsAuthFileParams) (*OptionsAuthFileOK, error)

OptionsAuthFile cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsLeases

func (a *Client) OptionsLeases(params *OptionsLeasesParams) (*OptionsLeasesOK, error)

OptionsLeases cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsLeasesAuth added in v0.5.0

func (a *Client) OptionsLeasesAuth(params *OptionsLeasesAuthParams) (*OptionsLeasesAuthOK, error)

OptionsLeasesAuth cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsLeasesID

func (a *Client) OptionsLeasesID(params *OptionsLeasesIDParams) (*OptionsLeasesIDOK, error)

OptionsLeasesID cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsLeasesIDAuth

func (a *Client) OptionsLeasesIDAuth(params *OptionsLeasesIDAuthParams) (*OptionsLeasesIDAuthOK, error)

OptionsLeasesIDAuth cs o r s support

Enable CORS by returning correct headers

func (*Client) OptionsUsage

func (a *Client) OptionsUsage(params *OptionsUsageParams) (*OptionsUsageOK, error)

OptionsUsage cs o r s support

Enable CORS by returning correct headers

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.5.0

type ClientService interface {
	OptionsAccounts(params *OptionsAccountsParams) (*OptionsAccountsOK, error)

	OptionsAccountsID(params *OptionsAccountsIDParams) (*OptionsAccountsIDOK, error)

	OptionsAuth(params *OptionsAuthParams) (*OptionsAuthOK, error)

	OptionsAuthFile(params *OptionsAuthFileParams) (*OptionsAuthFileOK, error)

	OptionsLeases(params *OptionsLeasesParams) (*OptionsLeasesOK, error)

	OptionsLeasesAuth(params *OptionsLeasesAuthParams) (*OptionsLeasesAuthOK, error)

	OptionsLeasesID(params *OptionsLeasesIDParams) (*OptionsLeasesIDOK, error)

	OptionsLeasesIDAuth(params *OptionsLeasesIDAuthParams) (*OptionsLeasesIDAuthOK, error)

	OptionsUsage(params *OptionsUsageParams) (*OptionsUsageOK, 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 c o r s API client.

type OptionsAccountsIDOK

type OptionsAccountsIDOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsAccountsIDOK handles this case with default header values.

Default response for CORS method

func NewOptionsAccountsIDOK

func NewOptionsAccountsIDOK() *OptionsAccountsIDOK

NewOptionsAccountsIDOK creates a OptionsAccountsIDOK with default headers values

func (*OptionsAccountsIDOK) Error

func (o *OptionsAccountsIDOK) Error() string

type OptionsAccountsIDParams

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

OptionsAccountsIDParams contains all the parameters to send to the API endpoint for the options accounts ID operation typically these are written to a http.Request

func NewOptionsAccountsIDParams

func NewOptionsAccountsIDParams() *OptionsAccountsIDParams

NewOptionsAccountsIDParams creates a new OptionsAccountsIDParams object with the default values initialized.

func NewOptionsAccountsIDParamsWithContext

func NewOptionsAccountsIDParamsWithContext(ctx context.Context) *OptionsAccountsIDParams

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

func NewOptionsAccountsIDParamsWithHTTPClient

func NewOptionsAccountsIDParamsWithHTTPClient(client *http.Client) *OptionsAccountsIDParams

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

func NewOptionsAccountsIDParamsWithTimeout

func NewOptionsAccountsIDParamsWithTimeout(timeout time.Duration) *OptionsAccountsIDParams

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

func (*OptionsAccountsIDParams) SetContext

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

SetContext adds the context to the options accounts ID params

func (*OptionsAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options accounts ID params

func (*OptionsAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the options accounts ID params

func (*OptionsAccountsIDParams) WithContext

WithContext adds the context to the options accounts ID params

func (*OptionsAccountsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options accounts ID params

func (*OptionsAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the options accounts ID params

func (*OptionsAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OptionsAccountsIDReader

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

OptionsAccountsIDReader is a Reader for the OptionsAccountsID structure.

func (*OptionsAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OptionsAccountsOK

type OptionsAccountsOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsAccountsOK handles this case with default header values.

Default response for CORS method

func NewOptionsAccountsOK

func NewOptionsAccountsOK() *OptionsAccountsOK

NewOptionsAccountsOK creates a OptionsAccountsOK with default headers values

func (*OptionsAccountsOK) Error

func (o *OptionsAccountsOK) Error() string

type OptionsAccountsParams

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

OptionsAccountsParams contains all the parameters to send to the API endpoint for the options accounts operation typically these are written to a http.Request

func NewOptionsAccountsParams

func NewOptionsAccountsParams() *OptionsAccountsParams

NewOptionsAccountsParams creates a new OptionsAccountsParams object with the default values initialized.

func NewOptionsAccountsParamsWithContext

func NewOptionsAccountsParamsWithContext(ctx context.Context) *OptionsAccountsParams

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

func NewOptionsAccountsParamsWithHTTPClient

func NewOptionsAccountsParamsWithHTTPClient(client *http.Client) *OptionsAccountsParams

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

func NewOptionsAccountsParamsWithTimeout

func NewOptionsAccountsParamsWithTimeout(timeout time.Duration) *OptionsAccountsParams

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

func (*OptionsAccountsParams) SetContext

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

SetContext adds the context to the options accounts params

func (*OptionsAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options accounts params

func (*OptionsAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the options accounts params

func (*OptionsAccountsParams) WithContext

WithContext adds the context to the options accounts params

func (*OptionsAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options accounts params

func (*OptionsAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the options accounts params

func (*OptionsAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OptionsAccountsReader

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

OptionsAccountsReader is a Reader for the OptionsAccounts structure.

func (*OptionsAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OptionsAuthFileOK added in v0.5.0

type OptionsAuthFileOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsAuthFileOK handles this case with default header values.

Default response for CORS method

func NewOptionsAuthFileOK added in v0.5.0

func NewOptionsAuthFileOK() *OptionsAuthFileOK

NewOptionsAuthFileOK creates a OptionsAuthFileOK with default headers values

func (*OptionsAuthFileOK) Error added in v0.5.0

func (o *OptionsAuthFileOK) Error() string

type OptionsAuthFileParams added in v0.5.0

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

OptionsAuthFileParams contains all the parameters to send to the API endpoint for the options auth file operation typically these are written to a http.Request

func NewOptionsAuthFileParams added in v0.5.0

func NewOptionsAuthFileParams() *OptionsAuthFileParams

NewOptionsAuthFileParams creates a new OptionsAuthFileParams object with the default values initialized.

func NewOptionsAuthFileParamsWithContext added in v0.5.0

func NewOptionsAuthFileParamsWithContext(ctx context.Context) *OptionsAuthFileParams

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

func NewOptionsAuthFileParamsWithHTTPClient added in v0.5.0

func NewOptionsAuthFileParamsWithHTTPClient(client *http.Client) *OptionsAuthFileParams

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

func NewOptionsAuthFileParamsWithTimeout added in v0.5.0

func NewOptionsAuthFileParamsWithTimeout(timeout time.Duration) *OptionsAuthFileParams

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

func (*OptionsAuthFileParams) SetContext added in v0.5.0

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

SetContext adds the context to the options auth file params

func (*OptionsAuthFileParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the options auth file params

func (*OptionsAuthFileParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the options auth file params

func (*OptionsAuthFileParams) WithContext added in v0.5.0

WithContext adds the context to the options auth file params

func (*OptionsAuthFileParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the options auth file params

func (*OptionsAuthFileParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the options auth file params

func (*OptionsAuthFileParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type OptionsAuthFileReader added in v0.5.0

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

OptionsAuthFileReader is a Reader for the OptionsAuthFile structure.

func (*OptionsAuthFileReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type OptionsAuthOK added in v0.5.0

type OptionsAuthOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsAuthOK handles this case with default header values.

Default response for CORS method

func NewOptionsAuthOK added in v0.5.0

func NewOptionsAuthOK() *OptionsAuthOK

NewOptionsAuthOK creates a OptionsAuthOK with default headers values

func (*OptionsAuthOK) Error added in v0.5.0

func (o *OptionsAuthOK) Error() string

type OptionsAuthParams added in v0.5.0

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

OptionsAuthParams contains all the parameters to send to the API endpoint for the options auth operation typically these are written to a http.Request

func NewOptionsAuthParams added in v0.5.0

func NewOptionsAuthParams() *OptionsAuthParams

NewOptionsAuthParams creates a new OptionsAuthParams object with the default values initialized.

func NewOptionsAuthParamsWithContext added in v0.5.0

func NewOptionsAuthParamsWithContext(ctx context.Context) *OptionsAuthParams

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

func NewOptionsAuthParamsWithHTTPClient added in v0.5.0

func NewOptionsAuthParamsWithHTTPClient(client *http.Client) *OptionsAuthParams

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

func NewOptionsAuthParamsWithTimeout added in v0.5.0

func NewOptionsAuthParamsWithTimeout(timeout time.Duration) *OptionsAuthParams

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

func (*OptionsAuthParams) SetContext added in v0.5.0

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

SetContext adds the context to the options auth params

func (*OptionsAuthParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the options auth params

func (*OptionsAuthParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the options auth params

func (*OptionsAuthParams) WithContext added in v0.5.0

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

WithContext adds the context to the options auth params

func (*OptionsAuthParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the options auth params

func (*OptionsAuthParams) WithTimeout added in v0.5.0

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

WithTimeout adds the timeout to the options auth params

func (*OptionsAuthParams) WriteToRequest added in v0.5.0

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

WriteToRequest writes these params to a swagger request

type OptionsAuthReader added in v0.5.0

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

OptionsAuthReader is a Reader for the OptionsAuth structure.

func (*OptionsAuthReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type OptionsLeasesAuthOK added in v0.5.0

type OptionsLeasesAuthOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsLeasesAuthOK handles this case with default header values.

Default response for CORS method

func NewOptionsLeasesAuthOK added in v0.5.0

func NewOptionsLeasesAuthOK() *OptionsLeasesAuthOK

NewOptionsLeasesAuthOK creates a OptionsLeasesAuthOK with default headers values

func (*OptionsLeasesAuthOK) Error added in v0.5.0

func (o *OptionsLeasesAuthOK) Error() string

type OptionsLeasesAuthParams added in v0.5.0

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

OptionsLeasesAuthParams contains all the parameters to send to the API endpoint for the options leases auth operation typically these are written to a http.Request

func NewOptionsLeasesAuthParams added in v0.5.0

func NewOptionsLeasesAuthParams() *OptionsLeasesAuthParams

NewOptionsLeasesAuthParams creates a new OptionsLeasesAuthParams object with the default values initialized.

func NewOptionsLeasesAuthParamsWithContext added in v0.5.0

func NewOptionsLeasesAuthParamsWithContext(ctx context.Context) *OptionsLeasesAuthParams

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

func NewOptionsLeasesAuthParamsWithHTTPClient added in v0.5.0

func NewOptionsLeasesAuthParamsWithHTTPClient(client *http.Client) *OptionsLeasesAuthParams

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

func NewOptionsLeasesAuthParamsWithTimeout added in v0.5.0

func NewOptionsLeasesAuthParamsWithTimeout(timeout time.Duration) *OptionsLeasesAuthParams

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

func (*OptionsLeasesAuthParams) SetContext added in v0.5.0

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

SetContext adds the context to the options leases auth params

func (*OptionsLeasesAuthParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the options leases auth params

func (*OptionsLeasesAuthParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the options leases auth params

func (*OptionsLeasesAuthParams) WithContext added in v0.5.0

WithContext adds the context to the options leases auth params

func (*OptionsLeasesAuthParams) WithHTTPClient added in v0.5.0

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

WithHTTPClient adds the HTTPClient to the options leases auth params

func (*OptionsLeasesAuthParams) WithTimeout added in v0.5.0

WithTimeout adds the timeout to the options leases auth params

func (*OptionsLeasesAuthParams) WriteToRequest added in v0.5.0

WriteToRequest writes these params to a swagger request

type OptionsLeasesAuthReader added in v0.5.0

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

OptionsLeasesAuthReader is a Reader for the OptionsLeasesAuth structure.

func (*OptionsLeasesAuthReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type OptionsLeasesIDAuthOK

type OptionsLeasesIDAuthOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsLeasesIDAuthOK handles this case with default header values.

Default response for CORS method

func NewOptionsLeasesIDAuthOK

func NewOptionsLeasesIDAuthOK() *OptionsLeasesIDAuthOK

NewOptionsLeasesIDAuthOK creates a OptionsLeasesIDAuthOK with default headers values

func (*OptionsLeasesIDAuthOK) Error

func (o *OptionsLeasesIDAuthOK) Error() string

type OptionsLeasesIDAuthParams

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

OptionsLeasesIDAuthParams contains all the parameters to send to the API endpoint for the options leases ID auth operation typically these are written to a http.Request

func NewOptionsLeasesIDAuthParams

func NewOptionsLeasesIDAuthParams() *OptionsLeasesIDAuthParams

NewOptionsLeasesIDAuthParams creates a new OptionsLeasesIDAuthParams object with the default values initialized.

func NewOptionsLeasesIDAuthParamsWithContext

func NewOptionsLeasesIDAuthParamsWithContext(ctx context.Context) *OptionsLeasesIDAuthParams

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

func NewOptionsLeasesIDAuthParamsWithHTTPClient

func NewOptionsLeasesIDAuthParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDAuthParams

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

func NewOptionsLeasesIDAuthParamsWithTimeout

func NewOptionsLeasesIDAuthParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDAuthParams

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

func (*OptionsLeasesIDAuthParams) SetContext

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

SetContext adds the context to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) SetTimeout

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

SetTimeout adds the timeout to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) WithContext

WithContext adds the context to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) WithTimeout

WithTimeout adds the timeout to the options leases ID auth params

func (*OptionsLeasesIDAuthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OptionsLeasesIDAuthReader

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

OptionsLeasesIDAuthReader is a Reader for the OptionsLeasesIDAuth structure.

func (*OptionsLeasesIDAuthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OptionsLeasesIDOK

type OptionsLeasesIDOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsLeasesIDOK handles this case with default header values.

Default response for CORS method

func NewOptionsLeasesIDOK

func NewOptionsLeasesIDOK() *OptionsLeasesIDOK

NewOptionsLeasesIDOK creates a OptionsLeasesIDOK with default headers values

func (*OptionsLeasesIDOK) Error

func (o *OptionsLeasesIDOK) Error() string

type OptionsLeasesIDParams

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

OptionsLeasesIDParams contains all the parameters to send to the API endpoint for the options leases ID operation typically these are written to a http.Request

func NewOptionsLeasesIDParams

func NewOptionsLeasesIDParams() *OptionsLeasesIDParams

NewOptionsLeasesIDParams creates a new OptionsLeasesIDParams object with the default values initialized.

func NewOptionsLeasesIDParamsWithContext

func NewOptionsLeasesIDParamsWithContext(ctx context.Context) *OptionsLeasesIDParams

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

func NewOptionsLeasesIDParamsWithHTTPClient

func NewOptionsLeasesIDParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDParams

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

func NewOptionsLeasesIDParamsWithTimeout

func NewOptionsLeasesIDParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDParams

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

func (*OptionsLeasesIDParams) SetContext

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

SetContext adds the context to the options leases ID params

func (*OptionsLeasesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options leases ID params

func (*OptionsLeasesIDParams) SetTimeout

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

SetTimeout adds the timeout to the options leases ID params

func (*OptionsLeasesIDParams) WithContext

WithContext adds the context to the options leases ID params

func (*OptionsLeasesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options leases ID params

func (*OptionsLeasesIDParams) WithTimeout

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

WithTimeout adds the timeout to the options leases ID params

func (*OptionsLeasesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OptionsLeasesIDReader

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

OptionsLeasesIDReader is a Reader for the OptionsLeasesID structure.

func (*OptionsLeasesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OptionsLeasesOK

type OptionsLeasesOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsLeasesOK handles this case with default header values.

Default response for CORS method

func NewOptionsLeasesOK

func NewOptionsLeasesOK() *OptionsLeasesOK

NewOptionsLeasesOK creates a OptionsLeasesOK with default headers values

func (*OptionsLeasesOK) Error

func (o *OptionsLeasesOK) Error() string

type OptionsLeasesParams

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

OptionsLeasesParams contains all the parameters to send to the API endpoint for the options leases operation typically these are written to a http.Request

func NewOptionsLeasesParams

func NewOptionsLeasesParams() *OptionsLeasesParams

NewOptionsLeasesParams creates a new OptionsLeasesParams object with the default values initialized.

func NewOptionsLeasesParamsWithContext

func NewOptionsLeasesParamsWithContext(ctx context.Context) *OptionsLeasesParams

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

func NewOptionsLeasesParamsWithHTTPClient

func NewOptionsLeasesParamsWithHTTPClient(client *http.Client) *OptionsLeasesParams

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

func NewOptionsLeasesParamsWithTimeout

func NewOptionsLeasesParamsWithTimeout(timeout time.Duration) *OptionsLeasesParams

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

func (*OptionsLeasesParams) SetContext

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

SetContext adds the context to the options leases params

func (*OptionsLeasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options leases params

func (*OptionsLeasesParams) SetTimeout

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

SetTimeout adds the timeout to the options leases params

func (*OptionsLeasesParams) WithContext

WithContext adds the context to the options leases params

func (*OptionsLeasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options leases params

func (*OptionsLeasesParams) WithTimeout

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

WithTimeout adds the timeout to the options leases params

func (*OptionsLeasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OptionsLeasesReader

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

OptionsLeasesReader is a Reader for the OptionsLeases structure.

func (*OptionsLeasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OptionsUsageOK

type OptionsUsageOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string
}

OptionsUsageOK handles this case with default header values.

Default response for CORS method

func NewOptionsUsageOK

func NewOptionsUsageOK() *OptionsUsageOK

NewOptionsUsageOK creates a OptionsUsageOK with default headers values

func (*OptionsUsageOK) Error

func (o *OptionsUsageOK) Error() string

type OptionsUsageParams

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

OptionsUsageParams contains all the parameters to send to the API endpoint for the options usage operation typically these are written to a http.Request

func NewOptionsUsageParams

func NewOptionsUsageParams() *OptionsUsageParams

NewOptionsUsageParams creates a new OptionsUsageParams object with the default values initialized.

func NewOptionsUsageParamsWithContext

func NewOptionsUsageParamsWithContext(ctx context.Context) *OptionsUsageParams

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

func NewOptionsUsageParamsWithHTTPClient

func NewOptionsUsageParamsWithHTTPClient(client *http.Client) *OptionsUsageParams

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

func NewOptionsUsageParamsWithTimeout

func NewOptionsUsageParamsWithTimeout(timeout time.Duration) *OptionsUsageParams

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

func (*OptionsUsageParams) SetContext

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

SetContext adds the context to the options usage params

func (*OptionsUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the options usage params

func (*OptionsUsageParams) SetTimeout

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

SetTimeout adds the timeout to the options usage params

func (*OptionsUsageParams) WithContext

WithContext adds the context to the options usage params

func (*OptionsUsageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the options usage params

func (*OptionsUsageParams) WithTimeout

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

WithTimeout adds the timeout to the options usage params

func (*OptionsUsageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OptionsUsageReader

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

OptionsUsageReader is a Reader for the OptionsUsage structure.

func (*OptionsUsageReader) ReadResponse

func (o *OptionsUsageReader) 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