Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddMatchSignal (0.25 sec)

  1. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    	return nil
    }
    
    func (obj *fakeDBusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call {
    	return nil
    }
    
    func (obj *fakeDBusObject) AddMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call {
    	return nil
    }
    
    func (obj *fakeDBusObject) RemoveMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    	logindObject    = dbus.ObjectPath("/org/freedesktop/login1")
    	logindInterface = "org.freedesktop.login1.Manager"
    )
    
    type dBusConnector interface {
    	Object(dest string, path dbus.ObjectPath) dbus.BusObject
    	AddMatchSignal(options ...dbus.MatchOption) error
    	Signal(ch chan<- *dbus.Signal)
    }
    
    // DBusCon has functions that can be used to interact with systemd and logind over dbus.
    type DBusCon struct {
    	SystemBus dBusConnector
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top