Class: KubernetesReferences::AzureFileVolumeSource

Inherits:
API
  • Object
show all
Defined in:
lib/kubernetes_references/volume_source/azure_file_volume_source.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from API

#_set!, #schema, #to_hash

Constructor Details

#initialize(obj) ⇒ AzureFileVolumeSource

Returns a new instance of AzureFileVolumeSource.



10
11
12
# File 'lib/kubernetes_references/volume_source/azure_file_volume_source.rb', line 10

def initialize(obj)
  _set!(obj)
end

Instance Attribute Details

#read_onlyObject

Returns the value of attribute read_only.



4
5
6
# File 'lib/kubernetes_references/volume_source/azure_file_volume_source.rb', line 4

def read_only
  @read_only
end

#secret_nameObject

Returns the value of attribute secret_name.



6
7
8
# File 'lib/kubernetes_references/volume_source/azure_file_volume_source.rb', line 6

def secret_name
  @secret_name
end

#share_nameObject

Returns the value of attribute share_name.



8
9
10
# File 'lib/kubernetes_references/volume_source/azure_file_volume_source.rb', line 8

def share_name
  @share_name
end

Instance Method Details

#_schemaObject



14
15
16
17
18
19
20
# File 'lib/kubernetes_references/volume_source/azure_file_volume_source.rb', line 14

def _schema
  {
    readOnly: @read_only,
    secretName: @secret_name,
    shareName: @share_name
  }
end