2019-07-13 16:00:35 +00:00
|
|
|
/*
|
|
|
|
* virsh-completer-domain.h: virsh completer callbacks related to domains
|
|
|
|
*
|
|
|
|
* Copyright (C) 2019 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "vsh.h"
|
|
|
|
|
|
|
|
char ** virshDomainNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
enum {
|
|
|
|
VIRSH_DOMAIN_INTERFACE_COMPLETER_MAC = 1 << 0, /* Return just MACs */
|
|
|
|
};
|
|
|
|
|
|
|
|
char ** virshDomainInterfaceCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainDiskTargetCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainEventNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainInterfaceStateCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainDeviceAliasCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainShutdownModeCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-01-02 15:07:06 +00:00
|
|
|
|
|
|
|
char **
|
|
|
|
virshDomainInterfaceAddrSourceCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2019-12-27 20:36:25 +00:00
|
|
|
|
|
|
|
char ** virshDomainHostnameSourceCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:06 +00:00
|
|
|
|
|
|
|
char ** virshDomainPerfEnableCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
|
|
|
char ** virshDomainPerfDisableCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:09 +00:00
|
|
|
|
|
|
|
char ** virshDomainUUIDCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:10 +00:00
|
|
|
|
|
|
|
char ** virshDomainIOThreadIdCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:12 +00:00
|
|
|
|
|
|
|
char ** virshDomainVcpuCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:13 +00:00
|
|
|
|
|
|
|
char ** virshDomainVcpulistCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-09-11 07:13:14 +00:00
|
|
|
|
|
|
|
char ** virshDomainCpulistCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-11-10 09:50:52 +00:00
|
|
|
|
|
|
|
char ** virshDomainVcpulistViaAgentCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-11-10 09:50:54 +00:00
|
|
|
|
|
|
|
char ** virshDomainConsoleCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-11-10 09:51:02 +00:00
|
|
|
|
|
|
|
char ** virshDomainSignalCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-11-10 09:51:03 +00:00
|
|
|
|
|
|
|
char ** virshDomainLifecycleCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2020-11-10 09:51:04 +00:00
|
|
|
|
|
|
|
char ** virshDomainLifecycleActionCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2021-02-16 20:15:43 +00:00
|
|
|
|
|
|
|
char ** virshCodesetNameCompleter(vshControl *ctl,
|
2021-02-18 18:11:22 +00:00
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2021-02-18 18:11:22 +00:00
|
|
|
|
|
|
|
char ** virshKeycodeNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2021-04-22 10:38:18 +00:00
|
|
|
|
|
|
|
char ** virshDomainFSMountpointsCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2021-06-07 03:14:18 +00:00
|
|
|
|
|
|
|
char **
|
|
|
|
virshDomainCoreDumpFormatCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|