Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderName is provider name for install.
ProviderName = "oam"
)
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(p providers.Providers, app *v1beta1.Application, af *appfile.Appfile, cli client.Client, apply ComponentApply, render ComponentRender)
Install register handlers to provider discover.
Types ¶
type ComponentApply ¶
type ComponentApply func(comp common.ApplicationComponent, patcher *value.Value, clusterName string, overrideNamespace string, env string) (*unstructured.Unstructured, []*unstructured.Unstructured, bool, error)
ComponentApply apply oam component.
type ComponentRender ¶ added in v1.2.0
type ComponentRender func(comp common.ApplicationComponent, patcher *value.Value, clusterName string, overrideNamespace string, env string) (*unstructured.Unstructured, []*unstructured.Unstructured, error)
ComponentRender render oam component.
Click to show internal directories.
Click to hide internal directories.