| 39 | } |
| 40 | |
| 41 | type gitOpsEngine struct { |
| 42 | config *rest.Config |
| 43 | cache cache.ClusterCache |
| 44 | kubectl kube.Kubectl |
| 45 | log logr.Logger |
| 46 | } |
| 47 | |
| 48 | // NewEngine creates new instances of the GitOps engine |
| 49 | func NewEngine(config *rest.Config, clusterCache cache.ClusterCache, opts ...Option) GitOpsEngine { |
nothing calls this directly
no outgoing calls
no test coverage detected