iaas_service_broker

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 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 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 is the option for 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.

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 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 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 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 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 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 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.

Jump to

Keyboard shortcuts

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