code: func NewClient(ctx context.Context, c *vim25.Client) (*Client, error) {
  	filter := &types.LookupServiceRegistrationFilter{
  		ServiceType: &types.LookupServiceRegistrationServiceType{
  			Product: "com.vmware.cis",
  			Type:    "sso:sts",
  		},
  		EndpointType: &types.LookupServiceRegistrationEndpointType{
  			Protocol: "wsTrust",
  			Type:     "com.vmware.cis.cs.identity.sso",
  		},
  	}
  
  	url := lookup.EndpointURL(ctx, c, Path, filter)
  	sc := c.Client.NewServiceClient(url, Namespace)
  
  	return &Client{sc}, nil
  }
docs: // NewClient returns a client targeting the STS API endpoint.
  // The Client.URL will be set to that of the Lookup Service's endpoint registration,
  // as the SSO endpoint can be external to vCenter.  If the Lookup Service is not available,
  // URL defaults to Path on the vim25.Client.URL.Host.