discovery

package
v2.3.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppType

func AppType(ctx context.Context, path string) (string, error)

func DetectConfigManagementPlugin added in v2.2.0

func DetectConfigManagementPlugin(ctx context.Context, appPath string) (io.Closer, pluginclient.ConfigManagementPluginServiceClient, error)

1. list all plugins in /plugins folder 2. foreach plugin setup connection with respective cmp-server 3. check isSupported(path)? 4.a if no then close connection 4.b if yes then return conn for detected plugin

func Discover

func Discover(ctx context.Context, root string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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