AdminClient

uk.gov.nationalarchives.dp.client.AdminClient
See theAdminClient companion trait
object AdminClient

An object containing a method which returns an implementation of the AdminClient trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createAdminClient[F[_], S](clientConfig: ClientConfig[F, S])(using me: MonadError[F, Throwable], sync: Sync[F]): AdminClient[F]

Creates a new AdminClient instance.

Creates a new AdminClient instance.

Type parameters

F

The type of the effect

S

The type of the Stream to be used for the streaming methods.

Value parameters

clientConfig

Configuration parameters needed to create the client

me

An implicit instance of cats.MonadError

sync

An implicit instance of cats.Sync

Attributes