The Open Service Broker API defines an HTTP(S) interface between Platforms and Service Brokers.
For more information, please visit https://www.openservicebrokerapi.org/
cargo install rocs
git clone https://github.com/rsampaio/rocs.git && cd rocs
cargo install
rocs 0.1
Rodrigo Vaz
Rust OSB Client 'Super'
USAGE:
rocs [FLAGS] --password <broker_pass> --broker <broker_url> --username <broker_user> <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
--json Prints result in JSON format
-V, --version Prints version information
OPTIONS:
-a, --password <broker_pass> [env: ROCS_BROKER_PASSWORD=]
-b, --broker <broker_url> [env: ROCS_BROKER_URL=]
-u, --username <broker_user> [env: ROCS_BROKER_USERNAME=]
SUBCOMMANDS:
bind Service Binding request
catalog Catalog request
credentials Binding credentials
deprovision Service Instance deprovisioning
help Prints this message or the help of the given subcommand(s)
provision Service Instance provisioning
unbind Service Binding removal
All URIs are relative to http://example.com
Class | Method | HTTP request | Description |
---|---|---|---|
CatalogApi | catalog_get | get /v2/catalog | get the catalog of services that the service broker offers |
ServiceBindingsApi | service_binding_binding | put /v2/service_instances/{instance_id}/service_bindings/{binding_id} | generate a service binding |
ServiceBindingsApi | service_binding_get | get /v2/service_instances/{instance_id}/service_bindings/{binding_id} | get a service binding |
ServiceBindingsApi | service_binding_last_operation_get | get /v2/service_instances/{instance_id}/service_bindings/{binding_id}/last_operation | get the last requested operation state for service binding |
ServiceBindingsApi | service_binding_unbinding | delete /v2/service_instances/{instance_id}/service_bindings/{binding_id} | deprovision a service binding |
ServiceInstancesApi | service_instance_deprovision | delete /v2/service_instances/{instance_id} | deprovision a service instance |
ServiceInstancesApi | service_instance_get | get /v2/service_instances/{instance_id} | get a service instance |
ServiceInstancesApi | service_instance_last_operation_get | get /v2/service_instances/{instance_id}/last_operation | get the last requested operation state for service instance |
ServiceInstancesApi | service_instance_provision | put /v2/service_instances/{instance_id} | provision a service instance |
ServiceInstancesApi | service_instance_update | patch /v2/service_instances/{instance_id} | update a service instance |
- AsyncOperation
- Catalog
- DashboardClient
- Error
- JsonSchema
- LastOperationResource
- MaintenanceInfo
- Plan
- PositiveIntegerDefault0
- Schema
- SchemaParameters
- Schemas
- Service
- ServiceBindingEndpoint
- ServiceBindingRequest
- ServiceBindingResouceObject
- ServiceBindingResource
- ServiceBindingResponse
- ServiceBindingSchema
- ServiceBindingVolumeMount
- ServiceBindingVolumeMountDevice
- ServiceInstanceAsyncOperation
- ServiceInstancePreviousValues
- ServiceInstanceProvisionRequest
- ServiceInstanceProvisionResponse
- ServiceInstanceResource
- ServiceInstanceSchema
- ServiceInstanceUpdateRequest
To get access to the crate's generated documentation, use:
cargo doc --open