kubevirt: cleanup module docs (#54119)

This commit is contained in:
Mariusz Mazur 2019-03-26 22:22:50 +01:00 committed by René Moser
parent 5d32dbd532
commit 53b56825cd
6 changed files with 50 additions and 56 deletions

View file

@ -24,20 +24,20 @@ API_GROUP = 'kubevirt.io'
VM_COMMON_ARG_SPEC = {
'name': {},
'name': {'required': True},
'namespace': {'required': True},
'state': {
'default': 'present',
'choices': ['present', 'absent'],
},
'force': {
'type': 'bool',
'default': False,
},
'resource_definition': {
'type': list_dict_str,
'type': 'dict',
'aliases': ['definition', 'inline']
},
'src': {
'type': 'path',
},
'namespace': {},
'api_version': {'type': 'str', 'default': '%s/%s' % (API_GROUP, MAX_SUPPORTED_API_VERSION), 'aliases': ['api', 'version']},
'merge_type': {'type': 'list', 'choices': ['json', 'merge', 'strategic-merge']},
'wait': {'type': 'bool', 'default': True},
'wait_timeout': {'type': 'int', 'default': 120},