Documentation ¶
Index ¶
- Variables
- func GetRuntime(ctx context.Context, handler Handler) (*handlerclient.Client, error)
- type Diagnostic
- type Handler
- func (ha Handler) AddDiagnostic(d Diagnostic) Handler
- func (h *Handler) DDBKeys() (ddb.Keys, error)
- func (h *Handler) FunctionARN() string
- func (h *Handler) InvokeRoleARN() string
- func (ha Handler) SetHealth(h bool) Handler
- func (ha Handler) SetProviderDescription(p *providerregistrysdk.DescribeResponse) Handler
- func (h *Handler) ToAPI() types.TGHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalDeploymentMap map[string]string
make of deploymentID to relative path example: ../../testvault-provider/provider
Functions ¶
func GetRuntime ¶
Types ¶
type Diagnostic ¶
type Handler ¶
type Handler struct { ID string `json:"id" dynamodbav:"id"` Runtime string `json:"runtime" dynamodbav:"runtime"` AWSAccount string `json:"awsAccount" dynamodbav:"awsAccount"` AWSRegion string `json:"awsRegion" dynamodbav:"awsRegion"` Healthy bool `json:"healthy" dynamodbav:"healthy"` Diagnostics []Diagnostic `json:"diagnostics" dynamodbav:"diagnostics"` // Provider description comes from polling the provider via a healthcheck ProviderDescription *providerregistrysdk.DescribeResponse `json:"providerDescription" dynamodbav:"providerDescription"` }
represents a lambda TargetGroupDeployment
func TestHandler ¶
func (Handler) AddDiagnostic ¶
func (ha Handler) AddDiagnostic(d Diagnostic) Handler
func (*Handler) FunctionARN ¶
func (*Handler) InvokeRoleARN ¶
func (Handler) SetProviderDescription ¶
func (ha Handler) SetProviderDescription(p *providerregistrysdk.DescribeResponse) Handler
Click to show internal directories.
Click to hide internal directories.