Documentation
¶
Index ¶
- func Endpoint(opts ...EndpointOption) entities.Endpoint
- func EndpointP(opts ...EndpointOption) *entities.Endpoint
- func EndpointWS(wid string, opts ...EndpointOption) entities.Endpoint
- func Event(opts ...EventOption) entities.Event
- func EventP(opts ...EventOption) *entities.Event
- func EventWS(wid string, opts ...EventOption) entities.Event
- func Plugin(opts ...PluginOption) entities.Plugin
- func PluginP(opts ...PluginOption) *entities.Plugin
- func PluginWS(wid string, opts ...PluginOption) entities.Plugin
- func SetDefault(schema *openapi3.Schema, obj interface{})
- func Source(opts ...SourceOption) entities.Source
- func SourceP(opts ...SourceOption) *entities.Source
- func SourceWS(wid string, opts ...SourceOption) entities.Source
- func Workspace(name string) *entities.Workspace
- type EndpointOption
- type EventOption
- type PluginOption
- func WithPluginConfig(config interface{}) PluginOption
- func WithPluginConfigJSON(json string) PluginOption
- func WithPluginEndpointID(endpointID string) PluginOption
- func WithPluginID(id string) PluginOption
- func WithPluginMetadata(metadata map[string]string) PluginOption
- func WithPluginName(name string) PluginOption
- func WithPluginSourceID(sourceID string) PluginOption
- type SourceOption
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 Plugin ¶
func Plugin(opts ...PluginOption) entities.Plugin
func PluginP ¶ added in v0.6.0
func PluginP(opts ...PluginOption) *entities.Plugin
func SetDefault ¶ added in v0.8.0
func Source ¶
func Source(opts ...SourceOption) entities.Source
func SourceP ¶
func SourceP(opts ...SourceOption) *entities.Source
Types ¶
type EndpointOption ¶
func WithEndpointID ¶
func WithEndpointID(id string) EndpointOption
func WithEndpointMetadata ¶ added in v0.8.0
func WithEndpointMetadata(metadata map[string]string) EndpointOption
func WithEndpointName ¶
func WithEndpointName(name string) EndpointOption
type EventOption ¶
type PluginOption ¶
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 WithPluginMetadata ¶ added in v0.8.0
func WithPluginMetadata(metadata map[string]string) PluginOption
func WithPluginName ¶
func WithPluginName(name string) PluginOption
func WithPluginSourceID ¶ added in v0.7.0
func WithPluginSourceID(sourceID string) PluginOption
type SourceOption ¶
func WithSourceAsync ¶
func WithSourceAsync(async bool) SourceOption
func WithSourceID ¶
func WithSourceID(id string) SourceOption
func WithSourceMetadata ¶ added in v0.8.0
func WithSourceMetadata(metadata map[string]string) SourceOption
func WithSourcePath ¶ added in v0.7.0
func WithSourcePath(path string) SourceOption
func WithSourceResponse ¶ added in v0.8.0
func WithSourceResponse(response *entities.CustomResponse) SourceOption
Click to show internal directories.
Click to hide internal directories.