// NewCoordinator Create a new coordinator which uses the specified context
NewCoordinator Create a new coordinator which uses the specified context
// NewCoordinator Create a new coordinator which uses the specified context
func NewCoordinator() (Coordinator, error) {
	dockerClient, err := docker.CreateDockerClient()
	if err != nil {
		return nil, err
	}
	podsClient, err := kube.CreateKubeClient()
	if err != nil {
		return nil, err
	}
	return &executionCoordinator{
		dockerClient: dockerClient,
		podsClient:   podsClient,
	}, nil
}
func NewCoordinator ( ) ( Coordinator , error ) { dockerClient , err := docker . CreateDockerClient ( ) if err != nil { return nil , err } podsClient , err := kube . CreateKubeClient ( ) if err != nil { return nil , err } return & executionCoordinator { dockerClient : dockerClient , podsClient : podsClient , } , nil }
NewCoordinator Create a new coordinator which uses the specified context
NewCoordinator Create a new coordinator which uses the specified context