code_signing

package
v0.4.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

type FunctionChecker interface {
	FunctionExists(name string) bool
}

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

func (s *Service) DeleteConfig(w http.ResponseWriter, r *http.Request, arn string)

DELETE /2015-03-31/code-signing-configs/{CodeSigningConfigArn}

func (*Service) DeleteFunctionConfig

func (s *Service) DeleteFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)

DELETE /2015-03-31/functions/{FunctionName}/code-signing-config

func (*Service) GetConfig

func (s *Service) GetConfig(w http.ResponseWriter, r *http.Request, arn string)

GET /2015-03-31/code-signing-configs/{CodeSigningConfigArn}

func (*Service) GetFunctionConfig

func (s *Service) GetFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)

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

func (s *Service) ListFunctionsByConfig(w http.ResponseWriter, r *http.Request, arn string)

GET /2015-03-31/code-signing-configs/{CodeSigningConfigArn}/functions

func (*Service) PutFunctionConfig

func (s *Service) PutFunctionConfig(w http.ResponseWriter, r *http.Request, functionName string)

PUT /2015-03-31/functions/{FunctionName}/code-signing-config

func (*Service) UpdateConfig

func (s *Service) UpdateConfig(w http.ResponseWriter, r *http.Request, arn string)

PUT /2015-03-31/code-signing-configs/{CodeSigningConfigArn}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL