objectstoresynchronizer

package
v0.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelSynchronizer

type ChannelSynchronizer struct {
	EnableForClusterNamespace bool
	EnableForChannel          bool

	ObjectStore       utils.ObjectStore
	Signal            <-chan struct{}
	SyncInterval      int
	ChannelDescriptor *utils.ChannelDescriptor
	// contains filtered or unexported fields
}

ChannelSynchronizer syncs objectbucket channels with ObjectStore

func CreateObjectStoreSynchronizer

func CreateObjectStoreSynchronizer(config *rest.Config, chdesc *utils.ChannelDescriptor, syncInterval int) (*ChannelSynchronizer, error)

CreateSynchronizer - creates an instance of ChannelSynchronizer

func (*ChannelSynchronizer) Start

func (sync *ChannelSynchronizer) Start(s <-chan struct{}) error

Start - starts the sync process

Jump to

Keyboard shortcuts

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