iaas_service_broker

package
v1.8.0-beta13 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for iaas service broker API

func (*Client) ServiceBrokerHealth

func (a *Client) ServiceBrokerHealth(params *ServiceBrokerHealthParams, opts ...ClientOption) (*ServiceBrokerHealthOK, error)

ServiceBrokerHealth gets current server health

func (*Client) ServiceBrokerHealthHead

func (a *Client) ServiceBrokerHealthHead(params *ServiceBrokerHealthHeadParams, opts ...ClientOption) (*ServiceBrokerHealthHeadOK, error)

ServiceBrokerHealthHead gets current server health

func (*Client) ServiceBrokerTestTimeout added in v1.0.43

func (a *Client) ServiceBrokerTestTimeout(params *ServiceBrokerTestTimeoutParams, opts ...ClientOption) (*ServiceBrokerTestTimeoutOK, error)

ServiceBrokerTestTimeout gets current server version

func (*Client) ServiceBrokerVersion

func (a *Client) ServiceBrokerVersion(params *ServiceBrokerVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerVersionOK, error)

ServiceBrokerVersion gets current server version

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 {
	ServiceBrokerHealth(params *ServiceBrokerHealthParams, opts ...ClientOption) (*ServiceBrokerHealthOK, error)

	ServiceBrokerHealthHead(params *ServiceBrokerHealthHeadParams, opts ...ClientOption) (*ServiceBrokerHealthHeadOK, error)

	ServiceBrokerTestTimeout(params *ServiceBrokerTestTimeoutParams, opts ...ClientOption) (*ServiceBrokerTestTimeoutOK, error)

	ServiceBrokerVersion(params *ServiceBrokerVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerVersionOK, 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 iaas service broker API client.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new iaas service broker 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 iaas service broker 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.

type ServiceBrokerHealthBadRequest

type ServiceBrokerHealthBadRequest struct {
	Payload *models.Error
}

ServiceBrokerHealthBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerHealthBadRequest

func NewServiceBrokerHealthBadRequest() *ServiceBrokerHealthBadRequest

NewServiceBrokerHealthBadRequest creates a ServiceBrokerHealthBadRequest with default headers values

func (*ServiceBrokerHealthBadRequest) Code added in v1.2.4

Code gets the status code for the service broker health bad request response

func (*ServiceBrokerHealthBadRequest) Error

func (*ServiceBrokerHealthBadRequest) GetPayload added in v1.1.0

func (o *ServiceBrokerHealthBadRequest) GetPayload() *models.Error

func (*ServiceBrokerHealthBadRequest) IsClientError added in v1.2.2

func (o *ServiceBrokerHealthBadRequest) IsClientError() bool

IsClientError returns true when this service broker health bad request response has a 4xx status code

func (*ServiceBrokerHealthBadRequest) IsCode added in v1.2.2

func (o *ServiceBrokerHealthBadRequest) IsCode(code int) bool

IsCode returns true when this service broker health bad request response a status code equal to that given

func (*ServiceBrokerHealthBadRequest) IsRedirect added in v1.2.2

func (o *ServiceBrokerHealthBadRequest) IsRedirect() bool

IsRedirect returns true when this service broker health bad request response has a 3xx status code

func (*ServiceBrokerHealthBadRequest) IsServerError added in v1.2.2

func (o *ServiceBrokerHealthBadRequest) IsServerError() bool

IsServerError returns true when this service broker health bad request response has a 5xx status code

func (*ServiceBrokerHealthBadRequest) IsSuccess added in v1.2.2

func (o *ServiceBrokerHealthBadRequest) IsSuccess() bool

IsSuccess returns true when this service broker health bad request response has a 2xx status code

func (*ServiceBrokerHealthBadRequest) String added in v1.2.2

type ServiceBrokerHealthForbidden added in v1.4.2

type ServiceBrokerHealthForbidden struct {
	Payload *models.Error
}

ServiceBrokerHealthForbidden describes a response with status code 403, with default header values.

Forbidden

func NewServiceBrokerHealthForbidden added in v1.4.2

func NewServiceBrokerHealthForbidden() *ServiceBrokerHealthForbidden

NewServiceBrokerHealthForbidden creates a ServiceBrokerHealthForbidden with default headers values

func (*ServiceBrokerHealthForbidden) Code added in v1.4.2

Code gets the status code for the service broker health forbidden response

func (*ServiceBrokerHealthForbidden) Error added in v1.4.2

func (*ServiceBrokerHealthForbidden) GetPayload added in v1.4.2

func (o *ServiceBrokerHealthForbidden) GetPayload() *models.Error

func (*ServiceBrokerHealthForbidden) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthForbidden) IsClientError() bool

IsClientError returns true when this service broker health forbidden response has a 4xx status code

func (*ServiceBrokerHealthForbidden) IsCode added in v1.4.2

func (o *ServiceBrokerHealthForbidden) IsCode(code int) bool

IsCode returns true when this service broker health forbidden response a status code equal to that given

func (*ServiceBrokerHealthForbidden) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthForbidden) IsRedirect() bool

IsRedirect returns true when this service broker health forbidden response has a 3xx status code

func (*ServiceBrokerHealthForbidden) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthForbidden) IsServerError() bool

IsServerError returns true when this service broker health forbidden response has a 5xx status code

func (*ServiceBrokerHealthForbidden) IsSuccess added in v1.4.2

func (o *ServiceBrokerHealthForbidden) IsSuccess() bool

IsSuccess returns true when this service broker health forbidden response has a 2xx status code

func (*ServiceBrokerHealthForbidden) String added in v1.4.2

type ServiceBrokerHealthHeadBadRequest

type ServiceBrokerHealthHeadBadRequest struct {
	Payload *models.Error
}

ServiceBrokerHealthHeadBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerHealthHeadBadRequest

func NewServiceBrokerHealthHeadBadRequest() *ServiceBrokerHealthHeadBadRequest

NewServiceBrokerHealthHeadBadRequest creates a ServiceBrokerHealthHeadBadRequest with default headers values

func (*ServiceBrokerHealthHeadBadRequest) Code added in v1.2.4

Code gets the status code for the service broker health head bad request response

func (*ServiceBrokerHealthHeadBadRequest) Error

func (*ServiceBrokerHealthHeadBadRequest) GetPayload added in v1.1.0

