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

type fakeDBusObject

func (obj *fakeDBusObject) Call(method string, flags dbus.Flags, args ...interface{}

func (obj *fakeDBusObject) CallWithContext(ctx context.Context, method string, flags dbus.Flags, args ...interface{}

func (obj *fakeDBusObject) Go(method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}

func (obj *fakeDBusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}

func (obj *fakeDBusObject) AddMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call {}

func (obj *fakeDBusObject) RemoveMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call {}

func (obj *fakeDBusObject) GetProperty(p string) (dbus.Variant, error) {}

func (obj *fakeDBusObject) SetProperty(p string, v interface{}

func (obj *fakeDBusObject) StoreProperty(p string, v interface{}

func (obj *fakeDBusObject) Destination() string {}

func (obj *fakeDBusObject) Path() dbus.ObjectPath {}

type fakeSystemDBus

func (f *fakeSystemDBus) Object(dest string, path dbus.ObjectPath) dbus.BusObject {}

func (f *fakeSystemDBus) Signal(ch chan<- *dbus.Signal) {}

func (f *fakeSystemDBus) AddMatchSignal(options ...dbus.MatchOption) error {}

func TestCurrentInhibitDelay(t *testing.T) {}

func TestInhibitShutdown(t *testing.T) {}

func TestReloadLogindConf(t *testing.T) {}

func TestMonitorShutdown(t *testing.T) {}