Class: Nl::Linux::Nfsd::AttributeSets::SvcExport

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/nfsd.rb

Defined Under Namespace

Classes: AnonGid, AnonUid, Attribute, Client, Expiry, Flags, Fsid, Fslocations, Negative, Path, Secinfo, Seqno, Uuid, Xprtsec

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



918
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 918

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



924
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 924

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#anon_gid ⇒ Integer

Returns:

  • (Integer)

See Also:



885
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 885

def anon_gid; self[:"anon_gid"]&.value; end

#anon_uid ⇒ Integer

Returns:

  • (Integer)

See Also:



881
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 881

def anon_uid; self[:"anon_uid"]&.value; end

#client ⇒ String

Returns:

  • (String)

See Also:



865
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 865

def client; self[:"client"]&.value; end

#expiry ⇒ Integer

Returns:

  • (Integer)

See Also:



877
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 877

def expiry; self[:"expiry"]&.value; end

#flags ⇒ Integer

Known flags are defined in Flags::ExportFlags.

Returns:

  • (Integer)

See Also:



907
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 907

def flags; self[:"flags"]&.value; end

#fsid ⇒ Integer

Returns:

  • (Integer)

See Also:



911
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 911

def fsid; self[:"fsid"]&.value; end

#fslocations ⇒ AttributeSets::Fslocations



889
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 889

def fslocations; self[:"fslocations"]&.value; end

#negative ⇒ Integer

Returns:

  • (Integer)

See Also:



873
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 873

def negative; self[:"negative"]&.value; end

#path ⇒ String

Returns:

  • (String)

See Also:



869
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 869

def path; self[:"path"]&.value; end

#secinfo ⇒ Array<AttributeSets::AuthFlavor>

Returns:

See Also:



897
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 897

def secinfo; self[:"secinfo"].map(&:value); end

#seqno ⇒ Integer

Returns:

  • (Integer)

See Also:



861
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 861

def seqno; self[:"seqno"]&.value; end

#uuid ⇒ String

Returns:

  • (String)

See Also:



893
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 893

def uuid; self[:"uuid"]&.value; end

#xprtsec ⇒ Array<Integer>

Known flags are defined in Flags::XprtsecMode.

Returns:

  • (Array<Integer>)

See Also:



902
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 902

def xprtsec; self[:"xprtsec"].map(&:value); end