Documentation ¶
Index ¶
- func GetDestinationDriver(destinationName string, driver Destination, serviceName string, ...) (interfaces.DriverDestinationInterface, error)
- func GetNotificationDriver(driver Notification, serviceName string, taskName string, ...) (interfaces.DriverNotificationInterface, error)
- func GetSourceDriver(driver Source, serviceName string, taskName string, driverConfig interface{}, ...) (interfaces.DriverSourceInterface, error)
- func IsAvailableDriverDestination(driver Destination) bool
- func IsAvailableDriverNotification(driver Notification) bool
- func IsAvailableDriverSource(driver Source) bool
- type Destination
- type Notification
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDestinationDriver ¶
func GetDestinationDriver(destinationName string, driver Destination, serviceName string, taskName string, driverConfig interface{}, driverEnv interface{}) (interfaces.DriverDestinationInterface, error)
func GetNotificationDriver ¶
func GetNotificationDriver(driver Notification, serviceName string, taskName string, driverConfig interface{}) (interfaces.DriverNotificationInterface, error)
func GetSourceDriver ¶
func GetSourceDriver(driver Source, serviceName string, taskName string, driverConfig interface{}, driverEnv interface{}) (interfaces.DriverSourceInterface, error)
func IsAvailableDriverDestination ¶
func IsAvailableDriverDestination(driver Destination) bool
func IsAvailableDriverNotification ¶
func IsAvailableDriverNotification(driver Notification) bool
func IsAvailableDriverSource ¶
Types ¶
type Destination ¶
type Destination string
const ( DriverDestinationLocal Destination = "local" DriverDestinationRestic Destination = "restic" )
func GetAvailableDriverDestination ¶
func GetAvailableDriverDestination() []Destination
type Notification ¶
type Notification string
const ( DriverNotificationConsole Notification = "console" DriverNotificationEmail Notification = "email" DriverNotificationSlack Notification = "slack" DriverNotificationTelegram Notification = "telegram" )
func GetAvailableDriverNotification ¶
func GetAvailableDriverNotification() []Notification
Click to show internal directories.
Click to hide internal directories.