Documentation ¶
Index ¶
- type Mock
- func (m *Mock) AddDimensions(ctx context.Context, i *model.Instance) error
- func (m *Mock) AddVersionDetailsToInstance(ctx context.Context, instanceID string, datasetID string, edition string, ...) error
- func (m *Mock) Checker(ctx context.Context, check *health.CheckState) error
- func (m *Mock) CloneNodes(ctx context.Context, attempt int, instanceID, codeListID, dimensionName string) error
- func (m *Mock) CloneRelationships(ctx context.Context, attempt int, instanceID, codeListID, dimensionName string) error
- func (m *Mock) Close(ctx context.Context) error
- func (m *Mock) CountInsertedObservations(ctx context.Context, instanceID string) (count int64, err error)
- func (m *Mock) CountNodes(ctx context.Context, instanceID, dimensionName string) (count int64, err error)
- func (m *Mock) CreateCodeRelationship(ctx context.Context, i *model.Instance, codeListID, code string) error
- func (m *Mock) CreateInstance(ctx context.Context, i *model.Instance) error
- func (m *Mock) CreateInstanceConstraint(ctx context.Context, i *model.Instance) error
- func (m *Mock) CreateInstanceHierarchyConstraints(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) GetCode(ctx context.Context, codeListID, edition string, code string) (*models.Code, error)
- func (m *Mock) GetCodeDatasets(ctx context.Context, codeListID, edition string, code string) (*models.Datasets, error)
- func (m *Mock) GetCodeList(ctx context.Context, codeListID string) (*models.CodeList, error)
- func (m *Mock) GetCodeLists(ctx context.Context, filterBy string) (*models.CodeListResults, error)
- func (m *Mock) GetCodes(ctx context.Context, codeListID, edition string) (*models.CodeResults, error)
- func (m *Mock) GetEdition(ctx context.Context, codeListID, edition string) (*models.Edition, error)
- func (m *Mock) GetEditions(ctx context.Context, codeListID string) (*models.Editions, error)
- func (m *Mock) GetHierarchyCodelist(ctx context.Context, instanceID, dimension string) (string, error)
- func (m *Mock) GetHierarchyElement(ctx context.Context, instanceID, dimension, code string) (*models.Response, error)
- func (m *Mock) GetHierarchyRoot(ctx context.Context, instanceID, dimension string) (*models.Response, error)
- func (m *Mock) Healthcheck() (string, error)
- func (m *Mock) InsertDimension(ctx context.Context, cache map[string]string, i *model.Instance, ...) (*model.Dimension, error)
- func (m *Mock) InsertObservationBatch(ctx context.Context, attempt int, instanceID string, ...) error
- func (m *Mock) InstanceExists(ctx context.Context, i *model.Instance) (bool, error)
- func (m *Mock) MarkNodesToRemain(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) RemoveNodesNotMarkedToRemain(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) RemoveRemainMarker(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) SetHasData(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) SetInstanceIsPublished(ctx context.Context, instanceID string) error
- func (m *Mock) SetNumberOfChildren(ctx context.Context, attempt int, instanceID, dimensionName string) error
- func (m *Mock) StreamCSVRows(ctx context.Context, filter *observation.Filter, limit *int) (observation.StreamRowReader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) AddDimensions ¶
func (*Mock) AddVersionDetailsToInstance ¶
func (*Mock) CloneNodes ¶
func (*Mock) CloneRelationships ¶
func (*Mock) CountInsertedObservations ¶
func (*Mock) CountNodes ¶
func (*Mock) CreateCodeRelationship ¶
func (*Mock) CreateInstance ¶
func (*Mock) CreateInstanceConstraint ¶
func (*Mock) CreateInstanceHierarchyConstraints ¶
func (*Mock) GetCodeDatasets ¶
func (*Mock) GetCodeList ¶
func (*Mock) GetCodeLists ¶
func (*Mock) GetEdition ¶
func (*Mock) GetEditions ¶
func (*Mock) GetHierarchyCodelist ¶
func (*Mock) GetHierarchyElement ¶
func (*Mock) GetHierarchyRoot ¶
func (*Mock) Healthcheck ¶
func (*Mock) InsertDimension ¶
func (*Mock) InsertObservationBatch ¶
func (*Mock) InstanceExists ¶
func (*Mock) MarkNodesToRemain ¶
func (*Mock) RemoveNodesNotMarkedToRemain ¶
func (*Mock) RemoveRemainMarker ¶
func (*Mock) SetHasData ¶
func (*Mock) SetInstanceIsPublished ¶
func (*Mock) SetNumberOfChildren ¶
func (*Mock) StreamCSVRows ¶
func (m *Mock) StreamCSVRows(ctx context.Context, filter *observation.Filter, limit *int) (observation.StreamRowReader, error)
Click to show internal directories.
Click to hide internal directories.