package
2.0.5+incompatible
Repository: https://github.com/polyaxon/mloperator.git
Documentation: pkg.go.dev

# Functions

CopyDeploymentFields copies the owned fields from one Deployment to another Returns true if the fields copied from don't match to.
CopyJobFields copies the owned fields from one Job to another Returns true if the fields copied from don't match to.
CopyKFJobFields copies the owned fields from one KFJob to another Returns true if the fields copied from don't match to.
CopyServiceFields copies the owned fields from one Service to another.
CopyUnstructuredField copies the owned fields from one unstructured to another Returns true if the fields copied from don't match to.
CopyUnstructuredSpec copies the owned fields from one unstructured to another Returns true if the fields copied from don't match to.
CopyVirtualService copies the owned fields from one VirtualService to another Returns true if the fields copied from don't match to.
GenerateDaskJob returns a DaskJob.
GenerateDeployment returns a deployment given a MlDeploymentSpec.
GenerateJob returns a batch job given a OperationSpec.
GenerateMPIJob returns a MPIJob.
GenerateMXJob returns a MXJob.
GeneratePaddleJob returns a PaddleJob.
GeneratePytorchJob returns a PytorchJob.
GenerateRayJob returns a RayJob.
GenerateService returns a service given info from a ServiceSpec.
GenerateTFJob returns a TFJob.
GenerateVirtualService returns a batch job given a OperationSpec.
GenerateXGBJob returns a XGBJob.
GetLastPod returns the last pod bassed on the creation time of the items.
GetPodPorts returns the pod's port from the container definition.
GetRayStartParams utils function to handle default case */.
GetReplicas Get replicas for ServiceSpec.
HasUnschedulablePods Detects if entity has unschedulable pods.
IsDeploymentRunning return true if deploymeny is running.
IsDeploymentWarning return true if deploymeny is in warning state.
IsJobFailed return true if job is running.
IsJobSucceeded return true if job is running.
No description provided by the author
ListPods returns the list of pods based on selctor.

# Constants

DefaultServiceReplicas for deployment.
DefaultServingPort for service.
DefaultTargetPort for service.
DefaultTimeout for service.