/* generated using openapi-typescript-codegen -- do no edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { PluginDevice } from './PluginDevice'; import type { PluginEnv } from './PluginEnv'; import type { PluginInterfaceType } from './PluginInterfaceType'; import type { PluginMount } from './PluginMount'; /** * A plugin for the Engine API */ export type Plugin = { Id?: string; Name: string; /** * True if the plugin is running. False if the plugin is not running, only installed. */ Enabled: boolean; /** * Settings that can be modified by users. */ Settings: { Mounts: Array; Env: Array; Args: Array; Devices: Array; }; /** * plugin remote reference used to push/pull the plugin */ PluginReference?: string; /** * The config of a plugin. */ Config: { /** * Docker Version used to create the plugin */ DockerVersion?: string; Description: string; Documentation: string; /** * The interface between Docker and the plugin */ Interface: { Types: Array; Socket: string; /** * Protocol to use for clients connecting to the plugin. */ ProtocolScheme?: '' | 'moby.plugins.http/v1'; }; Entrypoint: Array; WorkDir: string; User?: { UID?: number; GID?: number; }; Network: { Type: string; }; Linux: { Capabilities: Array; AllowAllDevices: boolean; Devices: Array; }; PropagatedMount: string; IpcHost: boolean; PidHost: boolean; Mounts: Array; Env: Array; Args: { Name: string; Description: string; Settable: Array; Value: Array; }; rootfs?: { type?: string; diff_ids?: Array; }; }; };