code: func capabilities(disc discovery.DiscoveryInterface) (*chartutil.Capabilities, error) {
  	sv, err := disc.ServerVersion()
  	if err != nil {
  		return nil, err
  	}
  	vs, err := GetVersionSet(disc)
  	if err != nil {
  		return nil, fmt.Errorf("Could not get apiVersions from Kubernetes: %s", err)
  	}
  	return &chartutil.Capabilities{
  		APIVersions:   vs,
  		KubeVersion:   sv,
  		TillerVersion: version.GetVersionProto(),
  	}, nil
  }
docs: // capabilities builds a Capabilities from discovery information.