Documentation
¶
Overview ¶
Package node provides a wrapper around the Node service used for E2E tests.
Index ¶
- type Node
- func (n *Node) Alias() string
- func (n *Node) Container() testcontainers.Container
- func (n *Node) DBConnectionString() string
- func (n *Node) ExternalAddr() string
- func (n *Node) InternalAddr() string
- func (n *Node) NodeID() uint32
- func (n *Node) Restart(ctx context.Context) (*Node, error)
- func (n *Node) SetNodeID(id uint32)
- func (n *Node) SignerKey() string
- func (n *Node) Stop(ctx context.Context) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) Container ¶
func (n *Node) Container() testcontainers.Container
Container returns the underlying testcontainer for advanced use cases.
func (*Node) DBConnectionString ¶
func (*Node) ExternalAddr ¶
func (*Node) InternalAddr ¶
Click to show internal directories.
Click to hide internal directories.