lambda

package
v0.49.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	GetFunctionManifest(appID string) (provider.FunctionManifest, bool)
	GetState(appID string) (State, bool)

	WaitForReady(ctx context.Context, timeout time.Duration) error
}

type State added in v0.49.0

type State struct {
	Resources []*model.LambdaResourceState
	Version   model.ApplicationLiveStateVersion
}

type Store

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

func NewStore

func NewStore(cfg *config.PlatformProviderLambdaConfig, platformProvider string, logger *zap.Logger) (*Store, error)

func (*Store) GetFunctionManifest added in v0.49.0

func (s *Store) GetFunctionManifest(appID string) (provider.FunctionManifest, bool)

func (*Store) GetState added in v0.49.0

func (s *Store) GetState(appID string) (State, bool)

func (*Store) Run

func (s *Store) Run(ctx context.Context) error

func (*Store) WaitForReady added in v0.49.0

func (s *Store) WaitForReady(ctx context.Context, timeout time.Duration) error

Jump to

Keyboard shortcuts

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