func (*ServiceBrokerHealthHeadBadRequest) IsClientError added in v1.2.2

func (o *ServiceBrokerHealthHeadBadRequest) IsClientError() bool

IsClientError returns true when this service broker health head bad request response has a 4xx status code

func (*ServiceBrokerHealthHeadBadRequest) IsCode added in v1.2.2

func (o *ServiceBrokerHealthHeadBadRequest) IsCode(code int) bool

IsCode returns true when this service broker health head bad request response a status code equal to that given

func (*ServiceBrokerHealthHeadBadRequest) IsRedirect added in v1.2.2

func (o *ServiceBrokerHealthHeadBadRequest) IsRedirect() bool

IsRedirect returns true when this service broker health head bad request response has a 3xx status code

func (*ServiceBrokerHealthHeadBadRequest) IsServerError added in v1.2.2

func (o *ServiceBrokerHealthHeadBadRequest) IsServerError() bool

IsServerError returns true when this service broker health head bad request response has a 5xx status code

func (*ServiceBrokerHealthHeadBadRequest) IsSuccess added in v1.2.2

func (o *ServiceBrokerHealthHeadBadRequest) IsSuccess() bool

IsSuccess returns true when this service broker health head bad request response has a 2xx status code

func (*ServiceBrokerHealthHeadBadRequest) String added in v1.2.2

type ServiceBrokerHealthHeadForbidden added in v1.4.2

type ServiceBrokerHealthHeadForbidden struct {
	Payload *models.Error
}

ServiceBrokerHealthHeadForbidden describes a response with status code 403, with default header values.

Forbidden

func NewServiceBrokerHealthHeadForbidden added in v1.4.2

func NewServiceBrokerHealthHeadForbidden() *ServiceBrokerHealthHeadForbidden

NewServiceBrokerHealthHeadForbidden creates a ServiceBrokerHealthHeadForbidden with default headers values

func (*ServiceBrokerHealthHeadForbidden) Code added in v1.4.2

Code gets the status code for the service broker health head forbidden response

func (*ServiceBrokerHealthHeadForbidden) Error added in v1.4.2

func (*ServiceBrokerHealthHeadForbidden) GetPayload added in v1.4.2

func (*ServiceBrokerHealthHeadForbidden) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthHeadForbidden) IsClientError() bool

IsClientError returns true when this service broker health head forbidden response has a 4xx status code

func (*ServiceBrokerHealthHeadForbidden) IsCode added in v1.4.2

func (o *ServiceBrokerHealthHeadForbidden) IsCode(code int) bool

IsCode returns true when this service broker health head forbidden response a status code equal to that given

func (*ServiceBrokerHealthHeadForbidden) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthHeadForbidden) IsRedirect() bool

IsRedirect returns true when this service broker health head forbidden response has a 3xx status code

func (*ServiceBrokerHealthHeadForbidden) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthHeadForbidden) IsServerError() bool

IsServerError returns true when this service broker health head forbidden response has a 5xx status code

func (*ServiceBrokerHealthHeadForbidden) IsSuccess added in v1.4.2

func (o *ServiceBrokerHealthHeadForbidden) IsSuccess() bool

IsSuccess returns true when this service broker health head forbidden response has a 2xx status code

func (*ServiceBrokerHealthHeadForbidden) String added in v1.4.2

type ServiceBrokerHealthHeadNotFound added in v1.4.2

type ServiceBrokerHealthHeadNotFound struct {
	Payload *models.Error
}

ServiceBrokerHealthHeadNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerHealthHeadNotFound added in v1.4.2

func NewServiceBrokerHealthHeadNotFound() *ServiceBrokerHealthHeadNotFound

NewServiceBrokerHealthHeadNotFound creates a ServiceBrokerHealthHeadNotFound with default headers values

func (*ServiceBrokerHealthHeadNotFound) Code added in v1.4.2

Code gets the status code for the service broker health head not found response

func (*ServiceBrokerHealthHeadNotFound) Error added in v1.4.2

func (*ServiceBrokerHealthHeadNotFound) GetPayload added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) GetPayload() *models.Error

func (*ServiceBrokerHealthHeadNotFound) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) IsClientError() bool

IsClientError returns true when this service broker health head not found response has a 4xx status code

func (*ServiceBrokerHealthHeadNotFound) IsCode added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) IsCode(code int) bool

IsCode returns true when this service broker health head not found response a status code equal to that given

func (*ServiceBrokerHealthHeadNotFound) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) IsRedirect() bool

IsRedirect returns true when this service broker health head not found response has a 3xx status code

func (*ServiceBrokerHealthHeadNotFound) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) IsServerError() bool

IsServerError returns true when this service broker health head not found response has a 5xx status code

func (*ServiceBrokerHealthHeadNotFound) IsSuccess added in v1.4.2

func (o *ServiceBrokerHealthHeadNotFound) IsSuccess() bool

IsSuccess returns true when this service broker health head not found response has a 2xx status code

func (*ServiceBrokerHealthHeadNotFound) String added in v1.4.2

type ServiceBrokerHealthHeadOK

type ServiceBrokerHealthHeadOK struct {
	Payload *models.Health
}

ServiceBrokerHealthHeadOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerHealthHeadOK

func NewServiceBrokerHealthHeadOK() *ServiceBrokerHealthHeadOK

NewServiceBrokerHealthHeadOK creates a ServiceBrokerHealthHeadOK with default headers values

func (*ServiceBrokerHealthHeadOK) Code added in v1.2.4

func (o *ServiceBrokerHealthHeadOK) Code() int

Code gets the status code for the service broker health head o k response

func (*ServiceBrokerHealthHeadOK) Error

func (o *ServiceBrokerHealthHeadOK) Error() string

func (*ServiceBrokerHealthHeadOK) GetPayload added in v1.1.0

func (o *ServiceBrokerHealthHeadOK) GetPayload() *models.Health

func (*ServiceBrokerHealthHeadOK) IsClientError added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) IsClientError() bool

IsClientError returns true when this service broker health head o k response has a 4xx status code

func (*ServiceBrokerHealthHeadOK) IsCode added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) IsCode(code int) bool

IsCode returns true when this service broker health head o k response a status code equal to that given

