sdk

package
v0.0.0-...-79dbc70 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Conventions
	Config config.Config
}

func Init

func Init(ctx context.Context, awsConfig aws.Config, config config.Config) (API, error)

type Clients

type Clients struct {
	StsClient          *sts.Client
	EcrClient          *ecr.Client
	LambdaClient       *lambda.Client
	IamClient          *iam.Client
	EventBridgeClient  *eventbridge.Client
	ApiGatewayV2Client *apigatewayv2.Client
}

func InitClients

func InitClients(ctx context.Context, awsConfig aws.Config) (Clients, error)

type Conventions

type Conventions struct {
	Account      account.Convention
	Runtime      runtime.Convention
	Release      release.Convention
	Deployment   deployment.Convention
	Subscription bus.Convention
	Httproxy     httproxy.Convention
	Bus          bus.Convention
}

func InitConventions

func InitConventions(ctx context.Context, config config.Config, services Services) (Conventions, error)

type Services

type Services struct {
	Docker   docker.Service
	Registry registry.Service
	Function function.Service
	Event    event.Service
	Gateway  gateway.Service
}

func InitServices

func InitServices(ctx context.Context, clients Clients) (Services, error)

Jump to

Keyboard shortcuts

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