gitea

package
Version: v0.0.0-...-4625b23 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL