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