added repository resource and moved repo
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-06-04 17:17:08 +02:00
parent 077ffca4ea
commit a79db16011
17 changed files with 519 additions and 16 deletions

View File

@ -20,10 +20,6 @@ description: |-
- `name` (String)
- `username` (String)
### Optional
- `id` (String) The ID of this resource.
### Read-Only
- `clone_url` (String)
@ -34,6 +30,7 @@ description: |-
- `forks` (Number)
- `full_name` (String)
- `html_url` (String)
- `id` (String) The ID of this resource.
- `mirror` (Boolean)
- `open_issue_count` (Number)
- `permission_admin` (Boolean)

View File

@ -22,8 +22,8 @@ Handling [gitea oauth application](https://docs.gitea.io/en-us/oauth2-provider/)
### Read-Only
- `client_id` (String) OAuth2 client id
- `client_secret` (String, Sensitive) Oauth2 client secret
- `client_id` (String) OAuth2 Application client id
- `client_secret` (String, Sensitive) Oauth2 Application client secret
- `id` (String) The ID of this resource.

View File

@ -0,0 +1,57 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "gitea_repository Resource - terraform-provider-gitea"
subcategory: ""
description: |-
Handling Repository resources
---
# gitea_repository (Resource)
Handling Repository resources
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String)
- `username` (String)
### Optional
- `allow_manual_merge` (Boolean)
- `allow_merge_commits` (Boolean)
- `allow_rebase` (Boolean)
- `allow_rebase_explicit` (Boolean)
- `allow_squash_merge` (Boolean)
- `archived` (Boolean)
- `auto_init` (Boolean)
- `autodetect_manual_merge` (Boolean)
- `default_branch` (String)
- `description` (String)
- `gitignores` (String)
- `has_issues` (Boolean)
- `has_projects` (Boolean)
- `has_pull_requests` (Boolean)
- `has_wiki` (Boolean)
- `ignore_whitespace_conflicts` (Boolean)
- `issue_labels` (String)
- `license` (String)
- `private` (Boolean)
- `readme` (String)
- `repo_template` (Boolean)
- `website` (String)
### Read-Only
- `created` (String)
- `id` (String) The ID of this resource.
- `permission_admin` (Boolean)
- `permission_pull` (Boolean)
- `permission_push` (Boolean)
- `updated` (String)