Documentation ¶
Index ¶
- func AppType(ctx context.Context, path string, enableGenerateManifests map[string]bool) (string, error)
- func DetectConfigManagementPlugin(ctx context.Context, appPath string) (io.Closer, pluginclient.ConfigManagementPluginServiceClient, error)
- func Discover(ctx context.Context, root string, enableGenerateManifests map[string]bool) (map[string]string, error)
- func IsManifestGenerationEnabled(sourceType v1alpha1.ApplicationSourceType, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 IsManifestGenerationEnabled ¶ added in v2.3.0
func IsManifestGenerationEnabled(sourceType v1alpha1.ApplicationSourceType, enableGenerateManifests map[string]bool) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.