internal

package
v0.0.0-...-107a783 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	IsDir   bool
	Encoded bool
	Path    string
	Content string `json:"Content,omitempty"`
}

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader(template string) *Loader

func (*Loader) Build

func (l *Loader) Build(projectName string) error

func (*Loader) CreateTemplate

func (l *Loader) CreateTemplate(name string) error

type NewCommand

type NewCommand struct{}

func (*NewCommand) Execute

func (n *NewCommand) Execute(args ...string) error

func (*NewCommand) Name

func (n *NewCommand) Name() string

type Project

type Project struct {
	Name   string
	Stages []Stage
}

type Stage

type Stage struct {
	Type        StageType
	Environment map[string]string `json:"Environment,omitempty"`
	Commands    []string          `json:"Commands,omitempty"`
	Entries     []Entry           `json:"Entries,omitempty"`
}

type StageType

type StageType string
const (
	ENVIRONMENTS StageType = "ENVIRONMENTS"
	COMMANDS     StageType = "COMMANDS"
	ENTRIES      StageType = "ENTRIES"
)

type TemplateCommand

type TemplateCommand struct{}

func (*TemplateCommand) Execute

func (t *TemplateCommand) Execute(args ...string) error

func (*TemplateCommand) Name

func (t *TemplateCommand) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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