metadata

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IdentityLevel is the current level of identities
	IdentityLevel = 1
	// AffiliationLevel is the current level of affiliations
	AffiliationLevel = 0
	// CertificateLevel is the current level of certificates
	CertificateLevel = 0
)

Current levels which are incremented each time there is a change which requires database migration

Variables

View Source
var Version = "1.2.0"

Version specifies fabric-ca-client/fabric-ca-server version It is defined by the Makefile and passed in with ldflags

Functions

func CmpVersion

func CmpVersion(v1, v2 string) (int, error)

CmpVersion compares version v1 to v2. Return 0 if equal, 1 if v2 > v1, or -1 if v2 < v1.

func GetLevels

func GetLevels(version string) (*dbutil.Levels, error)

GetLevels returns the levels for a particular version

func GetVersion

func GetVersion() string

GetVersion returns the version

func GetVersionInfo

func GetVersionInfo(prgName string) string

GetVersionInfo returns version information for the fabric-ca-client/fabric-ca-server

Types

This section is empty.

Jump to

Keyboard shortcuts

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