...

Source file src/kubevirt.io/api/snapshot/v1beta1/types_swagger_generated.go

Documentation: kubevirt.io/api/snapshot/v1beta1

     1  // Code generated by swagger-doc. DO NOT EDIT.
     2  
     3  package v1beta1
     4  
     5  func (VirtualMachineSnapshot) SwaggerDoc() map[string]string {
     6  	return map[string]string{
     7  		"":       "VirtualMachineSnapshot defines the operation of snapshotting a VM\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
     8  		"status": "+optional",
     9  	}
    10  }
    11  
    12  func (VirtualMachineSnapshotSpec) SwaggerDoc() map[string]string {
    13  	return map[string]string{
    14  		"":                "VirtualMachineSnapshotSpec is the spec for a VirtualMachineSnapshot resource",
    15  		"deletionPolicy":  "+optional",
    16  		"failureDeadline": "This time represents the number of seconds we permit the vm snapshot\nto take. In case we pass this deadline we mark this snapshot\nas failed.\nDefaults to DefaultFailureDeadline - 5min\n+optional",
    17  	}
    18  }
    19  
    20  func (VirtualMachineSnapshotStatus) SwaggerDoc() map[string]string {
    21  	return map[string]string{
    22  		"":                                  "VirtualMachineSnapshotStatus is the status for a VirtualMachineSnapshot resource",
    23  		"sourceUID":                         "+optional",
    24  		"virtualMachineSnapshotContentName": "+optional",
    25  		"creationTime":                      "+optional\n+nullable",
    26  		"phase":                             "+optional",
    27  		"readyToUse":                        "+optional",
    28  		"error":                             "+optional",
    29  		"conditions":                        "+optional\n+listType=atomic",
    30  		"indications":                       "+optional\n+listType=set",
    31  		"snapshotVolumes":                   "+optional",
    32  	}
    33  }
    34  
    35  func (SnapshotVolumesLists) SwaggerDoc() map[string]string {
    36  	return map[string]string{
    37  		"":                "SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot",
    38  		"includedVolumes": "+optional\n+listType=set",
    39  		"excludedVolumes": "+optional\n+listType=set",
    40  	}
    41  }
    42  
    43  func (Error) SwaggerDoc() map[string]string {
    44  	return map[string]string{
    45  		"":        "Error is the last error encountered during the snapshot/restore",
    46  		"time":    "+optional",
    47  		"message": "+optional",
    48  	}
    49  }
    50  
    51  func (Condition) SwaggerDoc() map[string]string {
    52  	return map[string]string{
    53  		"":                   "Condition defines conditions",
    54  		"lastProbeTime":      "+optional\n+nullable",
    55  		"lastTransitionTime": "+optional\n+nullable",
    56  		"reason":             "+optional",
    57  		"message":            "+optional",
    58  	}
    59  }
    60  
    61  func (VirtualMachineSnapshotList) SwaggerDoc() map[string]string {
    62  	return map[string]string{
    63  		"": "VirtualMachineSnapshotList is a list of VirtualMachineSnapshot resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
    64  	}
    65  }
    66  
    67  func (VirtualMachineSnapshotContent) SwaggerDoc() map[string]string {
    68  	return map[string]string{
    69  		"":       "VirtualMachineSnapshotContent contains the snapshot data\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
    70  		"status": "+optional",
    71  	}
    72  }
    73  
    74  func (VirtualMachineSnapshotContentSpec) SwaggerDoc() map[string]string {
    75  	return map[string]string{
    76  		"":              "VirtualMachineSnapshotContentSpec is the spec for a VirtualMachineSnapshotContent resource",
    77  		"volumeBackups": "+optional\n+listType=atomic",
    78  	}
    79  }
    80  
    81  func (VirtualMachine) SwaggerDoc() map[string]string {
    82  	return map[string]string{
    83  		"spec":   "VirtualMachineSpec contains the VirtualMachine specification.",
    84  		"status": "Status holds the current state of the controller and brief information\nabout its associated VirtualMachineInstance",
    85  	}
    86  }
    87  
    88  func (SourceSpec) SwaggerDoc() map[string]string {
    89  	return map[string]string{
    90  		"":               "SourceSpec contains the appropriate spec for the resource being snapshotted",
    91  		"virtualMachine": "+optional",
    92  	}
    93  }
    94  
    95  func (PersistentVolumeClaim) SwaggerDoc() map[string]string {
    96  	return map[string]string{
    97  		"spec": "Spec defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional",
    98  	}
    99  }
   100  
   101  func (VolumeBackup) SwaggerDoc() map[string]string {
   102  	return map[string]string{
   103  		"":                   "VolumeBackup contains the data neeed to restore a PVC",
   104  		"volumeSnapshotName": "+optional",
   105  	}
   106  }
   107  
   108  func (VirtualMachineSnapshotContentStatus) SwaggerDoc() map[string]string {
   109  	return map[string]string{
   110  		"":                     "VirtualMachineSnapshotContentStatus is the status for a VirtualMachineSnapshotStatus resource",
   111  		"creationTime":         "+optional\n+nullable",
   112  		"readyToUse":           "+optional",
   113  		"error":                "+optional",
   114  		"volumeSnapshotStatus": "+optional\n+listType=atomic",
   115  	}
   116  }
   117  
   118  func (VirtualMachineSnapshotContentList) SwaggerDoc() map[string]string {
   119  	return map[string]string{
   120  		"": "VirtualMachineSnapshotContentList is a list of VirtualMachineSnapshot resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
   121  	}
   122  }
   123  
   124  func (VolumeSnapshotStatus) SwaggerDoc() map[string]string {
   125  	return map[string]string{
   126  		"":             "VolumeSnapshotStatus is the status of a VolumeSnapshot",
   127  		"creationTime": "+optional\n+nullable",
   128  		"readyToUse":   "+optional",
   129  		"error":        "+optional",
   130  	}
   131  }
   132  
   133  func (VirtualMachineRestore) SwaggerDoc() map[string]string {
   134  	return map[string]string{
   135  		"":       "VirtualMachineRestore defines the operation of restoring a VM\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
   136  		"status": "+optional",
   137  	}
   138  }
   139  
   140  func (VirtualMachineRestoreSpec) SwaggerDoc() map[string]string {
   141  	return map[string]string{
   142  		"":        "VirtualMachineRestoreSpec is the spec for a VirtualMachineRestoreresource",
   143  		"target":  "initially only VirtualMachine type supported",
   144  		"patches": "If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be\napplied to the target manifest before it's created. Patches should fit the target's Kind.\n\nExample for a patch: {\"op\": \"replace\", \"path\": \"/metadata/name\", \"value\": \"new-vm-name\"}\n\n+optional\n+listType=atomic",
   145  	}
   146  }
   147  
   148  func (VirtualMachineRestoreStatus) SwaggerDoc() map[string]string {
   149  	return map[string]string{
   150  		"":                   "VirtualMachineRestoreStatus is the spec for a VirtualMachineRestoreresource",
   151  		"restores":           "+optional\n+listType=atomic",
   152  		"restoreTime":        "+optional",
   153  		"deletedDataVolumes": "+optional\n+listType=set",
   154  		"complete":           "+optional",
   155  		"conditions":         "+optional\n+listType=atomic",
   156  	}
   157  }
   158  
   159  func (VolumeRestore) SwaggerDoc() map[string]string {
   160  	return map[string]string{
   161  		"":               "VolumeRestore contains the data neeed to restore a PVC",
   162  		"dataVolumeName": "+optional",
   163  	}
   164  }
   165  
   166  func (VirtualMachineRestoreList) SwaggerDoc() map[string]string {
   167  	return map[string]string{
   168  		"": "VirtualMachineRestoreList is a list of VirtualMachineRestore resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
   169  	}
   170  }
   171  

View as plain text