Documentation
¶
Index ¶
- func TestCreateSnapshot(t *testing.T, payload any, token string, ...) (snapId int, svIds []int)
- func TestDeleteSnapshot(t *testing.T, snapshotId int, token string, expectedUserId int, ...)
- func TestGetSnapshot(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotByAccount(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotByAssetCategory(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotByInstitution(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotByMaturationDate(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotByTaxShelter(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshotRebalance(t *testing.T, snapshotId int, token string, ...)
- func TestGetSnapshots(t *testing.T, route string, token string, expectedUserId int, ...)
- func TestUpdateSnapshot(t *testing.T, snapshotId int, payload any, token string, expectedUserId int, ...)
- type ExpectedCreateSnapshotResponse
- type ExpectedGetSnapshotByAccountResponse
- type ExpectedGetSnapshotByAssetCategoryResponse
- type ExpectedGetSnapshotByInstitutionResponse
- type ExpectedGetSnapshotByMaturationDateResponse
- type ExpectedGetSnapshotByTaxShelterResponse
- type ExpectedGetSnapshotRebalanceResponse
- type ExpectedGetSnapshotResponse
- type ExpectedGetSnapshotsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestCreateSnapshot ¶
func TestDeleteSnapshot ¶
func TestGetSnapshot ¶
func TestGetSnapshots ¶
Types ¶
type ExpectedGetSnapshotByMaturationDateResponse ¶
type ExpectedGetSnapshotByMaturationDateResponse struct {
Resources []types.MaturationDateResource
Maturation_start string
Maturation_end string
}
type ExpectedGetSnapshotRebalanceResponse ¶
type ExpectedGetSnapshotRebalanceResponse struct {
Target_allocation []types.AssetAllocation
Current_allocation []types.AssetAllocation
Change_required []types.AssetAllocation
Snapshot_total float64
Snapshot_total_omit_skips float64
Rebalance_thresh_pct int
}
type ExpectedGetSnapshotsResponse ¶
type ExpectedGetSnapshotsResponse struct {
Snapshots int
Pagination types.PaginationMetadata
}
Click to show internal directories.
Click to hide internal directories.