iou

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViewCallsOperationsMetric = "fsc_view_services_view_calls_operations"
)

Variables

This section is empty.

Functions

func CheckJaegerTraces added in v0.4.1

func CheckJaegerTraces(ii *integration.Infrastructure, nodeName, viewName string, spanMatcher gomega.OmegaMatcher)

func CheckLocalMetrics added in v0.4.0

func CheckLocalMetrics(ii *integration.Infrastructure, user string, viewName string)

func CheckPrometheusMetrics added in v0.4.0

func CheckPrometheusMetrics(ii *integration.Infrastructure, viewName string)

func CheckState

func CheckState(ii *integration.Infrastructure, partyID, iouStateID string, expected int)

func CreateIOU

func CreateIOU(ii *integration.Infrastructure, identityLabel string, amount uint, approver string) string

func CreateIOUWithBorrower added in v0.4.0

func CreateIOUWithBorrower(ii *integration.Infrastructure, borrower, identityLabel string, amount uint, approver string) string

func InitApprover

func InitApprover(ii *integration.Infrastructure, approver string)

func Topology

func Topology(opts *Opts) []api.Topology

func UpdateIOU

func UpdateIOU(ii *integration.Infrastructure, iouStateID string, amount uint, approver string)

func UpdateIOUWithBorrower added in v0.4.0

func UpdateIOUWithBorrower(ii *integration.Infrastructure, borrower, iouStateID string, amount uint, approver string)

Types

type Opts added in v0.4.0

type Opts struct {
	SDK             api2.SDK
	CommType        fsc.P2PCommunicationType
	ReplicationOpts *integration.ReplicationOptions
	TLSEnabled      bool
}

type SDK added in v0.4.0

type SDK struct {
	dig2.SDK
}

func NewSDK added in v0.4.0

func NewSDK(registry services.Registry) *SDK

func (*SDK) Install added in v0.4.0

func (p *SDK) Install() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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