Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { AddRoutes(*lmdrouter.Router) Handle(context.Context, events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) }
func NewProviderDownloadHandler ¶
func NewProviderDownloadHandler() Handler
func NewProviderVersionsHandler ¶
func NewProviderVersionsHandler() Handler
type ProviderDownloadHandler ¶
type ProviderDownloadHandler struct{}
func (ProviderDownloadHandler) AddRoutes ¶
func (o ProviderDownloadHandler) AddRoutes(router *lmdrouter.Router)
func (ProviderDownloadHandler) Handle ¶
func (o ProviderDownloadHandler) Handle(ctx context.Context, req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
type ProviderDownloadModel ¶
type ProviderDownloadModel struct { NamespaceType string `dynamodbav:"NamespaceType"` VersionOsArch string `dynamodbav:"VersionOsArch"` Keys string `dynamodbav:"Keys"` Protocols string `dynamodbav:"Protocols"` Sha string `dynamodbav:"SHA"` ShaUrl string `dynamodbav:"SHA_URL"` SigUrl string `dynamodbav:"Sig_URL"` Url string `dynamodbav:"URL"` }
func NewDownloadModelFromUrlPath ¶
func NewDownloadModelFromUrlPath(path string) (ProviderDownloadModel, error)
func (ProviderDownloadModel) GetKey ¶
func (o ProviderDownloadModel) GetKey() (map[string]types.AttributeValue, error)
func (ProviderDownloadModel) MarshalJSON ¶
func (o ProviderDownloadModel) MarshalJSON() ([]byte, error)
type ProviderVersionModel ¶
type ProviderVersionsHandler ¶
type ProviderVersionsHandler struct{}
func (ProviderVersionsHandler) AddRoutes ¶
func (o ProviderVersionsHandler) AddRoutes(router *lmdrouter.Router)
func (ProviderVersionsHandler) Handle ¶
func (o ProviderVersionsHandler) Handle(ctx context.Context, req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
type ProviderVersionsModel ¶
type ProviderVersionsModel struct { NamespaceType string `dynamodbav:"NamespaceType"` Versions []ProviderVersionModel }
func NewVersionsModelFromUrlPath ¶
func NewVersionsModelFromUrlPath(path string) (ProviderVersionsModel, error)
func (ProviderVersionsModel) KeyExpr ¶
func (o ProviderVersionsModel) KeyExpr() (expression.Expression, error)
func (ProviderVersionsModel) MarshalJSON ¶
func (o ProviderVersionsModel) MarshalJSON() ([]byte, error)
type ServiceDiscoveryHandler ¶
type ServiceDiscoveryHandler struct {
// contains filtered or unexported fields
}
func (ServiceDiscoveryHandler) AddRoutes ¶
func (o ServiceDiscoveryHandler) AddRoutes(router *lmdrouter.Router)
func (ServiceDiscoveryHandler) Handle ¶
func (o ServiceDiscoveryHandler) Handle(_ context.Context, _ events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
Click to show internal directories.
Click to hide internal directories.