Versions in this module Expand all Collapse all v1 v1.1.5 Jan 29, 2018 Changes in this version + var Constraint_Type_name = map[int32]string + var Constraint_Type_value = map[string]int32 + var ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") + var StaticSplits = []struct{ ... } + var ZoneConfigHook zoneConfigHook + func ObjectIDForKey(key roachpb.RKey) (uint32, bool) + func TestingSetDefaultZoneConfig(cfg ZoneConfig) func() + func TestingSetZoneConfig(id uint32, zone ZoneConfig) + func TestingSetupZoneConfigHook(stopper *stop.Stopper) + type Constraint struct + Key string + Type Constraint_Type + Value string + func (*Constraint) Descriptor() ([]byte, []int) + func (*Constraint) ProtoMessage() + func (c *Constraint) FromString(short string) error + func (c Constraint) String() string + func (m *Constraint) Marshal() (dAtA []byte, err error) + func (m *Constraint) MarshalTo(dAtA []byte) (int, error) + func (m *Constraint) Reset() + func (m *Constraint) Size() (n int) + func (m *Constraint) Unmarshal(dAtA []byte) error + type Constraint_Type int32 + const Constraint_POSITIVE + const Constraint_PROHIBITED + const Constraint_REQUIRED + func (Constraint_Type) EnumDescriptor() ([]byte, []int) + func (x *Constraint_Type) UnmarshalJSON(data []byte) error + func (x Constraint_Type) Enum() *Constraint_Type + func (x Constraint_Type) String() string + type Constraints struct + Constraints []Constraint + func (*Constraints) Descriptor() ([]byte, []int) + func (*Constraints) ProtoMessage() + func (c *Constraints) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c Constraints) MarshalYAML() (interface{}, error) + func (m *Constraints) Marshal() (dAtA []byte, err error) + func (m *Constraints) MarshalTo(dAtA []byte) (int, error) + func (m *Constraints) Reset() + func (m *Constraints) Size() (n int) + func (m *Constraints) String() string + func (m *Constraints) Unmarshal(dAtA []byte) error + type GCPolicy struct + TTLSeconds int32 + func (*GCPolicy) Descriptor() ([]byte, []int) + func (*GCPolicy) ProtoMessage() + func (m *GCPolicy) Marshal() (dAtA []byte, err error) + func (m *GCPolicy) MarshalTo(dAtA []byte) (int, error) + func (m *GCPolicy) Reset() + func (m *GCPolicy) Size() (n int) + func (m *GCPolicy) String() string + func (m *GCPolicy) Unmarshal(dAtA []byte) error + type SystemConfig struct + Values []cockroach_roachpb1.KeyValue + func (*SystemConfig) Descriptor() ([]byte, []int) + func (*SystemConfig) ProtoMessage() + func (m *SystemConfig) Marshal() (dAtA []byte, err error) + func (m *SystemConfig) MarshalTo(dAtA []byte) (int, error) + func (m *SystemConfig) Reset() + func (m *SystemConfig) Size() (n int) + func (m *SystemConfig) String() string + func (m *SystemConfig) Unmarshal(dAtA []byte) error + func (s SystemConfig) ComputeSplitKey(startKey, endKey roachpb.RKey) roachpb.RKey + func (s SystemConfig) Equal(other SystemConfig) bool + func (s SystemConfig) GetIndex(key roachpb.Key) (int, bool) + func (s SystemConfig) GetLargestObjectID(maxID uint32) (uint32, error) + func (s SystemConfig) GetValue(key roachpb.Key) *roachpb.Value + func (s SystemConfig) GetZoneConfigForKey(key roachpb.RKey) (ZoneConfig, error) + func (s SystemConfig) NeedsSplit(startKey, endKey roachpb.RKey) bool + type ZoneConfig struct + Constraints Constraints + GC GCPolicy + NumReplicas int32 + RangeMaxBytes int64 + RangeMinBytes int64 + ReplicaAttrs []cockroach_roachpb.Attributes + func DefaultZoneConfig() ZoneConfig + func MigrateZoneConfig(value *roachpb.Value) (ZoneConfig, error) + func (*ZoneConfig) Descriptor() ([]byte, []int) + func (*ZoneConfig) ProtoMessage() + func (m *ZoneConfig) Marshal() (dAtA []byte, err error) + func (m *ZoneConfig) MarshalTo(dAtA []byte) (int, error) + func (m *ZoneConfig) Reset() + func (m *ZoneConfig) Size() (n int) + func (m *ZoneConfig) String() string + func (m *ZoneConfig) Unmarshal(dAtA []byte) error + func (z ZoneConfig) Validate() error