code: func NewClientWithRoundTripper(rt RoundTripper) *Client {
  	c := &Client{}
  
  	c.KeyPairs = &KeyPairsClient{client: rt}
  	c.Tokens = &TokensClient{client: rt}
  	c.Users = &UsersClient{client: rt}
  	c.Teams = &TeamsClient{client: rt}
  	c.Memberships = &MembershipsClient{client: rt}
  	c.Credentials = &Credentials{client: rt}
  	c.Orgs = &OrgsClient{client: rt}
  	c.OrgInvites = &OrgInvitesClient{client: rt}
  	c.Policies = &PoliciesClient{client: rt}
  	c.Projects = &ProjectsClient{client: rt}
  	c.Environments = &EnvironmentsClient{client: rt}
  	c.Services = &ServicesClient{client: rt}
  	c.Claims = &ClaimsClient{client: rt}
  	c.ClaimTree = &ClaimTreeClient{client: rt}
  	c.Keyring = &KeyringClient{client: rt}
  	c.Keyring.Members = &KeyringMembersClient{client: rt}
  	c.KeyringMember = &KeyringMemberClientV1{client: rt}
  	c.CredentialGraph = &CredentialGraphClient{client: rt}
  	c.Machines = &MachinesClient{client: rt}
  	c.Profiles = &ProfilesClient{client: rt}
  	c.Self = &SelfClient{client: rt}
  	c.Version = &VersionClient{client: rt}
  
  	return c
  }
docs: // NewClientWithRoundTripper returns a new Client using the provided
  // RoundTripper. This is used in the api package to embed registry endpoints.