# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
DecodePublicKey turns a bunch of bytes into a public key.
FindDataImportCronConditionByType finds DataImportCronCondition by condition type.
FindDataSourceConditionByType finds DataSourceCondition by condition type.
GetCronJobName get CronJob name based on cron name and UID.
GetFilesystemOverhead determines the filesystem overhead defined in CDIConfig for this PVC's volumeMode and storageClass.
GetImportProxyConfig attempts to import proxy URLs if configured in the CDIConfig.
GetImportProxyConfigMapName returns the import proxy ConfigMap name.
GetInitialJobName get initial job name based on cron name and UID.
GetScratchPvcStorageClass tries to determine which storage class to use for use with a scratch persistent volume claim.
GetUploadServerURL returns the url the proxy should post to for a particular pvc.
InitPollerPodSpec inits poller PodSpec.
IsInsecureTLS checks if TLS security is disabled for the given endpoint.
MakeCloneSourcePodSpec creates and returns the clone source pod spec based on the target pvc.
MakeEmptyStorageProfileSpec creates StorageProfile manifest.
MakePodOwnerReference makes owner reference from a Pod.
MakePVCOwnerReference makes owner reference from a PVC.
NewCloneController creates a new instance of the config controller.
NewConfigController creates a new instance of the config controller.
NewDataImportCronController creates a new instance of the DataImportCron controller.
NewDataSourceController creates a new instance of the DataSource controller.
NewImportController creates a new instance of the import controller.
NewStorageProfileController creates a new instance of the StorageProfile controller.
NewUploadController creates a new instance of the upload controller.
ParseCloneRequestAnnotation parses the clone request annotation.
UploadPossibleForPVC is called by the api server to see whether to return an upload token.
ValidateCanCloneSourceAndTargetContentType validates the pvcs passed has the same content type.
ValidateCanCloneSourceAndTargetSpec validates the specs passed in are compatible for cloning.
# Constants
AnnConfigAuthority is the annotation specifying a resource as the CDIConfig authority.
AnnImageStreamDockerRef is the ImageStream Docker reference.
AnnLastCronTime is the cron last execution time stamp.
AnnLastUseTime is the PVC last use time stamp.
AnnNextCronTime is the next time stamp which satisfies the cron expression.
AnnOwnerRef is used when owner is in a different namespace.
AnnSourceDesiredDigest is the digest of the pending updated image.
AnnStorageClass is the cron DV's storage class.
AnnUploadClientName is the TLS name uploadserver will accept requests from.
AnnUploadPod name of the upload pod.
CertVolName is the name of the volume containing certs.
CloneSucceededPVC provides a const to indicate a clone to the PVC succeeded.
ClusterWideProxyAPIGroup is the APIGroup for OpenShift Cluster Wide Proxy.
ClusterWideProxyAPIKind is the APIKind for OpenShift Cluster Wide Proxy.
ClusterWideProxyAPIVersion is the APIVersion for OpenShift Cluster Wide Proxy.
ClusterWideProxyConfigMapKey is the OpenShift Cluster Wide Proxy ConfigMap key name for CA certificates.
ClusterWideProxyConfigMapName is the OpenShift Cluster Wide Proxy ConfigMap name for CA certificates.
ClusterWideProxyConfigMapNameSpace is the OpenShift Cluster Wide Proxy ConfigMap namespace for CA certificates.
ClusterWideProxyName is the OpenShift Cluster Wide Proxy object name.
ErrDataSourceAlreadyManaged provides a const to indicate DataSource already managed error.
ErrImportFailedPVC provides a const to indicate an import to the PVC failed.
ImagePullFailedReason is a const that defines the pod exited due to failure when pulling image.
ImportCompleteMessage is a const that defines the pod completeded the import successfully.
ImportSucceededPVC provides a const to indicate an import to the PVC failed.
ImportTargetInUse is reason for event created when an import pvc is in use.
MessageDataSourceAlreadyManaged provides a const to form DataSource already managed error message.
PodRunningReason is const that defines the pod was started as a reason.
ProxyCertVolName is the name of the volumecontaining certs.
ScratchSpaceRequiredReason is a const that defines the pod exited due to a lack of scratch space.
SecretVolName is the name of the volume containing gcs keynolint:gosec // This is not a real secret.
TokenKeyDir is the path to the apiserver public key dirnolint:gosec // This is a path, not the key itself.
TokenPrivateKeyPath is the path to the apiserver private key.
TokenPublicKeyPath is the path to the apiserver public key.
UploadSucceededPVC provides a const to indicate an import to the PVC failed.
UploadTargetInUse is reason for event created when an upload pvc is in use.
# Variables
No description provided by the author
# Structs
CDIConfigReconciler members.
CloneReconciler members.
CryptoEnvVars holds the TLS crypto-related configurables for the upload server.
DataImportCronReconciler members.
DataSourceReconciler members.
ImportReconciler members.
StorageProfileReconciler members.
UploadPodArgs are the parameters required to create an upload pod.
UploadReconciler members.