r_d_s

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOK

type AddOK struct {
	Payload models.APIRDSAddResponse
}

AddOK handles this case with default header values.

(empty)

func NewAddOK

func NewAddOK() *AddOK

NewAddOK creates a AddOK with default headers values

func (*AddOK) Error

func (o *AddOK) Error() string

type AddParams

type AddParams struct {

	/*Body*/
	Body *models.APIRDSAddRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddParams contains all the parameters to send to the API endpoint for the add operation typically these are written to a http.Request

func NewAddParams

func NewAddParams() *AddParams

NewAddParams creates a new AddParams object with the default values initialized.

func NewAddParamsWithContext

func NewAddParamsWithContext(ctx context.Context) *AddParams

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

func NewAddParamsWithHTTPClient

func NewAddParamsWithHTTPClient(client *http.Client) *AddParams

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

func NewAddParamsWithTimeout

func NewAddParamsWithTimeout(timeout time.Duration) *AddParams

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

func (*AddParams) SetBody

func (o *AddParams) SetBody(body *models.APIRDSAddRequest)

SetBody adds the body to the add params

func (*AddParams) SetContext

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

SetContext adds the context to the add params

func (*AddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add params

func (*AddParams) SetTimeout

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

SetTimeout adds the timeout to the add params

func (*AddParams) WithBody

func (o *AddParams) WithBody(body *models.APIRDSAddRequest) *AddParams

WithBody adds the body to the add params

func (*AddParams) WithContext

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

WithContext adds the context to the add params

func (*AddParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add params

func (*AddParams) WithTimeout

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

WithTimeout adds the timeout to the add params

func (*AddParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddReader

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

AddReader is a Reader for the Add structure.

func (*AddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for r d s API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new r d s API client.

func (*Client) Add

func (a *Client) Add(params *AddParams) (*AddOK, error)

Add add API

func (*Client) Discover

func (a *Client) Discover(params *DiscoverParams) (*DiscoverOK, error)

Discover discover API

func (*Client) List added in v1.6.0

func (a *Client) List(params *ListParams) (*ListOK, error)

List list API

func (*Client) Remove

func (a *Client) Remove(params *RemoveParams) (*RemoveOK, error)

Remove remove API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DiscoverOK

type DiscoverOK struct {
	Payload *models.APIRDSDiscoverResponse
}

DiscoverOK handles this case with default header values.

(empty)

func NewDiscoverOK

func NewDiscoverOK() *DiscoverOK

NewDiscoverOK creates a DiscoverOK with default headers values

func (*DiscoverOK) Error

func (o *DiscoverOK) Error() string

type DiscoverParams

type DiscoverParams struct {

	/*Body*/
	Body *models.APIRDSDiscoverRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DiscoverParams contains all the parameters to send to the API endpoint for the discover operation typically these are written to a http.Request

func NewDiscoverParams

func NewDiscoverParams() *DiscoverParams

NewDiscoverParams creates a new DiscoverParams object with the default values initialized.

func NewDiscoverParamsWithContext

func NewDiscoverParamsWithContext(ctx context.Context) *DiscoverParams

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

func NewDiscoverParamsWithHTTPClient

func NewDiscoverParamsWithHTTPClient(client *http.Client) *DiscoverParams

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

func NewDiscoverParamsWithTimeout

func NewDiscoverParamsWithTimeout(timeout time.Duration) *DiscoverParams

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

func (*DiscoverParams) SetBody

func (o *DiscoverParams) SetBody(body *models.APIRDSDiscoverRequest)

SetBody adds the body to the discover params

func (*DiscoverParams) SetContext

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

SetContext adds the context to the discover params

func (*DiscoverParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the discover params

func (*DiscoverParams) SetTimeout

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

SetTimeout adds the timeout to the discover params

func (*DiscoverParams) WithBody

WithBody adds the body to the discover params

func (*DiscoverParams) WithContext

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

WithContext adds the context to the discover params

func (*DiscoverParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the discover params

func (*DiscoverParams) WithTimeout

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

WithTimeout adds the timeout to the discover params

func (*DiscoverParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DiscoverReader

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

DiscoverReader is a Reader for the Discover structure.

func (*DiscoverReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOK added in v1.6.0

type ListOK struct {
	Payload *models.APIRDSListResponse
}

ListOK handles this case with default header values.

(empty)

func NewListOK added in v1.6.0

func NewListOK() *ListOK

NewListOK creates a ListOK with default headers values

func (*ListOK) Error added in v1.6.0

func (o *ListOK) Error() string

type ListParams added in v1.6.0

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

ListParams contains all the parameters to send to the API endpoint for the list operation typically these are written to a http.Request

func NewListParams added in v1.6.0

func NewListParams() *ListParams

NewListParams creates a new ListParams object with the default values initialized.

func NewListParamsWithContext added in v1.6.0

func NewListParamsWithContext(ctx context.Context) *ListParams

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

func NewListParamsWithHTTPClient added in v1.6.0

func NewListParamsWithHTTPClient(client *http.Client) *ListParams

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

func NewListParamsWithTimeout added in v1.6.0

func NewListParamsWithTimeout(timeout time.Duration) *ListParams

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

func (*ListParams) SetContext added in v1.6.0

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

SetContext adds the context to the list params

func (*ListParams) SetHTTPClient added in v1.6.0

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

SetHTTPClient adds the HTTPClient to the list params

func (*ListParams) SetTimeout added in v1.6.0

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

SetTimeout adds the timeout to the list params

func (*ListParams) WithContext added in v1.6.0

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

WithContext adds the context to the list params

func (*ListParams) WithHTTPClient added in v1.6.0

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

WithHTTPClient adds the HTTPClient to the list params

func (*ListParams) WithTimeout added in v1.6.0

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

WithTimeout adds the timeout to the list params

func (*ListParams) WriteToRequest added in v1.6.0

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

WriteToRequest writes these params to a swagger request

type ListReader added in v1.6.0

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

ListReader is a Reader for the List structure.

func (*ListReader) ReadResponse added in v1.6.0

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

ReadResponse reads a server response into the received o.

type RemoveOK

type RemoveOK struct {
	Payload models.APIRDSRemoveResponse
}

RemoveOK handles this case with default header values.

(empty)

func NewRemoveOK

func NewRemoveOK() *RemoveOK

NewRemoveOK creates a RemoveOK with default headers values

func (*RemoveOK) Error

func (o *RemoveOK) Error() string

type RemoveParams

type RemoveParams struct {

	/*Body*/
	Body *models.APIRDSRemoveRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveParams contains all the parameters to send to the API endpoint for the remove operation typically these are written to a http.Request

func NewRemoveParams

func NewRemoveParams() *RemoveParams

NewRemoveParams creates a new RemoveParams object with the default values initialized.

func NewRemoveParamsWithContext

func NewRemoveParamsWithContext(ctx context.Context) *RemoveParams

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

func NewRemoveParamsWithHTTPClient

func NewRemoveParamsWithHTTPClient(client *http.Client) *RemoveParams

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

func NewRemoveParamsWithTimeout

func NewRemoveParamsWithTimeout(timeout time.Duration) *RemoveParams

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

func (*RemoveParams) SetBody

func (o *RemoveParams) SetBody(body *models.APIRDSRemoveRequest)

SetBody adds the body to the remove params

func (*RemoveParams) SetContext

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

SetContext adds the context to the remove params

func (*RemoveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove params

func (*RemoveParams) SetTimeout

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

SetTimeout adds the timeout to the remove params

func (*RemoveParams) WithBody

WithBody adds the body to the remove params

func (*RemoveParams) WithContext

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

WithContext adds the context to the remove params

func (*RemoveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove params

func (*RemoveParams) WithTimeout

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

WithTimeout adds the timeout to the remove params

func (*RemoveParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveReader

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

RemoveReader is a Reader for the Remove structure.

func (*RemoveReader) ReadResponse

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