Search
Preparing search index...
The search index is not available
@atomist/sdm
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"core/handlers/events/delivery/goals/k8s/CacheCleanupAutomationEventListener"
CacheCleanupAutomationEventListener
Class CacheCleanupAutomationEventListener
Event listener that cleans up cached artifacts that are older then 2 hours.
Hierarchy
AutomationEventListenerSupport
CacheCleanupAutomationEventListener
Implements
AutomationEventListener
Index
Constructors
constructor
Properties
sdm
Methods
command
Failed
command
Incoming
command
Starting
command
Successful
context
Created
event
Failed
event
Incoming
event
Starting
event
Successful
message
Sending
message
Sent
registration
Successful
startup
Successful
Constructors
constructor
new
Cache
Cleanup
Automation
Event
Listener
(
sdm
:
SoftwareDeliveryMachine
)
:
CacheCleanupAutomationEventListener
Parameters
sdm:
SoftwareDeliveryMachine
Returns
CacheCleanupAutomationEventListener
Properties
Private
Readonly
sdm
sdm
:
SoftwareDeliveryMachine
Methods
command
Failed
command
Failed
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
, err
:
any
)
:
Promise
<
void
>
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
err:
any
Returns
Promise
<
void
>
command
Incoming
command
Incoming
(
payload
:
CommandIncoming
)
:
void
Parameters
payload:
CommandIncoming
Returns
void
command
Starting
command
Starting
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
)
:
void
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
Returns
void
command
Successful
command
Successful
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
, result
:
HandlerResult
)
:
Promise
<
void
>
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
result:
HandlerResult
Returns
Promise
<
void
>
context
Created
context
Created
(
context
:
HandlerContext
)
:
void
Parameters
context:
HandlerContext
Returns
void
event
Failed
event
Failed
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
, err
:
any
)
:
Promise
<
void
>
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
err:
any
Returns
Promise
<
void
>
event
Incoming
event
Incoming
(
payload
:
EventIncoming
)
:
void
Parameters
payload:
EventIncoming
Returns
void
event
Starting
event
Starting
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
)
:
void
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
Returns
void
event
Successful
event
Successful
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
, result
:
HandlerResult
[]
)
:
Promise
<
void
>
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
result:
HandlerResult
[]
Returns
Promise
<
void
>
message
Sending
message
Sending
(
message
:
any
, destinations
:
Destination
|
Destination
[]
, options
:
MessageOptions
, ctx
:
HandlerContext
)
:
Promise
<
{
destinations
:
Destination
|
Destination
[]
;
message
:
any
;
options
:
MessageOptions
}
>
Parameters
message:
any
destinations:
Destination
|
Destination
[]
options:
MessageOptions
ctx:
HandlerContext
Returns
Promise
<
{
destinations
:
Destination
|
Destination
[]
;
message
:
any
;
options
:
MessageOptions
}
>
message
Sent
message
Sent
(
message
:
any
, destinations
:
Destination
|
Destination
[]
, options
:
MessageOptions
, ctx
:
HandlerContext
)
:
Promise
<
void
>
Parameters
message:
any
destinations:
Destination
|
Destination
[]
options:
MessageOptions
ctx:
HandlerContext
Returns
Promise
<
void
>
registration
Successful
registration
Successful
(
handler
:
RequestProcessor
)
:
void
Parameters
handler:
RequestProcessor
Returns
void
startup
Successful
startup
Successful
(
client
:
AutomationClient
)
:
Promise
<
void
>
Parameters
client:
AutomationClient
Returns
Promise
<
void
>
Globals
"core/handlers/events/delivery/goals/k8s/
Cache
Cleanup
Automation
Event
Listener"
Cache
Cleanup
Automation
Event
Listener
constructor
sdm
command
Failed
command
Incoming
command
Starting
command
Successful
context
Created
event
Failed
event
Incoming
event
Starting
event
Successful
message
Sending
message
Sent
registration
Successful
startup
Successful
Generated using
TypeDoc
Event listener that cleans up cached artifacts that are older then 2 hours.