ndid

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddErrorCode

func AddErrorCode(t *testing.T, nodeID, privK string, param app.AddErrorCodeParam, expected string)

func AddNamespace

func AddNamespace(t *testing.T, nodeID, privK string, param app.AddNamespaceParam)

func AddService

func AddService(t *testing.T, nodeID, privK string, param app.AddServiceParam)

func EndInit

func EndInit(t *testing.T, nodeID, privK string, param app.EndInitParam)

func InitNDID

func InitNDID(t *testing.T, nodeID, privK string, param app.InitNDIDParam)

func IsInitEnded

func IsInitEnded(t *testing.T, expected bool)

func RegisterNode

func RegisterNode(t *testing.T, nodeID, privK string, param app.RegisterNodeParam)

func RegisterServiceDestinationByNDID

func RegisterServiceDestinationByNDID(t *testing.T, nodeID, privK string, param app.RegisterServiceDestinationByNDIDParam, expected string)

func RemoveErrorCode

func RemoveErrorCode(t *testing.T, nodeID, privK string, param app.RemoveErrorCodeParam, expected string)

func SetAllowedMinIalForRegisterIdentityAtFirstIdp

func SetAllowedMinIalForRegisterIdentityAtFirstIdp(t *testing.T, nodeID, privK string, param app.SetAllowedMinIalForRegisterIdentityAtFirstIdpParam)

func SetNodeToken

func SetNodeToken(t *testing.T, nodeID, privK string, param app.SetNodeTokenParam)

func TestAddErrorCode

func TestAddErrorCode(t *testing.T, errorCodeType string, errorCode int32, description string, expected string)

func TestAddNamespace

func TestAddNamespace(t *testing.T, namespace string)

func TestAddService

func TestAddService(t *testing.T, serviceID string)

func TestInitNDID

func TestInitNDID(t *testing.T)

func TestNDIDSetAllowedMinIalForRegisterIdentityAtFirstIdp

func TestNDIDSetAllowedMinIalForRegisterIdentityAtFirstIdp(t *testing.T)

func TestNDIDUpdateNamespace

func TestNDIDUpdateNamespace(t *testing.T)

func TestQueryGetAllowedMinIalForRegisterIdentityAtFirstIdp

func TestQueryGetAllowedMinIalForRegisterIdentityAtFirstIdp(t *testing.T)

func TestQueryGetNamespaceList

func TestQueryGetNamespaceList(t *testing.T, expected string)

func TestRegisterNode

func TestRegisterNode(t *testing.T, nodeID string)

func TestRegisterServiceDestinationByNDID

func TestRegisterServiceDestinationByNDID(t *testing.T, caseID int64, expected string)

func TestRemoveErrorCode

func TestRemoveErrorCode(t *testing.T, errorCodeType string, errorCode int32, expected string)

func TestSetNodeToken

func TestSetNodeToken(t *testing.T, nodeID string, amount float64)

func UpdateNamespace

func UpdateNamespace(t *testing.T, nodeID, privK string, param app.UpdateNamespaceParam)

Types

This section is empty.

Jump to

Keyboard shortcuts

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