Documentation
¶
Overview ¶
Copyright © 2021 Harsh Varagiya
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func Execute()
- func ValidateCreateLambda(function *golambda.Function) error
- type ApplicationConfig
- type LambdaManager
- func (manager *LambdaManager) CreateLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
- func (manager *LambdaManager) GetManagedLambdaFunctions() map[string]string
- func (manager *LambdaManager) InvokeLambdaFunction(functionName string, event *liblambda.Event) (*liblambda.Response, error)
- func (manager *LambdaManager) ModifyLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
- func (manager *LambdaManager) RemoveLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
- type LambdaRestApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ValidateCreateLambda ¶
Types ¶
type ApplicationConfig ¶
type LambdaManager ¶
type LambdaManager struct {
// contains filtered or unexported fields
}
func NewLambdaManager ¶
func NewLambdaManager(awsAccountNumber int64) *LambdaManager
func (*LambdaManager) CreateLambdaFunction ¶
func (manager *LambdaManager) CreateLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
func (*LambdaManager) GetManagedLambdaFunctions ¶
func (manager *LambdaManager) GetManagedLambdaFunctions() map[string]string
func (*LambdaManager) InvokeLambdaFunction ¶
func (*LambdaManager) ModifyLambdaFunction ¶
func (manager *LambdaManager) ModifyLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
func (*LambdaManager) RemoveLambdaFunction ¶
func (manager *LambdaManager) RemoveLambdaFunction(function *golambda.Function) (*liblambda.LambdaRestApiResponse, error)
type LambdaRestApi ¶
type LambdaRestApi struct {
// contains filtered or unexported fields
}
func (*LambdaRestApi) Create ¶
func (api *LambdaRestApi) Create(ctx *gin.Context)
func (*LambdaRestApi) Delete ¶
func (api *LambdaRestApi) Delete(ctx *gin.Context)
func (*LambdaRestApi) Init ¶
func (api *LambdaRestApi) Init()
func (*LambdaRestApi) Invoke ¶
func (api *LambdaRestApi) Invoke(ctx *gin.Context)