internal

package
v0.0.0-...-a309598 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source string, dest string) error

CopyFile copies a file

func Exists

func Exists(filename string) bool

Exists checks if filename exists

func GetCommand

func GetCommand(command string) *exec.Cmd

GetCommand returns a execution command

Types

type Context

type Context struct {
	Root     string
	Name     string
	Runtime  string
	Projects []Project
	Services Services
	Google   contextGoogle
	Heroku   contextHeroku
}

Context for the overarching repository

func ParseContext

func ParseContext(cmd *cobra.Command) Context

ParseContext returns Context for a given project

type Project

type Project struct {
	Path string
	Name string
}

Project defines a domain-reachable app

type Services

type Services struct {
	Postgres bool
	Redis    bool
}

Services represents external dependencies

Jump to

Keyboard shortcuts

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