gate

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

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

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 proxysocks allows host VM's to reach the remote services in controllable manner
Package proxysocks allows host VM's to reach the remote services in controllable manner
Package proxyssh implements SSH Proxy for user to get to the ApplicationResource
Package proxyssh implements SSH Proxy for user to get to the ApplicationResource

Jump to

Keyboard shortcuts

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