func (*ServiceBrokerHealthHeadOK) IsRedirect added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) IsRedirect() bool

IsRedirect returns true when this service broker health head o k response has a 3xx status code

func (*ServiceBrokerHealthHeadOK) IsServerError added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) IsServerError() bool

IsServerError returns true when this service broker health head o k response has a 5xx status code

func (*ServiceBrokerHealthHeadOK) IsSuccess added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) IsSuccess() bool

IsSuccess returns true when this service broker health head o k response has a 2xx status code

func (*ServiceBrokerHealthHeadOK) String added in v1.2.2

func (o *ServiceBrokerHealthHeadOK) String() string

type ServiceBrokerHealthHeadParams

type ServiceBrokerHealthHeadParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerHealthHeadParams contains all the parameters to send to the API endpoint

for the service broker health head operation.

Typically these are written to a http.Request.

func NewServiceBrokerHealthHeadParams

func NewServiceBrokerHealthHeadParams() *ServiceBrokerHealthHeadParams

NewServiceBrokerHealthHeadParams creates a new ServiceBrokerHealthHeadParams 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 NewServiceBrokerHealthHeadParamsWithContext

func NewServiceBrokerHealthHeadParamsWithContext(ctx context.Context) *ServiceBrokerHealthHeadParams

NewServiceBrokerHealthHeadParamsWithContext creates a new ServiceBrokerHealthHeadParams object with the ability to set a context for a request.

func NewServiceBrokerHealthHeadParamsWithHTTPClient

func NewServiceBrokerHealthHeadParamsWithHTTPClient(client *http.Client) *ServiceBrokerHealthHeadParams

NewServiceBrokerHealthHeadParamsWithHTTPClient creates a new ServiceBrokerHealthHeadParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerHealthHeadParamsWithTimeout

func NewServiceBrokerHealthHeadParamsWithTimeout(timeout time.Duration) *ServiceBrokerHealthHeadParams

NewServiceBrokerHealthHeadParamsWithTimeout creates a new ServiceBrokerHealthHeadParams object with the ability to set a timeout on a request.

func (*ServiceBrokerHealthHeadParams) SetContext

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

SetContext adds the context to the service broker health head params

func (*ServiceBrokerHealthHeadParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerHealthHeadParams) SetDefaults()

SetDefaults hydrates default values in the service broker health head params (not the query body).

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

func (*ServiceBrokerHealthHeadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker health head params

func (*ServiceBrokerHealthHeadParams) SetTimeout

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

SetTimeout adds the timeout to the service broker health head params

func (*ServiceBrokerHealthHeadParams) WithContext

WithContext adds the context to the service broker health head params

func (*ServiceBrokerHealthHeadParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker health head params (not the query body).

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

func (*ServiceBrokerHealthHeadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker health head params

func (*ServiceBrokerHealthHeadParams) WithTimeout

WithTimeout adds the timeout to the service broker health head params

func (*ServiceBrokerHealthHeadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerHealthHeadReader

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

ServiceBrokerHealthHeadReader is a Reader for the ServiceBrokerHealthHead structure.

func (*ServiceBrokerHealthHeadReader) ReadResponse

func (o *ServiceBrokerHealthHeadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerHealthHeadUnauthorized added in v1.4.2

type ServiceBrokerHealthHeadUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerHealthHeadUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerHealthHeadUnauthorized added in v1.4.2

func NewServiceBrokerHealthHeadUnauthorized() *ServiceBrokerHealthHeadUnauthorized

NewServiceBrokerHealthHeadUnauthorized creates a ServiceBrokerHealthHeadUnauthorized with default headers values

func (*ServiceBrokerHealthHeadUnauthorized) Code added in v1.4.2

Code gets the status code for the service broker health head unauthorized response

func (*ServiceBrokerHealthHeadUnauthorized) Error added in v1.4.2

func (*ServiceBrokerHealthHeadUnauthorized) GetPayload added in v1.4.2

func (*ServiceBrokerHealthHeadUnauthorized) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthHeadUnauthorized) IsClientError() bool

IsClientError returns true when this service broker health head unauthorized response has a 4xx status code

func (*ServiceBrokerHealthHeadUnauthorized) IsCode added in v1.4.2

IsCode returns true when this service broker health head unauthorized response a status code equal to that given

func (*ServiceBrokerHealthHeadUnauthorized) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthHeadUnauthorized) IsRedirect() bool

IsRedirect returns true when this service broker health head unauthorized response has a 3xx status code

func (*ServiceBrokerHealthHeadUnauthorized) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthHeadUnauthorized) IsServerError() bool

IsServerError returns true when this service broker health head unauthorized response has a 5xx status code

func (*ServiceBrokerHealthHeadUnauthorized) IsSuccess added in v1.4.2

IsSuccess returns true when this service broker health head unauthorized response has a 2xx status code

func (*ServiceBrokerHealthHeadUnauthorized) String added in v1.4.2

type ServiceBrokerHealthNotFound added in v1.4.2

type ServiceBrokerHealthNotFound struct {
	Payload *models.Error
}

ServiceBrokerHealthNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerHealthNotFound added in v1.4.2

func NewServiceBrokerHealthNotFound() *ServiceBrokerHealthNotFound

NewServiceBrokerHealthNotFound creates a ServiceBrokerHealthNotFound with default headers values

func (*ServiceBrokerHealthNotFound) Code added in v1.4.2

func (o *ServiceBrokerHealthNotFound) Code() int

Code gets the status code for the service broker health not found response

func (*ServiceBrokerHealthNotFound) Error added in v1.4.2

func (*ServiceBrokerHealthNotFound) GetPayload added in v1.4.2

func (o *ServiceBrokerHealthNotFound) GetPayload() *models.Error

func (*ServiceBrokerHealthNotFound) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthNotFound) IsClientError() bool

IsClientError returns true when this service broker health not found response has a 4xx status code

func (*ServiceBrokerHealthNotFound) IsCode added in v1.4.2

func (o *ServiceBrokerHealthNotFound) IsCode(code int) bool

IsCode returns true when this service broker health not found response a status code equal to that given

func (*ServiceBrokerHealthNotFound) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthNotFound) IsRedirect() bool

IsRedirect returns true when this service broker health not found response has a 3xx status code

func (*ServiceBrokerHealthNotFound) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthNotFound) IsServerError() bool

