code: func (kc *kubeClient) CanGetDeploymentStats(envName string) (bool, error) {
  	return kc.checkAuthorizedWithBuilds(envName, getDeploymentStatsRules)
  }
docs: // CanGetDeploymentStats returns whether the user is authorized to call KubeClientInterface.GetDeploymentStats