factory

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 7 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 EndpointWS

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

func Event

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

func EventWS

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

func Plugin

func Plugin(name string, opts ...PluginOption) *entities.Plugin

func PluginWS

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

func SetDefault added in v0.8.0

func SetDefault(schema *openapi3.Schema, obj interface{})

func Source

func Source(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 WithEndpointPlugins added in v1.0.0

func WithEndpointPlugins(plugins ...*entities.Plugin) EndpointOption

type EventOption

type EventOption func(*entities.Event)

type PluginOption

type PluginOption func(*entities.Plugin)

func WithPluginConfig

func WithPluginConfig(config plugin.Configuration) PluginOption

type SourceOption

type SourceOption func(*entities.Source)

func WithSourcePlugins added in v1.0.0

func WithSourcePlugins(plugins ...*entities.Plugin) SourceOption

Jump to

Keyboard shortcuts

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