namespace

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 6 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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) MarshalTo

func (m *IndexOptions) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *NamespaceOptions) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Registry) GetNamespaces

func (m *Registry) GetNamespaces() map[string]*NamespaceOptions

func (*Registry) Marshal

func (m *Registry) Marshal() (dAtA []byte, err error)

func (*Registry) MarshalTo

func (m *Registry) MarshalTo(dAtA []byte) (int, error)

func (*Registry) ProtoMessage

func (*Registry) ProtoMessage()

func (*Registry) Reset

func (m *Registry) Reset()

func (*Registry) Size

func (m *Registry) Size() (n int)

func (*Registry) String

func (m *Registry) String() string

func (*Registry) Unmarshal

func (m *Registry) Unmarshal(dAtA []byte) error

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) MarshalTo

func (m *RetentionOptions) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL