virtual-kubelet / node-cli

CLI library for rapid prototyping of virtual-kubelet nodes
Apache License 2.0
18 stars 30 forks source link

Add node.NodeProvider to the Provider interface #17

Closed ldx closed 4 years ago

ldx commented 4 years ago

Using node.NaiveNodeProvider is hardwired right now. I added it to the Provider interface, since it's something that providers likely want to implement. If they are okay with NaiveNodeProvider, they an simply embed it in their Provider struct.