Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
Meta *NodeMetadata
Mappings map[uint64]*Pod
// contains filtered or unexported fields
}
func (*Node) SetNamespace ¶
type NodeMetadata ¶
func (*NodeMetadata) SetNamespace ¶
func (m *NodeMetadata) SetNamespace(namespace string)
type Pod ¶
type Pod struct {
Meta *PodMetadata
Key []byte
Data []byte
}
type PodMetadata ¶
type PodMetadata struct {
NamespaceSize *uint32
KeySize uint32
ValueSize uint32
TTL uint32
// LastUpdated is a timestamp
LastUpdated uint64
Namespace *string
// contains filtered or unexported fields
}
func (*PodMetadata) EqualState ¶
func (m *PodMetadata) EqualState(state PodState) bool
func (*PodMetadata) PayloadSize ¶
func (m *PodMetadata) PayloadSize() int64
func (*PodMetadata) State ¶
func (m *PodMetadata) State() PodState
Click to show internal directories.
Click to hide internal directories.