MCPcopy
hub / github.com/cortexlabs/cortex / APIConfigVolume

Function APIConfigVolume

pkg/workloads/helpers.go:202–213  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

200}
201
202func APIConfigVolume(name string) kcore.Volume {
203 return kcore.Volume{
204 Name: name,
205 VolumeSource: kcore.VolumeSource{
206 ConfigMap: &kcore.ConfigMapVolumeSource{
207 LocalObjectReference: kcore.LocalObjectReference{
208 Name: name,
209 },
210 },
211 },
212 }
213}
214
215func ClientConfigVolume() kcore.Volume {
216 return kcore.Volume{

Callers 3

AsyncContainersFunction · 0.85
TaskContainersFunction · 0.85
BatchContainersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected