Class: Nl::Linux::Sunrpc::AsyncOperations

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

Instance Method Summary collapse

Instance Method Details

#do_cache_flush(**args) ⇒ Nl::Async::Future<void>

Flush sunrpc caches (ip_map and/or unix_gid)

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



597
598
599
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 597

def do_cache_flush(**args)
  @exchange.call(:"do", Messages::DoCacheFlushRequest, nil, args)
end

#do_ip_map_set_reqs(**args) ⇒ Nl::Async::Future<void>

Respond to one or more ip_map requests

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



565
566
567
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 565

def do_ip_map_set_reqs(**args)
  @exchange.call(:"do", Messages::DoIpMapSetReqsRequest, nil, args)
end

#do_unix_gid_set_reqs(**args) ⇒ Nl::Async::Future<void>

Respond to one or more unix_gid requests

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



586
587
588
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 586

def do_unix_gid_set_reqs(**args)
  @exchange.call(:"do", Messages::DoUnixGidSetReqsRequest, nil, args)
end

#dump_ip_map_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpIpMapGetReqsReply>

Dump all pending ip_map requests

Requires CAP_NET_ADMIN in the initial user namespace.



554
555
556
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 554

def dump_ip_map_get_reqs(**args)
  @exchange.call(:"dump", Messages::DumpIpMapGetReqsRequest, Messages::DumpIpMapGetReqsReply, args)
end

#dump_unix_gid_get_reqs(**args) ⇒ Nl::Async::Stream<Messages::DumpUnixGidGetReqsReply>

Dump all pending unix_gid requests

Requires CAP_NET_ADMIN in the initial user namespace.



575
576
577
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 575

def dump_unix_gid_get_reqs(**args)
  @exchange.call(:"dump", Messages::DumpUnixGidGetReqsRequest, Messages::DumpUnixGidGetReqsReply, args)
end