Documentation
¶
Overview ¶
Copyright 2024 The Tessera authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MigrationStorage ¶
type MigrationStorage struct {
// contains filtered or unexported fields
}
MigrationStorgage implements the tessera.MigrationTarget lifecycle contract.
func (*MigrationStorage) AwaitIntegration ¶
func (*MigrationStorage) IntegratedSize ¶
func (m *MigrationStorage) IntegratedSize(_ context.Context) (uint64, error)
func (*MigrationStorage) SetEntryBundle ¶
type NewTreeFunc ¶
NewTreeFunc is the signature of a function which receives information about newly integrated trees.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage implements storage functions for a POSIX filesystem. It leverages the POSIX atomic operations where needed.
func (*Storage) MigrationWriter ¶
func (s *Storage) MigrationWriter(ctx context.Context, opts *tessera.MigrationOptions) (migrate.MigrationWriter, tessera.LogReader, error)
MigrationWriter creates a new POSIX storage for the MigrationTarget lifecycle mode.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package badger provides a Tessera persistent antispam driver based on BadgerDB (https://github.com/hypermodeinc/badger), a high-performance pure-go DB with KV support.
|
Package badger provides a Tessera persistent antispam driver based on BadgerDB (https://github.com/hypermodeinc/badger), a high-performance pure-go DB with KV support. |