Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconciler reconciles an AppDeployment object
func NewReconciler ¶
func NewReconciler(cli client.Client, sch *runtime.Scheme, dm discoverymapper.DiscoveryMapper) *Reconciler
NewReconciler returns a new instance of Reconciler
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup the controller with manager
type WorkloadRenderer ¶
type WorkloadRenderer interface {
Render(ctx context.Context, ac *oamcorealpha.ApplicationConfiguration, comps []*oamcorealpha.Component) ([]*workload, error)
}
WorkloadRenderer renders Workloads which are k8s resources to apply
func NewWorkloadRenderer ¶
func NewWorkloadRenderer(cli client.Client) WorkloadRenderer
NewWorkloadRenderer is the main entry to create WorkloadRenderer implementation.
Click to show internal directories.
Click to hide internal directories.