catalog

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.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 CatalogGetOK

type CatalogGetOK struct {
	Payload *models.Catalog
}

CatalogGetOK handles this case with default header values.

catalog response

func NewCatalogGetOK

func NewCatalogGetOK() *CatalogGetOK

NewCatalogGetOK creates a CatalogGetOK with default headers values

func (*CatalogGetOK) Error

func (o *CatalogGetOK) Error() string

type CatalogGetParams

type CatalogGetParams struct {

	/*XBrokerAPIVersion
	  version number of the Service Broker API that the Platform will use

	*/
	XBrokerAPIVersion string

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

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

func NewCatalogGetParams

func NewCatalogGetParams() *CatalogGetParams

NewCatalogGetParams creates a new CatalogGetParams object with the default values initialized.

func NewCatalogGetParamsWithContext

func NewCatalogGetParamsWithContext(ctx context.Context) *CatalogGetParams

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

func NewCatalogGetParamsWithHTTPClient

func NewCatalogGetParamsWithHTTPClient(client *http.Client) *CatalogGetParams

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

func NewCatalogGetParamsWithTimeout

func NewCatalogGetParamsWithTimeout(timeout time.Duration) *CatalogGetParams

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

func (*CatalogGetParams) SetContext

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

SetContext adds the context to the catalog get params

func (*CatalogGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the catalog get params

func (*CatalogGetParams) SetTimeout

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

SetTimeout adds the timeout to the catalog get params

func (*CatalogGetParams) SetXBrokerAPIVersion

func (o *CatalogGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the catalog get params

func (*CatalogGetParams) WithContext

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

WithContext adds the context to the catalog get params

func (*CatalogGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the catalog get params

func (*CatalogGetParams) WithTimeout

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

WithTimeout adds the timeout to the catalog get params

func (*CatalogGetParams) WithXBrokerAPIVersion

func (o *CatalogGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *CatalogGetParams

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the catalog get params

func (*CatalogGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CatalogGetReader

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

CatalogGetReader is a Reader for the CatalogGet structure.

func (*CatalogGetReader) ReadResponse

func (o *CatalogGetReader) 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 catalog API

func New

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

New creates a new catalog API client.

func (*Client) CatalogGet

func (a *Client) CatalogGet(params *CatalogGetParams, authInfo runtime.ClientAuthInfoWriter) (*CatalogGetOK, error)

CatalogGet gets the catalog of services that the service broker offers

func (*Client) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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