install

package
v0.0.0-...-ca45133 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, signingID identity.SigningIdentity, options ...Option) error

Types

type Option

type Option = func(*command) error

func WithCallOptions

func WithCallOptions(options ...grpc.CallOption) Option

WithCallOptions specifies the gRPC call options to be used.

func WithChaincodePackage

func WithChaincodePackage(chaincodePackageReader io.Reader) Option

WithChaincodePackage supplies the chaincode package to be installed.

func WithChaincodePackageBytes

func WithChaincodePackageBytes(chaincodePackage []byte) Option

WithChaincodePackageBytes supplies the chaincode package to be installed.

func WithClientConnection

func WithClientConnection(clientConnection grpc.ClientConnInterface) Option

WithClientConnection uses the supplied gRPC client connection. This should be shared by all commands connecting to the same network node.

Jump to

Keyboard shortcuts

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