lambda

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(v interface{}) (provider.Provider, error)

New creates a new provider.

Types

type Spec

type Spec struct {
	ARN           string                `json:"arn"                      yaml:"arn"`
	RequestParams provider.ParameterSet `json:"request_params,omitempty" yaml:"request_params,omitempty"`
}

Spec describes the provider.

func (Spec) ArgsUsage added in v0.2.0

func (s Spec) ArgsUsage() string

ArgsUsage returns usage text for the arguments.

func (Spec) CLIActionFn

func (s Spec) CLIActionFn() cli.ActionFunc

CLIActionFn creates a CLI action fuction.

func (Spec) CLIFlags

func (s Spec) CLIFlags() []cli.Flag

CLIFlags creates a set of CLI flags.

func (Spec) Type

func (s Spec) Type() string

Type returns the type.

func (Spec) Validate

func (s Spec) Validate() error

Validate validates the provider.

Jump to

Keyboard shortcuts

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