StaticPeerTransportAuthConfig

org.sigilaris.node.jvm.runtime.gossip.StaticPeerTransportAuthConfig

Attributes

Source
StaticPeerTransportAuthConfig.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def load(config: Config, topology: StaticPeerTopology, path: String): Either[String, StaticPeerTransportAuth]

Loads transport auth from the given config at the specified path.

Loads transport auth from the given config at the specified path.

Value parameters

config

the root config

path

the config path to read from

topology

the peer topology for validation

Attributes

Returns

the transport auth, or an error message

Source
StaticPeerTransportAuthConfig.scala
def loadSection(section: Config, topology: StaticPeerTopology): Either[String, StaticPeerTransportAuth]

Loads transport auth from a pre-resolved config section.

Loads transport auth from a pre-resolved config section.

Value parameters

section

the config section at the gossip path

topology

the peer topology for validation

Attributes

Returns

the transport auth, or an error message

Source
StaticPeerTransportAuthConfig.scala
def parse(config: Config, path: String): Either[String, StaticPeerTransportAuthConfigInput]

Parses the raw transport-auth input model from the root config.

Parses the raw transport-auth input model from the root config.

Attributes

Source
StaticPeerTransportAuthConfig.scala
def parseSection(section: Config): Either[String, StaticPeerTransportAuthConfigInput]

Parses the raw transport-auth input model from a pre-resolved section.

Parses the raw transport-auth input model from a pre-resolved section.

Attributes

Source
StaticPeerTransportAuthConfig.scala

Concrete fields

val DefaultPath: String

Default config path for transport auth settings.

Default config path for transport auth settings.

Attributes

Source
StaticPeerTransportAuthConfig.scala