# Functions
ExtractRegistry takes a string as input and divides it in image, project, registry, tag.
GetDatasetOutputFromSpec allows easy output creation from dataset.
IsDatasetSpecErr is returned when a invalid input/output spec was given.
IsRaceConditionErr is returned when we couldn't retrieve any logs for the job.
IsValidationErr asserts for a validation error.
NewKube will setup the Kubernetes service.
TempDI returns a temporary DI for the Kube service that sets upa temporary namespace which can be deleted using clean.
ValidateAbsPath is derived from https://github.com/golang/go/blob/1106512db54fc2736c7a9a67dd553fc9e1fca742/src/path/filepath/path_unix.go#L12.
# Constants
JobVolumeTypeInput determines the volume to be input.
JobVolumeTypeOutput determines the volume to output.
# Variables
ErrMinikubeOnly is returned when a temp di is created on something thats not minikube.
JobDefaultBackoffLimit determines how often we will retry a pod's job on when its failing.
JobDetailsPhaseFailed means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).
JobDetailsPhasePending means the pod has been accepted by the system, but one or more of the containers has not been started.
JobDetailsPhaseRunning means the pod has been bound to a node and all of the containers have been started.
JobDetailsPhaseSucceeded means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.
JobDetailsPhaseUnknown means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.
NodeLimitedQuota is used when no quota is configured.
# Structs
AddNerdDependenciesInput is used to configure the resource creation.
CreateDatasetInput is the input to CreateDataset.
CreateDatasetOutput is the output to CreateDataset.
CreateSecretInput is the input to CreateSecret.
CreateSecretOutput is the output to CreateSecret.
DatasetDetails tells us more about the dataset by looking at underlying resources.
DeleteDatasetInput is the input to DeleteDataset.
DeleteDatasetOutput is the output to DeleteDataset.
DeleteJobInput is the input to DeleteJob.
DeleteJobOutput is the output to DeleteJob.
DeleteSecretInput is the input to DeleteSecret.
DeleteSecretOutput is the output to DeleteSecret.
FetchJobLogsInput is the input to FetchJobLogs.
FetchJobLogsOutput is the output to FetchJobLogs.
GetDatasetInput is the input to GetDataset.
GetDatasetOutput is the output to GetDataset.
GetSecretInput is the input to GetSecret.
GetSecretOutput is the output to GetSecret.
JobDetails tells us more about the job by looking at underlying resources.
JobEvent contains infromation from the events.
JobVolume can be used in a job.
Kube interacts with the kubernetes backend.
ListDatasetItem is a dataset listing item.
ListDatasetsInput is the input to ListDatasets.
ListDatasetsOutput is the output to ListDatasets.
ListJobItem is a job listing item.
ListJobsInput is the input to ListJobs.
ListJobsOutput is the output to ListJobs.
ListQuotaItem describes a namespace quota.
ListQuotasInput is the input to ListQuotas.
ListQuotasOutput is the output to ListQuotas.
ListSecretItem is a secret listing item.
ListSecretsInput is the input to ListSecrets.
ListSecretsOutput is the output to ListSecrets.
RunJobInput is the input to RunJob.
RunJobOutput is the output to RunJob.
SecretDetails tells us more about the secret by looking at underlying resources.
UpdateDatasetInput is the input for UpdateDataset.
UpdateDatasetOutput is the output for UpdateDataset.
UpdateSecretInput is the input for UpdateSecret.
UpdateSecretOutput is the output for UpdateSecret.
# Type aliases
JobDetailsPhase is a high level description of the underlying pod.
JobVolumeType determines if its content will be uploaded or downloaded.