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

Method String

const_strings.gen.go:3885–3890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3883var _StorageVolWipeAlgorithm_index = [...]uint8{0, 21, 42, 62, 82, 106, 131, 157, 184, 207, 228}
3884
3885func (i StorageVolWipeAlgorithm) String() string {
3886 if i < 0 || i >= StorageVolWipeAlgorithm(len(_StorageVolWipeAlgorithm_index)-1) {
3887 return "StorageVolWipeAlgorithm(" + strconv.FormatInt(int64(i), 10) + ")"
3888 }
3889 return _StorageVolWipeAlgorithm_name[_StorageVolWipeAlgorithm_index[i]:_StorageVolWipeAlgorithm_index[i+1]]
3890}
3891func _() {
3892 // An "invalid array index" compiler error signifies that the constant values have changed.
3893 // Re-run the stringer command to generate them again.

Callers

nothing calls this directly

Calls 1

StorageVolWipeAlgorithmTypeAlias · 0.85

Tested by

no test coverage detected