Documentation
¶
Overview ¶
Package names holds the names of the laboratory that callers outside it (the daemon) need.
Index ¶
Constants ¶
const ( ReasonContainerdRootMissing = "CONTAINERD_ROOT_MISSING" ReasonSnapshotterMissing = "SNAPSHOTTER_MISSING" ReasonRuntimeSocket = "RUNTIME_SOCKET_UNAVAILABLE" ReasonSnapshotRegistry = "SNAPSHOT_REGISTRY_UNREACHABLE" ReasonCgroupV2Missing = "CGROUP_V2_MISSING" ReasonPersistenceDisabled = "PERSISTENCE_DISABLED" ReasonObservationDisabled = "OBSERVATION_DISABLED" ReasonNodeUnconfirmed = "NODE_UNCONFIRMED" )
The reasons GetFeatures gives for a feature the cluster is configured for but its nodes do not confirm (StatePersistenceFeature.unavailable_reason, LifecycleFeature.unavailable_reason): a fixed code and a count, "<CODE>:<n>/<m>", with n the lab nodes that do not confirm and m the lab nodes asked. Never a node name, a path or an error text. The codes are the allow-list of a caller.
Variables ¶
var ReservedDeviceNames = []string{"vpn", "gateway", "internet"}
ReservedDeviceNames are the names of the endpoints the platform provides in every lab (the VPN, the internet gateway): a device cannot take them, and the agent refuses a lab that does. Callers validate their topologies against this list instead of copying it.
ReasonContainerdRootMissing, ReasonSnapshotterMissing, ReasonRuntimeSocket, ReasonSnapshotRegistry, ReasonCgroupV2Missing, ReasonPersistenceDisabled, ReasonObservationDisabled, ReasonNodeUnconfirmed, }
UnavailableReasonCodes is the list of the codes.
Functions ¶
Types ¶
This section is empty.