factory

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Endpoint

func Endpoint(opts ...EndpointOption) entities.Endpoint

func EndpointP

func EndpointP(opts ...EndpointOption) *entities.Endpoint

func EndpointWS

func EndpointWS(wid string, opts ...EndpointOption) entities.Endpoint

func Event

func Event(opts ...EventOption) entities.Event

func EventP

func EventP(opts ...EventOption) *entities.Event

func EventWS

func EventWS(wid string, opts ...EventOption) entities.Event

func Plugin

func Plugin(opts ...PluginOption) entities.Plugin

func PluginWS

func PluginWS(wid string, opts ...PluginOption) entities.Plugin

func Source

func Source(opts ...SourceOption) entities.Source

func SourceP

func SourceP(opts ...SourceOption) *entities.Source

func SourceWS

func SourceWS(wid string, opts ...SourceOption) entities.Source

func Workspace added in v0.5.0

func Workspace(name string) *entities.Workspace

Types

type EndpointOption

type EndpointOption func(*entities.Endpoint)

func WithEndpointID

func WithEndpointID(id string) EndpointOption

func WithEndpointName

func WithEndpointName(name string) EndpointOption

type EventOption

type EventOption func(*entities.Event)

type PluginOption

type PluginOption func(*entities.Plugin)

func WithPluginConfig

func WithPluginConfig(config interface{}) PluginOption

func WithPluginConfigJSON

func WithPluginConfigJSON(json string) PluginOption

func WithPluginEndpointID

func WithPluginEndpointID(endpointID string) PluginOption

func WithPluginID

func WithPluginID(id string) PluginOption

func WithPluginName

func WithPluginName(name string) PluginOption

type SourceOption

type SourceOption func(*entities.Source)

func WithSourceAsync

func WithSourceAsync(async bool) SourceOption

func WithSourceID

func WithSourceID(id string) SourceOption

Jump to

Keyboard shortcuts

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