go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate counterfeiter:generate -o fakes/fake_bootstrapper.go . Bootstrapper
| 28 | |
| 29 | //counterfeiter:generate -o fakes/fake_bootstrapper.go . Bootstrapper |
| 30 | type Bootstrapper interface { |
| 31 | // UserData returns userdata for bootstrapping nodes |
| 32 | UserData() (string, error) |
| 33 | } |
| 34 | |
| 35 | // NewBootstrapper returns the correct bootstrapper for the AMI family |
| 36 | func NewBootstrapper(clusterConfig *api.ClusterConfig, ng *api.NodeGroup) (Bootstrapper, error) { |
no outgoing calls
no test coverage detected