revisionparsing

package
v1.37.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ParseRevisionStringByDatastoreEngineID defines a map from datastore engine ID to its associated revision parsing function.

Functions

func MustParseRevisionForTest added in v1.29.0

func MustParseRevisionForTest(revisionStr string) (rev datastore.Revision)

MustParseRevisionForTest is a convenience ParsingFunc that can be used in tests and panics when parsing an error.

Types

type ParsingFunc

type ParsingFunc func(revisionStr string) (rev datastore.Revision, err error)

ParsingFunc is a function that can parse a string into a revision.

Jump to

Keyboard shortcuts

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