deploy

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, cfg *config.Config) error

Fetch fetches resources from a cloud provider and saves them in the configured database

func LambdaHandler

func LambdaHandler(ctx context.Context, req Request) (string, error)

func Policy

func Policy(ctx context.Context, cfg *config.Config) error

Policy Runs a policy SQL statement and returns results

func TaskExecutor

func TaskExecutor(ctx context.Context, req Request) (string, error)

Types

type Request

type Request struct {
	TaskName string `json:"taskName"`
	HCL      string `json:"hcl"`
}

Jump to

Keyboard shortcuts

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