Class: KubeDSL::DSL::Storage::V1beta1::CSIStorageCapacity
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
32
33
34
|
# File 'lib/kube-dsl/dsl/storage/v1beta1/csi_storage_capacity.rb', line 32
def kind_sym
:csi_storage_capacity
end
|
#serialize ⇒ Object
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/kube-dsl/dsl/storage/v1beta1/csi_storage_capacity.rb', line 20
def serialize
{}.tap do |result|
result[:apiVersion] = "storage.k8s.io/v1beta1"
result[:capacity] = capacity
result[:kind] = "CSIStorageCapacity"
result[:maximumVolumeSize] = maximum_volume_size
result[:metadata] = metadata.serialize
result[:nodeTopology] = node_topology.serialize
result[:storageClassName] = storage_class_name
end
end
|