Class: Kuby::KubeDB::DSL::API::V1::LocalSpec

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/kube-db/dsl/api/v1/local_spec.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



97
98
99
# File 'lib/kuby/kube-db/dsl/api/v1/local_spec.rb', line 97

def kind_sym
  :local_spec
end

#serializeObject



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
93
94
95
# File 'lib/kuby/kube-db/dsl/api/v1/local_spec.rb', line 63

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[:scaleIO] = scale_io.serialize
    result[:photonPersistentDisk] = photon_persistent_disk.serialize
    result[:azureDisk] = azure_disk.serialize
    result[:subPath] = sub_path
    result[:fc] = fc.serialize
    result[:flexVolume] = flex_volume.serialize
    result[:emptyDir] = empty_dir.serialize
    result[:rbd] = rbd.serialize
    result[:persistentVolumeClaim] = persistent_volume_claim.serialize
    result[:configMap] = config_map.serialize
    result[:mountPath] = mount_path
    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