service_instances

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 instances API

func (*Client) ServiceInstanceDeprovision

ServiceInstanceDeprovision deprovisions a service instance

func (*Client) ServiceInstanceGet

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

ServiceInstanceGet gets a service instance

func (*Client) ServiceInstanceLastOperationGet

func (a *Client) ServiceInstanceLastOperationGet(params *ServiceInstanceLastOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 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 instances API client.

type ServiceInstanceDeprovisionAccepted

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

Accepted

func NewServiceInstanceDeprovisionAccepted

func NewServiceInstanceDeprovisionAccepted() *ServiceInstanceDeprovisionAccepted

NewServiceInstanceDeprovisionAccepted creates a ServiceInstanceDeprovisionAccepted with default headers values

func (*ServiceInstanceDeprovisionAccepted) Error

func (*ServiceInstanceDeprovisionAccepted) GetPayload added in v1.1.0

type ServiceInstanceDeprovisionBadRequest

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

Bad Request

func NewServiceInstanceDeprovisionBadRequest

func NewServiceInstanceDeprovisionBadRequest() *ServiceInstanceDeprovisionBadRequest

NewServiceInstanceDeprovisionBadRequest creates a ServiceInstanceDeprovisionBadRequest with default headers values

func (*ServiceInstanceDeprovisionBadRequest) Error

func (*ServiceInstanceDeprovisionBadRequest) GetPayload added in v1.1.0

type ServiceInstanceDeprovisionGone

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

Gone

func NewServiceInstanceDeprovisionGone

func NewServiceInstanceDeprovisionGone() *ServiceInstanceDeprovisionGone

NewServiceInstanceDeprovisionGone creates a ServiceInstanceDeprovisionGone with default headers values

func (*ServiceInstanceDeprovisionGone) Error

func (*ServiceInstanceDeprovisionGone) GetPayload added in v1.1.0

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

type ServiceInstanceDeprovisionOK

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

OK

func NewServiceInstanceDeprovisionOK

func NewServiceInstanceDeprovisionOK() *ServiceInstanceDeprovisionOK

NewServiceInstanceDeprovisionOK creates a ServiceInstanceDeprovisionOK with default headers values

func (*ServiceInstanceDeprovisionOK) Error

func (*ServiceInstanceDeprovisionOK) GetPayload added in v1.1.0

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

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

func NewServiceInstanceDeprovisionParamsWithContext(ctx context.Context) *ServiceInstanceDeprovisionParams

NewServiceInstanceDeprovisionParamsWithContext creates a new ServiceInstanceDeprovisionParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *ServiceInstanceDeprovisionParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 422, with default header values.

Unprocessable Entity

func NewServiceInstanceDeprovisionUnprocessableEntity

func NewServiceInstanceDeprovisionUnprocessableEntity() *ServiceInstanceDeprovisionUnprocessableEntity

NewServiceInstanceDeprovisionUnprocessableEntity creates a ServiceInstanceDeprovisionUnprocessableEntity with default headers values

func (*ServiceInstanceDeprovisionUnprocessableEntity) Error

func (*ServiceInstanceDeprovisionUnprocessableEntity) GetPayload added in v1.1.0

type ServiceInstanceGetNotFound

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

Not Found

func NewServiceInstanceGetNotFound

func NewServiceInstanceGetNotFound() *ServiceInstanceGetNotFound

NewServiceInstanceGetNotFound creates a ServiceInstanceGetNotFound with default headers values

func (*ServiceInstanceGetNotFound) Error

func (*ServiceInstanceGetNotFound) GetPayload added in v1.1.0

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

type ServiceInstanceGetOK

type ServiceInstanceGetOK struct {
	Payload *models.ServiceInstanceResource
}
ServiceInstanceGetOK describes a response with status code 200, 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

func (*ServiceInstanceGetOK) GetPayload added in v1.1.0

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

func NewServiceInstanceGetParamsWithContext(ctx context.Context) *ServiceInstanceGetParams

NewServiceInstanceGetParamsWithContext creates a new ServiceInstanceGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *ServiceInstanceGetParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 400, with default header values.

Bad Request

func NewServiceInstanceLastOperationGetBadRequest

func NewServiceInstanceLastOperationGetBadRequest() *ServiceInstanceLastOperationGetBadRequest

NewServiceInstanceLastOperationGetBadRequest creates a ServiceInstanceLastOperationGetBadRequest with default headers values

func (*ServiceInstanceLastOperationGetBadRequest) Error

func (*ServiceInstanceLastOperationGetBadRequest) GetPayload added in v1.1.0

type ServiceInstanceLastOperationGetGone

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

Gone

func NewServiceInstanceLastOperationGetGone

func NewServiceInstanceLastOperationGetGone() *ServiceInstanceLastOperationGetGone

NewServiceInstanceLastOperationGetGone creates a ServiceInstanceLastOperationGetGone with default headers values

func (*ServiceInstanceLastOperationGetGone) Error

func (*ServiceInstanceLastOperationGetGone) GetPayload added in v1.1.0

type ServiceInstanceLastOperationGetOK

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

OK

func NewServiceInstanceLastOperationGetOK

func NewServiceInstanceLastOperationGetOK() *ServiceInstanceLastOperationGetOK

NewServiceInstanceLastOperationGetOK creates a ServiceInstanceLastOperationGetOK with default headers values

func (*ServiceInstanceLastOperationGetOK) Error

func (*ServiceInstanceLastOperationGetOK) GetPayload added in v1.1.0

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

func NewServiceInstanceLastOperationGetParamsWithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams

NewServiceInstanceLastOperationGetParamsWithContext creates a new ServiceInstanceLastOperationGetParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *ServiceInstanceLastOperationGetParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 202, with default header values.

Accepted

func NewServiceInstanceProvisionAccepted

func NewServiceInstanceProvisionAccepted() *ServiceInstanceProvisionAccepted

NewServiceInstanceProvisionAccepted creates a ServiceInstanceProvisionAccepted with default headers values

func (*ServiceInstanceProvisionAccepted) Error

func (*ServiceInstanceProvisionAccepted) GetPayload added in v1.1.0

type ServiceInstanceProvisionBadRequest

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

Bad Request

func NewServiceInstanceProvisionBadRequest

func NewServiceInstanceProvisionBadRequest() *ServiceInstanceProvisionBadRequest

NewServiceInstanceProvisionBadRequest creates a ServiceInstanceProvisionBadRequest with default headers values

func (*ServiceInstanceProvisionBadRequest) Error

func (*ServiceInstanceProvisionBadRequest) GetPayload added in v1.1.0

type ServiceInstanceProvisionConflict

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

Conflict

func NewServiceInstanceProvisionConflict

func NewServiceInstanceProvisionConflict() *ServiceInstanceProvisionConflict

NewServiceInstanceProvisionConflict creates a ServiceInstanceProvisionConflict with default headers values

func (*ServiceInstanceProvisionConflict) Error

func (*ServiceInstanceProvisionConflict) GetPayload added in v1.1.0

type ServiceInstanceProvisionCreated

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

Created

func NewServiceInstanceProvisionCreated

func NewServiceInstanceProvisionCreated() *ServiceInstanceProvisionCreated

NewServiceInstanceProvisionCreated creates a ServiceInstanceProvisionCreated with default headers values

func (*ServiceInstanceProvisionCreated) Error

func (*ServiceInstanceProvisionCreated) GetPayload added in v1.1.0

type ServiceInstanceProvisionOK

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

OK

func NewServiceInstanceProvisionOK

func NewServiceInstanceProvisionOK() *ServiceInstanceProvisionOK

NewServiceInstanceProvisionOK creates a ServiceInstanceProvisionOK with default headers values

func (*ServiceInstanceProvisionOK) Error

func (*ServiceInstanceProvisionOK) GetPayload added in v1.1.0

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

func NewServiceInstanceProvisionParamsWithContext(ctx context.Context) *ServiceInstanceProvisionParams

NewServiceInstanceProvisionParamsWithContext creates a new ServiceInstanceProvisionParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *ServiceInstanceProvisionParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 422, with default header values.

Unprocessable Entity

func NewServiceInstanceProvisionUnprocessableEntity

func NewServiceInstanceProvisionUnprocessableEntity() *ServiceInstanceProvisionUnprocessableEntity

NewServiceInstanceProvisionUnprocessableEntity creates a ServiceInstanceProvisionUnprocessableEntity with default headers values

func (*ServiceInstanceProvisionUnprocessableEntity) Error

func (*ServiceInstanceProvisionUnprocessableEntity) GetPayload added in v1.1.0

type ServiceInstanceUpdateAccepted

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

Accepted

func NewServiceInstanceUpdateAccepted

func NewServiceInstanceUpdateAccepted() *ServiceInstanceUpdateAccepted

NewServiceInstanceUpdateAccepted creates a ServiceInstanceUpdateAccepted with default headers values

func (*ServiceInstanceUpdateAccepted) Error

func (*ServiceInstanceUpdateAccepted) GetPayload added in v1.1.0

type ServiceInstanceUpdateBadRequest

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

Bad Request

func NewServiceInstanceUpdateBadRequest

func NewServiceInstanceUpdateBadRequest() *ServiceInstanceUpdateBadRequest

NewServiceInstanceUpdateBadRequest creates a ServiceInstanceUpdateBadRequest with default headers values

func (*ServiceInstanceUpdateBadRequest) Error

func (*ServiceInstanceUpdateBadRequest) GetPayload added in v1.1.0

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

type ServiceInstanceUpdateOK

type ServiceInstanceUpdateOK struct {
	Payload models.Object
}
ServiceInstanceUpdateOK describes a response with status code 200, 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

func (*ServiceInstanceUpdateOK) GetPayload added in v1.1.0

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

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

func NewServiceInstanceUpdateParamsWithContext(ctx context.Context) *ServiceInstanceUpdateParams

NewServiceInstanceUpdateParamsWithContext creates a new ServiceInstanceUpdateParams object with 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 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 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) SetDefaults added in v1.1.0

func (o *ServiceInstanceUpdateParams) SetDefaults()

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

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

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) WithDefaults added in v1.1.0

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

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

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 describes a response with status code 422, with default header values.

Unprocessable entity

func NewServiceInstanceUpdateUnprocessableEntity

func NewServiceInstanceUpdateUnprocessableEntity() *ServiceInstanceUpdateUnprocessableEntity

NewServiceInstanceUpdateUnprocessableEntity creates a ServiceInstanceUpdateUnprocessableEntity with default headers values

func (*ServiceInstanceUpdateUnprocessableEntity) Error

func (*ServiceInstanceUpdateUnprocessableEntity) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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