Documentation
¶
Overview ¶
Package gates implements interface for each gate (api/webhook integration)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FactoryList []DriverFactory
FactoryList is a list of available gates factories
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
// Name of the gate
Name() string
// SetName of the gate
SetName(name string)
// Gives gate configs and check if it's ok
// -> wd - fish working directory
// -> config - gate configuration in json format
Prepare(wd string, config []byte) error
// Shutdown gracefully stops the gate
Shutdown() error
// GetRPCServices returns any RPC services this gate driver wants to register
// Returns nil if no services to register
GetRPCServices() []RPCService
}
Driver interface of the functions that connects each Gate to Fish
type DriverFactory ¶
type DriverFactory interface {
// Name of the gate
Name() string
// Generates new gate
New(db *database.Database) Driver
}
DriverFactory allows to generate new instances of the gates
type RPCService ¶ added in v0.9.0
RPCService represents an RPC service that can be registered
Directories
¶
| Path | Synopsis |
|---|---|
|
Package github implements GitHub Actions gate to allow Webhooks to trigger Applications events
|
Package github implements GitHub Actions gate to allow Webhooks to trigger Applications events |
|
Package proxyssh implements SSH Proxy for user to get to the ApplicationResource
|
Package proxyssh implements SSH Proxy for user to get to the ApplicationResource |
Click to show internal directories.
Click to hide internal directories.