Class: Kuby::KubeDB::DSL::Kubedb::V1alpha1::ScriptSourceSpec

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



65
66
67
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb', line 65

def kind_sym
  :script_source_spec
end

#serializeObject



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb', line 32

def serialize
  {}.tap do |result|
    result[:scriptPath] = script_path
    result[:portworxVolume] = portworx_volume.serialize
    result[:glusterfs] = glusterfs.serialize
    result[:gitRepo] = git_repo.serialize
    result[:flocker] = flocker.serialize
    result[:storageos] = storageos.serialize
    result[:iscsi] = iscsi.serialize
    result[:projected] = projected.serialize
    result[:secret] = secret.serialize
    result[:scaleIO] = scale_io.serialize
    result[:photonPersistentDisk] = photon_persistent_disk.serialize
    result[:azureDisk] = azure_disk.serialize
    result[:fc] = fc.serialize
    result[:flexVolume] = flex_volume.serialize
    result[:emptyDir] = empty_dir.serialize
    result[:persistentVolumeClaim] = persistent_volume_claim.serialize
    result[:configMap] = config_map.serialize
    result[:rbd] = rbd.serialize
    result[:azureFile] = azure_file.serialize
    result[:quobyte] = quobyte.serialize
    result[:hostPath] = host_path.serialize
    result[:nfs] = nfs.serialize
    result[:vsphereVolume] = vsphere_volume.serialize
    result[:cinder] = cinder.serialize
    result[:awsElasticBlockStore] = aws_elastic_block_store.serialize
    result[:cephfs] = cephfs.serialize
    result[:downwardAPI] = downward_api.serialize
    result[:gcePersistentDisk] = gce_persistent_disk.serialize
  end
end