# Functions
Int32 is a helper routine that allocates a new int32 value to store v and returns a pointer to it.
RegisterDefaults adds defaulters functions to the given scheme.
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
SetDefaults_TFJob sets any unspecified values to defaults.
# Constants
DefaultContainerName is the name of the TFJob container.
DefaultPort is default value of the port.
DefaultPortName is name of the port used to communicate between PS and workers.
DefaultRestartPolicy is default RestartPolicy for TFReplicaSpec.
EnvKubeflowNamespace is ENV for kubeflow namespace specified by user.
GroupName is the group name use in this package.
GroupVersion is the version.
Kind is the kind name.
Plural is the Plural for TFJob.
`ExitCode` policy means that user should add exit code by themselves, `tf-operator` will check these exit codes to determine the behavior when an error occurs: - 1-127: permanent error, do not restart.
Singular is the singular for TFJob.
TFJobCreated means the tfjob has been accepted by the system, but one or more of the pods/services has not been started.
TFJobFailed means one or more sub-resources (e.g.
TFJobRestarting means one or more sub-resources (e.g.
TFJobRunning means all sub-resources (e.g.
TFJobSucceeded means all sub-resources (e.g.
TFReplicaTypeChief is the type for chief worker of distributed TensorFlow.
TFReplicaTypeEval is the type for evaluation replica in TensorFlow.
TFReplicaTypePS is the type for parameter servers of distributed TensorFlow.
TFReplicaTypeWorker is the type for workers of distributed TensorFlow.
# Variables
TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
SchemeGroupVersion is the group version used to register these objects.
SchemeGroupVersionKind is the GroupVersionKind of the resource.
# Structs
TFJob represents the configuration of signal TFJob.
TFJobCondition describes the state of the TFJob at a certain point.
TFJobList is a list of TFJobs.
TFJobSpec is a desired state description of the TFJob.
TFJobStatus represents the current observed state of the TFJob.
TFReplicaSpec is a description of the TFReplica.
TFReplicaStatus represents the current observed state of the TFReplica.
# Type aliases
CleanPodPolicy describes how to deal with pods when the TFJob is finished.
RestartPolicy describes how the TFReplicas should be restarted.
TFJobConditionType defines all kinds of types of TFJobStatus.
TFReplicaType is the type for TFReplica.