code: func (m *mesosScheduler) parsePrivateKey(privateKeyFile io.Reader) error {
  	//Read the Data from the private key file
  	data, err := ioutil.ReadAll(privateKeyFile)
  	if err != nil {
  		return err
  	}
  
  	//Parse the data in to the Private Key object
  	//If we need a password object for this we will have to use a different function
  	pk, err := jwt.ParseRSAPrivateKeyFromPEM(data)
  	if err != nil {
  		return err
  	}
  
  	//Validate the private key
  	if err := pk.Validate(); err != nil {
  		return err
  	}
  
  	//Set the key in the scheduler object
  	m.privateKey = pk
  	return nil
  }
docs: //Parse the private Key for the JWT