chore(docs): add provider schema ()

This commit is contained in:
Cian Johnston 2024-08-21 10:10:58 +01:00 committed by GitHub
commit d6192fcd11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions
docs
internal/provider

View file

@ -3,12 +3,14 @@
page_title: "envbuilder Provider"
subcategory: ""
description: |-
The Envbuilder provider can be used to check for the presence of a container image previously built by Envbuilder https://github.com/coder/envbuilder.
This allows re-using a previously built image pushed to a container registry without having to rebuild it.
---
# envbuilder Provider
The Envbuilder provider can be used to check for the presence of a container image previously built by [Envbuilder](https://github.com/coder/envbuilder).
This allows re-using a previously built image pushed to a container registry without having to rebuild it.
## Example Usage

View file

@ -36,6 +36,9 @@ func (p *EnvbuilderProvider) Metadata(ctx context.Context, req provider.Metadata
func (p *EnvbuilderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) {
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{},
MarkdownDescription: `
The Envbuilder provider can be used to check for the presence of a container image previously built by [Envbuilder](https://github.com/coder/envbuilder).
This allows re-using a previously built image pushed to a container registry without having to rebuild it.`,
}
}