apis

package
v0.0.0-...-1cde5fb Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViperTokenKey    = "token"
	ViperUsernameKey = "username"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Secrets map[string]Secret `yaml:"secrets"`
	Repos   map[string]Repo   `yaml:"repos"`
}

type Repo

type Repo struct {
	URL        string `yaml:"url"`
	Deployment bool   `yaml:"deployment"`
	Secret     string `yaml:"secret"`
	Directory  string `yaml:"directory"`
}

type Secret

type Secret struct {
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

Jump to

Keyboard shortcuts

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