Documentation
¶
Index ¶
- type AllowedPublishers
- type CodeSigningConfig
- type CodeSigningPolicies
- type FunctionChecker
- type Service
- func (s *Service) Create(w http.ResponseWriter, r *http.Request)
- func (s *Service) DeleteConfig(w http.ResponseWriter, r *http.Request, arn string)
- func (s *Service) DeleteFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)
- func (s *Service) GetConfig(w http.ResponseWriter, r *http.Request, arn string)
- func (s *Service) GetFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)
- func (s *Service) ListConfigs(w http.ResponseWriter, r *http.Request)
- func (s *Service) ListFunctionsByConfig(w http.ResponseWriter, r *http.Request, arn string)
- func (s *Service) PutFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)
- func (s *Service) UpdateConfig(w http.ResponseWriter, r *http.Request, arn string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedPublishers ¶
type AllowedPublishers struct {
SigningProfileVersionArns []string `json:"SigningProfileVersionArns"`
}
type CodeSigningConfig ¶
type CodeSigningConfig struct {
AllowedPublishers AllowedPublishers `json:"AllowedPublishers"`
CodeSigningConfigArn string `json:"CodeSigningConfigArn"`
CodeSigningConfigId string `json:"CodeSigningConfigId"`
CodeSigningPolicies CodeSigningPolicies `json:"CodeSigningPolicies"`
Description string `json:"Description,omitempty"`
LastModified string `json:"LastModified"`
}
type CodeSigningPolicies ¶
type CodeSigningPolicies struct {
UntrustedArtifactOnDeployment string `json:"UntrustedArtifactOnDeployment,omitempty"` // "Warn" | "Enforce"
}
type FunctionChecker ¶
FunctionChecker lets the code-signing service verify that a function exists without importing the function_crud package directly.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages in-memory state for Lambda code-signing operations.
func New ¶
func New(region, account string, checker FunctionChecker) *Service
func (*Service) Create ¶
func (s *Service) Create(w http.ResponseWriter, r *http.Request)
POST /2015-03-31/code-signing-configs
func (*Service) DeleteConfig ¶
DELETE /2015-03-31/code-signing-configs/{CodeSigningConfigArn}
func (*Service) DeleteFunctionConfig ¶
DELETE /2015-03-31/functions/{FunctionName}/code-signing-config
func (*Service) GetFunctionConfig ¶
GET /2015-03-31/functions/{FunctionName}/code-signing-config
func (*Service) ListConfigs ¶
func (s *Service) ListConfigs(w http.ResponseWriter, r *http.Request)
GET /2015-03-31/code-signing-configs
func (*Service) ListFunctionsByConfig ¶
GET /2015-03-31/code-signing-configs/{CodeSigningConfigArn}/functions
func (*Service) PutFunctionConfig ¶
PUT /2015-03-31/functions/{FunctionName}/code-signing-config
func (*Service) UpdateConfig ¶
PUT /2015-03-31/code-signing-configs/{CodeSigningConfigArn}