service_instances

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 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 instances API

func New

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

New creates a new service instances API client.

func (*Client) ServiceInstanceDeprovision

ServiceInstanceDeprovision deprovisions a service instance

func (*Client) ServiceInstanceGet

func (a *Client) ServiceInstanceGet(params *ServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter) (*ServiceInstanceGetOK, error)

ServiceInstanceGet gets a service instance

func (*Client) ServiceInstanceLastOperationGet

func (a *Client) ServiceInstanceLastOperationGet(params *ServiceInstanceLastOperationGetParams, authInfo runtime.ClientAuthInfoWriter) (*ServiceInstanceLastOperationGetOK, error)

ServiceInstanceLastOperationGet lasts requested operation state for service instance

func (*Client) ServiceInstanceProvision

ServiceInstanceProvision provisions a service instance

func (*Client) ServiceInstanceUpdate

ServiceInstanceUpdate updates a service instance

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ServiceInstanceDeprovisionAccepted

type ServiceInstanceDeprovisionAccepted struct {
	Payload *models.AsyncOperation
}

ServiceInstanceDeprovisionAccepted handles this case with default header values.

Accepted

func NewServiceInstanceDeprovisionAccepted

func NewServiceInstanceDeprovisionAccepted() *ServiceInstanceDeprovisionAccepted

NewServiceInstanceDeprovisionAccepted creates a ServiceInstanceDeprovisionAccepted with default headers values

func (*ServiceInstanceDeprovisionAccepted) Error

type ServiceInstanceDeprovisionBadRequest

type ServiceInstanceDeprovisionBadRequest struct {
	Payload *models.Error
}

ServiceInstanceDeprovisionBadRequest handles this case with default header values.

Bad Request

func NewServiceInstanceDeprovisionBadRequest

func NewServiceInstanceDeprovisionBadRequest() *ServiceInstanceDeprovisionBadRequest

NewServiceInstanceDeprovisionBadRequest creates a ServiceInstanceDeprovisionBadRequest with default headers values

func (*ServiceInstanceDeprovisionBadRequest) Error

type ServiceInstanceDeprovisionGone

type ServiceInstanceDeprovisionGone struct {
	Payload *models.Error
}

ServiceInstanceDeprovisionGone handles this case with default header values.

Gone

func NewServiceInstanceDeprovisionGone

func NewServiceInstanceDeprovisionGone() *ServiceInstanceDeprovisionGone

NewServiceInstanceDeprovisionGone creates a ServiceInstanceDeprovisionGone with default headers values

func (*ServiceInstanceDeprovisionGone) Error

type ServiceInstanceDeprovisionOK

type ServiceInstanceDeprovisionOK struct {
	Payload models.Object
}

ServiceInstanceDeprovisionOK handles this case with default header values.

OK

func NewServiceInstanceDeprovisionOK

func NewServiceInstanceDeprovisionOK() *ServiceInstanceDeprovisionOK

NewServiceInstanceDeprovisionOK creates a ServiceInstanceDeprovisionOK with default headers values

func (*ServiceInstanceDeprovisionOK) Error

type ServiceInstanceDeprovisionParams

