core

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *Options) (*genny.Group, error)

Types

type App

type App struct {
	Name   string
	Module string
	Event  string
}

App options

type Aws

type Aws struct {
	Region string
}

Aws options

type Module

type Module struct {
	Source  string
	Version string
}

Module options

type Options

type Options struct {
	App       *App
	Aws       *Aws
	Terraform *Terraform
	CI        *ci.Options
}

Options for project generation

func DefaultOpts

func DefaultOpts() *Options

DefaultOpts sets default core options which can be overridden using env vars or config file

type Terraform

type Terraform struct {
	Module      *Module
	Version     string
	AwsProvider string
}

Terraform options

Jump to

Keyboard shortcuts

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