sigs.k8s.io/cluster-api@v1.7.1/docs/proposals/images/clusterctl-extensible-templates/pkgCalls.plantuml (about) 1 @startuml 2 interface "clusterctl config cluster foo" as cmd 3 4 5 package "clusterctl/client" { 6 [GetClusterTemplate(templateOptions)] 7 note right of [GetClusterTemplate(templateOptions)] 8 templateOptions contains the flag 9 for the specified template processor. 10 end note 11 } 12 13 14 package "clusterctl/repository/client" { 15 [Templates(TemplatesInput)] 16 note right of [Templates(TemplatesInput)] 17 Creates a new template client. 18 end note 19 } 20 21 22 package "clusterctl/repository/template_client" { 23 [newTemplateClient(TemplateClientInput)] 24 note right of [newTemplateClient(TemplateClientInput)] 25 Returns a TemplateClient with 26 the appropriate YamlProcessor 27 end note 28 } 29 30 31 cmd --> [GetClusterTemplate(templateOptions)] 32 [GetClusterTemplate(templateOptions)] --> [Templates(TemplatesInput)] 33 [Templates(TemplatesInput)] --> [newTemplateClient(TemplateClientInput)] 34 @enduml