toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-amazon-containercredentials-fake
/
org.http4k.connect.amazon.containercredentials
/
FakeContainerCredentials
Fake
Container
Credentials
class
FakeContainerCredentials
(
clock
:
Clock
=
Clock.systemUTC()
,
defaultSessionValidity
:
Duration
=
ofHours(1)
)
:
ChaoticHttpHandler
Members
Constructors
Fake
Container
Credentials
Link copied to clipboard
constructor
(
clock
:
Clock
=
Clock.systemUTC()
,
defaultSessionValidity
:
Duration
=
ofHours(1)
)
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
ContainerCredentials
Convenience function to get a ContainerCredentials client
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine