service_bindings

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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 service bindings API

func (*Client) ServiceBindingBinding

ServiceBindingBinding generations of a service binding

func (*Client) ServiceBindingGet

func (a *Client) ServiceBindingGet(params *ServiceBindingGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBindingGetOK, error)

ServiceBindingGet gets a service binding

func (*Client) ServiceBindingLastOperationGet

func (a *Client) ServiceBindingLastOperationGet(params *ServiceBindingLastOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBindingLastOperationGetOK, error)

ServiceBindingLastOperationGet lasts requested operation state for service binding

func (*Client) ServiceBindingUnbinding

ServiceBindingUnbinding deprovisions of a service binding

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

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new service bindings API client.

type ServiceBindingBindingAccepted

type ServiceBindingBindingAccepted struct {
	Payload *models.AsyncOperation
}
ServiceBindingBindingAccepted describes a response with status code 202, with default header values.

Accepted

func NewServiceBindingBindingAccepted

func NewServiceBindingBindingAccepted() *ServiceBindingBindingAccepted

NewServiceBindingBindingAccepted creates a ServiceBindingBindingAccepted with default headers values

func (*ServiceBindingBindingAccepted) Error

func (*ServiceBindingBindingAccepted) GetPayload added in v1.1.0

type ServiceBindingBindingBadRequest

type ServiceBindingBindingBadRequest struct {
	Payload *models.Error
}
ServiceBindingBindingBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBindingBindingBadRequest

func NewServiceBindingBindingBadRequest() *ServiceBindingBindingBadRequest

NewServiceBindingBindingBadRequest creates a ServiceBindingBindingBadRequest with default headers values

func (*ServiceBindingBindingBadRequest) Error

func (*ServiceBindingBindingBadRequest) GetPayload added in v1.1.0

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

type ServiceBindingBindingConflict

type ServiceBindingBindingConflict struct {
	Payload *models.Error
}
ServiceBindingBindingConflict describes a response with status code 409, with default header values.

Conflict

func NewServiceBindingBindingConflict

func NewServiceBindingBindingConflict() *ServiceBindingBindingConflict

NewServiceBindingBindingConflict creates a ServiceBindingBindingConflict with default headers values

func (*ServiceBindingBindingConflict) Error

func (*ServiceBindingBindingConflict) GetPayload added in v1.1.0

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

type ServiceBindingBindingCreated

type ServiceBindingBindingCreated struct {
	Payload *models.ServiceBinding
}
ServiceBindingBindingCreated describes a response with status code 201, with default header values.

Created

func NewServiceBindingBindingCreated

func NewServiceBindingBindingCreated() *ServiceBindingBindingCreated

NewServiceBindingBindingCreated creates a ServiceBindingBindingCreated with default headers values

func (*ServiceBindingBindingCreated) Error

func (*ServiceBindingBindingCreated) GetPayload added in v1.1.0

type ServiceBindingBindingOK

type ServiceBindingBindingOK struct {
	Payload *models.ServiceBinding
}
ServiceBindingBindingOK describes a response with status code 200, with default header values.

OK

func NewServiceBindingBindingOK

func NewServiceBindingBindingOK() *ServiceBindingBindingOK

NewServiceBindingBindingOK creates a ServiceBindingBindingOK with default headers values

func (*ServiceBindingBindingOK) Error

func (o *ServiceBindingBindingOK) Error() string

func (*ServiceBindingBindingOK) GetPayload added in v1.1.0

type ServiceBindingBindingParams

