drivers/azure/azure.go
func NewDriver(hostName, storePath string) drivers.Driver {
	// NOTE(ahmetalpbalkan): any driver initialization I do here gets lost
	// afterwards, especially for non-Create RPC calls. Therefore I am mostly
	// making rest of the driver stateless by just relying on the following
	// piece of info.
	d := &Driver{
		BaseDriver: &drivers.BaseDriver{
			SSHUser:     defaultSSHUser,
			MachineName: hostName,
			StorePath:   storePath,
		},
	}
	return d
}
func NewDriver(hostName, storePath string) drivers.Driver {
	// NOTE(ahmetalpbalkan): any driver initialization I do here gets lost
	// afterwards, especially for non-Create RPC calls. Therefore I am mostly
	// making rest of the driver stateless by just relying on the following
	// piece of info.
	d := &Driver{
		BaseDriver: &drivers.BaseDriver{
			SSHUser:     defaultSSHUser,
			MachineName: hostName,
			StorePath:   storePath,
		},
	}
	return d
}
func NewDriver ( hostName , storePath string ) drivers . Driver { // NOTE(ahmetalpbalkan): any driver initialization I do here gets lost // afterwards, especially for non-Create RPC calls. Therefore I am mostly // making rest of the driver stateless by just relying on the following // piece of info. d := & Driver { BaseDriver : & drivers . BaseDriver { SSHUser : defaultSSHUser , MachineName : hostName , StorePath : storePath , } , } return d }
// NewDriver returns a new driver instance.
NewDriver returns a new driver instance .