iaas_service_broker

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 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) Error

func (*ServiceBrokerHealthBadRequest) GetPayload added in v1.1.0

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

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) Error

func (*ServiceBrokerHealthHeadBadRequest) GetPayload added in v1.1.0

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) Error

func (o *ServiceBrokerHealthHeadOK) Error() string

func (*ServiceBrokerHealthHeadOK) GetPayload added in v1.1.0

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

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) Error

func (o *ServiceBrokerHealthOK) Error() string

func (*ServiceBrokerHealthOK) GetPayload added in v1.1.0

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

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) Error added in v1.0.43

func (*ServiceBrokerTestTimeoutOK) GetPayload added in v1.1.0

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

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) Error

func (*ServiceBrokerVersionBadRequest) GetPayload added in v1.1.0

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

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) Error

func (o *ServiceBrokerVersionOK) Error() string

func (*ServiceBrokerVersionOK) GetPayload added in v1.1.0

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

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