mage

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: AGPL-3.0, Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean()

Clean Remove auto-generated build artifacts

func Deploy

func Deploy()

Deploy Deploy application infrastructure

func Fmt

func Fmt()

Fmt Format source files

Types

type Build

type Build mg.Namespace

Build contains targets for compiling source code.

func (Build) API

func (b Build) API()

API Generate Go client/models from Swagger specs in api/

func (Build) Lambda

func (b Build) Lambda()

Lambda Compile Go Lambda function source

type Glue added in v0.3.0

type Glue mg.Namespace

targets for managing Glue tables

func (Glue) Sync added in v0.3.0

func (t Glue) Sync()

Sync Sync glue table partitions after schema change

type PantherConfig

type PantherConfig struct {
	BucketsParameterValues  bucketsParameters  `yaml:"BucketsParameterValues"`
	BackendParameterValues  backendParameters  `yaml:"BackendParameterValues"`
	FrontendParameterValues frontendParameters `yaml:"FrontendParameterValues"`
	PipLayer                []string           `yaml:"PipLayer"`
	InitialAnalysisSets     []string           `yaml:"InitialAnalysisSets"`
}

PantherConfig describes the panther_config.yml file.

type Setup

type Setup mg.Namespace

Setup contains targets for installing development / CI dependencies

func (Setup) All added in v0.2.0

func (s Setup) All()

All Install all development dependencies

func (Setup) Go added in v0.2.0

func (Setup) Go()

Go Install goimports, go-swagger, and golangci-lint

func (Setup) Python added in v0.2.0

func (Setup) Python()

Python Install the Python virtual env

func (Setup) Web added in v0.2.0

func (Setup) Web()

Web Npm install

type Test

type Test mg.Namespace

Test contains targets for testing code syntax, style, and correctness.

func (Test) CI

func (t Test) CI()

CI Run all required checks

func (Test) Cfn added in v0.2.0

func (t Test) Cfn()

Cfn Lint CloudFormation templates

func (Test) Cover

func (t Test) Cover() error

Cover Run Go unit tests and view test coverage in HTML

func (Test) Go added in v0.2.0

func (t Test) Go()

Go Test Go source

func (Test) Integration

func (t Test) Integration()

Integration Run integration tests (integration_test.go,integration.py)

func (Test) Python added in v0.2.0

func (t Test) Python()

Python Test Python source

func (Test) Web added in v0.2.0

func (t Test) Web()

Web Test web source

Jump to

Keyboard shortcuts

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