29 lines
768 B
Markdown
29 lines
768 B
Markdown
# Overview
|
|
|
|
This layer encapsulates the `gcp-integration` interface communication protocol
|
|
and provides an API for charms on either side of relations using this
|
|
interface.
|
|
|
|
## Usage
|
|
|
|
In your charm's `layer.yaml`, ensure that `interface:gcp-integration` is
|
|
included in the `includes` section:
|
|
|
|
```yaml
|
|
includes: ['layer:basic', 'interface:gcp-integration']
|
|
```
|
|
|
|
And in your charm's `metadata.yaml`, ensure that a relation endpoint is defined
|
|
using the `gcp-integration` interface protocol:
|
|
|
|
```yaml
|
|
requires:
|
|
gcp:
|
|
interface: gcp-integration
|
|
```
|
|
|
|
For documentation on how to use the API for this interface, see:
|
|
|
|
* [Requires API documentation](docs/requires.md)
|
|
* [Provides API documentation](docs/provides.md) (this will only be used by the gcp-integrator charm)
|