Documentation ¶
Overview ¶
nolint: dupl,golint
nolint: dupl,golint
nolint: dupl,golint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRIO ¶
type CRIO struct{}
CRIO implements the Service interface. It serves as the concrete type with the required methods.
type CmdArgs ¶
CmdArgs represent the options available to services specific to the configuration of their cmd.
type Docker ¶
type Docker struct{}
Docker implements the Service interface. It serves as the concrete type with the required methods.
type Kubeadm ¶
type Kubeadm struct{}
Kubeadm implements the Service interface. It serves as the concrete type with the required methods.
type Kubelet ¶
type Kubelet struct{}
Kubelet implements the Service interface. It serves as the concrete type with the required methods.
type Manager ¶
Manager is a type with helper methods that build a service and invoke the set of methods defined in the Service interface.
type OSD ¶
type OSD struct{}
OSD implements the Service interface. It serves as the concrete type with the required methods.
type ProxyD ¶
type ProxyD struct{}
ProxyD implements the Service interface. It serves as the concrete type with the required methods.
type ROTD ¶
type ROTD struct{}
ROTD implements the Service interface. It serves as the concrete type with the required methods.
type Service ¶
type Service interface { // Pre is invoked before a command is executed. It is useful for things like // preparing files that the process might depend on. Pre(userdata.UserData) error // Cmd describes the path to the binary, and the set of arguments to be // passed into it upon execution. Cmd(userdata.UserData, *CmdArgs) // Condition is invoked just before starting the process. Condition(userdata.UserData) func() (bool, error) // Env describes the service's environment variables. Elements should be in // the format <key=<value> Env() []string // Type describes the service's restart policy. Type() Type }
Service is an interface describing a process that is to be run as a system level service.