Documentation ¶
Index ¶
- type CatalogGetBadRequest
- func (o *CatalogGetBadRequest) Code() int
- func (o *CatalogGetBadRequest) Error() string
- func (o *CatalogGetBadRequest) GetPayload() *models.Error
- func (o *CatalogGetBadRequest) IsClientError() bool
- func (o *CatalogGetBadRequest) IsCode(code int) bool
- func (o *CatalogGetBadRequest) IsRedirect() bool
- func (o *CatalogGetBadRequest) IsServerError() bool
- func (o *CatalogGetBadRequest) IsSuccess() bool
- func (o *CatalogGetBadRequest) String() string
- type CatalogGetForbidden
- func (o *CatalogGetForbidden) Code() int
- func (o *CatalogGetForbidden) Error() string
- func (o *CatalogGetForbidden) GetPayload() *models.Error
- func (o *CatalogGetForbidden) IsClientError() bool
- func (o *CatalogGetForbidden) IsCode(code int) bool
- func (o *CatalogGetForbidden) IsRedirect() bool
- func (o *CatalogGetForbidden) IsServerError() bool
- func (o *CatalogGetForbidden) IsSuccess() bool
- func (o *CatalogGetForbidden) String() string
- type CatalogGetNotFound
- func (o *CatalogGetNotFound) Code() int
- func (o *CatalogGetNotFound) Error() string
- func (o *CatalogGetNotFound) GetPayload() *models.Error
- func (o *CatalogGetNotFound) IsClientError() bool
- func (o *CatalogGetNotFound) IsCode(code int) bool
- func (o *CatalogGetNotFound) IsRedirect() bool
- func (o *CatalogGetNotFound) IsServerError() bool
- func (o *CatalogGetNotFound) IsSuccess() bool
- func (o *CatalogGetNotFound) String() string
- 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 CatalogGetUnauthorized
- func (o *CatalogGetUnauthorized) Code() int
- func (o *CatalogGetUnauthorized) Error() string
- func (o *CatalogGetUnauthorized) GetPayload() *models.Error
- func (o *CatalogGetUnauthorized) IsClientError() bool
- func (o *CatalogGetUnauthorized) IsCode(code int) bool
- func (o *CatalogGetUnauthorized) IsRedirect() bool
- func (o *CatalogGetUnauthorized) IsServerError() bool
- func (o *CatalogGetUnauthorized) IsSuccess() bool
- func (o *CatalogGetUnauthorized) String() string
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogGetBadRequest ¶ added in v1.4.2
CatalogGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCatalogGetBadRequest ¶ added in v1.4.2
func NewCatalogGetBadRequest() *CatalogGetBadRequest
NewCatalogGetBadRequest creates a CatalogGetBadRequest with default headers values
func (*CatalogGetBadRequest) Code ¶ added in v1.4.2
func (o *CatalogGetBadRequest) Code() int
Code gets the status code for the catalog get bad request response
func (*CatalogGetBadRequest) Error ¶ added in v1.4.2
func (o *CatalogGetBadRequest) Error() string
func (*CatalogGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *CatalogGetBadRequest) GetPayload() *models.Error
func (*CatalogGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *CatalogGetBadRequest) IsClientError() bool
IsClientError returns true when this catalog get bad request response has a 4xx status code
func (*CatalogGetBadRequest) IsCode ¶ added in v1.4.2
func (o *CatalogGetBadRequest) IsCode(code int) bool
IsCode returns true when this catalog get bad request response a status code equal to that given
func (*CatalogGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *CatalogGetBadRequest) IsRedirect() bool
IsRedirect returns true when this catalog get bad request response has a 3xx status code
func (*CatalogGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *CatalogGetBadRequest) IsServerError() bool
IsServerError returns true when this catalog get bad request response has a 5xx status code
func (*CatalogGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *CatalogGetBadRequest) IsSuccess() bool
IsSuccess returns true when this catalog get bad request response has a 2xx status code
func (*CatalogGetBadRequest) String ¶ added in v1.4.2
func (o *CatalogGetBadRequest) String() string
type CatalogGetForbidden ¶ added in v1.4.2
CatalogGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCatalogGetForbidden ¶ added in v1.4.2
func NewCatalogGetForbidden() *CatalogGetForbidden
NewCatalogGetForbidden creates a CatalogGetForbidden with default headers values
func (*CatalogGetForbidden) Code ¶ added in v1.4.2
func (o *CatalogGetForbidden) Code() int
Code gets the status code for the catalog get forbidden response
func (*CatalogGetForbidden) Error ¶ added in v1.4.2
func (o *CatalogGetForbidden) Error() string
func (*CatalogGetForbidden) GetPayload ¶ added in v1.4.2
func (o *CatalogGetForbidden) GetPayload() *models.Error
func (*CatalogGetForbidden) IsClientError ¶ added in v1.4.2
func (o *CatalogGetForbidden) IsClientError() bool
IsClientError returns true when this catalog get forbidden response has a 4xx status code
func (*CatalogGetForbidden) IsCode ¶ added in v1.4.2
func (o *CatalogGetForbidden) IsCode(code int) bool
IsCode returns true when this catalog get forbidden response a status code equal to that given
func (*CatalogGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *CatalogGetForbidden) IsRedirect() bool
IsRedirect returns true when this catalog get forbidden response has a 3xx status code
func (*CatalogGetForbidden) IsServerError ¶ added in v1.4.2
func (o *CatalogGetForbidden) IsServerError() bool
IsServerError returns true when this catalog get forbidden response has a 5xx status code
func (*CatalogGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *CatalogGetForbidden) IsSuccess() bool
IsSuccess returns true when this catalog get forbidden response has a 2xx status code
func (*CatalogGetForbidden) String ¶ added in v1.4.2
func (o *CatalogGetForbidden) String() string
type CatalogGetNotFound ¶ added in v1.4.2
CatalogGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewCatalogGetNotFound ¶ added in v1.4.2
func NewCatalogGetNotFound() *CatalogGetNotFound
NewCatalogGetNotFound creates a CatalogGetNotFound with default headers values
func (*CatalogGetNotFound) Code ¶ added in v1.4.2
func (o *CatalogGetNotFound) Code() int
Code gets the status code for the catalog get not found response
func (*CatalogGetNotFound) Error ¶ added in v1.4.2
func (o *CatalogGetNotFound) Error() string
func (*CatalogGetNotFound) GetPayload ¶ added in v1.4.2
func (o *CatalogGetNotFound) GetPayload() *models.Error
func (*CatalogGetNotFound) IsClientError ¶ added in v1.4.2
func (o *CatalogGetNotFound) IsClientError() bool
IsClientError returns true when this catalog get not found response has a 4xx status code
func (*CatalogGetNotFound) IsCode ¶ added in v1.4.2
func (o *CatalogGetNotFound) IsCode(code int) bool
IsCode returns true when this catalog get not found response a status code equal to that given
func (*CatalogGetNotFound) IsRedirect ¶ added in v1.4.2
func (o *CatalogGetNotFound) IsRedirect() bool
IsRedirect returns true when this catalog get not found response has a 3xx status code
func (*CatalogGetNotFound) IsServerError ¶ added in v1.4.2
func (o *CatalogGetNotFound) IsServerError() bool
IsServerError returns true when this catalog get not found response has a 5xx status code
func (*CatalogGetNotFound) IsSuccess ¶ added in v1.4.2
func (o *CatalogGetNotFound) IsSuccess() bool
IsSuccess returns true when this catalog get not found response has a 2xx status code
func (*CatalogGetNotFound) String ¶ added in v1.4.2
func (o *CatalogGetNotFound) String() string
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 CatalogGetUnauthorized ¶ added in v1.4.2
type CatalogGetUnauthorized struct {
}CatalogGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCatalogGetUnauthorized ¶ added in v1.4.2
func NewCatalogGetUnauthorized() *CatalogGetUnauthorized
NewCatalogGetUnauthorized creates a CatalogGetUnauthorized with default headers values
func (*CatalogGetUnauthorized) Code ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) Code() int
Code gets the status code for the catalog get unauthorized response
func (*CatalogGetUnauthorized) Error ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) Error() string
func (*CatalogGetUnauthorized) GetPayload ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) GetPayload() *models.Error
func (*CatalogGetUnauthorized) IsClientError ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) IsClientError() bool
IsClientError returns true when this catalog get unauthorized response has a 4xx status code
func (*CatalogGetUnauthorized) IsCode ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) IsCode(code int) bool
IsCode returns true when this catalog get unauthorized response a status code equal to that given
func (*CatalogGetUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this catalog get unauthorized response has a 3xx status code
func (*CatalogGetUnauthorized) IsServerError ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) IsServerError() bool
IsServerError returns true when this catalog get unauthorized response has a 5xx status code
func (*CatalogGetUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this catalog get unauthorized response has a 2xx status code
func (*CatalogGetUnauthorized) String ¶ added in v1.4.2
func (o *CatalogGetUnauthorized) String() string
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new catalog API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new catalog API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.