metadata

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 50

Documentation

Index

Constants

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

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

Variables

View Source
var Version = "1.5.10"

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. Strips off an optional 'v' prefix for semrev tags Return 0 if equal, 1 if v2 > v1, or -1 if v2 < v1.

func GetLevels

func GetLevels(version string) (*db.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