Documentation ¶
Index ¶
- Constants
- type AwsClient
- func (o *AwsClient) BlockFunction(funcIdentifier *string) error
- func (o *AwsClient) DeleteConcurrencyLevel(funcIdentifier string) error
- func (o *AwsClient) DeployFunctionClarity(trailName string, keyPath string, deploymentConfig i.AWSInput, suffix string) error
- func (o *AwsClient) DownloadPublicKeys(bucketPath string) (string, error)
- func (o *AwsClient) DownloadSignature(fileName string, outputType string, bucketPathToSignatures string) error
- func (o *AwsClient) FillNotificationDetails(notification *Notification, functionIdentifier string) error
- func (o *AwsClient) FuncContainsTags(funcIdentifier string, tagKes []string) (bool, error)
- func (o *AwsClient) GetConcurrencyLevel(funcIdentifier string) (*int32, error)
- func (o *AwsClient) GetConcurrencyLevelTag(funcIdentifier string, tag string) (error, *int32)
- func (o *AwsClient) GetEcrToken() (*ecr.GetAuthorizationTokenOutput, error)
- func (o *AwsClient) GetFuncCode(funcIdentifier string) (string, error)
- func (o *AwsClient) GetFuncHash(funcIdentifier string) (string, error)
- func (o *AwsClient) GetFuncImageURI(funcIdentifier string) (string, error)
- func (o *AwsClient) HandleBlock(funcIdentifier *string, failed bool) error
- func (o *AwsClient) HandleDetect(funcIdentifier *string, failed bool) error
- func (o *AwsClient) IsBucketExist(bucketName string) bool
- func (o *AwsClient) IsCloudTrailExist(trailName string) bool
- func (o *AwsClient) IsFuncInRegions(regions []string) bool
- func (o *AwsClient) IsSnsTopicExist(topicArn string) bool
- func (o *AwsClient) Notify(msg string, topicARN string) error
- func (o *AwsClient) ResolvePackageType(funcIdentifier string) (string, error)
- func (o *AwsClient) UnblockFunction(funcIdentifier *string) error
- func (o *AwsClient) UpdateVerifierFucConfig(action *string, includedFuncTagKeys *[]string, includedFuncRegions *[]string, ...) error
- func (o *AwsClient) Upload(signature string, identity string, isKeyless bool) error
- func (o *AwsClient) ValidateCredentials() bool
- type Client
- type GCPClient
- func (o *GCPClient) DownloadPublicKeys(path string) (string, error)
- func (p *GCPClient) DownloadSignature(fileName string, outputType string, bucketPathToSignatures string) error
- func (p *GCPClient) FillNotificationDetails(notification *Notification, functionIdentifier string) error
- func (p *GCPClient) FuncContainsTags(funcIdentifier string, tagKes []string) (bool, error)
- func (p *GCPClient) GetFuncCode(funcIdentifier string) (string, error)
- func (o *GCPClient) GetFuncHash(funcIdentifier string) (string, error)
- func (p *GCPClient) GetFuncImageURI(funcIdentifier string) (string, error)
- func (p *GCPClient) HandleBlock(funcIdentifier *string, failed bool) error
- func (p *GCPClient) HandleDetect(funcIdentifier *string, failed bool) error
- func (p *GCPClient) IsFuncInRegions(regions []string) bool
- func (p *GCPClient) Notify(msg string, snsArn string) error
- func (p *GCPClient) ResolvePackageType(funcIdentifier string) (string, error)
- func (p *GCPClient) Upload(signature string, identity string, isKeyless bool) error
- type Notification
Constants ¶
View Source
const ConfigEnvVariableName = "CONFIGURATION"
View Source
const FunctionClarityBucketName = "functionclarity"
View Source
const FunctionClarityLambdaVerierName = "FunctionClarityLambda"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsClient ¶
type AwsClient struct {
// contains filtered or unexported fields
}
func NewAwsClient ¶
func NewAwsClientInit ¶
func (*AwsClient) BlockFunction ¶
func (*AwsClient) DeleteConcurrencyLevel ¶
func (*AwsClient) DeployFunctionClarity ¶
func (*AwsClient) DownloadPublicKeys ¶ added in v1.0.3
func (*AwsClient) DownloadSignature ¶ added in v1.0.3
func (*AwsClient) FillNotificationDetails ¶
func (o *AwsClient) FillNotificationDetails(notification *Notification, functionIdentifier string) error
func (*AwsClient) FuncContainsTags ¶
func (*AwsClient) GetConcurrencyLevel ¶
func (*AwsClient) GetConcurrencyLevelTag ¶
func (*AwsClient) GetEcrToken ¶
func (o *AwsClient) GetEcrToken() (*ecr.GetAuthorizationTokenOutput, error)
func (*AwsClient) GetFuncCode ¶
func (*AwsClient) GetFuncHash ¶ added in v1.0.3
func (*AwsClient) GetFuncImageURI ¶
func (*AwsClient) HandleBlock ¶
func (*AwsClient) HandleDetect ¶
func (*AwsClient) IsBucketExist ¶
func (*AwsClient) IsCloudTrailExist ¶
func (*AwsClient) IsFuncInRegions ¶
func (*AwsClient) IsSnsTopicExist ¶
func (*AwsClient) ResolvePackageType ¶
func (*AwsClient) UnblockFunction ¶
func (*AwsClient) UpdateVerifierFucConfig ¶
func (*AwsClient) ValidateCredentials ¶
type Client ¶
type Client interface { ResolvePackageType(funcIdentifier string) (string, error) GetFuncCode(funcIdentifier string) (string, error) GetFuncImageURI(funcIdentifier string) (string, error) GetFuncHash(funcIdentifier string) (string, error) IsFuncInRegions(regions []string) bool FuncContainsTags(funcIdentifier string, tagKes []string) (bool, error) Upload(signature string, identity string, isKeyless bool) error DownloadSignature(fileName string, outputType string, bucketPathToSignatures string) error HandleBlock(funcIdentifier *string, failed bool) error HandleDetect(funcIdentifier *string, failed bool) error Notify(msg string, snsArn string) error FillNotificationDetails(notification *Notification, functionIdentifier string) error DownloadPublicKeys(path string) (string, error) }
type GCPClient ¶
type GCPClient struct {
// contains filtered or unexported fields
}
func NewGCPClientInit ¶
func (*GCPClient) DownloadPublicKeys ¶ added in v1.0.3
func (*GCPClient) DownloadSignature ¶ added in v1.0.3
func (*GCPClient) FillNotificationDetails ¶
func (p *GCPClient) FillNotificationDetails(notification *Notification, functionIdentifier string) error
func (*GCPClient) FuncContainsTags ¶
func (*GCPClient) GetFuncCode ¶
func (*GCPClient) GetFuncHash ¶ added in v1.0.3
func (*GCPClient) GetFuncImageURI ¶
func (*GCPClient) HandleBlock ¶
func (*GCPClient) HandleDetect ¶
func (*GCPClient) IsFuncInRegions ¶
func (*GCPClient) ResolvePackageType ¶
Click to show internal directories.
Click to hide internal directories.