Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderName is provider name for install.
ProviderName = "kube"
)
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(p providers.Providers, app *v1beta1.Application, cli client.Client, apply Dispatcher, deleter Deleter)
Install register handlers to provider discover.
Types ¶
type Deleter ¶ added in v1.2.0
type Deleter func(ctx context.Context, cluster string, owner common.ResourceCreatorRole, manifest *unstructured.Unstructured) error
Deleter is a client for delete resources.
type Dispatcher ¶
type Dispatcher func(ctx context.Context, cluster string, owner common.ResourceCreatorRole, manifests ...*unstructured.Unstructured) error
Dispatcher is a client for apply resources.
Click to show internal directories.
Click to hide internal directories.