MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / prefixifyForMachine

Method prefixifyForMachine

datasource/etcd_machine.go:248–251  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

246}
247
248func (m *etcdMachineInterface) prefixifyForMachine(key string) string {
249 return path.Join(m.etcdDS.ClusterName(), etcdMachinesDirName, m.Hostname(),
250 key)
251}
252
253func (m *etcdMachineInterface) selfGet(key string) (string, error) {
254 return m.etcdDS.get(m.prefixifyForMachine(key))

Callers 3

selfGetMethod · 0.95
selfSetMethod · 0.95
selfDeleteMethod · 0.95

Calls 2

HostnameMethod · 0.95
ClusterNameMethod · 0.65

Tested by

no test coverage detected