catalog

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 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 describes a response with status code 200, 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

func (*CatalogGetOK) GetPayload added in v1.1.0

func (o *CatalogGetOK) GetPayload() *models.Catalog

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCatalogGetParamsWithContext

func NewCatalogGetParamsWithContext(ctx context.Context) *CatalogGetParams

NewCatalogGetParamsWithContext creates a new CatalogGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *CatalogGetParams) SetDefaults()

SetDefaults hydrates default values in the catalog get params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v1.1.0

func (o *CatalogGetParams) WithDefaults() *CatalogGetParams

WithDefaults hydrates default values in the catalog get params (not the query body).

All values with no default are reset to their zero value.

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 (*Client) CatalogGet

func (a *Client) CatalogGet(params *CatalogGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	CatalogGet(params *CatalogGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CatalogGetOK, 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 catalog API client.

Jump to

Keyboard shortcuts

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