Documentation
¶
Index ¶
- func BuildRoutes(service interface{}, ...) ([]*endly.Route, error)
- func GetClient(eContext *endly.Context, provider, key interface{}, target interface{}, ...) error
- func InitCredentials(context *endly.Context, rawRequest map[string]interface{}) (*gcCredConfig, error)
- func UpdateActionRequest(rawRequest map[string]interface{}, config *gcCredConfig, client CtxClient)
- type AbstractClient
- type CtxClient
- type EmptyOutput
- type OutputEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRoutes ¶ added in v0.27.0
func GetClient ¶ added in v0.27.0
func GetClient(eContext *endly.Context, provider, key interface{}, target interface{}, defaultScopes ...string) error
GetClient creates a new google cloud client.
func InitCredentials ¶ added in v0.27.0
func InitCredentials(context *endly.Context, rawRequest map[string]interface{}) (*gcCredConfig, error)
InitCredentials get or creates aws credential config
func UpdateActionRequest ¶ added in v0.27.0
UpdateActionRequest updates raw request with project, service
Types ¶
type AbstractClient ¶ added in v0.27.0
type AbstractClient struct {
// contains filtered or unexported fields
}
AbstractClient represents an abstract client
func (*AbstractClient) Context ¶ added in v0.27.0
func (c *AbstractClient) Context() context.Context
func (*AbstractClient) SetContext ¶ added in v0.27.0
func (c *AbstractClient) SetContext(ctx context.Context)
type CtxClient ¶ added in v0.27.0
type CtxClient interface {
SetContext(ctx context.Context)
Context() context.Context
SetService(client interface{}) error
Service() interface{}
}
CtxClient represents generic google cloud service client
type EmptyOutput ¶ added in v0.27.0
type EmptyOutput struct{}
type OutputEvent ¶ added in v0.27.0
func NewOutputEvent ¶ added in v0.27.0
func NewOutputEvent(message string, tag string, value interface{}) *OutputEvent
func (*OutputEvent) Messages ¶ added in v0.27.0
func (e *OutputEvent) Messages() []*msg.Message
Click to show internal directories.
Click to hide internal directories.