code: func generateEnvList(envs []*runtimeapi.KeyValue) (result []string) {
  	for _, env := range envs {
  		result = append(result, fmt.Sprintf("%s=%s", env.Key, env.Value))
  	}
  	return
  }
docs: // generateEnvList converts KeyValue list to a list of strings, in the form of
  // '<key>=<value>', which can be understood by docker.