open-vault/vendor/github.com/SAP/go-hdb/internal/protocol/topologyoption_string.go

18 lines
628 B
Go
Raw Normal View History

// generated by stringer -type=topologyOption; DO NOT EDIT
package protocol
import "fmt"
const _topologyOption_name = "toHostNametoHostPortnumbertoTenantNametoLoadfactortoVolumeIDtoIsMastertoIsCurrentSessiontoServiceTypetoNetworkDomaintoIsStandbytoAllIPAddressestoAllHostNames"
var _topologyOption_index = [...]uint8{0, 10, 26, 38, 50, 60, 70, 88, 101, 116, 127, 143, 157}
func (i topologyOption) String() string {
i -= 1
if i < 0 || i >= topologyOption(len(_topologyOption_index)-1) {
return fmt.Sprintf("topologyOption(%d)", i+1)
}
return _topologyOption_name[_topologyOption_index[i]:_topologyOption_index[i+1]]
}