gitea

package
v0.0.0-...-c76b5f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ENV_GITEA_BASE_URL = "GITEA_BASE_URL"
	ENV_GITEA_TOKEN    = "GITEA_TOKEN"
)

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Config

type Config struct {
	Token   string
	BaseURL string
}

Config is per-provider, specifies where to connect to Gitea

func (*Config) Client

func (c *Config) Client() interface{}

Client returns a *gitea.Client to interact with the configured Gitea instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL