catalog

package
v1.8.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogGetBadRequest added in v1.4.2

type CatalogGetBadRequest struct {
	Payload *models.Error
}

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

type CatalogGetForbidden struct {
	Payload *models.Error
}

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

type CatalogGetNotFound struct {
	Payload *models.Error
}

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

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) 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 {
	Payload *models.Error
}

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.

Jump to

Keyboard shortcuts

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