Documentation ¶
Index ¶
- func NewLambdaUpdater(client UpdateFunctionCodeApi, providerFactory AssumeRoleProviderFactory, ...) builder.Updater
- func NewS3Uploader(client S3PutObjectAPI, roleProviderFactor AssumeRoleProviderFactory, ...) builder.Uploader
- type AssumeRoleProviderFactory
- type S3PutObjectAPI
- type UpdateFunctionCodeApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLambdaUpdater ¶
func NewLambdaUpdater( client UpdateFunctionCodeApi, providerFactory AssumeRoleProviderFactory, ctx context.Context, ) builder.Updater
func NewS3Uploader ¶
func NewS3Uploader(client S3PutObjectAPI, roleProviderFactor AssumeRoleProviderFactory, ctx context.Context) builder.Uploader
Types ¶
type AssumeRoleProviderFactory ¶ added in v1.1.0
type AssumeRoleProviderFactory interface {
CreateProvider(roleArn string) *stscreds.AssumeRoleProvider
}
func NewAssumeRoleProviderFactory ¶ added in v1.1.0
func NewAssumeRoleProviderFactory(client *sts.Client) AssumeRoleProviderFactory
type S3PutObjectAPI ¶
type S3PutObjectAPI interface { PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error) }
type UpdateFunctionCodeApi ¶
type UpdateFunctionCodeApi interface { UpdateFunctionCode(ctx context.Context, params *lambda.UpdateFunctionCodeInput, optFns ...func(*lambda.Options)) (*lambda.UpdateFunctionCodeOutput, error) }
Click to show internal directories.
Click to hide internal directories.