# Functions
RandomString generates a random string from a subset of characters.
ToDatabricksClusterSpec converts a k8s ClusterSpec object to a DataBricks ClusterSpec object.
ToDatabricksJobSettings converts a k8s JobSettings object to a DataBricks JobSettings object.
ToK8sClusterSpec converts a databricks ClusterSpec object to k8s ClusterSpec object.
ToK8sJobSettings converts a databricks JobSettings object to k8s JobSettings object.
# Constants
DbfsBlockFinalizerName is the name of the dbfs block finalizer.
DclusterFinalizerName is the name of the finalizer for the Dcluster operator.
DjobFinalizerName is the name of the djob finalizer.
RunFinalizerName is the name of the run finalizer.
SecretScopeFinalizerName is the name of the secretscope finalizer.
WorkspaceItemFinalizerName is the name of the workspace item finalizer.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
ClusterSpec is similar to dbmodels.ClusterSpec, the reason it exists is because dbmodels.ClusterSpec doesn't support ExistingClusterName ExistingClusterName allows discovering databricks clusters by it's kubernetese object name.
DbfsBlock is the Schema for the dbfsblocks API +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="SHA1SUM",type="string",JSONPath=".status.file_hash" +kubebuilder:printcolumn:name="Path",type="string",JSONPath=".status.file_info.path" +kubebuilder:printcolumn:name="Size",type="integer",JSONPath=".status.file_info.file_size".
DbfsBlockList contains a list of DbfsBlock.
DbfsBlockSpec defines the desired state of DbfsBlock.
DbfsBlockStatus defines the observed state of DbfsBlock.
Dcluster is the Schema for the dclusters API +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="ClusterID",type="string",JSONPath=".status.cluster_info.cluster_id" +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.cluster_info.state".
DclusterInfo is similar to dbmodels.ClusterInfo, the reason it exists is because dbmodels.ClusterInfo has a float field which is not supported by Kubernetes API.
DclusterList contains a list of Dcluster.
DclusterStatus represents the status for a Dcluster.
Djob is the Schema for the djobs API +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="JobID",type="integer",JSONPath=".status.job_status.job_id".
DjobList contains a list of Djob.
DjobStatus is the status object for the Djob.
JobSettings is similar to dbmodels.JobSettings, the reason it exists is because dbmodels.JobSettings doesn't support ExistingClusterName ExistingClusterName allows discovering databricks clusters by it's kubernetese object name.
Run is the Schema for the runs API +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="RunID",type="integer",JSONPath=".status.metadata.run_id" +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.metadata.state.life_cycle_state".
RunList contains a list of Run.
RunSpec defines the desired state of Run.
SecretScope is the Schema for the secretscopes API.
SecretScopeACL represents ACLs for a secret scope.
SecretScopeKeyRef refers to a secret scope Key.
SecretScopeList contains a list of SecretScope.
SecretScopeSecret represents a secret in a secret scope.
SecretScopeSpec defines the desired state of SecretScope.
SecretScopeStatus defines the observed state of SecretScope.
SecretScopeValueFrom references a secret scope.
WorkspaceItem is the Schema for the workspaceitems API +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",priority=0 +kubebuilder:printcolumn:name="SHA1SUM",type="string",JSONPath=".status.object_hash",priority=0 +kubebuilder:printcolumn:name="Language",type="string",JSONPath=".status.object_info.language",priority=0 +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".status.object_info.object_type",priority=1 +kubebuilder:printcolumn:name="Path",type="string",JSONPath=".status.object_info.path",priority=1.
WorkspaceItemList contains a list of WorkspaceItem.
WorkspaceItemSpec defines the desired state of WorkspaceItem.
WorkspaceItemStatus defines the observed state of WorkspaceItem.