core

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Synchronizer

type Synchronizer struct {
	// contains filtered or unexported fields
}

func NewSynchronizerClient

func NewSynchronizerClient(adapter adapters.Adapter, conn net.Conn) *Synchronizer

func NewSynchronizerServer

func NewSynchronizerServer(adapter adapters.Adapter, conn net.Conn) *Synchronizer

func (*Synchronizer) DeleteObjectCallback

func (s *Synchronizer) DeleteObjectCallback(ctx context.Context, id domain.ClusterKindName) error

func (*Synchronizer) GetObjectCallback

func (s *Synchronizer) GetObjectCallback(ctx context.Context, id domain.ClusterKindName, baseObject []byte) error

func (*Synchronizer) PatchObjectCallback

func (s *Synchronizer) PatchObjectCallback(ctx context.Context, id domain.ClusterKindName, checksum string, patch []byte) error

func (*Synchronizer) PutObjectCallback

func (s *Synchronizer) PutObjectCallback(ctx context.Context, id domain.ClusterKindName, object []byte) error

func (*Synchronizer) Start

func (s *Synchronizer) Start(mainCtx context.Context) error

func (*Synchronizer) VerifyObjectCallback

func (s *Synchronizer) VerifyObjectCallback(ctx context.Context, id domain.ClusterKindName, checksum string) error

Jump to

Keyboard shortcuts

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