Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayCommandName ¶
Types ¶
type Client ¶
type Client interface {
NewGatewayClient(id string) GatewayClient
}
type Gateway ¶
type Gateway interface { GetName() string Log() ss.LogStream Create(sourcePath string, client Client) error Delete(Client) error Deploy(Client) error }
func NewGateway ¶
NewGateway creates new gateway instance.
type GatewayAuthorizer ¶
type GatewayAuthorizer string
type GatewayClient ¶
type GatewayClient interface { CreateModel(name, schema string) (GatewayModel, error) DeleteModels() error CreateRoute( name string, lambda string, model *GatewayModel, auth *GatewayAuthorizer, ) (GatewayRoute, error) DeleteRoutes() error CreateRouteResponse(GatewayRoute) error CreateAuthorizer(name string) (GatewayAuthorizer, error) DeleteAuthorizers() error Deploy() error }
type GatewayCommandsReader ¶
type GatewayCommandsReader interface {
Read(name string, log ss.LogSession) ([]command, error)
}
type GatewayModel ¶
type GatewayModel string
type GatewayRoute ¶
Click to show internal directories.
Click to hide internal directories.