File: event.py

package info (click to toggle)
cloud-init 20.4.1-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,920 kB
  • sloc: python: 77,120; sh: 4,003; makefile: 107; xml: 21
file content (17 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file is part of cloud-init. See LICENSE file for license information.

"""Classes and functions related to event handling."""


# Event types which can generate maintenance requests for cloud-init.
class EventType(object):
    BOOT = "System boot"
    BOOT_NEW_INSTANCE = "New instance first boot"

    # TODO: Cloud-init will grow support for the follow event types:
    # UDEV
    # METADATA_CHANGE
    # USER_REQUEST


# vi: ts=4 expandtab