MCPcopy Create free account
hub / github.com/deepinsight/mxnet-operator / initResource

Method initResource

pkg/controller/controller.go:213–230  ·  view source on GitHub ↗

makeClusterConfig creates the Config object from a cluster initializing it with data from the controller. func (c *Controller) makeClusterConfig() cluster.Config { return cluster.Config{ TODO(jlewi): Do we need a service account? ServiceAccount: c.Config.ServiceAccount, KubeCli: c.KubeCli, } }

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RunMethod · 0.95

Calls 2

createCRDMethod · 0.95
findAllMxJobsMethod · 0.95

Tested by

no test coverage detected