TransitionTiming

com.gu.play.secretrotation.TransitionTiming
case class TransitionTiming(overlapDuration: Duration, usageDelay: Duration)

Value parameters

overlapDuration

how long old secrets will be accepted after the new secret is actively used

usageDelay

don't use a new secret too quickly, other boxes need time to notice

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def overlapIntervalForSecretPublishedAt(instant: Instant): Interval

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product