publish

package
v0.0.0-...-094e3b7 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package publish defines methods for publishing rvcs snapshots.

Package publish defines methods for publishing rvcs snapshots.

Package publish defines methods for publishing rvcs snapshots.

Package publish defines methods for publishing rvcs snapshots.

Package publish defines methods for publishing rvcs snapshots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pull

func Pull(ctx context.Context, settings *config.Settings, s *storage.LocalFiles, id *snapshot.Identity) (signature *snapshot.Hash, signed *snapshot.Hash, err error)

func Push

func Push(ctx context.Context, settings *config.Settings, s *storage.LocalFiles, id *snapshot.Identity, signature *snapshot.Hash) (*snapshot.Hash, error)

func Sign

func Sign(ctx context.Context, s *storage.LocalFiles, id *snapshot.Identity, h *snapshot.Hash, prevSignature *snapshot.Hash) (*snapshot.Hash, error)

func Verify

func Verify(ctx context.Context, s *storage.LocalFiles, id *snapshot.Identity, signatureHash *snapshot.Hash) (*snapshot.Hash, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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