Documentation ¶
Index ¶
- type CatalogGetOK
- func (o *CatalogGetOK) Code() int
- func (o *CatalogGetOK) Error() string
- func (o *CatalogGetOK) GetPayload() *models.Catalog
- func (o *CatalogGetOK) IsClientError() bool
- func (o *CatalogGetOK) IsCode(code int) bool
- func (o *CatalogGetOK) IsRedirect() bool
- func (o *CatalogGetOK) IsServerError() bool
- func (o *CatalogGetOK) IsSuccess() bool
- func (o *CatalogGetOK) String() string
- type CatalogGetParams
- func (o *CatalogGetParams) SetContext(ctx context.Context)
- func (o *CatalogGetParams) SetDefaults()
- func (o *CatalogGetParams) SetHTTPClient(client *http.Client)
- func (o *CatalogGetParams) SetTimeout(timeout time.Duration)
- func (o *CatalogGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *CatalogGetParams) WithContext(ctx context.Context) *CatalogGetParams
- func (o *CatalogGetParams) WithDefaults() *CatalogGetParams
- func (o *CatalogGetParams) WithHTTPClient(client *http.Client) *CatalogGetParams
- func (o *CatalogGetParams) WithTimeout(timeout time.Duration) *CatalogGetParams
- func (o *CatalogGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *CatalogGetParams
- func (o *CatalogGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogGetReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogGetOK ¶
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) Code ¶ added in v1.2.4
func (o *CatalogGetOK) Code() int
Code gets the status code for the catalog get o k response
func (*CatalogGetOK) Error ¶
func (o *CatalogGetOK) Error() string
func (*CatalogGetOK) GetPayload ¶ added in v1.1.0
func (o *CatalogGetOK) GetPayload() *models.Catalog
func (*CatalogGetOK) IsClientError ¶ added in v1.2.2
func (o *CatalogGetOK) IsClientError() bool
IsClientError returns true when this catalog get o k response has a 4xx status code
func (*CatalogGetOK) IsCode ¶ added in v1.2.2
func (o *CatalogGetOK) IsCode(code int) bool
IsCode returns true when this catalog get o k response a status code equal to that given
func (*CatalogGetOK) IsRedirect ¶ added in v1.2.2
func (o *CatalogGetOK) IsRedirect() bool
IsRedirect returns true when this catalog get o k response has a 3xx status code
func (*CatalogGetOK) IsServerError ¶ added in v1.2.2
func (o *CatalogGetOK) IsServerError() bool
IsServerError returns true when this catalog get o k response has a 5xx status code
func (*CatalogGetOK) IsSuccess ¶ added in v1.2.2
func (o *CatalogGetOK) IsSuccess() bool
IsSuccess returns true when this catalog get o k response has a 2xx status code
func (*CatalogGetOK) String ¶ added in v1.2.2
func (o *CatalogGetOK) String() 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 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.