// Code generated by swagger-doc. DO NOT EDIT.

package v1alpha1

func (BackupVolumeInfo) SwaggerDoc() map[string]string {
	return map[string]string{
		"":             "BackupVolumeInfo contains information about a volume included in a backup",
		"volumeName":   "VolumeName is the volume name from VMI spec",
		"diskTarget":   "DiskTarget is the disk target device name at backup time",
		"dataEndpoint": "DataEndpoint is the URL of the endpoint for read for pull mode",
		"mapEndpoint":  "MapEndpoint is the URL of the endpoint for map for pull mode",
	}
}

func (BackupCheckpoint) SwaggerDoc() map[string]string {
	return map[string]string{
		"volumes": "Volumes lists volumes and their disk targets at backup time\n+optional\n+listType=atomic",
	}
}

func (BackupOptions) SwaggerDoc() map[string]string {
	return map[string]string{
		"": "BackupOptions are options used to configure virtual machine backup job",
	}
}

func (VirtualMachineBackupTracker) SwaggerDoc() map[string]string {
	return map[string]string{
		"":       "VirtualMachineBackupTracker defines the way to track the latest checkpoint of\na backup solution for a vm\n+k8s:openapi-gen=true\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
		"status": "+optional",
	}
}

func (VirtualMachineBackupTrackerSpec) SwaggerDoc() map[string]string {
	return map[string]string{
		"":       "VirtualMachineBackupTrackerSpec is the spec for a VirtualMachineBackupTracker resource\n+kubebuilder:validation:XValidation:rule=\"self == oldSelf\",message=\"spec is immutable after creation\"",
		"source": "Source specifies the VM that this backupTracker is associated with\n+kubebuilder:validation:XValidation:rule=\"has(self.apiGroup) && self.apiGroup == 'kubevirt.io'\",message=\"apiGroup must be kubevirt.io\"\n+kubebuilder:validation:XValidation:rule=\"self.kind == 'VirtualMachine'\",message=\"kind must be VirtualMachine\"\n+kubebuilder:validation:XValidation:rule=\"self.name != ''\",message=\"name is required\"",
	}
}

func (VirtualMachineBackupTrackerStatus) SwaggerDoc() map[string]string {
	return map[string]string{
		"latestCheckpoint":               "+optional\nLatestCheckpoint is the metadata of the checkpoint of\nthe latest performed backup",
		"checkpointRedefinitionRequired": "+optional\nCheckpointRedefinitionRequired is set to true by virt-handler when the VM\nrestarts and has a checkpoint that needs to be redefined in libvirt.\nvirt-controller will process this flag, attempt redefinition, and clear it.",
	}
}

func (VirtualMachineBackupTrackerList) SwaggerDoc() map[string]string {
	return map[string]string{
		"":      "VirtualMachineBackupTrackerList is a list of VirtualMachineBackupTracker resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
		"items": "+listType=atomic",
	}
}

func (VirtualMachineBackup) SwaggerDoc() map[string]string {
	return map[string]string{
		"":       "VirtualMachineBackup defines the operation of backing up a VM\n+genclient\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
		"status": "+optional",
	}
}

func (VirtualMachineBackupList) SwaggerDoc() map[string]string {
	return map[string]string{
		"":      "VirtualMachineBackupList is a list of VirtualMachineBackup resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object",
		"items": "+listType=atomic",
	}
}

func (VirtualMachineBackupSpec) SwaggerDoc() map[string]string {
	return map[string]string{
		"":                "VirtualMachineBackupSpec is the spec for a VirtualMachineBackup resource\n+kubebuilder:validation:XValidation:rule=\"self == oldSelf\",message=\"spec is immutable after creation\"\n+kubebuilder:validation:XValidation:rule=\"has(self.pvcName) && self.pvcName != \\\"\\\"\",message=\"pvcName is required\"\n+kubebuilder:validation:XValidation:rule=\"!has(self.mode) || self.mode != 'Pull' || (has(self.tokenSecretRef) && self.tokenSecretRef != \\\"\\\")\",message=\"tokenSecretRef is required when mode is Pull\"",
		"source":          "Source specifies the backup source - either a VirtualMachine or a VirtualMachineBackupTracker.\nWhen Kind is VirtualMachine: performs a backup of the specified VM.\nWhen Kind is VirtualMachineBackupTracker: uses the tracker to get the source VM\nand the base checkpoint for incremental backup. The tracker will be updated\nwith the new checkpoint after backup completion.\n+kubebuilder:validation:XValidation:rule=\"has(self.apiGroup)\",message=\"apiGroup is required\"\n+kubebuilder:validation:XValidation:rule=\"!has(self.apiGroup) || self.apiGroup == 'kubevirt.io' || self.apiGroup == 'backup.kubevirt.io'\",message=\"apiGroup must be kubevirt.io or backup.kubevirt.io\"\n+kubebuilder:validation:XValidation:rule=\"!has(self.apiGroup) || (self.apiGroup == 'kubevirt.io' && self.kind == 'VirtualMachine') || (self.apiGroup == 'backup.kubevirt.io' && self.kind == 'VirtualMachineBackupTracker')\",message=\"kind must be VirtualMachine for kubevirt.io or VirtualMachineBackupTracker for backup.kubevirt.io\"\n+kubebuilder:validation:XValidation:rule=\"self.name != ''\",message=\"name is required\"",
		"mode":            "+optional\n+kubebuilder:validation:Enum=Push;Pull\nMode specifies the way the backup output will be recieved",
		"pvcName":         "+optional\nPvcName required in push mode. Specifies the name of the PVC\nwhere the backup output will be stored",
		"skipQuiesce":     "+optional\nSkipQuiesce indicates whether the VM's filesystem shoule not be quiesced before the backup",
		"forceFullBackup": "+optional\nForceFullBackup indicates that a full backup is desired",
		"tokenSecretRef":  "+optional\nTokenSecretRef is the name of the secret that\nwill be used to pull the backup from an associated endpoint",
		"ttlDuration":     "+optional\nTtlDuration limits the lifetime of a pull mode backup and its export\nIf this field is set, after this duration has passed from counting from CreationTimestamp,\nthe backup is eligible to be automatically considered as complete.\nIf this field is omitted, a reasonable default is applied.\n+optional",
	}
}

func (VirtualMachineBackupStatus) SwaggerDoc() map[string]string {
	return map[string]string{
		"":                "VirtualMachineBackupStatus is the status for a VirtualMachineBackup resource",
		"type":            "+optional\nType indicates if the backup was full or incremental",
		"conditions":      "+optional\n+listType=atomic",
		"checkpointName":  "+optional\nCheckpointName the name of the checkpoint created for the current backup",
		"endpointCert":    "+optional\nEndpointCert is the raw CACert that is to be used when connecting\nto an exported backup endpoint in pull mode.",
		"includedVolumes": "+optional\n+listType=atomic\nIncludedVolumes lists the volumes that were included in the backup",
	}
}

func (Condition) SwaggerDoc() map[string]string {
	return map[string]string{
		"":                   "Condition defines conditions",
		"lastProbeTime":      "+optional\n+nullable",
		"lastTransitionTime": "+optional\n+nullable",
		"reason":             "+optional",
		"message":            "+optional",
	}
}
