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

Method String

const_strings.gen.go:3699–3704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3697var _SecretEventID_index = [...]uint8{0, 22, 47}
3698
3699func (i SecretEventID) String() string {
3700 if i < 0 || i >= SecretEventID(len(_SecretEventID_index)-1) {
3701 return "SecretEventID(" + strconv.FormatInt(int64(i), 10) + ")"
3702 }
3703 return _SecretEventID_name[_SecretEventID_index[i]:_SecretEventID_index[i+1]]
3704}
3705func _() {
3706 // An "invalid array index" compiler error signifies that the constant values have changed.
3707 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

SecretEventIDTypeAlias · 0.85

Tested by

no test coverage detected