Documentation ¶
Index ¶
- Variables
- type LambdaClientAWS
- func (l *LambdaClientAWS) CreateServerlessBLSLambdaFn(ctx context.Context, functionName, keystoresLayerName string, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
- func (l *LambdaClientAWS) CreateServerlessBLSLambdaFnKeystoreLayer(ctx context.Context, keystoresLayerName string, ...) (*lambda.PublishLayerVersionOutput, error)
- func (l *LambdaClientAWS) CreateServerlessBlsEncryptedKeystoresZipLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
- func (l *LambdaClientAWS) CreateServerlessBlsSecretsKeyGenLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
- func (l *LambdaClientAWS) CreateServerlessValidatorDepositsGenLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
- func (l *LambdaClientAWS) GetExternalLambdaFuncInfo(ctx context.Context) (*lambda.GetFunctionOutput, error)
- func (l *LambdaClientAWS) GetKeystoreLayerInfo(ctx context.Context, keystoresLayerName string) (*lambda.ListLayerVersionsOutput, error)
- func (l *LambdaClientAWS) GetLambdaConfigURL(ctx context.Context, functionName string) (*lambda.GetFunctionUrlConfigOutput, error)
- func (l *LambdaClientAWS) GetLambdaExtensionARN() string
- func (l *LambdaClientAWS) GetLambdaFuncInfo(ctx context.Context, functionName string) (*lambda.GetFunctionOutput, error)
- func (l *LambdaClientAWS) GetLambdaKeystoreLayerARN(keystoresLayerName, version string) string
- func (l *LambdaClientAWS) GetLambdaRole() string
- func (l *LambdaClientAWS) MakeEthereumSignerFuncPublic(ctx context.Context) (*lambda.AddPermissionOutput, error)
- func (l *LambdaClientAWS) MakeLambdaFuncAuthIAM(ctx context.Context, lambdaName string) (*lambda.AddPermissionOutput, error)
- func (l *LambdaClientAWS) MakeLambdaURL(ctx context.Context, lambdaName string) (*lambda.CreateFunctionUrlConfigOutput, error)
- func (l *LambdaClientAWS) UpdateServerlessBLSLambdaFnBinary(ctx context.Context, functionName string, p filepaths.Path) (*lambda.UpdateFunctionCodeOutput, error)
- func (l *LambdaClientAWS) UpdateServerlessBLSLambdaFnKeystoreLayer(ctx context.Context, functionName, keystoresLayerName string) (*lambda.UpdateFunctionConfigurationOutput, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EthereumCreateValidatorsDepositsFunctionName = "ethereumValidatorDepositsGen"
)
View Source
var (
EthereumSignerFunctionName = "ethereumSignerBLS"
)
View Source
var (
EthereumValidatorsEncryptedSecretsZipGenFunctionName = "ethereumValidatorSecretsGenEncryptedZip"
)
View Source
var (
EthereumValidatorsSecretsGenFunctionName = "ethereumValidatorSecretsGen"
)
Functions ¶
This section is empty.
Types ¶
type LambdaClientAWS ¶
func InitLambdaClient ¶
func InitLambdaClient(ctx context.Context, auth aws_aegis_auth.AuthAWS) (LambdaClientAWS, error)
func (*LambdaClientAWS) CreateServerlessBLSLambdaFn ¶
func (l *LambdaClientAWS) CreateServerlessBLSLambdaFn(ctx context.Context, functionName, keystoresLayerName string, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
func (*LambdaClientAWS) CreateServerlessBLSLambdaFnKeystoreLayer ¶
func (l *LambdaClientAWS) CreateServerlessBLSLambdaFnKeystoreLayer(ctx context.Context, keystoresLayerName string, blsKeystoresZipFileBinary []byte) (*lambda.PublishLayerVersionOutput, error)
func (*LambdaClientAWS) CreateServerlessBlsEncryptedKeystoresZipLambdaFn ¶ added in v0.3.2
func (l *LambdaClientAWS) CreateServerlessBlsEncryptedKeystoresZipLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
func (*LambdaClientAWS) CreateServerlessBlsSecretsKeyGenLambdaFn ¶ added in v0.3.2
func (l *LambdaClientAWS) CreateServerlessBlsSecretsKeyGenLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
func (*LambdaClientAWS) CreateServerlessValidatorDepositsGenLambdaFn ¶ added in v0.3.2
func (l *LambdaClientAWS) CreateServerlessValidatorDepositsGenLambdaFn(ctx context.Context, p filepaths.Path) (*lambda.CreateFunctionOutput, error)
func (*LambdaClientAWS) GetExternalLambdaFuncInfo ¶
func (l *LambdaClientAWS) GetExternalLambdaFuncInfo(ctx context.Context) (*lambda.GetFunctionOutput, error)
func (*LambdaClientAWS) GetKeystoreLayerInfo ¶
func (l *LambdaClientAWS) GetKeystoreLayerInfo(ctx context.Context, keystoresLayerName string) (*lambda.ListLayerVersionsOutput, error)
func (*LambdaClientAWS) GetLambdaConfigURL ¶ added in v0.3.2
func (l *LambdaClientAWS) GetLambdaConfigURL(ctx context.Context, functionName string) (*lambda.GetFunctionUrlConfigOutput, error)
func (*LambdaClientAWS) GetLambdaExtensionARN ¶
func (l *LambdaClientAWS) GetLambdaExtensionARN() string
GetLambdaExtensionARN uses the us-west-1 specific number more info: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html
func (*LambdaClientAWS) GetLambdaFuncInfo ¶ added in v0.3.2
func (l *LambdaClientAWS) GetLambdaFuncInfo(ctx context.Context, functionName string) (*lambda.GetFunctionOutput, error)
func (*LambdaClientAWS) GetLambdaKeystoreLayerARN ¶
func (l *LambdaClientAWS) GetLambdaKeystoreLayerARN(keystoresLayerName, version string) string
GetLambdaKeystoreLayerARN uses version 1, you'll need to update if you add new versions to this layer
func (*LambdaClientAWS) GetLambdaRole ¶
func (l *LambdaClientAWS) GetLambdaRole() string
GetLambdaRole references a role created in aegis_aws_iam
func (*LambdaClientAWS) MakeEthereumSignerFuncPublic ¶
func (l *LambdaClientAWS) MakeEthereumSignerFuncPublic(ctx context.Context) (*lambda.AddPermissionOutput, error)
MakeEthereumSignerFuncPublic uses the EthereumSignerFunctionName to make the function public
func (*LambdaClientAWS) MakeLambdaFuncAuthIAM ¶ added in v0.3.2
func (l *LambdaClientAWS) MakeLambdaFuncAuthIAM(ctx context.Context, lambdaName string) (*lambda.AddPermissionOutput, error)
func (*LambdaClientAWS) MakeLambdaURL ¶ added in v0.3.2
func (l *LambdaClientAWS) MakeLambdaURL(ctx context.Context, lambdaName string) (*lambda.CreateFunctionUrlConfigOutput, error)
func (*LambdaClientAWS) UpdateServerlessBLSLambdaFnBinary ¶
func (l *LambdaClientAWS) UpdateServerlessBLSLambdaFnBinary(ctx context.Context, functionName string, p filepaths.Path) (*lambda.UpdateFunctionCodeOutput, error)
func (*LambdaClientAWS) UpdateServerlessBLSLambdaFnKeystoreLayer ¶
func (l *LambdaClientAWS) UpdateServerlessBLSLambdaFnKeystoreLayer(ctx context.Context, functionName, keystoresLayerName string) (*lambda.UpdateFunctionConfigurationOutput, error)
Click to show internal directories.
Click to hide internal directories.