mage

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: AGPL-3.0, Apache-2.0 Imports: 71 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 Doc added in v1.0.0

func Doc()

Generate all documentation

func Fmt

func Fmt()

Fmt Format source files

func Teardown added in v1.0.0

func Teardown()

Teardown Destroy all Panther infrastructure

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) All added in v1.0.0

func (b Build) All()

Build all deployment artifacts

func (Build) Cfn added in v1.0.0

func (b Build) Cfn()

Generate CloudFormation templates in out/deployments folder

func (Build) Devtools added in v1.0.0

func (b Build) Devtools()

Devtools Compile developer tools from source

func (Build) Lambda

func (b Build) Lambda()

Lambda Compile Go Lambda function source

func (Build) Opstools added in v1.0.0

func (b Build) Opstools()

Opstools Compile Go operational tools from 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

func (Glue) Update added in v1.0.0

func (t Glue) Update()

Updates the panther-glue cloudformation template (used for schema migrations)

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) Swagger added in v1.0.0

func (Setup) Swagger()

Install go-swagger for SDK generation

func (Setup) Web added in v0.2.0

func (Setup) Web()

Web Npm install

type Show added in v1.0.0

type Show mg.Namespace

func (Show) Schemas added in v1.0.0

func (b Show) Schemas()

Schemas Prints to stdout a JSON representation each supported log type

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 (build:all, test:cfn, test:go, test:python, test:web)

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