type ServiceInstanceDeprovisionParams 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
	/*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
}

ServiceInstanceDeprovisionParams contains all the parameters to send to the API endpoint for the service instance deprovision operation typically these are written to a http.Request

func NewServiceInstanceDeprovisionParams

func NewServiceInstanceDeprovisionParams() *ServiceInstanceDeprovisionParams

NewServiceInstanceDeprovisionParams creates a new ServiceInstanceDeprovisionParams object with the default values initialized.

func NewServiceInstanceDeprovisionParamsWithContext

func NewServiceInstanceDeprovisionParamsWithContext(ctx context.Context) *ServiceInstanceDeprovisionParams

NewServiceInstanceDeprovisionParamsWithContext creates a new ServiceInstanceDeprovisionParams object with the default values initialized, and the ability to set a context for a request

func NewServiceInstanceDeprovisionParamsWithHTTPClient

func NewServiceInstanceDeprovisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceDeprovisionParams

NewServiceInstanceDeprovisionParamsWithHTTPClient creates a new ServiceInstanceDeprovisionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceInstanceDeprovisionParamsWithTimeout

func NewServiceInstanceDeprovisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceDeprovisionParams

NewServiceInstanceDeprovisionParamsWithTimeout creates a new ServiceInstanceDeprovisionParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceInstanceDeprovisionParams) SetAcceptsIncomplete

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

SetAcceptsIncomplete adds the acceptsIncomplete to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetContext

SetContext adds the context to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetInstanceID

func (o *ServiceInstanceDeprovisionParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetPlanID

func (o *ServiceInstanceDeprovisionParams) SetPlanID(planID string)

SetPlanID adds the planId to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetServiceID

func (o *ServiceInstanceDeprovisionParams) SetServiceID(serviceID string)

SetServiceID adds the serviceId to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetTimeout

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

SetTimeout adds the timeout to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetXBrokerAPIOriginatingIdentity

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

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) SetXBrokerAPIVersion

func (o *ServiceInstanceDeprovisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithAcceptsIncomplete

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

WithAcceptsIncomplete adds the acceptsIncomplete to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithContext

WithContext adds the context to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithInstanceID

WithInstanceID adds the instanceID to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithPlanID

WithPlanID adds the planID to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithServiceID

WithServiceID adds the serviceID to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithTimeout

WithTimeout adds the timeout to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithXBrokerAPIOriginatingIdentity

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

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WithXBrokerAPIVersion

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

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance deprovision params

func (*ServiceInstanceDeprovisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceInstanceDeprovisionReader

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

ServiceInstanceDeprovisionReader is a Reader for the ServiceInstanceDeprovision structure.

func (*ServiceInstanceDeprovisionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceInstanceDeprovisionUnprocessableEntity

type ServiceInstanceDeprovisionUnprocessableEntity struct {
	Payload *models.Error
}

ServiceInstanceDeprovisionUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewServiceInstanceDeprovisionUnprocessableEntity

func NewServiceInstanceDeprovisionUnprocessableEntity() *ServiceInstanceDeprovisionUnprocessableEntity

NewServiceInstanceDeprovisionUnprocessableEntity creates a ServiceInstanceDeprovisionUnprocessableEntity with default headers values

func (*ServiceInstanceDeprovisionUnprocessableEntity) Error

type ServiceInstanceGetNotFound

type ServiceInstanceGetNotFound struct {
	Payload *models.Error
}

ServiceInstanceGetNotFound handles this case with default header values.

Not Found

func NewServiceInstanceGetNotFound

func NewServiceInstanceGetNotFound() *ServiceInstanceGetNotFound

NewServiceInstanceGetNotFound creates a ServiceInstanceGetNotFound with default headers values

func (*ServiceInstanceGetNotFound) Error

type ServiceInstanceGetOK

type ServiceInstanceGetOK struct {
	Payload *models.ServiceInstanceResource
}

ServiceInstanceGetOK handles this case with default header values.

OK

func NewServiceInstanceGetOK

func NewServiceInstanceGetOK() *ServiceInstanceGetOK

NewServiceInstanceGetOK creates a ServiceInstanceGetOK with default headers values

func (*ServiceInstanceGetOK) Error

func (o *ServiceInstanceGetOK) Error() string

type ServiceInstanceGetParams

type ServiceInstanceGetParams 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
	/*InstanceID
	  instance id of instance to provision

	*/
	InstanceID string

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

ServiceInstanceGetParams contains all the parameters to send to the API endpoint for the service instance get operation typically these are written to a http.Request

func NewServiceInstanceGetParams

func NewServiceInstanceGetParams() *ServiceInstanceGetParams

NewServiceInstanceGetParams creates a new ServiceInstanceGetParams object with the default values initialized.

func NewServiceInstanceGetParamsWithContext

func NewServiceInstanceGetParamsWithContext(ctx context.Context) *ServiceInstanceGetParams

NewServiceInstanceGetParamsWithContext creates a new ServiceInstanceGetParams object with the default values initialized, and the ability to set a context for a request

func NewServiceInstanceGetParamsWithHTTPClient

func NewServiceInstanceGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceGetParams

NewServiceInstanceGetParamsWithHTTPClient creates a new ServiceInstanceGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceInstanceGetParamsWithTimeout

func NewServiceInstanceGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceGetParams

NewServiceInstanceGetParamsWithTimeout creates a new ServiceInstanceGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceInstanceGetParams) SetContext

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

SetContext adds the context to the service instance get params

