Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFrontClient ¶
type CloudFrontClient interface { CreateFunction(ctx context.Context, params *cloudfront.CreateFunctionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.CreateFunctionOutput, error) GetFunction(ctx context.Context, params *cloudfront.GetFunctionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.GetFunctionOutput, error) PublishFunction(ctx context.Context, params *cloudfront.PublishFunctionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.PublishFunctionOutput, error) UpdateFunction(ctx context.Context, params *cloudfront.UpdateFunctionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.UpdateFunctionOutput, error) }
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func NewDeployer ¶
func NewDeployer(client CloudFrontClient, logger *zap.Logger) *Deployer
type Function ¶
type Function struct { Name string Code *FunctionCode Config *FunctionConfig }
type FunctionCode ¶ added in v0.1.1
type FunctionCode struct {
Path string
}
type FunctionConfig ¶
type FunctionConfig struct { Comment string Runtime types.FunctionRuntime }
Click to show internal directories.
Click to hide internal directories.