Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalIdentity ¶
type GlobalIdentity struct {
labels.LabelArray
}
GlobalIdentity is the structure used to store an identity
func (*GlobalIdentity) GetAsMap ¶
func (gi *GlobalIdentity) GetAsMap() map[string]string
GetAsMap encodes a GlobalIdentity a map of keys to values. The keys will include a source delimted by a ':'. This output is pareable by PutKeyFromMap.
func (*GlobalIdentity) GetKey ¶
func (gi *GlobalIdentity) GetKey() string
GetKey encodes an Identity as string
func (*GlobalIdentity) PutKey ¶
func (gi *GlobalIdentity) PutKey(v string) allocator.AllocatorKey
PutKey decodes an Identity from its string representation
func (*GlobalIdentity) PutKeyFromMap ¶
func (gi *GlobalIdentity) PutKeyFromMap(v map[string]string) allocator.AllocatorKey
PutKeyFromMap decodes an Identity from a map of key to value. Output from GetAsMap can be parsed. Note: NewLabelArrayFromMap will parse the ':' separated label source from the keys because the source parameter is ""
Click to show internal directories.
Click to hide internal directories.