Documentation
¶
Index ¶
Constants ¶
View Source
const ( // A pair of constants used for creating actual experience data for test experiences ExpectedExperienceNameFile string = "experience_name.txt" ExpectedExperienceNameBase64File string = "experience_name.base64" // Output File Names TestMCAPFile string = "test.mcap" TestMP4File string = "test.mp4" APIHostKey = "api-host" AuthHostKey = "auth-host" LocalImageKey = "local-image" PoolLabelsKey = "pool-labels" UsernameKey = "username" PasswordKey = "password" AgentNameKey = "name" ExperienceBucketKey = "experience-bucket" EnvPrefix = "AGENT_TEST" LogLevelKey = "log-level" )
Variables ¶
This section is empty.
Functions ¶
func Base64EncodeString ¶
func CheckAPIAvailability ¶
func ListExpectedOutputFiles ¶
func ListExpectedOutputFiles() []string
Types ¶
type AgentTestSuite ¶
type AgentTestSuite struct { suite.Suite APIClient *api.ClientWithResponses AuthHost string APIHost string // contains filtered or unexported fields }
func NewAgentTestSuiteWithAPIClient ¶
func NewAgentTestSuiteWithAPIClient( username, password, tokenURL, apiHost, authHost, experienceBucket, poolLabel string, ) (*AgentTestSuite, error)
Click to show internal directories.
Click to hide internal directories.