ksync

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Synchronized

func Synchronized(store layerfs.Store, client client.Client, nodeName string) layerfs.Store

Types

type Updater

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

func (*Updater) PrepareCommit

func (u *Updater) PrepareCommit(ctx context.Context, cacheName types.NamespacedName, nodeName, volumeName string) (commit bool, err error)

func (*Updater) RegisterCacheVolume

func (u *Updater) RegisterCacheVolume(ctx context.Context, cacheName types.NamespacedName, nodeName, volumeName, defaultImage string, commit bool) (image string, err error)

func (*Updater) UnregisterCacheVolume

func (u *Updater) UnregisterCacheVolume(ctx context.Context, cacheName types.NamespacedName, nodeName, volumeName string, commitErr error) error

Jump to

Keyboard shortcuts

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