Fix documenation for ECS
This commit is contained in:
parent
207d0bec78
commit
3908ef611a
2 changed files with 29 additions and 5 deletions
|
@ -79,9 +79,35 @@ providers:
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
Search for services in all clusters.
|
Search for services in clusters list.
|
||||||
If set to true the configured clusters will be ignored and the clusters will be discovered.
|
|
||||||
If set to false the services will be discovered only in configured clusters.
|
- If set to `true` the configured clusters will be ignored and the clusters will be discovered.
|
||||||
|
- If set to `false` the services will be discovered only in configured clusters.
|
||||||
|
|
||||||
|
### `clusters`
|
||||||
|
|
||||||
|
_Optional, Default=["default"]_
|
||||||
|
|
||||||
|
```toml tab="File (TOML)"
|
||||||
|
[providers.ecs]
|
||||||
|
cluster = ["default"]
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml tab="File (YAML)"
|
||||||
|
providers:
|
||||||
|
ecs:
|
||||||
|
clusters:
|
||||||
|
- default
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash tab="CLI"
|
||||||
|
--providers.ecs.clusters=default
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
Search for services in clusters list.
|
||||||
|
|
||||||
### `exposedByDefault`
|
### `exposedByDefault`
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,7 @@ import (
|
||||||
math "math"
|
math "math"
|
||||||
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
)
|
|
||||||
|
|
||||||
import (
|
|
||||||
context "context"
|
context "context"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
|
|
Loading…
Add table
Reference in a new issue