Versions in this module Expand all Collapse all v0 v0.2.5 Jun 10, 2025 Changes in this version + var StreamFixtureEventIDs1 = []uuid.UUID + var StreamFixtureEventIDs2 = []uuid.UUID + func AssertInstanceStatesEqual(expected, actual *state.InstanceState, s *suite.Suite) + func AssertInstanceStatusInfo(expected state.InstanceStatusInfo, actual state.InstanceState, s *suite.Suite) + func AssertLinkStatesEqual(expected *state.LinkState, actual *state.LinkState, s *suite.Suite) + func AssertLinkStatusInfo(expected state.LinkStatusInfo, actual state.LinkState, s *suite.Suite) + func AssertResourceDriftEqual(expected, actual *state.ResourceDriftState, s *suite.Suite) + func AssertResourceStatesEqual(expected, actual *state.ResourceState, s *suite.Suite) + func AssertResourceStatusInfo(expected state.ResourceStatusInfo, actual state.ResourceState, s *suite.Suite) + func CreateTestInstanceStatusInfo() state.InstanceStatusInfo + func CreateTestLinkStatusInfo() state.LinkStatusInfo + func CreateTestResourceStatusInfo() state.ResourceStatusInfo + func IsEmptyDriftState(actual state.ResourceDriftState) bool + func SaveAllExportsInput() map[string]*state.ExportState + func SaveMetadataInput() map[string]*core.MappingNode + func SaveSingleExportInput() state.ExportState + func SetupSaveBlueprintFixtures(dirPath string, updates []int) (map[int]SaveBlueprintFixture, error) + func SetupSaveBlueprintValidationFixtures(dirPath string) (map[int]SaveBlueprintValidationFixture, error) + func SetupSaveChangesetFixtures(dirPath string) (map[int]SaveChangesetFixture, error) + func SetupSaveEventFixtures(dirPath string) (map[int]SaveEventFixture, error) + func SetupSaveLinkFixtures(dirPath string, updates []int) (map[int]SaveLinkFixture, error) + func SetupSaveResourceDriftFixtures(dirPath string, updates []int) (map[int]SaveResourceDriftFixture, error) + func SetupSaveResourceFixtures(dirPath string, updates []int) (map[int]SaveResourceFixture, error) + func TestEndOfEventStream(events manage.Events, channelType string, channelID string, s *suite.Suite) + func TestStreamEvents(fixtures []SaveEventFixture, events manage.Events, channelType string, ...) + type MockClock struct + Timestamp int64 + func (m *MockClock) Now() time.Time + type SaveBlueprintFixture struct + InstanceState *state.InstanceState + Update bool + type SaveBlueprintValidationFixture struct + Validation *manage.BlueprintValidation + type SaveChangesetFixture struct + Changeset *manage.Changeset + type SaveEventFixture struct + Event *manage.Event + func CreateEventStreamSaveFixtures(channelType string, channelID string, streamFixtureEventIDs []uuid.UUID) ([]SaveEventFixture, error) + type SaveLinkFixture struct + LinkState *state.LinkState + Update bool + type SaveResourceDriftFixture struct + DriftState *state.ResourceDriftState + Update bool + type SaveResourceFixture struct + ResourceState *state.ResourceState + Update bool