Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProviderName is provider name for install. ProviderName = "kube" // AnnoWorkflowLastAppliedConfig is the annotation for last applied config AnnoWorkflowLastAppliedConfig = "workflow.oam.dev/last-applied-configuration" // AnnoWorkflowLastAppliedTime is annotation for last applied time AnnoWorkflowLastAppliedTime = "workflow.oam.dev/last-applied-time" )
View Source
const ( // WorkflowResourceCreator is the creator name of workflow resource WorkflowResourceCreator string = "workflow" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deleter ¶
type Deleter func(ctx context.Context, cluster, owner string, manifest *unstructured.Unstructured) error
Deleter is a client for delete resources.
type Dispatcher ¶
type Dispatcher func(ctx context.Context, cluster, owner string, manifests ...*unstructured.Unstructured) error
Dispatcher is a client for apply resources.
type Handlers ¶
type Handlers struct { Apply Dispatcher Delete Deleter }
Handlers handles resources.
Click to show internal directories.
Click to hide internal directories.