IsServerError returns true when this service broker health not found response has a 5xx status code

func (*ServiceBrokerHealthNotFound) IsSuccess added in v1.4.2

func (o *ServiceBrokerHealthNotFound) IsSuccess() bool

IsSuccess returns true when this service broker health not found response has a 2xx status code

func (*ServiceBrokerHealthNotFound) String added in v1.4.2

func (o *ServiceBrokerHealthNotFound) String() string

type ServiceBrokerHealthOK

type ServiceBrokerHealthOK struct {
	Payload *models.Health
}

ServiceBrokerHealthOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerHealthOK

func NewServiceBrokerHealthOK() *ServiceBrokerHealthOK

NewServiceBrokerHealthOK creates a ServiceBrokerHealthOK with default headers values

func (*ServiceBrokerHealthOK) Code added in v1.2.4

func (o *ServiceBrokerHealthOK) Code() int

Code gets the status code for the service broker health o k response

func (*ServiceBrokerHealthOK) Error

func (o *ServiceBrokerHealthOK) Error() string

func (*ServiceBrokerHealthOK) GetPayload added in v1.1.0

func (o *ServiceBrokerHealthOK) GetPayload() *models.Health

func (*ServiceBrokerHealthOK) IsClientError added in v1.2.2

func (o *ServiceBrokerHealthOK) IsClientError() bool

IsClientError returns true when this service broker health o k response has a 4xx status code

func (*ServiceBrokerHealthOK) IsCode added in v1.2.2

func (o *ServiceBrokerHealthOK) IsCode(code int) bool

IsCode returns true when this service broker health o k response a status code equal to that given

func (*ServiceBrokerHealthOK) IsRedirect added in v1.2.2

func (o *ServiceBrokerHealthOK) IsRedirect() bool

IsRedirect returns true when this service broker health o k response has a 3xx status code

func (*ServiceBrokerHealthOK) IsServerError added in v1.2.2

func (o *ServiceBrokerHealthOK) IsServerError() bool

IsServerError returns true when this service broker health o k response has a 5xx status code

func (*ServiceBrokerHealthOK) IsSuccess added in v1.2.2

func (o *ServiceBrokerHealthOK) IsSuccess() bool

IsSuccess returns true when this service broker health o k response has a 2xx status code

func (*ServiceBrokerHealthOK) String added in v1.2.2

func (o *ServiceBrokerHealthOK) String() string

type ServiceBrokerHealthParams

type ServiceBrokerHealthParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerHealthParams contains all the parameters to send to the API endpoint

for the service broker health operation.

Typically these are written to a http.Request.

func NewServiceBrokerHealthParams

func NewServiceBrokerHealthParams() *ServiceBrokerHealthParams

NewServiceBrokerHealthParams creates a new ServiceBrokerHealthParams 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 NewServiceBrokerHealthParamsWithContext

func NewServiceBrokerHealthParamsWithContext(ctx context.Context) *ServiceBrokerHealthParams

NewServiceBrokerHealthParamsWithContext creates a new ServiceBrokerHealthParams object with the ability to set a context for a request.

func NewServiceBrokerHealthParamsWithHTTPClient

func NewServiceBrokerHealthParamsWithHTTPClient(client *http.Client) *ServiceBrokerHealthParams

NewServiceBrokerHealthParamsWithHTTPClient creates a new ServiceBrokerHealthParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerHealthParamsWithTimeout

func NewServiceBrokerHealthParamsWithTimeout(timeout time.Duration) *ServiceBrokerHealthParams

NewServiceBrokerHealthParamsWithTimeout creates a new ServiceBrokerHealthParams object with the ability to set a timeout on a request.

func (*ServiceBrokerHealthParams) SetContext

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

SetContext adds the context to the service broker health params

func (*ServiceBrokerHealthParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerHealthParams) SetDefaults()

SetDefaults hydrates default values in the service broker health params (not the query body).

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

func (*ServiceBrokerHealthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker health params

func (*ServiceBrokerHealthParams) SetTimeout

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

SetTimeout adds the timeout to the service broker health params

func (*ServiceBrokerHealthParams) WithContext

WithContext adds the context to the service broker health params

func (*ServiceBrokerHealthParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker health params (not the query body).

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

func (*ServiceBrokerHealthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service broker health params

func (*ServiceBrokerHealthParams) WithTimeout

WithTimeout adds the timeout to the service broker health params

func (*ServiceBrokerHealthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerHealthReader

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

ServiceBrokerHealthReader is a Reader for the ServiceBrokerHealth structure.

func (*ServiceBrokerHealthReader) ReadResponse

func (o *ServiceBrokerHealthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerHealthUnauthorized added in v1.4.2

type ServiceBrokerHealthUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerHealthUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerHealthUnauthorized added in v1.4.2

func NewServiceBrokerHealthUnauthorized() *ServiceBrokerHealthUnauthorized

NewServiceBrokerHealthUnauthorized creates a ServiceBrokerHealthUnauthorized with default headers values

func (*ServiceBrokerHealthUnauthorized) Code added in v1.4.2

Code gets the status code for the service broker health unauthorized response

func (*ServiceBrokerHealthUnauthorized) Error added in v1.4.2

func (*ServiceBrokerHealthUnauthorized) GetPayload added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) GetPayload() *models.Error

func (*ServiceBrokerHealthUnauthorized) IsClientError added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) IsClientError() bool

IsClientError returns true when this service broker health unauthorized response has a 4xx status code

func (*ServiceBrokerHealthUnauthorized) IsCode added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) IsCode(code int) bool

IsCode returns true when this service broker health unauthorized response a status code equal to that given

func (*ServiceBrokerHealthUnauthorized) IsRedirect added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) IsRedirect() bool

IsRedirect returns true when this service broker health unauthorized response has a 3xx status code

func (*ServiceBrokerHealthUnauthorized) IsServerError added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) IsServerError() bool

IsServerError returns true when this service broker health unauthorized response has a 5xx status code

func (*ServiceBrokerHealthUnauthorized) IsSuccess added in v1.4.2

func (o *ServiceBrokerHealthUnauthorized) IsSuccess() bool

IsSuccess returns true when this service broker health unauthorized response has a 2xx status code

func (*ServiceBrokerHealthUnauthorized) String added in v1.4.2

