Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding some virtual engines #2

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions services/eta/call_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,19 @@ type EtaEngine int
const (
EtaEngineV1 EtaEngine = iota
EtaEngineV2

EtaEngineNostradamus
EtaEngineOcelot
EtaEngineOrca

EtaEngineAnt
EtaEngineHive
EtaEngineOlympus
EtaEngineCrew
EtaEnginePluck
EtaEngineGiraffe
EtaEngineFork
EtaEnginePulse
)

// String casts the engine enum to its string value.
Expand All @@ -26,6 +36,23 @@ func (engine EtaEngine) String() string {
return "ocelot"
case EtaEngineOrca:
return "orca"

case EtaEngineAnt:
return "ant"
case EtaEngineHive:
return "hive"
case EtaEngineOlympus:
return "olympus"
case EtaEngineCrew:
return "crew"
case EtaEnginePluck:
return "pluck"
case EtaEngineGiraffe:
return "giraffe"
case EtaEngineFork:
return "fork"
case EtaEnginePulse:
return "pulse"
}
return "v1"
}
Expand Down
28 changes: 28 additions & 0 deletions services/matrix/call_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ type MatrixEngine int
const (
MatrixEngineV1 MatrixEngine = iota
MatrixEngineV2

MatrixEngineOcelot
MatrixEngineOrca

MatrixEngineAnt
MatrixEngineHive
MatrixEngineOlympus
MatrixEngineCrew
MatrixEnginePluck
MatrixEngineGiraffe
MatrixEngineFork
MatrixEnginePulse
)

// String casts the engine enum to its string value.
Expand All @@ -18,10 +28,28 @@ func (engine MatrixEngine) String() string {
return "v1"
case MatrixEngineV2:
return "v2"

case MatrixEngineOcelot:
return "ocelot"
case MatrixEngineOrca:
return "orca"

case MatrixEngineAnt:
return "ant"
case MatrixEngineHive:
return "hive"
case MatrixEngineOlympus:
return "olympus"
case MatrixEngineCrew:
return "crew"
case MatrixEnginePluck:
return "pluck"
case MatrixEngineGiraffe:
return "giraffe"
case MatrixEngineFork:
return "fork"
case MatrixEnginePulse:
return "pulse"
}
return "v1"
}
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package version
import "fmt"

const (
Version = "v0.9.14"
Version = "v0.9.15"
UserAgentHeader = "User-Agent"
)

Expand Down
Loading