type ServiceBindingBindingParams struct {

	/* XBrokerAPIOriginatingIdentity.

	   identity of the user that initiated the request from the Platform
	*/
	XBrokerAPIOriginatingIdentity *string

	/* XBrokerAPIVersion.

	   version number of the Service Broker API that the Platform will use
	*/
	XBrokerAPIVersion string

	/* AcceptsIncomplete.

	   asynchronous operations supported
	*/
	AcceptsIncomplete *bool

	/* BindingID.

	   binding id of binding to create
	*/
	BindingID string

	/* Body.

	   parameters for the requested service binding
	*/
	Body *models.ServiceBindingRequest

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

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

ServiceBindingBindingParams contains all the parameters to send to the API endpoint

for the service binding binding operation.

Typically these are written to a http.Request.

func NewServiceBindingBindingParams

func NewServiceBindingBindingParams() *ServiceBindingBindingParams

NewServiceBindingBindingParams creates a new ServiceBindingBindingParams 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 NewServiceBindingBindingParamsWithContext

func NewServiceBindingBindingParamsWithContext(ctx context.Context) *ServiceBindingBindingParams

NewServiceBindingBindingParamsWithContext creates a new ServiceBindingBindingParams object with the ability to set a context for a request.

func NewServiceBindingBindingParamsWithHTTPClient

func NewServiceBindingBindingParamsWithHTTPClient(client *http.Client) *ServiceBindingBindingParams

NewServiceBindingBindingParamsWithHTTPClient creates a new ServiceBindingBindingParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBindingBindingParamsWithTimeout

func NewServiceBindingBindingParamsWithTimeout(timeout time.Duration) *ServiceBindingBindingParams

NewServiceBindingBindingParamsWithTimeout creates a new ServiceBindingBindingParams object with the ability to set a timeout on a request.

func (*ServiceBindingBindingParams) SetAcceptsIncomplete

func (o *ServiceBindingBindingParams) SetAcceptsIncomplete(acceptsIncomplete *bool)

SetAcceptsIncomplete adds the acceptsIncomplete to the service binding binding params

func (*ServiceBindingBindingParams) SetBindingID

func (o *ServiceBindingBindingParams) SetBindingID(bindingID string)

SetBindingID adds the bindingId to the service binding binding params

func (*ServiceBindingBindingParams) SetBody

SetBody adds the body to the service binding binding params

func (*ServiceBindingBindingParams) SetContext

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

SetContext adds the context to the service binding binding params

func (*ServiceBindingBindingParams) SetDefaults added in v1.1.0

func (o *ServiceBindingBindingParams) SetDefaults()

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

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

func (*ServiceBindingBindingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service binding binding params

func (*ServiceBindingBindingParams) SetInstanceID

func (o *ServiceBindingBindingParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service binding binding params

func (*ServiceBindingBindingParams) SetTimeout

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

SetTimeout adds the timeout to the service binding binding params

func (*ServiceBindingBindingParams) SetXBrokerAPIOriginatingIdentity

func (o *ServiceBindingBindingParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service binding binding params

func (*ServiceBindingBindingParams) SetXBrokerAPIVersion

func (o *ServiceBindingBindingParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service binding binding params

func (*ServiceBindingBindingParams) WithAcceptsIncomplete

func (o *ServiceBindingBindingParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceBindingBindingParams

WithAcceptsIncomplete adds the acceptsIncomplete to the service binding binding params

func (*ServiceBindingBindingParams) WithBindingID

func (o *ServiceBindingBindingParams) WithBindingID(bindingID string) *ServiceBindingBindingParams

WithBindingID adds the bindingID to the service binding binding params

func (*ServiceBindingBindingParams) WithBody

WithBody adds the body to the service binding binding params

func (*ServiceBindingBindingParams) WithContext

WithContext adds the context to the service binding binding params

func (*ServiceBindingBindingParams) WithDefaults added in v1.1.0

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

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

func (*ServiceBindingBindingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service binding binding params

func (*ServiceBindingBindingParams) WithInstanceID

func (o *ServiceBindingBindingParams) WithInstanceID(instanceID string) *ServiceBindingBindingParams

WithInstanceID adds the instanceID to the service binding binding params

func (*ServiceBindingBindingParams) WithTimeout

WithTimeout adds the timeout to the service binding binding params

func (*ServiceBindingBindingParams) WithXBrokerAPIOriginatingIdentity

func (o *ServiceBindingBindingParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceBindingBindingParams

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service binding binding params

func (*ServiceBindingBindingParams) WithXBrokerAPIVersion

func (o *ServiceBindingBindingParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceBindingBindingParams

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service binding binding params

func (*ServiceBindingBindingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBindingBindingReader

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

ServiceBindingBindingReader is a Reader for the ServiceBindingBinding structure.

func (*ServiceBindingBindingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceBindingBindingUnprocessableEntity

type ServiceBindingBindingUnprocessableEntity struct {
	Payload *models.Error
}
ServiceBindingBindingUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewServiceBindingBindingUnprocessableEntity

func NewServiceBindingBindingUnprocessableEntity() *ServiceBindingBindingUnprocessableEntity

NewServiceBindingBindingUnprocessableEntity creates a ServiceBindingBindingUnprocessableEntity with default headers values

func (*ServiceBindingBindingUnprocessableEntity) Error

func (*ServiceBindingBindingUnprocessableEntity) GetPayload added in v1.1.0

type ServiceBindingGetNotFound

type ServiceBindingGetNotFound struct {
	Payload *models.Error
}
ServiceBindingGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBindingGetNotFound

func NewServiceBindingGetNotFound() *ServiceBindingGetNotFound

NewServiceBindingGetNotFound creates a ServiceBindingGetNotFound with default headers values

func (*ServiceBindingGetNotFound) Error

func (o *ServiceBindingGetNotFound) Error() string

func (*ServiceBindingGetNotFound) GetPayload added in v1.1.0

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

type ServiceBindingGetOK

type ServiceBindingGetOK struct {
	Payload *models.ServiceBindingResource
}
ServiceBindingGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBindingGetOK

func NewServiceBindingGetOK() *ServiceBindingGetOK

NewServiceBindingGetOK creates a ServiceBindingGetOK with default headers values

func (*ServiceBindingGetOK) Error

func (o *ServiceBindingGetOK) Error() string

func (*ServiceBindingGetOK) GetPayload added in v1.1.0

type ServiceBindingGetParams

type ServiceBindingGetParams struct {

	/* XBrokerAPIOriginatingIdentity.

	   identity of the user that initiated the request from the Platform
	*/
	XBrokerAPIOriginatingIdentity *string

	/* XBrokerAPIVersion.

	   version number of the Service Broker API that the Platform will use
	*/
	XBrokerAPIVersion string

	/* BindingID.

	   binding id of binding to create
	*/
	BindingID string

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

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

ServiceBindingGetParams contains all the parameters to send to the API endpoint

for the service binding get operation.

Typically these are written to a http.Request.

func NewServiceBindingGetParams

func NewServiceBindingGetParams() *ServiceBindingGetParams

NewServiceBindingGetParams creates a new ServiceBindingGetParams 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 NewServiceBindingGetParamsWithContext

func NewServiceBindingGetParamsWithContext(ctx context.Context) *ServiceBindingGetParams

NewServiceBindingGetParamsWithContext creates a new ServiceBindingGetParams object with the ability to set a context for a request.

func NewServiceBindingGetParamsWithHTTPClient

func NewServiceBindingGetParamsWithHTTPClient(client *http.Client) *ServiceBindingGetParams

NewServiceBindingGetParamsWithHTTPClient creates a new ServiceBindingGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBindingGetParamsWithTimeout

func NewServiceBindingGetParamsWithTimeout(timeout time.Duration) *ServiceBindingGetParams

NewServiceBindingGetParamsWithTimeout creates a new ServiceBindingGetParams object with the ability to set a timeout on a request.

func (*ServiceBindingGetParams) SetBindingID

func (o *ServiceBindingGetParams) SetBindingID(bindingID string)

SetBindingID adds the bindingId to the service binding get params

func (*ServiceBindingGetParams) SetContext

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

SetContext adds the context to the service binding get params

func (*ServiceBindingGetParams) SetDefaults added in v1.1.0

func (o *ServiceBindingGetParams) SetDefaults()

SetDefaults hydrates default values in the service binding get params (not the query body).

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

func (*ServiceBindingGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service binding get params

func (*ServiceBindingGetParams) SetInstanceID

func (o *ServiceBindingGetParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service binding get params

func (*ServiceBindingGetParams) SetTimeout

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

SetTimeout adds the timeout to the service binding get params

func (*ServiceBindingGetParams) SetXBrokerAPIOriginatingIdentity

func (o *ServiceBindingGetParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service binding get params

func (*ServiceBindingGetParams) SetXBrokerAPIVersion

func (o *ServiceBindingGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service binding get params

func (*ServiceBindingGetParams) WithBindingID

func (o *ServiceBindingGetParams) WithBindingID(bindingID string) *ServiceBindingGetParams

WithBindingID adds the bindingID to the service binding get params

func (*ServiceBindingGetParams) WithContext

WithContext adds the context to the service binding get params

func (*ServiceBindingGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service binding get params (not the query body).

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

func (*ServiceBindingGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service binding get params

func (*ServiceBindingGetParams) WithInstanceID

func (o *ServiceBindingGetParams) WithInstanceID(instanceID string) *ServiceBindingGetParams

WithInstanceID adds the instanceID to the service binding get params

func (*ServiceBindingGetParams) WithTimeout

WithTimeout adds the timeout to the service binding get params

func (*ServiceBindingGetParams) WithXBrokerAPIOriginatingIdentity

func (o *ServiceBindingGetParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceBindingGetParams

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service binding get params

func (*ServiceBindingGetParams) WithXBrokerAPIVersion

func (o *ServiceBindingGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceBindingGetParams

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service binding get params

func (*ServiceBindingGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBindingGetReader

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

ServiceBindingGetReader is a Reader for the ServiceBindingGet structure.

func (*ServiceBindingGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceBindingLastOperationGetBadRequest

type ServiceBindingLastOperationGetBadRequest struct {
	Payload *models.Error
}
ServiceBindingLastOperationGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBindingLastOperationGetBadRequest

func NewServiceBindingLastOperationGetBadRequest() *ServiceBindingLastOperationGetBadRequest

NewServiceBindingLastOperationGetBadRequest creates a ServiceBindingLastOperationGetBadRequest with default headers values

func (*ServiceBindingLastOperationGetBadRequest) Error

func (*ServiceBindingLastOperationGetBadRequest) GetPayload added in v1.1.0

type ServiceBindingLastOperationGetGone

type ServiceBindingLastOperationGetGone struct {
	Payload *models.Error
}
ServiceBindingLastOperationGetGone describes a response with status code 410, with default header values.

Gone

func NewServiceBindingLastOperationGetGone

func NewServiceBindingLastOperationGetGone() *ServiceBindingLastOperationGetGone

NewServiceBindingLastOperationGetGone creates a ServiceBindingLastOperationGetGone with default headers values

func (*ServiceBindingLastOperationGetGone) Error

func (*ServiceBindingLastOperationGetGone) GetPayload added in v1.1.0

type ServiceBindingLastOperationGetOK

type ServiceBindingLastOperationGetOK struct {
	Payload *models.LastOperationResource
}
ServiceBindingLastOperationGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBindingLastOperationGetOK

func NewServiceBindingLastOperationGetOK() *ServiceBindingLastOperationGetOK

NewServiceBindingLastOperationGetOK creates a ServiceBindingLastOperationGetOK with default headers values

func (*ServiceBindingLastOperationGetOK) Error

func (*ServiceBindingLastOperationGetOK) GetPayload added in v1.1.0

type ServiceBindingLastOperationGetParams

type ServiceBindingLastOperationGetParams struct {

	/* XBrokerAPIVersion.

	   version number of the Service Broker API that the Platform will use
	*/
	XBrokerAPIVersion string

	/* BindingID.

	   binding id of binding to create
	*/
	BindingID string

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

	/* Operation.

	   a provided identifier for the operation
	*/
	Operation *string

	/* PlanID.

	   id of the plan associated with the instance
	*/
	PlanID *string

	/* ServiceID.

	   id of the service associated with the instance
	*/
	ServiceID *string

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

ServiceBindingLastOperationGetParams contains all the parameters to send to the API endpoint

for the service binding last operation get operation.

Typically these are written to a http.Request.

func NewServiceBindingLastOperationGetParams

func NewServiceBindingLastOperationGetParams() *ServiceBindingLastOperationGetParams

NewServiceBindingLastOperationGetParams creates a new ServiceBindingLastOperationGetParams 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 NewServiceBindingLastOperationGetParamsWithContext

func NewServiceBindingLastOperationGetParamsWithContext(ctx context.Context) *ServiceBindingLastOperationGetParams

NewServiceBindingLastOperationGetParamsWithContext creates a new ServiceBindingLastOperationGetParams object with the ability to set a context for a request.

func NewServiceBindingLastOperationGetParamsWithHTTPClient

func NewServiceBindingLastOperationGetParamsWithHTTPClient(client *http.Client) *ServiceBindingLastOperationGetParams

NewServiceBindingLastOperationGetParamsWithHTTPClient creates a new ServiceBindingLastOperationGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBindingLastOperationGetParamsWithTimeout

func NewServiceBindingLastOperationGetParamsWithTimeout(timeout time.Duration) *ServiceBindingLastOperationGetParams

NewServiceBindingLastOperationGetParamsWithTimeout creates a new ServiceBindingLastOperationGetParams object with the ability to set a timeout on a request.

func (*ServiceBindingLastOperationGetParams) SetBindingID

func (o *ServiceBindingLastOperationGetParams) SetBindingID(bindingID string)

SetBindingID adds the bindingId to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetContext

SetContext adds the context to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetDefaults added in v1.1.0

func (o *ServiceBindingLastOperationGetParams) SetDefaults()

SetDefaults hydrates default values in the service binding last operation get params (not the query body).

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

func (*ServiceBindingLastOperationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetInstanceID

func (o *ServiceBindingLastOperationGetParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetOperation

func (o *ServiceBindingLastOperationGetParams) SetOperation(operation *string)

SetOperation adds the operation to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetPlanID

func (o *ServiceBindingLastOperationGetParams) SetPlanID(planID *string)

SetPlanID adds the planId to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetServiceID

func (o *ServiceBindingLastOperationGetParams) SetServiceID(serviceID *string)

SetServiceID adds the serviceId to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetTimeout

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

SetTimeout adds the timeout to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) SetXBrokerAPIVersion

func (o *ServiceBindingLastOperationGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithBindingID

WithBindingID adds the bindingID to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithContext

WithContext adds the context to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service binding last operation get params (not the query body).

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

func (*ServiceBindingLastOperationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithInstanceID

WithInstanceID adds the instanceID to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithOperation

WithOperation adds the operation to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithPlanID

WithPlanID adds the planID to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithServiceID

WithServiceID adds the serviceID to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithTimeout

WithTimeout adds the timeout to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WithXBrokerAPIVersion

func (o *ServiceBindingLastOperationGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceBindingLastOperationGetParams

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service binding last operation get params

func (*ServiceBindingLastOperationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBindingLastOperationGetReader

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

ServiceBindingLastOperationGetReader is a Reader for the ServiceBindingLastOperationGet structure.

func (*ServiceBindingLastOperationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceBindingUnbindingAccepted

type ServiceBindingUnbindingAccepted struct {
	Payload *models.AsyncOperation
}
ServiceBindingUnbindingAccepted describes a response with status code 202, with default header values.

Accepted

func NewServiceBindingUnbindingAccepted

func NewServiceBindingUnbindingAccepted() *ServiceBindingUnbindingAccepted

NewServiceBindingUnbindingAccepted creates a ServiceBindingUnbindingAccepted with default headers values

func (*ServiceBindingUnbindingAccepted) Error

func (*ServiceBindingUnbindingAccepted) GetPayload added in v1.1.0

type ServiceBindingUnbindingBadRequest

type ServiceBindingUnbindingBadRequest struct {
	Payload *models.Error
}
ServiceBindingUnbindingBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBindingUnbindingBadRequest

func NewServiceBindingUnbindingBadRequest() *ServiceBindingUnbindingBadRequest

NewServiceBindingUnbindingBadRequest creates a ServiceBindingUnbindingBadRequest with default headers values

func (*ServiceBindingUnbindingBadRequest) Error

func (*ServiceBindingUnbindingBadRequest) GetPayload added in v1.1.0

type ServiceBindingUnbindingGone

type ServiceBindingUnbindingGone struct {
	Payload *models.Error
}
ServiceBindingUnbindingGone describes a response with status code 410, with default header values.

Gone

func NewServiceBindingUnbindingGone

func NewServiceBindingUnbindingGone() *ServiceBindingUnbindingGone

NewServiceBindingUnbindingGone creates a ServiceBindingUnbindingGone with default headers values

func (*ServiceBindingUnbindingGone) Error

func (*ServiceBindingUnbindingGone) GetPayload added in v1.1.0

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

type ServiceBindingUnbindingOK

type ServiceBindingUnbindingOK struct {
	Payload models.Object
}
ServiceBindingUnbindingOK describes a response with status code 200, with default header values.

OK

func NewServiceBindingUnbindingOK

func NewServiceBindingUnbindingOK() *ServiceBindingUnbindingOK

NewServiceBindingUnbindingOK creates a ServiceBindingUnbindingOK with default headers values

func (*ServiceBindingUnbindingOK) Error

func (o *ServiceBindingUnbindingOK) Error() string

func (*ServiceBindingUnbindingOK) GetPayload added in v1.1.0

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

type ServiceBindingUnbindingParams

type ServiceBindingUnbindingParams struct {

	/* XBrokerAPIOriginatingIdentity.

	   identity of the user that initiated the request from the Platform
	*/
	XBrokerAPIOriginatingIdentity *string

	/* XBrokerAPIVersion.

	   version number of the Service Broker API that the Platform will use
	*/
	XBrokerAPIVersion string

	/* AcceptsIncomplete.

	   asynchronous operations supported
	*/
	AcceptsIncomplete *bool

	/* BindingID.

	   binding id of binding to create
	*/
	BindingID string

	/* InstanceID.

	   instance id of instance to provision
	*/
	InstanceID string

	/* PlanID.

	   id of the plan associated with the instance being deleted
	*/
	PlanID string

	/* ServiceID.

	   id of the service associated with the instance being deleted
	*/
	ServiceID string

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

ServiceBindingUnbindingParams contains all the parameters to send to the API endpoint

for the service binding unbinding operation.

Typically these are written to a http.Request.

func NewServiceBindingUnbindingParams

func NewServiceBindingUnbindingParams() *ServiceBindingUnbindingParams

NewServiceBindingUnbindingParams creates a new ServiceBindingUnbindingParams 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 NewServiceBindingUnbindingParamsWithContext

func NewServiceBindingUnbindingParamsWithContext(ctx context.Context) *ServiceBindingUnbindingParams

NewServiceBindingUnbindingParamsWithContext creates a new ServiceBindingUnbindingParams object with the ability to set a context for a request.

func NewServiceBindingUnbindingParamsWithHTTPClient

func NewServiceBindingUnbindingParamsWithHTTPClient(client *http.Client) *ServiceBindingUnbindingParams

NewServiceBindingUnbindingParamsWithHTTPClient creates a new ServiceBindingUnbindingParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBindingUnbindingParamsWithTimeout

func NewServiceBindingUnbindingParamsWithTimeout(timeout time.Duration) *ServiceBindingUnbindingParams

NewServiceBindingUnbindingParamsWithTimeout creates a new ServiceBindingUnbindingParams object with the ability to set a timeout on a request.

func (*ServiceBindingUnbindingParams) SetAcceptsIncomplete

func (o *ServiceBindingUnbindingParams) SetAcceptsIncomplete(acceptsIncomplete *bool)

SetAcceptsIncomplete adds the acceptsIncomplete to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetBindingID

func (o *ServiceBindingUnbindingParams) SetBindingID(bindingID string)

SetBindingID adds the bindingId to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetContext

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

SetContext adds the context to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetDefaults added in v1.1.0

func (o *ServiceBindingUnbindingParams) SetDefaults()

SetDefaults hydrates default values in the service binding unbinding params (not the query body).

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

func (*ServiceBindingUnbindingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetInstanceID

func (o *ServiceBindingUnbindingParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetPlanID

func (o *ServiceBindingUnbindingParams) SetPlanID(planID string)

SetPlanID adds the planId to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetServiceID

func (o *ServiceBindingUnbindingParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetTimeout

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

SetTimeout adds the timeout to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetXBrokerAPIOriginatingIdentity

func (o *ServiceBindingUnbindingParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service binding unbinding params

func (*ServiceBindingUnbindingParams) SetXBrokerAPIVersion

func (o *ServiceBindingUnbindingParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithAcceptsIncomplete

func (o *ServiceBindingUnbindingParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceBindingUnbindingParams

WithAcceptsIncomplete adds the acceptsIncomplete to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithBindingID

WithBindingID adds the bindingID to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithContext

WithContext adds the context to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service binding unbinding params (not the query body).

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

func (*ServiceBindingUnbindingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithInstanceID

WithInstanceID adds the instanceID to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithPlanID

WithPlanID adds the planID to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithServiceID

WithServiceID adds the serviceID to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithTimeout

WithTimeout adds the timeout to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithXBrokerAPIOriginatingIdentity

func (o *ServiceBindingUnbindingParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceBindingUnbindingParams

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WithXBrokerAPIVersion

func (o *ServiceBindingUnbindingParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceBindingUnbindingParams

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service binding unbinding params

func (*ServiceBindingUnbindingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBindingUnbindingReader

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

ServiceBindingUnbindingReader is a Reader for the ServiceBindingUnbinding structure.

func (*ServiceBindingUnbindingReader) ReadResponse

func (o *ServiceBindingUnbindingReader) 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