func (*ServiceInstanceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service instance get params

func (*ServiceInstanceGetParams) SetInstanceID

func (o *ServiceInstanceGetParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service instance get params

func (*ServiceInstanceGetParams) SetTimeout

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

SetTimeout adds the timeout to the service instance get params

func (*ServiceInstanceGetParams) SetXBrokerAPIOriginatingIdentity

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

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance get params

func (*ServiceInstanceGetParams) SetXBrokerAPIVersion

func (o *ServiceInstanceGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance get params

func (*ServiceInstanceGetParams) WithContext

WithContext adds the context to the service instance get params

func (*ServiceInstanceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the service instance get params

func (*ServiceInstanceGetParams) WithInstanceID

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

WithInstanceID adds the instanceID to the service instance get params

func (*ServiceInstanceGetParams) WithTimeout

WithTimeout adds the timeout to the service instance get params

func (*ServiceInstanceGetParams) WithXBrokerAPIOriginatingIdentity

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

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance get params

func (*ServiceInstanceGetParams) WithXBrokerAPIVersion

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

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance get params

func (*ServiceInstanceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceInstanceGetReader

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

ServiceInstanceGetReader is a Reader for the ServiceInstanceGet structure.

func (*ServiceInstanceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceInstanceLastOperationGetBadRequest

type ServiceInstanceLastOperationGetBadRequest struct {
	Payload *models.Error
}

ServiceInstanceLastOperationGetBadRequest handles this case with default header values.

Bad Request

func NewServiceInstanceLastOperationGetBadRequest

func NewServiceInstanceLastOperationGetBadRequest() *ServiceInstanceLastOperationGetBadRequest

NewServiceInstanceLastOperationGetBadRequest creates a ServiceInstanceLastOperationGetBadRequest with default headers values

func (*ServiceInstanceLastOperationGetBadRequest) Error

type ServiceInstanceLastOperationGetGone

type ServiceInstanceLastOperationGetGone struct {
	Payload *models.Error
}

ServiceInstanceLastOperationGetGone handles this case with default header values.

Gone

func NewServiceInstanceLastOperationGetGone

func NewServiceInstanceLastOperationGetGone() *ServiceInstanceLastOperationGetGone

NewServiceInstanceLastOperationGetGone creates a ServiceInstanceLastOperationGetGone with default headers values

func (*ServiceInstanceLastOperationGetGone) Error

type ServiceInstanceLastOperationGetOK

type ServiceInstanceLastOperationGetOK struct {
	Payload *models.LastOperationResource
}

ServiceInstanceLastOperationGetOK handles this case with default header values.

OK

func NewServiceInstanceLastOperationGetOK

func NewServiceInstanceLastOperationGetOK() *ServiceInstanceLastOperationGetOK

NewServiceInstanceLastOperationGetOK creates a ServiceInstanceLastOperationGetOK with default headers values

func (*ServiceInstanceLastOperationGetOK) Error

type ServiceInstanceLastOperationGetParams

type ServiceInstanceLastOperationGetParams struct {

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

	*/
	XBrokerAPIVersion 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
}

ServiceInstanceLastOperationGetParams contains all the parameters to send to the API endpoint for the service instance last operation get operation typically these are written to a http.Request

func NewServiceInstanceLastOperationGetParams

func NewServiceInstanceLastOperationGetParams() *ServiceInstanceLastOperationGetParams

NewServiceInstanceLastOperationGetParams creates a new ServiceInstanceLastOperationGetParams object with the default values initialized.

func NewServiceInstanceLastOperationGetParamsWithContext

func NewServiceInstanceLastOperationGetParamsWithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams

NewServiceInstanceLastOperationGetParamsWithContext creates a new ServiceInstanceLastOperationGetParams object with the default values initialized, and the ability to set a context for a request

func NewServiceInstanceLastOperationGetParamsWithHTTPClient

func NewServiceInstanceLastOperationGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceLastOperationGetParams

NewServiceInstanceLastOperationGetParamsWithHTTPClient creates a new ServiceInstanceLastOperationGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceInstanceLastOperationGetParamsWithTimeout

func NewServiceInstanceLastOperationGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceLastOperationGetParams

NewServiceInstanceLastOperationGetParamsWithTimeout creates a new ServiceInstanceLastOperationGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceInstanceLastOperationGetParams) SetContext

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

func (*ServiceInstanceLastOperationGetParams) SetHTTPClient

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

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

func (*ServiceInstanceLastOperationGetParams) SetInstanceID

func (o *ServiceInstanceLastOperationGetParams) SetInstanceID(instanceID string)

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

func (*ServiceInstanceLastOperationGetParams) SetOperation

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

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

func (*ServiceInstanceLastOperationGetParams) SetPlanID

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

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

func (*ServiceInstanceLastOperationGetParams) SetServiceID

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

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

func (*ServiceInstanceLastOperationGetParams) SetTimeout

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

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

func (*ServiceInstanceLastOperationGetParams) SetXBrokerAPIVersion

func (o *ServiceInstanceLastOperationGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

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

func (*ServiceInstanceLastOperationGetParams) WithContext

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

func (*ServiceInstanceLastOperationGetParams) WithHTTPClient

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

func (*ServiceInstanceLastOperationGetParams) WithInstanceID

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

func (*ServiceInstanceLastOperationGetParams) WithOperation

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

func (*ServiceInstanceLastOperationGetParams) WithPlanID

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

func (*ServiceInstanceLastOperationGetParams) WithServiceID

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

func (*ServiceInstanceLastOperationGetParams) WithTimeout

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

func (*ServiceInstanceLastOperationGetParams) WithXBrokerAPIVersion

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

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

func (*ServiceInstanceLastOperationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceInstanceLastOperationGetReader

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

ServiceInstanceLastOperationGetReader is a Reader for the ServiceInstanceLastOperationGet structure.

func (*ServiceInstanceLastOperationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceInstanceProvisionAccepted

type ServiceInstanceProvisionAccepted struct {
	Payload *models.ServiceInstanceAsyncOperation
}

ServiceInstanceProvisionAccepted handles this case with default header values.

Accepted

func NewServiceInstanceProvisionAccepted

func NewServiceInstanceProvisionAccepted() *ServiceInstanceProvisionAccepted

NewServiceInstanceProvisionAccepted creates a ServiceInstanceProvisionAccepted with default headers values

func (*ServiceInstanceProvisionAccepted) Error

type ServiceInstanceProvisionBadRequest

type ServiceInstanceProvisionBadRequest struct {
	Payload *models.Error
}

ServiceInstanceProvisionBadRequest handles this case with default header values.

Bad Request

func NewServiceInstanceProvisionBadRequest

func NewServiceInstanceProvisionBadRequest() *ServiceInstanceProvisionBadRequest

NewServiceInstanceProvisionBadRequest creates a ServiceInstanceProvisionBadRequest with default headers values

func (*ServiceInstanceProvisionBadRequest) Error

type ServiceInstanceProvisionConflict

type ServiceInstanceProvisionConflict struct {
	Payload *models.Error
}

ServiceInstanceProvisionConflict handles this case with default header values.

Conflict

func NewServiceInstanceProvisionConflict

func NewServiceInstanceProvisionConflict() *ServiceInstanceProvisionConflict

NewServiceInstanceProvisionConflict creates a ServiceInstanceProvisionConflict with default headers values

func (*ServiceInstanceProvisionConflict) Error

type ServiceInstanceProvisionCreated

type ServiceInstanceProvisionCreated struct {
	Payload *models.ServiceInstanceProvision
}

ServiceInstanceProvisionCreated handles this case with default header values.

Created

func NewServiceInstanceProvisionCreated

func NewServiceInstanceProvisionCreated() *ServiceInstanceProvisionCreated

NewServiceInstanceProvisionCreated creates a ServiceInstanceProvisionCreated with default headers values

func (*ServiceInstanceProvisionCreated) Error

type ServiceInstanceProvisionOK

type ServiceInstanceProvisionOK struct {
	Payload *models.ServiceInstanceProvision
}

ServiceInstanceProvisionOK handles this case with default header values.

OK

func NewServiceInstanceProvisionOK

func NewServiceInstanceProvisionOK() *ServiceInstanceProvisionOK

NewServiceInstanceProvisionOK creates a ServiceInstanceProvisionOK with default headers values

func (*ServiceInstanceProvisionOK) Error

type ServiceInstanceProvisionParams

type ServiceInstanceProvisionParams 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
	/*Body
	  parameters for the requested service instance provision

	*/
	Body *models.ServiceInstanceProvisionRequest
	/*InstanceID
	  instance id of instance to provision

	*/
	InstanceID string

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

ServiceInstanceProvisionParams contains all the parameters to send to the API endpoint for the service instance provision operation typically these are written to a http.Request

func NewServiceInstanceProvisionParams

func NewServiceInstanceProvisionParams() *ServiceInstanceProvisionParams

NewServiceInstanceProvisionParams creates a new ServiceInstanceProvisionParams object with the default values initialized.

func NewServiceInstanceProvisionParamsWithContext

func NewServiceInstanceProvisionParamsWithContext(ctx context.Context) *ServiceInstanceProvisionParams

NewServiceInstanceProvisionParamsWithContext creates a new ServiceInstanceProvisionParams object with the default values initialized, and the ability to set a context for a request

func NewServiceInstanceProvisionParamsWithHTTPClient

func NewServiceInstanceProvisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceProvisionParams

NewServiceInstanceProvisionParamsWithHTTPClient creates a new ServiceInstanceProvisionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceInstanceProvisionParamsWithTimeout

func NewServiceInstanceProvisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceProvisionParams

NewServiceInstanceProvisionParamsWithTimeout creates a new ServiceInstanceProvisionParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceInstanceProvisionParams) SetAcceptsIncomplete

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

SetAcceptsIncomplete adds the acceptsIncomplete to the service instance provision params

func (*ServiceInstanceProvisionParams) SetBody

SetBody adds the body to the service instance provision params

func (*ServiceInstanceProvisionParams) SetContext

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

SetContext adds the context to the service instance provision params

func (*ServiceInstanceProvisionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service instance provision params

func (*ServiceInstanceProvisionParams) SetInstanceID

func (o *ServiceInstanceProvisionParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service instance provision params

func (*ServiceInstanceProvisionParams) SetTimeout

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

SetTimeout adds the timeout to the service instance provision params

func (*ServiceInstanceProvisionParams) SetXBrokerAPIOriginatingIdentity

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

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance provision params

func (*ServiceInstanceProvisionParams) SetXBrokerAPIVersion

func (o *ServiceInstanceProvisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance provision params

func (*ServiceInstanceProvisionParams) WithAcceptsIncomplete

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

WithAcceptsIncomplete adds the acceptsIncomplete to the service instance provision params

func (*ServiceInstanceProvisionParams) WithBody

WithBody adds the body to the service instance provision params

func (*ServiceInstanceProvisionParams) WithContext

WithContext adds the context to the service instance provision params

func (*ServiceInstanceProvisionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service instance provision params

func (*ServiceInstanceProvisionParams) WithInstanceID

WithInstanceID adds the instanceID to the service instance provision params

func (*ServiceInstanceProvisionParams) WithTimeout

WithTimeout adds the timeout to the service instance provision params

func (*ServiceInstanceProvisionParams) WithXBrokerAPIOriginatingIdentity

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

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance provision params

func (*ServiceInstanceProvisionParams) WithXBrokerAPIVersion

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

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance provision params

func (*ServiceInstanceProvisionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceInstanceProvisionReader

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

ServiceInstanceProvisionReader is a Reader for the ServiceInstanceProvision structure.

func (*ServiceInstanceProvisionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceInstanceProvisionUnprocessableEntity

type ServiceInstanceProvisionUnprocessableEntity struct {
	Payload *models.Error
}

ServiceInstanceProvisionUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewServiceInstanceProvisionUnprocessableEntity

func NewServiceInstanceProvisionUnprocessableEntity() *ServiceInstanceProvisionUnprocessableEntity

NewServiceInstanceProvisionUnprocessableEntity creates a ServiceInstanceProvisionUnprocessableEntity with default headers values

func (*ServiceInstanceProvisionUnprocessableEntity) Error

type ServiceInstanceUpdateAccepted

type ServiceInstanceUpdateAccepted struct {
	Payload *models.ServiceInstanceAsyncOperation
}

ServiceInstanceUpdateAccepted handles this case with default header values.

Accepted

func NewServiceInstanceUpdateAccepted

func NewServiceInstanceUpdateAccepted() *ServiceInstanceUpdateAccepted

NewServiceInstanceUpdateAccepted creates a ServiceInstanceUpdateAccepted with default headers values

func (*ServiceInstanceUpdateAccepted) Error

type ServiceInstanceUpdateBadRequest

type ServiceInstanceUpdateBadRequest struct {
	Payload *models.Error
}

ServiceInstanceUpdateBadRequest handles this case with default header values.

Bad Request

func NewServiceInstanceUpdateBadRequest

func NewServiceInstanceUpdateBadRequest() *ServiceInstanceUpdateBadRequest

NewServiceInstanceUpdateBadRequest creates a ServiceInstanceUpdateBadRequest with default headers values

func (*ServiceInstanceUpdateBadRequest) Error

type ServiceInstanceUpdateOK

type ServiceInstanceUpdateOK struct {
	Payload models.Object
}

ServiceInstanceUpdateOK handles this case with default header values.

OK

func NewServiceInstanceUpdateOK

func NewServiceInstanceUpdateOK() *ServiceInstanceUpdateOK

NewServiceInstanceUpdateOK creates a ServiceInstanceUpdateOK with default headers values

func (*ServiceInstanceUpdateOK) Error

func (o *ServiceInstanceUpdateOK) Error() string

type ServiceInstanceUpdateParams

type ServiceInstanceUpdateParams 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
	/*Body
	  parameters for the requested service instance update

	*/
	Body *models.ServiceInstanceUpdateRequest
	/*InstanceID
	  instance id of instance to provision

	*/
	InstanceID string

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

ServiceInstanceUpdateParams contains all the parameters to send to the API endpoint for the service instance update operation typically these are written to a http.Request

func NewServiceInstanceUpdateParams

func NewServiceInstanceUpdateParams() *ServiceInstanceUpdateParams

NewServiceInstanceUpdateParams creates a new ServiceInstanceUpdateParams object with the default values initialized.

func NewServiceInstanceUpdateParamsWithContext

func NewServiceInstanceUpdateParamsWithContext(ctx context.Context) *ServiceInstanceUpdateParams

NewServiceInstanceUpdateParamsWithContext creates a new ServiceInstanceUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewServiceInstanceUpdateParamsWithHTTPClient

func NewServiceInstanceUpdateParamsWithHTTPClient(client *http.Client) *ServiceInstanceUpdateParams

NewServiceInstanceUpdateParamsWithHTTPClient creates a new ServiceInstanceUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceInstanceUpdateParamsWithTimeout

func NewServiceInstanceUpdateParamsWithTimeout(timeout time.Duration) *ServiceInstanceUpdateParams

NewServiceInstanceUpdateParamsWithTimeout creates a new ServiceInstanceUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceInstanceUpdateParams) SetAcceptsIncomplete

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

SetAcceptsIncomplete adds the acceptsIncomplete to the service instance update params

func (*ServiceInstanceUpdateParams) SetBody

SetBody adds the body to the service instance update params

func (*ServiceInstanceUpdateParams) SetContext

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

SetContext adds the context to the service instance update params

func (*ServiceInstanceUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service instance update params

func (*ServiceInstanceUpdateParams) SetInstanceID

func (o *ServiceInstanceUpdateParams) SetInstanceID(instanceID string)

SetInstanceID adds the instanceId to the service instance update params

func (*ServiceInstanceUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the service instance update params

func (*ServiceInstanceUpdateParams) SetXBrokerAPIOriginatingIdentity

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

SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance update params

func (*ServiceInstanceUpdateParams) SetXBrokerAPIVersion

func (o *ServiceInstanceUpdateParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)

SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance update params

func (*ServiceInstanceUpdateParams) WithAcceptsIncomplete

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

WithAcceptsIncomplete adds the acceptsIncomplete to the service instance update params

func (*ServiceInstanceUpdateParams) WithBody

WithBody adds the body to the service instance update params

func (*ServiceInstanceUpdateParams) WithContext

WithContext adds the context to the service instance update params

func (*ServiceInstanceUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service instance update params

func (*ServiceInstanceUpdateParams) WithInstanceID

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

WithInstanceID adds the instanceID to the service instance update params

func (*ServiceInstanceUpdateParams) WithTimeout

WithTimeout adds the timeout to the service instance update params

func (*ServiceInstanceUpdateParams) WithXBrokerAPIOriginatingIdentity

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

WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance update params

func (*ServiceInstanceUpdateParams) WithXBrokerAPIVersion

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

WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance update params

func (*ServiceInstanceUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceInstanceUpdateReader

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

ServiceInstanceUpdateReader is a Reader for the ServiceInstanceUpdate structure.

func (*ServiceInstanceUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServiceInstanceUpdateUnprocessableEntity

type ServiceInstanceUpdateUnprocessableEntity struct {
	Payload *models.Error
}

ServiceInstanceUpdateUnprocessableEntity handles this case with default header values.

Unprocessable entity

func NewServiceInstanceUpdateUnprocessableEntity

func NewServiceInstanceUpdateUnprocessableEntity() *ServiceInstanceUpdateUnprocessableEntity

NewServiceInstanceUpdateUnprocessableEntity creates a ServiceInstanceUpdateUnprocessableEntity with default headers values

func (*ServiceInstanceUpdateUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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