# Functions
Int32 is a helper routine that allocates a new int32 value to store v and returns a pointer to it.
IsChieforMaster returns true if the type is Master or Chief.
IsEvaluator returns true if the type is Evaluator.
IsWorker returns true if the type is Worker.
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.
Singular is the singular for TFJob.
TFCRD is the CRD name for TFJob.
TFReplicaTypeChief is the type for chief worker of distributed TensorFlow.
TFReplicaTypeEval is the type for evaluation replica in TensorFlow.
TFReplicaTypeMaster is the type for master worker of distributed 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.
# Type aliases
TFReplicaType is the type for TFReplica.