aws

package
v1.7.0-beta31 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AWS_WEB_IDENTITY_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"
	AWS_ROLE_ARN                = "AWS_ROLE_ARN"
	AWS_REGION                  = "AWS_REGION"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSLambdaFunctionDiscovery

type AWSLambdaFunctionDiscovery struct {
	// contains filtered or unexported fields
}

func (*AWSLambdaFunctionDiscovery) DetectFunctions

func (f *AWSLambdaFunctionDiscovery) DetectFunctions(ctx context.Context, url *url.URL, dependencies func() fds.Dependencies, updatecb func(fds.UpstreamMutator) error) error

TODO: how to handle changes in secret or upstream (like the upstream ref)? perhaps the in param for the upstream should be a function? in func() *v1.Upstream

func (*AWSLambdaFunctionDiscovery) DetectFunctionsOnce

func (f *AWSLambdaFunctionDiscovery) DetectFunctionsOnce(ctx context.Context, secrets v1.SecretList) ([]*glooaws.LambdaFunctionSpec, error)

func (*AWSLambdaFunctionDiscovery) DetectType

func (*AWSLambdaFunctionDiscovery) IsFunctional

func (f *AWSLambdaFunctionDiscovery) IsFunctional() bool

type AWSLambdaFunctionDiscoveryFactory

type AWSLambdaFunctionDiscoveryFactory struct {
	PollingTime time.Duration
}

func (*AWSLambdaFunctionDiscoveryFactory) NewFunctionDiscovery

Jump to

Keyboard shortcuts

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