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

Method String

const_strings.gen.go:654–659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

652var _DomainModificationImpact_index = [...]uint8{0, 19, 35, 53}
653
654func (i DomainModificationImpact) String() string {
655 if i < 0 || i >= DomainModificationImpact(len(_DomainModificationImpact_index)-1) {
656 return "DomainModificationImpact(" + strconv.FormatInt(int64(i), 10) + ")"
657 }
658 return _DomainModificationImpact_name[_DomainModificationImpact_index[i]:_DomainModificationImpact_index[i+1]]
659}
660func _() {
661 // An "invalid array index" compiler error signifies that the constant values have changed.
662 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

DomainModificationImpactTypeAlias · 0.85

Tested by

no test coverage detected