Tx is a transactional client that is created by calling Client.Tx().
| 11 | |
| 12 | // Tx is a transactional client that is created by calling Client.Tx(). |
| 13 | type Tx struct { |
| 14 | config |
| 15 | // APIToken is the client for interacting with the APIToken builders. |
| 16 | APIToken *APITokenClient |
| 17 | // Attestation is the client for interacting with the Attestation builders. |
| 18 | Attestation *AttestationClient |
| 19 | // CASBackend is the client for interacting with the CASBackend builders. |
| 20 | CASBackend *CASBackendClient |
| 21 | // CASMapping is the client for interacting with the CASMapping builders. |
| 22 | CASMapping *CASMappingClient |
| 23 | // Group is the client for interacting with the Group builders. |
| 24 | Group *GroupClient |
| 25 | // GroupMembership is the client for interacting with the GroupMembership builders. |
| 26 | GroupMembership *GroupMembershipClient |
| 27 | // Integration is the client for interacting with the Integration builders. |
| 28 | Integration *IntegrationClient |
| 29 | // IntegrationAttachment is the client for interacting with the IntegrationAttachment builders. |
| 30 | IntegrationAttachment *IntegrationAttachmentClient |
| 31 | // Membership is the client for interacting with the Membership builders. |
| 32 | Membership *MembershipClient |
| 33 | // OrgInvitation is the client for interacting with the OrgInvitation builders. |
| 34 | OrgInvitation *OrgInvitationClient |
| 35 | // Organization is the client for interacting with the Organization builders. |
| 36 | Organization *OrganizationClient |
| 37 | // Project is the client for interacting with the Project builders. |
| 38 | Project *ProjectClient |
| 39 | // ProjectVersion is the client for interacting with the ProjectVersion builders. |
| 40 | ProjectVersion *ProjectVersionClient |
| 41 | // Referrer is the client for interacting with the Referrer builders. |
| 42 | Referrer *ReferrerClient |
| 43 | // RobotAccount is the client for interacting with the RobotAccount builders. |
| 44 | RobotAccount *RobotAccountClient |
| 45 | // User is the client for interacting with the User builders. |
| 46 | User *UserClient |
| 47 | // Workflow is the client for interacting with the Workflow builders. |
| 48 | Workflow *WorkflowClient |
| 49 | // WorkflowContract is the client for interacting with the WorkflowContract builders. |
| 50 | WorkflowContract *WorkflowContractClient |
| 51 | // WorkflowContractVersion is the client for interacting with the WorkflowContractVersion builders. |
| 52 | WorkflowContractVersion *WorkflowContractVersionClient |
| 53 | // WorkflowRun is the client for interacting with the WorkflowRun builders. |
| 54 | WorkflowRun *WorkflowRunClient |
| 55 | |
| 56 | // lazily loaded. |
| 57 | client *Client |
| 58 | clientOnce sync.Once |
| 59 | // ctx lives for the life of the transaction. It is |
| 60 | // the same context used by the underlying connection. |
| 61 | ctx context.Context |
| 62 | } |
| 63 | |
| 64 | type ( |
| 65 | // Committer is the interface that wraps the Commit method. |
nothing calls this directly
no outgoing calls
no test coverage detected