- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for EnableCommand (0.1 sec)
-
cmd/kubeadm/app/util/initsystem/initsystem_unix.go
} // EnableCommand return a string describing how to enable a service func (openrc OpenRCInitSystem) EnableCommand(service string) string { return fmt.Sprintf("rc-update add %s default", service) } // SystemdInitSystem defines systemd type SystemdInitSystem struct{} // EnableCommand return a string describing how to enable a service
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 03:15:07 UTC 2023 - 5.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/initsystem/initsystem.go
limitations under the License. */ package initsystem // InitSystem is the interface that describe behaviors of an init system type InitSystem interface { // EnableCommand returns a string describing how to enable a service EnableCommand(service string) string // ServiceStart tries to start a specific service ServiceStart(service string) error // ServiceStop tries to stop a specific service
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 15:51:39 UTC 2023 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/initsystem/initsystem_windows.go
"golang.org/x/sys/windows/svc/mgr" ) // WindowsInitSystem is the windows implementation of InitSystem type WindowsInitSystem struct{} // EnableCommand return a string describing how to enable a service func (sysd WindowsInitSystem) EnableCommand(service string) string { return fmt.Sprintf("Set-Service '%s' -StartupType Automatic", service) } // ServiceStart tries to start a specific service
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 08:56:16 UTC 2022 - 6.4K bytes - Viewed (0)