Documentation ¶
Overview ¶
Package namespace is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/dbnode/generated/proto/namespace/namespace.proto
It has these top-level messages:
RetentionOptions IndexOptions NamespaceOptions Registry
Index ¶
- Variables
- type IndexOptions
- func (*IndexOptions) Descriptor() ([]byte, []int)
- func (m *IndexOptions) GetBlockSizeNanos() int64
- func (m *IndexOptions) GetEnabled() bool
- func (m *IndexOptions) Marshal() (dAtA []byte, err error)
- func (m *IndexOptions) MarshalTo(dAtA []byte) (int, error)
- func (*IndexOptions) ProtoMessage()
- func (m *IndexOptions) Reset()
- func (m *IndexOptions) Size() (n int)
- func (m *IndexOptions) String() string
- func (m *IndexOptions) Unmarshal(dAtA []byte) error
- type NamespaceOptions
- func (*NamespaceOptions) Descriptor() ([]byte, []int)
- func (m *NamespaceOptions) GetBootstrapEnabled() bool
- func (m *NamespaceOptions) GetCleanupEnabled() bool
- func (m *NamespaceOptions) GetFlushEnabled() bool
- func (m *NamespaceOptions) GetIndexOptions() *IndexOptions
- func (m *NamespaceOptions) GetRepairEnabled() bool
- func (m *NamespaceOptions) GetRetentionOptions() *RetentionOptions
- func (m *NamespaceOptions) GetSnapshotEnabled() bool
- func (m *NamespaceOptions) GetWritesToCommitLog() bool
- func (m *NamespaceOptions) Marshal() (dAtA []byte, err error)
- func (m *NamespaceOptions) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceOptions) ProtoMessage()
- func (m *NamespaceOptions) Reset()
- func (m *NamespaceOptions) Size() (n int)
- func (m *NamespaceOptions) String() string
- func (m *NamespaceOptions) Unmarshal(dAtA []byte) error
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)
- func (m *Registry) GetNamespaces() map[string]*NamespaceOptions
- func (m *Registry) Marshal() (dAtA []byte, err error)
- func (m *Registry) MarshalTo(dAtA []byte) (int, error)
- func (*Registry) ProtoMessage()
- func (m *Registry) Reset()
- func (m *Registry) Size() (n int)
- func (m *Registry) String() string
- func (m *Registry) Unmarshal(dAtA []byte) error
- type RetentionOptions
- func (*RetentionOptions) Descriptor() ([]byte, []int)
- func (m *RetentionOptions) GetBlockDataExpiry() bool
- func (m *RetentionOptions) GetBlockDataExpiryAfterNotAccessPeriodNanos() int64
- func (m *RetentionOptions) GetBlockSizeNanos() int64
- func (m *RetentionOptions) GetBufferFutureNanos() int64
- func (m *RetentionOptions) GetBufferPastNanos() int64
- func (m *RetentionOptions) GetRetentionPeriodNanos() int64
- func (m *RetentionOptions) Marshal() (dAtA []byte, err error)
- func (m *RetentionOptions) MarshalTo(dAtA []byte) (int, error)
- func (*RetentionOptions) ProtoMessage()
- func (m *RetentionOptions) Reset()
- func (m *RetentionOptions) Size() (n int)
- func (m *RetentionOptions) String() string
- func (m *RetentionOptions) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNamespace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNamespace = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type IndexOptions ¶
type IndexOptions struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` BlockSizeNanos int64 `protobuf:"varint,2,opt,name=blockSizeNanos,proto3" json:"blockSizeNanos,omitempty"` }
func (*IndexOptions) Descriptor ¶
func (*IndexOptions) Descriptor() ([]byte, []int)
func (*IndexOptions) GetBlockSizeNanos ¶
func (m *IndexOptions) GetBlockSizeNanos() int64
func (*IndexOptions) GetEnabled ¶
func (m *IndexOptions) GetEnabled() bool
func (*IndexOptions) Marshal ¶
func (m *IndexOptions) Marshal() (dAtA []byte, err error)
func (*IndexOptions) ProtoMessage ¶
func (*IndexOptions) ProtoMessage()
func (*IndexOptions) Reset ¶
func (m *IndexOptions) Reset()
func (*IndexOptions) Size ¶
func (m *IndexOptions) Size() (n int)
func (*IndexOptions) String ¶
func (m *IndexOptions) String() string
func (*IndexOptions) Unmarshal ¶
func (m *IndexOptions) Unmarshal(dAtA []byte) error
type NamespaceOptions ¶
type NamespaceOptions struct { BootstrapEnabled bool `protobuf:"varint,1,opt,name=bootstrapEnabled,proto3" json:"bootstrapEnabled,omitempty"` FlushEnabled bool `protobuf:"varint,2,opt,name=flushEnabled,proto3" json:"flushEnabled,omitempty"` WritesToCommitLog bool `protobuf:"varint,3,opt,name=writesToCommitLog,proto3" json:"writesToCommitLog,omitempty"` CleanupEnabled bool `protobuf:"varint,4,opt,name=cleanupEnabled,proto3" json:"cleanupEnabled,omitempty"` RepairEnabled bool `protobuf:"varint,5,opt,name=repairEnabled,proto3" json:"repairEnabled,omitempty"` RetentionOptions *RetentionOptions `protobuf:"bytes,6,opt,name=retentionOptions" json:"retentionOptions,omitempty"` SnapshotEnabled bool `protobuf:"varint,7,opt,name=snapshotEnabled,proto3" json:"snapshotEnabled,omitempty"` IndexOptions *IndexOptions `protobuf:"bytes,8,opt,name=indexOptions" json:"indexOptions,omitempty"` }
func (*NamespaceOptions) Descriptor ¶
func (*NamespaceOptions) Descriptor() ([]byte, []int)
func (*NamespaceOptions) GetBootstrapEnabled ¶
func (m *NamespaceOptions) GetBootstrapEnabled() bool
func (*NamespaceOptions) GetCleanupEnabled ¶
func (m *NamespaceOptions) GetCleanupEnabled() bool
func (*NamespaceOptions) GetFlushEnabled ¶
func (m *NamespaceOptions) GetFlushEnabled() bool
func (*NamespaceOptions) GetIndexOptions ¶
func (m *NamespaceOptions) GetIndexOptions() *IndexOptions
func (*NamespaceOptions) GetRepairEnabled ¶
func (m *NamespaceOptions) GetRepairEnabled() bool
func (*NamespaceOptions) GetRetentionOptions ¶
func (m *NamespaceOptions) GetRetentionOptions() *RetentionOptions
func (*NamespaceOptions) GetSnapshotEnabled ¶
func (m *NamespaceOptions) GetSnapshotEnabled() bool
func (*NamespaceOptions) GetWritesToCommitLog ¶
func (m *NamespaceOptions) GetWritesToCommitLog() bool
func (*NamespaceOptions) Marshal ¶
func (m *NamespaceOptions) Marshal() (dAtA []byte, err error)
func (*NamespaceOptions) ProtoMessage ¶
func (*NamespaceOptions) ProtoMessage()
func (*NamespaceOptions) Reset ¶
func (m *NamespaceOptions) Reset()
func (*NamespaceOptions) Size ¶
func (m *NamespaceOptions) Size() (n int)
func (*NamespaceOptions) String ¶
func (m *NamespaceOptions) String() string
func (*NamespaceOptions) Unmarshal ¶
func (m *NamespaceOptions) Unmarshal(dAtA []byte) error
type Registry ¶
type Registry struct {
Namespaces map[string]*NamespaceOptions `` /* 147-byte string literal not displayed */
}
func (*Registry) Descriptor ¶
func (*Registry) GetNamespaces ¶
func (m *Registry) GetNamespaces() map[string]*NamespaceOptions
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
type RetentionOptions ¶
type RetentionOptions struct { RetentionPeriodNanos int64 `protobuf:"varint,1,opt,name=retentionPeriodNanos,proto3" json:"retentionPeriodNanos,omitempty"` BlockSizeNanos int64 `protobuf:"varint,2,opt,name=blockSizeNanos,proto3" json:"blockSizeNanos,omitempty"` BufferFutureNanos int64 `protobuf:"varint,3,opt,name=bufferFutureNanos,proto3" json:"bufferFutureNanos,omitempty"` BufferPastNanos int64 `protobuf:"varint,4,opt,name=bufferPastNanos,proto3" json:"bufferPastNanos,omitempty"` BlockDataExpiry bool `protobuf:"varint,5,opt,name=blockDataExpiry,proto3" json:"blockDataExpiry,omitempty"` BlockDataExpiryAfterNotAccessPeriodNanos int64 `` /* 134-byte string literal not displayed */ }
func (*RetentionOptions) Descriptor ¶
func (*RetentionOptions) Descriptor() ([]byte, []int)
func (*RetentionOptions) GetBlockDataExpiry ¶
func (m *RetentionOptions) GetBlockDataExpiry() bool
func (*RetentionOptions) GetBlockDataExpiryAfterNotAccessPeriodNanos ¶
func (m *RetentionOptions) GetBlockDataExpiryAfterNotAccessPeriodNanos() int64
func (*RetentionOptions) GetBlockSizeNanos ¶
func (m *RetentionOptions) GetBlockSizeNanos() int64
func (*RetentionOptions) GetBufferFutureNanos ¶
func (m *RetentionOptions) GetBufferFutureNanos() int64
func (*RetentionOptions) GetBufferPastNanos ¶
func (m *RetentionOptions) GetBufferPastNanos() int64
func (*RetentionOptions) GetRetentionPeriodNanos ¶
func (m *RetentionOptions) GetRetentionPeriodNanos() int64
func (*RetentionOptions) Marshal ¶
func (m *RetentionOptions) Marshal() (dAtA []byte, err error)
func (*RetentionOptions) ProtoMessage ¶
func (*RetentionOptions) ProtoMessage()
func (*RetentionOptions) Reset ¶
func (m *RetentionOptions) Reset()
func (*RetentionOptions) Size ¶
func (m *RetentionOptions) Size() (n int)
func (*RetentionOptions) String ¶
func (m *RetentionOptions) String() string
func (*RetentionOptions) Unmarshal ¶
func (m *RetentionOptions) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.