kubevirt.io/api@v1.2.0/clone/v1alpha1/types_swagger_generated.go (about) 1 // Code generated by swagger-doc. DO NOT EDIT. 2 3 package v1alpha1 4 5 func (VirtualMachineClone) SwaggerDoc() map[string]string { 6 return map[string]string{ 7 "": "VirtualMachineClone is a CRD that clones one VM into another.\n\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+k8s:openapi-gen=true\n+genclient", 8 } 9 } 10 11 func (VirtualMachineCloneTemplateFilters) SwaggerDoc() map[string]string { 12 return map[string]string{ 13 "annotationFilters": "Example use: \"!some/key*\".\nFor a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.\n+optional\n+listType=atomic", 14 "labelFilters": "Example use: \"!some/key*\".\nFor a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.\n+optional\n+listType=atomic", 15 } 16 } 17 18 func (VirtualMachineCloneSpec) SwaggerDoc() map[string]string { 19 return map[string]string{ 20 "source": "Source is the object that would be cloned. Currently supported source types are:\nVirtualMachine of kubevirt.io API group,\nVirtualMachineSnapshot of snapshot.kubevirt.io API group", 21 "target": "Target is the outcome of the cloning process.\nCurrently supported source types are:\n- VirtualMachine of kubevirt.io API group\n- Empty (nil).\nIf the target is not provided, the target type would default to VirtualMachine and a random\nname would be generated for the target. The target's name can be viewed by\ninspecting status \"TargetName\" field below.\n+optional", 22 "annotationFilters": "Example use: \"!some/key*\".\nFor a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.\n+optional\n+listType=atomic", 23 "labelFilters": "Example use: \"!some/key*\".\nFor a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.\n+optional\n+listType=atomic", 24 "template": "For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.\n+optional", 25 "newMacAddresses": "NewMacAddresses manually sets that target interfaces' mac addresses. The key is the interface name and the\nvalue is the new mac address. If this field is not specified, a new MAC address will\nbe generated automatically, as for any interface that is not included in this map.\n+optional", 26 "newSMBiosSerial": "NewSMBiosSerial manually sets that target's SMbios serial. If this field is not specified, a new serial will\nbe generated automatically.\n+optional", 27 } 28 } 29 30 func (VirtualMachineCloneStatus) SwaggerDoc() map[string]string { 31 return map[string]string{ 32 "creationTime": "+optional\n+nullable", 33 "phase": "+optional", 34 "conditions": "+optional\n+listType=atomic", 35 "snapshotName": "+optional\n+nullable", 36 "restoreName": "+optional\n+nullable", 37 "targetName": "+optional\n+nullable", 38 } 39 } 40 41 func (Condition) SwaggerDoc() map[string]string { 42 return map[string]string{ 43 "": "Condition defines conditions", 44 "lastProbeTime": "+optional\n+nullable", 45 "lastTransitionTime": "+optional\n+nullable", 46 "reason": "+optional", 47 "message": "+optional", 48 } 49 } 50 51 func (VirtualMachineCloneList) SwaggerDoc() map[string]string { 52 return map[string]string{ 53 "": "VirtualMachineCloneList is a list of MigrationPolicy\n\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", 54 "items": "+listType=atomic", 55 } 56 }