Documentation
¶
Overview ¶
Registers datastore entries for tests that call service.DatastoreSpec(). Import this package from any test package that needs a complete spec. Keep entries in sync with each plugin's DatastoreEntries() implementation.
Index ¶
- func GetAgentTemplateArtifactTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetAgentTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetCatalogMetricsArtifactTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetCatalogModelArtifactTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetCatalogModelTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetCatalogSourceTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetMCPServerToolTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func GetMCPServerTypeIDForDBTest(t *testing.T, db *gorm.DB) int32
- func MustDatastoreSpec(t *testing.T) *datastore.Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgentTemplateArtifactTypeIDForDBTest ¶ added in v0.3.11
GetAgentTemplateArtifactTypeIDForDBTest retrieves the AgentTemplateArtifact type ID for testing
func GetAgentTypeIDForDBTest ¶ added in v0.3.11
GetAgentTypeIDForDBTest retrieves the Agent type ID for testing
func GetCatalogMetricsArtifactTypeIDForDBTest ¶
GetCatalogMetricsArtifactTypeIDForDBTest retrieves the CatalogMetricsArtifact type ID for testing
func GetCatalogModelArtifactTypeIDForDBTest ¶
GetCatalogModelArtifactTypeIDForDBTest retrieves the CatalogModelArtifact type ID for testing
func GetCatalogModelTypeIDForDBTest ¶
GetCatalogModelTypeIDForDBTest retrieves the CatalogModel type ID for testing
func GetCatalogSourceTypeIDForDBTest ¶
GetCatalogSourceTypeIDForDBTest retrieves the CatalogSource type ID for testing
func GetMCPServerToolTypeIDForDBTest ¶
GetMCPServerToolTypeIDForDBTest retrieves the MCPServerTool type ID for testing
func GetMCPServerTypeIDForDBTest ¶
GetMCPServerTypeIDForDBTest retrieves the MCPServer type ID for testing
Types ¶
This section is empty.