deploy

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MPL-2.0 Imports: 8 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)

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)

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"`
	Config   interface{} `json:"config"`
}

Jump to

Keyboard shortcuts

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