type ServiceBrokerTestTimeoutBadRequest added in v1.4.2

type ServiceBrokerTestTimeoutBadRequest struct {
	Payload *models.Error
}

ServiceBrokerTestTimeoutBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerTestTimeoutBadRequest added in v1.4.2

func NewServiceBrokerTestTimeoutBadRequest() *ServiceBrokerTestTimeoutBadRequest

NewServiceBrokerTestTimeoutBadRequest creates a ServiceBrokerTestTimeoutBadRequest with default headers values

func (*ServiceBrokerTestTimeoutBadRequest) Code added in v1.4.2

Code gets the status code for the service broker test timeout bad request response

func (*ServiceBrokerTestTimeoutBadRequest) Error added in v1.4.2

func (*ServiceBrokerTestTimeoutBadRequest) GetPayload added in v1.4.2

func (*ServiceBrokerTestTimeoutBadRequest) IsClientError added in v1.4.2

func (o *ServiceBrokerTestTimeoutBadRequest) IsClientError() bool

IsClientError returns true when this service broker test timeout bad request response has a 4xx status code

func (*ServiceBrokerTestTimeoutBadRequest) IsCode added in v1.4.2

IsCode returns true when this service broker test timeout bad request response a status code equal to that given

func (*ServiceBrokerTestTimeoutBadRequest) IsRedirect added in v1.4.2

func (o *ServiceBrokerTestTimeoutBadRequest) IsRedirect() bool

IsRedirect returns true when this service broker test timeout bad request response has a 3xx status code

func (*ServiceBrokerTestTimeoutBadRequest) IsServerError added in v1.4.2

func (o *ServiceBrokerTestTimeoutBadRequest) IsServerError() bool

IsServerError returns true when this service broker test timeout bad request response has a 5xx status code

func (*ServiceBrokerTestTimeoutBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this service broker test timeout bad request response has a 2xx status code

func (*ServiceBrokerTestTimeoutBadRequest) String added in v1.4.2

type ServiceBrokerTestTimeoutForbidden added in v1.4.2

type ServiceBrokerTestTimeoutForbidden struct {
	Payload *models.Error
}

ServiceBrokerTestTimeoutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewServiceBrokerTestTimeoutForbidden added in v1.4.2

func NewServiceBrokerTestTimeoutForbidden() *ServiceBrokerTestTimeoutForbidden

NewServiceBrokerTestTimeoutForbidden creates a ServiceBrokerTestTimeoutForbidden with default headers values

func (*ServiceBrokerTestTimeoutForbidden) Code added in v1.4.2

Code gets the status code for the service broker test timeout forbidden response

func (*ServiceBrokerTestTimeoutForbidden) Error added in v1.4.2

func (*ServiceBrokerTestTimeoutForbidden) GetPayload added in v1.4.2

func (*ServiceBrokerTestTimeoutForbidden) IsClientError added in v1.4.2

func (o *ServiceBrokerTestTimeoutForbidden) IsClientError() bool

IsClientError returns true when this service broker test timeout forbidden response has a 4xx status code

func (*ServiceBrokerTestTimeoutForbidden) IsCode added in v1.4.2

func (o *ServiceBrokerTestTimeoutForbidden) IsCode(code int) bool

IsCode returns true when this service broker test timeout forbidden response a status code equal to that given

func (*ServiceBrokerTestTimeoutForbidden) IsRedirect added in v1.4.2

func (o *ServiceBrokerTestTimeoutForbidden) IsRedirect() bool

IsRedirect returns true when this service broker test timeout forbidden response has a 3xx status code

func (*ServiceBrokerTestTimeoutForbidden) IsServerError added in v1.4.2

func (o *ServiceBrokerTestTimeoutForbidden) IsServerError() bool

IsServerError returns true when this service broker test timeout forbidden response has a 5xx status code

func (*ServiceBrokerTestTimeoutForbidden) IsSuccess added in v1.4.2

func (o *ServiceBrokerTestTimeoutForbidden) IsSuccess() bool

IsSuccess returns true when this service broker test timeout forbidden response has a 2xx status code

func (*ServiceBrokerTestTimeoutForbidden) String added in v1.4.2

type ServiceBrokerTestTimeoutNotFound added in v1.4.2

type ServiceBrokerTestTimeoutNotFound struct {
	Payload *models.Error
}

ServiceBrokerTestTimeoutNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerTestTimeoutNotFound added in v1.4.2

func NewServiceBrokerTestTimeoutNotFound() *ServiceBrokerTestTimeoutNotFound

NewServiceBrokerTestTimeoutNotFound creates a ServiceBrokerTestTimeoutNotFound with default headers values

func (*ServiceBrokerTestTimeoutNotFound) Code added in v1.4.2

Code gets the status code for the service broker test timeout not found response

func (*ServiceBrokerTestTimeoutNotFound) Error added in v1.4.2

func (*ServiceBrokerTestTimeoutNotFound) GetPayload added in v1.4.2

func (*ServiceBrokerTestTimeoutNotFound) IsClientError added in v1.4.2

func (o *ServiceBrokerTestTimeoutNotFound) IsClientError() bool

IsClientError returns true when this service broker test timeout not found response has a 4xx status code

func (*ServiceBrokerTestTimeoutNotFound) IsCode added in v1.4.2

func (o *ServiceBrokerTestTimeoutNotFound) IsCode(code int) bool

IsCode returns true when this service broker test timeout not found response a status code equal to that given

func (*ServiceBrokerTestTimeoutNotFound) IsRedirect added in v1.4.2

func (o *ServiceBrokerTestTimeoutNotFound) IsRedirect() bool

IsRedirect returns true when this service broker test timeout not found response has a 3xx status code

func (*ServiceBrokerTestTimeoutNotFound) IsServerError added in v1.4.2

func (o *ServiceBrokerTestTimeoutNotFound) IsServerError() bool

IsServerError returns true when this service broker test timeout not found response has a 5xx status code

func (*ServiceBrokerTestTimeoutNotFound) IsSuccess added in v1.4.2

func (o *ServiceBrokerTestTimeoutNotFound) IsSuccess() bool

IsSuccess returns true when this service broker test timeout not found response has a 2xx status code

func (*ServiceBrokerTestTimeoutNotFound) String added in v1.4.2

type ServiceBrokerTestTimeoutOK added in v1.0.43

type ServiceBrokerTestTimeoutOK struct {
	Payload models.Object
}

ServiceBrokerTestTimeoutOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerTestTimeoutOK added in v1.0.43

func NewServiceBrokerTestTimeoutOK() *ServiceBrokerTestTimeoutOK

NewServiceBrokerTestTimeoutOK creates a ServiceBrokerTestTimeoutOK with default headers values

func (*ServiceBrokerTestTimeoutOK) Code added in v1.2.4

func (o *ServiceBrokerTestTimeoutOK) Code() int

Code gets the status code for the service broker test timeout o k response

func (*ServiceBrokerTestTimeoutOK) Error added in v1.0.43

func (*ServiceBrokerTestTimeoutOK) GetPayload added in v1.1.0

func (o *ServiceBrokerTestTimeoutOK) GetPayload() models.Object

func (*ServiceBrokerTestTimeoutOK) IsClientError added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) IsClientError() bool

