p2p

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseDomain = "BASE_DOMAIN"
	Registry   = "REGISTRY"
	Version    = "VERSION"
	RepoPath   = "REPO_PATH"
	Region     = "REGION"
	TenantName = "TENANT_NAME"
)

Variables

This section is empty.

Functions

func CleanUpRepoEnvs

func CleanUpRepoEnvs(
	repoId p2p.GitHubRepoFullId,
	fastFeedbackEnvs []environment.Environment,
	extendedTestEnvs []environment.Environment,
	prodEnvs []environment.Environment,
	githubClient *github.Client,
) error

Types

type EnvVarContext added in v0.23.0

type EnvVarContext struct {
	Tenant      *coretnt.Tenant
	Environment *environment.Environment
	AppRepo     *git.LocalRepository
}

type EnvVars added in v0.23.0

type EnvVars map[string]string

func NewP2pEnvVariables added in v0.23.0

func NewP2pEnvVariables(context *EnvVarContext) (*EnvVars, error)

func (*EnvVars) AsExportCmd added in v0.23.0

func (p2pEnv *EnvVars) AsExportCmd() (string, error)

Jump to

Keyboard shortcuts

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