odo list services
Description
You can use odo list services to list all the bindable Operator backed services on the cluster.
Running the command
To list bindable services in the current project/namespace:
odo list services
Example
$ odo list services
 ✓  Listing bindable services from namespace "myproject" [82ms]
 NAME                                                  NAMESPACE 
 redis-standalone/Redis.redis.redis.opstreelabs.in/v1  myproject 
To list bindable services in all projects/namespaces accessible to the user:
odo list services -A 
Example
odo list services -A
 ✓  Listing bindable services from all namespaces [182ms]
 NAME                                                  NAMESPACE  
 redis-standalone/Redis.redis.redis.opstreelabs.in/v1  myproject  
 hello-world/RabbitmqCluster.rabbitmq.com/v1           newproject 
To list bindable services in a particular project/namespace that is accessible to the user:
odo list services -n <project-name>
Example
$ odo list services -n newproject
 ✓  Listing bindable services from namespace "newproject" [45ms]
 NAME                                         NAMESPACE  
 hello-world/RabbitmqCluster.rabbitmq.com/v1  newproject 
To get the JSON formatted output for any of the above commands, add -o json to the commands shown above. That
would be:
odo list services -o jsonodo list services -A -o jsonodo list services -n <project-name> -o json