fabric

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func V24Migrate

func V24Migrate(instance metav1.Object, migrator Migrator, version string, timeouts config.DBMigrationTimeouts) error

func V2Migrate

func V2Migrate(instance metav1.Object, migrator Migrator, version string, timeouts config.DBMigrationTimeouts) error

Types

type Migrator

type Migrator interface {
	MigrationNeeded(metav1.Object) bool
	UpgradeDBs(metav1.Object, config.DBMigrationTimeouts) error
	UpdateConfig(metav1.Object, string) error
	SetChaincodeLauncherResourceOnCR(metav1.Object) error
}

type Version

type Version string
const (
	V2 Version = "V2"
)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
v2
mocks
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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