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



94
95
96
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb', line 94

def kind_sym
  :script_source_spec
end

#serializeObject



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb', line 61

def serialize
  {}.tap do |result|
    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[:scriptPath] = script_path
    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