()
| 93 | } |
| 94 | |
| 95 | func (c *Client) init() { |
| 96 | c.Schema = migrate.NewSchema(c.driver) |
| 97 | c.APIToken = NewAPITokenClient(c.config) |
| 98 | c.Attestation = NewAttestationClient(c.config) |
| 99 | c.CASBackend = NewCASBackendClient(c.config) |
| 100 | c.CASMapping = NewCASMappingClient(c.config) |
| 101 | c.Group = NewGroupClient(c.config) |
| 102 | c.GroupMembership = NewGroupMembershipClient(c.config) |
| 103 | c.Integration = NewIntegrationClient(c.config) |
| 104 | c.IntegrationAttachment = NewIntegrationAttachmentClient(c.config) |
| 105 | c.Membership = NewMembershipClient(c.config) |
| 106 | c.OrgInvitation = NewOrgInvitationClient(c.config) |
| 107 | c.Organization = NewOrganizationClient(c.config) |
| 108 | c.Project = NewProjectClient(c.config) |
| 109 | c.ProjectVersion = NewProjectVersionClient(c.config) |
| 110 | c.Referrer = NewReferrerClient(c.config) |
| 111 | c.RobotAccount = NewRobotAccountClient(c.config) |
| 112 | c.User = NewUserClient(c.config) |
| 113 | c.Workflow = NewWorkflowClient(c.config) |
| 114 | c.WorkflowContract = NewWorkflowContractClient(c.config) |
| 115 | c.WorkflowContractVersion = NewWorkflowContractVersionClient(c.config) |
| 116 | c.WorkflowRun = NewWorkflowRunClient(c.config) |
| 117 | } |
| 118 | |
| 119 | type ( |
| 120 | // config is the configuration for the client and its builder. |
no test coverage detected