IsClientError returns true when this service broker test timeout o k response has a 4xx status code

func (*ServiceBrokerTestTimeoutOK) IsCode added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) IsCode(code int) bool

IsCode returns true when this service broker test timeout o k response a status code equal to that given

func (*ServiceBrokerTestTimeoutOK) IsRedirect added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) IsRedirect() bool

IsRedirect returns true when this service broker test timeout o k response has a 3xx status code

func (*ServiceBrokerTestTimeoutOK) IsServerError added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) IsServerError() bool

IsServerError returns true when this service broker test timeout o k response has a 5xx status code

func (*ServiceBrokerTestTimeoutOK) IsSuccess added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) IsSuccess() bool

IsSuccess returns true when this service broker test timeout o k response has a 2xx status code

func (*ServiceBrokerTestTimeoutOK) String added in v1.2.2

func (o *ServiceBrokerTestTimeoutOK) String() string

type ServiceBrokerTestTimeoutParams added in v1.0.43

type ServiceBrokerTestTimeoutParams struct {

	/* T.

	   seconds
	*/
	T int64

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

ServiceBrokerTestTimeoutParams contains all the parameters to send to the API endpoint

for the service broker test timeout operation.

Typically these are written to a http.Request.

func NewServiceBrokerTestTimeoutParams added in v1.0.43

func NewServiceBrokerTestTimeoutParams() *ServiceBrokerTestTimeoutParams

NewServiceBrokerTestTimeoutParams creates a new ServiceBrokerTestTimeoutParams 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 NewServiceBrokerTestTimeoutParamsWithContext added in v1.0.43

func NewServiceBrokerTestTimeoutParamsWithContext(ctx context.Context) *ServiceBrokerTestTimeoutParams

NewServiceBrokerTestTimeoutParamsWithContext creates a new ServiceBrokerTestTimeoutParams object with the ability to set a context for a request.

func NewServiceBrokerTestTimeoutParamsWithHTTPClient added in v1.0.43

func NewServiceBrokerTestTimeoutParamsWithHTTPClient(client *http.Client) *ServiceBrokerTestTimeoutParams

NewServiceBrokerTestTimeoutParamsWithHTTPClient creates a new ServiceBrokerTestTimeoutParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerTestTimeoutParamsWithTimeout added in v1.0.43

func NewServiceBrokerTestTimeoutParamsWithTimeout(timeout time.Duration) *ServiceBrokerTestTimeoutParams

NewServiceBrokerTestTimeoutParamsWithTimeout creates a new ServiceBrokerTestTimeoutParams object with the ability to set a timeout on a request.

func (*ServiceBrokerTestTimeoutParams) SetContext added in v1.0.43

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

SetContext adds the context to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerTestTimeoutParams) SetDefaults()

SetDefaults hydrates default values in the service broker test timeout params (not the query body).

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

func (*ServiceBrokerTestTimeoutParams) SetHTTPClient added in v1.0.43

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

SetHTTPClient adds the HTTPClient to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetT added in v1.0.43

SetT adds the t to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetTimeout added in v1.0.43

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

SetTimeout adds the timeout to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithContext added in v1.0.43

WithContext adds the context to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker test timeout params (not the query body).

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

func (*ServiceBrokerTestTimeoutParams) WithHTTPClient added in v1.0.43

WithHTTPClient adds the HTTPClient to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithT added in v1.0.43

WithT adds the t to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithTimeout added in v1.0.43

WithTimeout adds the timeout to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WriteToRequest added in v1.0.43

WriteToRequest writes these params to a swagger request

type ServiceBrokerTestTimeoutReader added in v1.0.43

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

ServiceBrokerTestTimeoutReader is a Reader for the ServiceBrokerTestTimeout structure.

func (*ServiceBrokerTestTimeoutReader) ReadResponse added in v1.0.43

func (o *ServiceBrokerTestTimeoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerTestTimeoutUnauthorized added in v1.4.2

type ServiceBrokerTestTimeoutUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerTestTimeoutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerTestTimeoutUnauthorized added in v1.4.2

func NewServiceBrokerTestTimeoutUnauthorized() *ServiceBrokerTestTimeoutUnauthorized

NewServiceBrokerTestTimeoutUnauthorized creates a ServiceBrokerTestTimeoutUnauthorized with default headers values

func (*ServiceBrokerTestTimeoutUnauthorized) Code added in v1.4.2

Code gets the status code for the service broker test timeout unauthorized response

func (*ServiceBrokerTestTimeoutUnauthorized) Error added in v1.4.2

func (*ServiceBrokerTestTimeoutUnauthorized) GetPayload added in v1.4.2

func (*ServiceBrokerTestTimeoutUnauthorized) IsClientError added in v1.4.2

func (o *ServiceBrokerTestTimeoutUnauthorized) IsClientError() bool

IsClientError returns true when this service broker test timeout unauthorized response has a 4xx status code

func (*ServiceBrokerTestTimeoutUnauthorized) IsCode added in v1.4.2

IsCode returns true when this service broker test timeout unauthorized response a status code equal to that given

func (*ServiceBrokerTestTimeoutUnauthorized) IsRedirect added in v1.4.2

IsRedirect returns true when this service broker test timeout unauthorized response has a 3xx status code

func (*ServiceBrokerTestTimeoutUnauthorized) IsServerError added in v1.4.2

func (o *ServiceBrokerTestTimeoutUnauthorized) IsServerError() bool

IsServerError returns true when this service broker test timeout unauthorized response has a 5xx status code

func (*ServiceBrokerTestTimeoutUnauthorized) IsSuccess added in v1.4.2

IsSuccess returns true when this service broker test timeout unauthorized response has a 2xx status code

func (*ServiceBrokerTestTimeoutUnauthorized) String added in v1.4.2

type ServiceBrokerVersionBadRequest

type ServiceBrokerVersionBadRequest struct {
	Payload *models.Error
}

ServiceBrokerVersionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerVersionBadRequest

func NewServiceBrokerVersionBadRequest() *ServiceBrokerVersionBadRequest

NewServiceBrokerVersionBadRequest creates a ServiceBrokerVersionBadRequest with default headers values

func (*ServiceBrokerVersionBadRequest) Code added in v1.2.4

Code gets the status code for the service broker version bad request response

func (*ServiceBrokerVersionBadRequest) Error

func (*ServiceBrokerVersionBadRequest) GetPayload added in v1.1.0

func (o *ServiceBrokerVersionBadRequest) GetPayload() *models.Error

func (*ServiceBrokerVersionBadRequest) IsClientError added in v1.2.2

func (o *ServiceBrokerVersionBadRequest) IsClientError() bool

IsClientError returns true when this service broker version bad request response has a 4xx status code

func (*ServiceBrokerVersionBadRequest) IsCode added in v1.2.2

func (o *ServiceBrokerVersionBadRequest) IsCode(code int) bool

IsCode returns true when this service broker version bad request response a status code equal to that given

func (*ServiceBrokerVersionBadRequest) IsRedirect added in v1.2.2

func (o *ServiceBrokerVersionBadRequest) IsRedirect() bool

IsRedirect returns true when this service broker version bad request response has a 3xx status code

func (*ServiceBrokerVersionBadRequest) IsServerError added in v1.2.2

func (o *ServiceBrokerVersionBadRequest) IsServerError() bool

IsServerError returns true when this service broker version bad request response has a 5xx status code

func (*ServiceBrokerVersionBadRequest) IsSuccess added in v1.2.2

func (o *ServiceBrokerVersionBadRequest) IsSuccess() bool

IsSuccess returns true when this service broker version bad request response has a 2xx status code

func (*ServiceBrokerVersionBadRequest) String added in v1.2.2

type ServiceBrokerVersionForbidden added in v1.4.2

type ServiceBrokerVersionForbidden struct {
	Payload *models.Error
}

ServiceBrokerVersionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewServiceBrokerVersionForbidden added in v1.4.2

func NewServiceBrokerVersionForbidden() *ServiceBrokerVersionForbidden

NewServiceBrokerVersionForbidden creates a ServiceBrokerVersionForbidden with default headers values

func (*ServiceBrokerVersionForbidden) Code added in v1.4.2

Code gets the status code for the service broker version forbidden response

func (*ServiceBrokerVersionForbidden) Error added in v1.4.2

func (*ServiceBrokerVersionForbidden) GetPayload added in v1.4.2

func (o *ServiceBrokerVersionForbidden) GetPayload() *models.Error

func (*ServiceBrokerVersionForbidden) IsClientError added in v1.4.2

func (o *ServiceBrokerVersionForbidden) IsClientError() bool

IsClientError returns true when this service broker version forbidden response has a 4xx status code

func (*ServiceBrokerVersionForbidden) IsCode added in v1.4.2

func (o *ServiceBrokerVersionForbidden) IsCode(code int) bool

IsCode returns true when this service broker version forbidden response a status code equal to that given

func (*ServiceBrokerVersionForbidden) IsRedirect added in v1.4.2

func (o *ServiceBrokerVersionForbidden) IsRedirect() bool

IsRedirect returns true when this service broker version forbidden response has a 3xx status code

func (*ServiceBrokerVersionForbidden) IsServerError added in v1.4.2

func (o *ServiceBrokerVersionForbidden) IsServerError() bool

IsServerError returns true when this service broker version forbidden response has a 5xx status code

func (*ServiceBrokerVersionForbidden) IsSuccess added in v1.4.2

func (o *ServiceBrokerVersionForbidden) IsSuccess() bool

IsSuccess returns true when this service broker version forbidden response has a 2xx status code

func (*ServiceBrokerVersionForbidden) String added in v1.4.2

type ServiceBrokerVersionNotFound added in v1.4.2

type ServiceBrokerVersionNotFound struct {
	Payload *models.Error
}

ServiceBrokerVersionNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerVersionNotFound added in v1.4.2

func NewServiceBrokerVersionNotFound() *ServiceBrokerVersionNotFound

NewServiceBrokerVersionNotFound creates a ServiceBrokerVersionNotFound with default headers values

func (*ServiceBrokerVersionNotFound) Code added in v1.4.2

Code gets the status code for the service broker version not found response

func (*ServiceBrokerVersionNotFound) Error added in v1.4.2

func (*ServiceBrokerVersionNotFound) GetPayload added in v1.4.2

func (o *ServiceBrokerVersionNotFound) GetPayload() *models.Error

func (*ServiceBrokerVersionNotFound) IsClientError added in v1.4.2

func (o *ServiceBrokerVersionNotFound) IsClientError() bool

IsClientError returns true when this service broker version not found response has a 4xx status code

func (*ServiceBrokerVersionNotFound) IsCode added in v1.4.2

func (o *ServiceBrokerVersionNotFound) IsCode(code int) bool

IsCode returns true when this service broker version not found response a status code equal to that given

func (*ServiceBrokerVersionNotFound) IsRedirect added in v1.4.2

func (o *ServiceBrokerVersionNotFound) IsRedirect() bool

IsRedirect returns true when this service broker version not found response has a 3xx status code

func (*ServiceBrokerVersionNotFound) IsServerError added in v1.4.2

func (o *ServiceBrokerVersionNotFound) IsServerError() bool

IsServerError returns true when this service broker version not found response has a 5xx status code

func (*ServiceBrokerVersionNotFound) IsSuccess added in v1.4.2

func (o *ServiceBrokerVersionNotFound) IsSuccess() bool

IsSuccess returns true when this service broker version not found response has a 2xx status code

func (*ServiceBrokerVersionNotFound) String added in v1.4.2

type ServiceBrokerVersionOK

type ServiceBrokerVersionOK struct {
	Payload *models.Version
}

ServiceBrokerVersionOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerVersionOK

func NewServiceBrokerVersionOK() *ServiceBrokerVersionOK

NewServiceBrokerVersionOK creates a ServiceBrokerVersionOK with default headers values

func (*ServiceBrokerVersionOK) Code added in v1.2.4

func (o *ServiceBrokerVersionOK) Code() int

Code gets the status code for the service broker version o k response

func (*ServiceBrokerVersionOK) Error

func (o *ServiceBrokerVersionOK) Error() string

func (*ServiceBrokerVersionOK) GetPayload added in v1.1.0

func (o *ServiceBrokerVersionOK) GetPayload() *models.Version

func (*ServiceBrokerVersionOK) IsClientError added in v1.2.2

func (o *ServiceBrokerVersionOK) IsClientError() bool

IsClientError returns true when this service broker version o k response has a 4xx status code

func (*ServiceBrokerVersionOK) IsCode added in v1.2.2

func (o *ServiceBrokerVersionOK) IsCode(code int) bool

IsCode returns true when this service broker version o k response a status code equal to that given

func (*ServiceBrokerVersionOK) IsRedirect added in v1.2.2

func (o *ServiceBrokerVersionOK) IsRedirect() bool

IsRedirect returns true when this service broker version o k response has a 3xx status code

func (*ServiceBrokerVersionOK) IsServerError added in v1.2.2

func (o *ServiceBrokerVersionOK) IsServerError() bool

IsServerError returns true when this service broker version o k response has a 5xx status code

func (*ServiceBrokerVersionOK) IsSuccess added in v1.2.2

func (o *ServiceBrokerVersionOK) IsSuccess() bool

IsSuccess returns true when this service broker version o k response has a 2xx status code

func (*ServiceBrokerVersionOK) String added in v1.2.2

func (o *ServiceBrokerVersionOK) String() string

type ServiceBrokerVersionParams

type ServiceBrokerVersionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerVersionParams contains all the parameters to send to the API endpoint

for the service broker version operation.

Typically these are written to a http.Request.

func NewServiceBrokerVersionParams

func NewServiceBrokerVersionParams() *ServiceBrokerVersionParams

NewServiceBrokerVersionParams creates a new ServiceBrokerVersionParams 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 NewServiceBrokerVersionParamsWithContext

func NewServiceBrokerVersionParamsWithContext(ctx context.Context) *ServiceBrokerVersionParams

NewServiceBrokerVersionParamsWithContext creates a new ServiceBrokerVersionParams object with the ability to set a context for a request.

func NewServiceBrokerVersionParamsWithHTTPClient

func NewServiceBrokerVersionParamsWithHTTPClient(client *http.Client) *ServiceBrokerVersionParams

NewServiceBrokerVersionParamsWithHTTPClient creates a new ServiceBrokerVersionParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerVersionParamsWithTimeout

func NewServiceBrokerVersionParamsWithTimeout(timeout time.Duration) *ServiceBrokerVersionParams

NewServiceBrokerVersionParamsWithTimeout creates a new ServiceBrokerVersionParams object with the ability to set a timeout on a request.

func (*ServiceBrokerVersionParams) SetContext

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

SetContext adds the context to the service broker version params

func (*ServiceBrokerVersionParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerVersionParams) SetDefaults()

SetDefaults hydrates default values in the service broker version params (not the query body).

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

func (*ServiceBrokerVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker version params

func (*ServiceBrokerVersionParams) SetTimeout

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

SetTimeout adds the timeout to the service broker version params

func (*ServiceBrokerVersionParams) WithContext

WithContext adds the context to the service broker version params

func (*ServiceBrokerVersionParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker version params (not the query body).

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

func (*ServiceBrokerVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker version params

func (*ServiceBrokerVersionParams) WithTimeout

WithTimeout adds the timeout to the service broker version params

func (*ServiceBrokerVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerVersionReader

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

ServiceBrokerVersionReader is a Reader for the ServiceBrokerVersion structure.

func (*ServiceBrokerVersionReader) ReadResponse

func (o *ServiceBrokerVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerVersionUnauthorized added in v1.4.2

type ServiceBrokerVersionUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerVersionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerVersionUnauthorized added in v1.4.2

func NewServiceBrokerVersionUnauthorized() *ServiceBrokerVersionUnauthorized

NewServiceBrokerVersionUnauthorized creates a ServiceBrokerVersionUnauthorized with default headers values

func (*ServiceBrokerVersionUnauthorized) Code added in v1.4.2

Code gets the status code for the service broker version unauthorized response

func (*ServiceBrokerVersionUnauthorized) Error added in v1.4.2

func (*ServiceBrokerVersionUnauthorized) GetPayload added in v1.4.2

func (*ServiceBrokerVersionUnauthorized) IsClientError added in v1.4.2

func (o *ServiceBrokerVersionUnauthorized) IsClientError() bool

IsClientError returns true when this service broker version unauthorized response has a 4xx status code

func (*ServiceBrokerVersionUnauthorized) IsCode added in v1.4.2

func (o *ServiceBrokerVersionUnauthorized) IsCode(code int) bool

IsCode returns true when this service broker version unauthorized response a status code equal to that given

func (*ServiceBrokerVersionUnauthorized) IsRedirect added in v1.4.2

func (o *ServiceBrokerVersionUnauthorized) IsRedirect() bool

IsRedirect returns true when this service broker version unauthorized response has a 3xx status code

func (*ServiceBrokerVersionUnauthorized) IsServerError added in v1.4.2

func (o *ServiceBrokerVersionUnauthorized) IsServerError() bool

IsServerError returns true when this service broker version unauthorized response has a 5xx status code

func (*ServiceBrokerVersionUnauthorized) IsSuccess added in v1.4.2

func (o *ServiceBrokerVersionUnauthorized) IsSuccess() bool

IsSuccess returns true when this service broker version unauthorized response has a 2xx status code

func (*ServiceBrokerVersionUnauthorized) String added in v1.4.2

Jump to

Keyboard shortcuts

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