MCPcopy Create free account
hub / github.com/digitalocean/go-libvirt / String

Method String

const_strings.gen.go:2307–2312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2305var _ConnectDomainEventBlockJobStatus_index = [...]uint8{0, 23, 43, 65, 84}
2306
2307func (i ConnectDomainEventBlockJobStatus) String() string {
2308 if i < 0 || i >= ConnectDomainEventBlockJobStatus(len(_ConnectDomainEventBlockJobStatus_index)-1) {
2309 return "ConnectDomainEventBlockJobStatus(" + strconv.FormatInt(int64(i), 10) + ")"
2310 }
2311 return _ConnectDomainEventBlockJobStatus_name[_ConnectDomainEventBlockJobStatus_index[i]:_ConnectDomainEventBlockJobStatus_index[i+1]]
2312}
2313func _() {
2314 // An "invalid array index" compiler error signifies that the constant values have changed.
2315 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected