blob

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 0 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID string

ID is an opaque *locally* unique identifier for a blob. A blob is a data layer-provided sequence of bytes which can be used to reconstitute a snapshot of a volume. An ID can only be used with the data layer instance from which it was obtained.

func NewID

func NewID(s string) ID

NewID creates a ID from a string returned from a previous call to ID.String.

func NilID

func NilID() ID

NilID returns an empty ID.

func (ID) Equals

func (id ID) Equals(target ID) bool

Equals ..

func (ID) IsNilID

func (id ID) IsNilID() bool

IsNilID ...

func (ID) String

func (id ID) String() string

String ...

Jump to

Keyboard shortcuts

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