iaas_service_broker

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 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

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

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

func (*ServiceBrokerHealthBadRequest) Error

func (*ServiceBrokerHealthBadRequest) GetPayload

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

func (*ServiceBrokerHealthBadRequest) IsClientError

func (o *ServiceBrokerHealthBadRequest) IsClientError() bool

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

func (*ServiceBrokerHealthBadRequest) IsCode

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

func (o *ServiceBrokerHealthBadRequest) IsRedirect() bool

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

func (*ServiceBrokerHealthBadRequest) IsServerError

func (o *ServiceBrokerHealthBadRequest) IsServerError() bool

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

func (*ServiceBrokerHealthBadRequest) IsSuccess

func (o *ServiceBrokerHealthBadRequest) IsSuccess() bool

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

func (*ServiceBrokerHealthBadRequest) String

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

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

func (*ServiceBrokerHealthHeadBadRequest) Error

func (*ServiceBrokerHealthHeadBadRequest) GetPayload

func (*ServiceBrokerHealthHeadBadRequest) IsClientError

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

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

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

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

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

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

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

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

func (*ServiceBrokerHealthHeadOK) IsClientError

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

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

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

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

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

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

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

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

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

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

func (*ServiceBrokerHealthOK) IsClientError

func (o *ServiceBrokerHealthOK) IsClientError() bool

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

func (*ServiceBrokerHealthOK) IsCode

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

func (o *ServiceBrokerHealthOK) IsRedirect() bool

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

func (*ServiceBrokerHealthOK) IsServerError

func (o *ServiceBrokerHealthOK) IsServerError() bool

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

func (*ServiceBrokerHealthOK) IsSuccess

func (o *ServiceBrokerHealthOK) IsSuccess() bool

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

func (*ServiceBrokerHealthOK) String

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

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

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

type ServiceBrokerTestTimeoutOK struct {
	Payload models.Object
}

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

OK

func NewServiceBrokerTestTimeoutOK

func NewServiceBrokerTestTimeoutOK() *ServiceBrokerTestTimeoutOK

NewServiceBrokerTestTimeoutOK creates a ServiceBrokerTestTimeoutOK with default headers values

func (*ServiceBrokerTestTimeoutOK) Code

func (o *ServiceBrokerTestTimeoutOK) Code() int

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

func (*ServiceBrokerTestTimeoutOK) Error

func (*ServiceBrokerTestTimeoutOK) GetPayload

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

func (*ServiceBrokerTestTimeoutOK) IsClientError

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

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

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

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

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

func (o *ServiceBrokerTestTimeoutOK) String() string

type ServiceBrokerTestTimeoutParams

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

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

func NewServiceBrokerTestTimeoutParamsWithContext(ctx context.Context) *ServiceBrokerTestTimeoutParams

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

func NewServiceBrokerTestTimeoutParamsWithHTTPClient

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

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

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

SetContext adds the context to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetT

SetT adds the t to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) SetTimeout

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

SetTimeout adds the timeout to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithContext

WithContext adds the context to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithT

WithT adds the t to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WithTimeout

WithTimeout adds the timeout to the service broker test timeout params

func (*ServiceBrokerTestTimeoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerTestTimeoutReader

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

ServiceBrokerTestTimeoutReader is a Reader for the ServiceBrokerTestTimeout structure.

func (*ServiceBrokerTestTimeoutReader) ReadResponse

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

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

func (*ServiceBrokerVersionBadRequest) Error

func (*ServiceBrokerVersionBadRequest) GetPayload

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

func (*ServiceBrokerVersionBadRequest) IsClientError

func (o *ServiceBrokerVersionBadRequest) IsClientError() bool

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

func (*ServiceBrokerVersionBadRequest) IsCode

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

func (o *ServiceBrokerVersionBadRequest) IsRedirect() bool

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

func (*ServiceBrokerVersionBadRequest) IsServerError

func (o *ServiceBrokerVersionBadRequest) IsServerError() bool

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

func (*ServiceBrokerVersionBadRequest) IsSuccess

func (o *ServiceBrokerVersionBadRequest) IsSuccess() bool

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

func (*ServiceBrokerVersionBadRequest) String

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

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

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

func (*ServiceBrokerVersionOK) IsClientError

func (o *ServiceBrokerVersionOK) IsClientError() bool

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

func (*ServiceBrokerVersionOK) IsCode

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

func (o *ServiceBrokerVersionOK) IsRedirect() bool

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

func (*ServiceBrokerVersionOK) IsServerError

func (o *ServiceBrokerVersionOK) IsServerError() bool

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

func (*ServiceBrokerVersionOK) IsSuccess

func (o *ServiceBrokerVersionOK) IsSuccess() bool

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

func (*ServiceBrokerVersionOK) String

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

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

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