Skip to content

Commit

Permalink
update resource methods
Browse files Browse the repository at this point in the history
Signed-off-by: sk593 <[email protected]>
  • Loading branch information
sk593 committed Sep 3, 2024
1 parent e63efe0 commit 4fa4e9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
7 changes: 3 additions & 4 deletions docs/content/reference/resource-schema/cache/redis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ The `redislabs.com/Redis` is a [resource]({{< ref portable-resources >}}) which

The following methods are available on the Redis cache:

| Method | Description |
|--------|-------------|
| connectionString() | Get the connection string for the Redis cache. |
| password() | Get the password for the Redis cache. |
| Method | Description | Example |
|--------|-------------|---------|
| listSecrets() | Get the [secrets](#secrets) for the Redis cache. | `listSecrets().connectionString` |

## Resource provisioning

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following methods are available on the Extender resource:

| Method | Description |
|--------|-------------|
| secrets('SECRET_NAME') | Get the value of a secret. |
| .listSecrets('SECRET_NAME') | Get the value of a secret. |

## Resource provisioning

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ The `mongodb.com/MongoDatabase` [resource]({{< ref portable-resources >}}) repre

The following methods are available on the Mongo database resource:

| Method | Description |
|--------|-------------|
| connectionString() | Get the connection string for the MongoDb. |
| username() | Get the username for the MongoDB. |
| password() | Get the password for the MongoDB. |
| Method | Description | Example |
|--------|-------------|---------|
| listSecrets() | Get the [secrets](#secrets) for the MongoDb. | `listSecrets().connectionString` |

## Resource provisioning

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Secrets are used when defining a RabbitMQ resource with a container or external

| Property | Description | Example |
|----------|-------------|---------|
| `uri()` | Returns the RabbitMQ uri used to connect to the resource. | `amqp://guest:***@rabbitmq.svc.local.cluster:5672` |
| listSecrets() | Get the [secrets](#secrets) for the RabbitMQ. | `listSecrets().uri` |

## Resource provisioning

Expand Down

0 comments on commit 4fa4e9e

Please sign in to comment.