MCPcopy Create free account
hub / github.com/cloudbase/garm / IsValid

Method IsValid

params/params.go:54–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52)
53
54func (s RunnerStatus) IsValid() bool {
55 switch s {
56 case RunnerIdle, RunnerPending, RunnerTerminated,
57 RunnerInstalling, RunnerFailed,
58 RunnerActive, RunnerOffline,
59 RunnerUnknown, RunnerOnline:
60
61 return true
62 }
63 return false
64}
65
66const (
67 // PoolBalancerTypeRoundRobin will try to cycle through the pools of an entity

Callers 1

GetStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected