Class: Runners::Kubernetes::Filer

Inherits:
Object
  • Object
show all
Defined in:
app/services/runners/kubernetes/filer.rb

Defined Under Namespace

Classes: InvalidMountName

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#task_storage_mountsObject (readonly)

Returns the value of attribute task_storage_mounts.



8
9
10
# File 'app/services/runners/kubernetes/filer.rb', line 8

def task_storage_mounts
  @task_storage_mounts
end

Instance Method Details

#perform(task_storage_mounts:) ⇒ Object



10
11
12
13
14
15
16
17
# File 'app/services/runners/kubernetes/filer.rb', line 10

def perform(task_storage_mounts:)
  @task_storage_mounts = task_storage_mounts

  {
    internal: internal,
    external: external
  }
end