Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepinsight/mxnet-operator
/ types & classes
Types & classes
48 in github.com/deepinsight/mxnet-operator
⨍
Functions
146
◇
Types & classes
48
↓ 1 callers
TypeAlias
KubernetesLabels
KubernetesLabels represents a set of labels to apply to a Kubernetes resources.
pkg/trainer/labels.go:9
↓ 1 callers
Struct
MxJob
MxJob mxnet job
pkg/spec/mx_job.go:42
↓ 1 callers
Struct
MxJobList
MxJobList is a list of etcd clusters.
pkg/spec/mx_job_list.go:10
Struct
AcceleratorConfig
AcceleratorConfig for docker container's volume and enviroment
pkg/spec/controller.go:20
Struct
AcceleratorVolume
AcceleratorVolume represents a host path that must be mounted into each container that needs to use GPUs.
pkg/spec/controller.go:13
FuncType
ConditionFunc
func() (bool, error)
pkg/util/retryutil/retry_util.go:21
TypeAlias
ContainerName
ContainerName is an enum for expected containers.
pkg/spec/mx_job.go:107
Struct
Controller
pkg/controller/controller.go:46
Struct
ControllerConfig
ControllerConfig for docker container with GPU accelerator
pkg/spec/controller.go:4
Struct
EndpointsLock
pkg/util/k8sutil/election/resourcelock/endpointslock.go:29
Struct
EnvironmentVariableConfig
EnvironmentVariableConfig for container
pkg/spec/controller.go:26
Struct
Event
pkg/controller/controller.go:41
Struct
GC
pkg/garbagecollection/gc.go:31
Interface
Interface
Interface offers a common interface for locking on arbitrary resources used in leader election. The Interface is used to hide the details on specific
pkg/util/k8sutil/election/resourcelock/interface.go:52
TypeAlias
JobMode
JobMode mxnet job mode
pkg/spec/mx_job.go:69
Struct
LeaderCallbacks
LeaderCallbacks are callbacks that are triggered during certain lifecycle events of the LeaderElector. These are invoked asynchronously. possible fut
pkg/util/k8sutil/election/election.go:113
Struct
LeaderElectionConfig
pkg/util/k8sutil/election/election.go:88
Struct
LeaderElectionRecord
LeaderElectionRecord is the record that is stored in the leader election annotation. This information should be used for observational purposes only a
pkg/util/k8sutil/election/resourcelock/interface.go:32
Struct
LeaderElector
LeaderElector is a leader election client. possible future methods: * (le *LeaderElector) IsLeader() * (le *LeaderElector) GetLeader()
pkg/util/k8sutil/election/election.go:129
Struct
MXReplicaSet
MXReplicaSet is a set of MX processes all acting as the same role (e.g. worker
pkg/trainer/replicas.go:24
Interface
MXReplicaSetInterface
MXReplicas is an interface for managing a set of replicas.
pkg/trainer/replicas.go:32
Struct
MxConfig
MXConfig is a struct representing the MXNET config. This struct is turned into an environment which is used by MXNET processes to configure themselves
pkg/trainer/replicas.go:40
Interface
MxJobClient
MXJobClient defines an interface for working with MxJob CRDs.
pkg/util/k8sutil/mxjobclient.go:31
Struct
MxJobClientFake
pkg/util/k8sutil/fake/fake.go:11
Struct
MxJobCondition
MxJobCondition mxnet job condition
pkg/spec/mx_job.go:299
TypeAlias
MxJobConditionType
MxJobConditionType mxnet job condition type
pkg/spec/mx_job.go:308
TypeAlias
MxJobCopy
MxJobCopy for MxJob
pkg/spec/mx_job_list.go:29
TypeAlias
MxJobListCopy
There is known issue with TPR in client-go: https://github.com/kubernetes/client-go/issues/8 Workarounds: - We include `Metadata` field in object expl
pkg/spec/mx_job_list.go:26
TypeAlias
MxJobPhase
MxJobPhase mxnet job phase
pkg/spec/mx_job.go:281
Struct
MxJobRestClient
MxJobRestClient uses the Kubernetes rest interface to talk to the CRD.
pkg/util/k8sutil/mxjobclient.go:52
Struct
MxJobSpec
TODO(jlewi): Need to define the actual configuration for the MXNet MxJob. MxJobSpec mxnet job specification
pkg/spec/mx_job.go:81
Struct
MxJobStatus
MxJobStatus mxnet job status
pkg/spec/mx_job.go:339
Struct
MxReplicaSpec
TODO(jlewi): We probably want to add a name field. This would allow us to have more than 1 type of each worker. This might be useful if you wanted to
pkg/spec/mx_job.go:118
Struct
MxReplicaStatus
MxReplicaStatus mxnet replica status
pkg/spec/mx_job.go:375
TypeAlias
MxReplicaType
MxReplicaType determines how a set of Mx processes are handled.
pkg/spec/mx_job.go:95
TypeAlias
ReplicaState
ReplicaState mxnet job replica state
pkg/spec/mx_job.go:359
Struct
ResourceLockConfig
ResourceLockConfig common data that exists across different resource locks
pkg/util/k8sutil/election/resourcelock/interface.go:42
Struct
RetryError
pkg/util/retryutil/retry_util.go:8
TypeAlias
State
State mxnet job state
pkg/spec/mx_job.go:325
Struct
TestCase
pkg/trainer/replicas_test.go:117
Struct
TestCase
pkg/trainer/training_test.go:17
Struct
TrainingJob
TODO(jlewi): We should switch a New pattern and make trainingJob private so we can ensure correctness on creation.
pkg/trainer/training.go:49
Struct
jobEvent
pkg/trainer/training.go:41
TypeAlias
jobEventType
pkg/trainer/training.go:34
Struct
panicTimer
panicTimer panics when it reaches the given duration.
pkg/controller/util.go:51
Struct
rawEvent
pkg/controller/util.go:15
Struct
testCase
pkg/trainer/training_test.go:79
Struct
testCase
pkg/spec/mx_job_test.go:14