Documentation
¶
Overview ¶
Package events lists all the events supported by the Apatelet
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeEventFlag ¶
type NodeEventFlag = EventFlag
NodeEventFlag is a node specific flag to be used by the Apatelet
const ( // NodeCreatePodResponse determines how to respond to the CreatePod request // Can also be influenced on pod level NodeCreatePodResponse NodeEventFlag = iota // NodeUpdatePodResponse determines how to respond to the UpdatePod request // Can also be influenced on pod level NodeUpdatePodResponse // NodeDeletePodResponse determines how to respond to the DeletePod request // Can also be influenced on pod level NodeDeletePodResponse // NodeGetPodResponse determines how to respond to the GetPod request // Can also be influenced on pod level NodeGetPodResponse // NodeGetPodStatusResponse determines how to respond to the GetPodStatus request // Can also be influenced on pod level NodeGetPodStatusResponse // NodeGetPodsResponse determines how to respond to the GetPod request NodeGetPodsResponse // NodePingResponse determines how to respond to the Ping request NodePingResponse // NodeAddedLatency is the amount of nanoseconds of latency // Will default to 0 nano seconds NodeAddedLatency )
type PodEventFlag ¶
type PodEventFlag = EventFlag
PodEventFlag is a pod specific flag to be used by the Apatelet
const ( // PodCreatePodResponse determines how to respond to the CreatePod request // Can also be influenced on node level PodCreatePodResponse PodEventFlag = iota // PodUpdatePodResponse determines how to respond to the UpdatePod request // Can also be influenced on node level PodUpdatePodResponse // PodDeletePodResponse determines how to respond to the DeletePod request // Can also be influenced on node level PodDeletePodResponse // PodGetPodResponse determines how to respond to the GetPod request // Can also be influenced on node level PodGetPodResponse // PodGetPodStatusResponse determines how to respond to the GetPodStatus request // Can also be influenced on node level PodGetPodStatusResponse // PodResources are resources for the pod. See stats.PodStats PodResources // PodStatus updates the status of a certain percentage of pods in the current configuration // Can be left empty to keep the status unchanged // If left empty, the pod_status_percentage will be ignored PodStatus )
Click to show internal directories.
Click to hide internal directories.