Documentation ¶
Index ¶
- type ControllerSteps
- func (s *ControllerSteps) ConnectAgentToOther(agent, other string) error
- func (s *ControllerSteps) HasDIDCommV2Connection(agent1, agent2 string) error
- func (s *ControllerSteps) RegisterSteps(suite *godog.Suite)
- func (s *ControllerSteps) RotateToPeerDID(agent, otherAgent string) error
- func (s *ControllerSteps) SetConnectionToDIDCommV2(agent, connID string) error
- func (s *ControllerSteps) SetContext(ctx *bddctx.BDDContext)
- type SDKSteps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerSteps ¶
type ControllerSteps struct {
// contains filtered or unexported fields
}
ControllerSteps holds connection BDD steps using AFGO's REST API.
func NewControllerSteps ¶
func NewControllerSteps() *ControllerSteps
NewControllerSteps creates connection Controller steps.
func (*ControllerSteps) ConnectAgentToOther ¶
func (s *ControllerSteps) ConnectAgentToOther(agent, other string) error
ConnectAgentToOther connects 'agent' to another agent 'other', with the connection created only on the 'agent' side.
func (*ControllerSteps) HasDIDCommV2Connection ¶
func (s *ControllerSteps) HasDIDCommV2Connection(agent1, agent2 string) error
HasDIDCommV2Connection gives each agent a DIDComm v2 connection with the other, using their available public DIDs.
func (*ControllerSteps) RegisterSteps ¶
func (s *ControllerSteps) RegisterSteps(suite *godog.Suite)
RegisterSteps registers the BDD steps on the suite.
func (*ControllerSteps) RotateToPeerDID ¶
func (s *ControllerSteps) RotateToPeerDID(agent, otherAgent string) error
RotateToPeerDID rotates agent's connection to otherAgent to a new peer DID.
func (*ControllerSteps) SetConnectionToDIDCommV2 ¶
func (s *ControllerSteps) SetConnectionToDIDCommV2(agent, connID string) error
SetConnectionToDIDCommV2 sets the given connection for the given agent to DIDComm V2.
func (*ControllerSteps) SetContext ¶
func (s *ControllerSteps) SetContext(ctx *bddctx.BDDContext)
SetContext is called before every scenario is run with a fresh new bddctx.
type SDKSteps ¶
type SDKSteps struct {
// contains filtered or unexported fields
}
SDKSteps holds connection BDD steps using AFGO's Go SDK.
func (*SDKSteps) RegisterSteps ¶
RegisterSteps registers the BDD steps on the suite.
func (*SDKSteps) SetContext ¶
func (s *SDKSteps) SetContext(ctx *bddctx.BDDContext)
SetContext is called before every scenario is run with a fresh new bddctx.