Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateName ¶ added in v0.8.1
ValidateName ensures that a given unit name is valid; if not, an error is returned describing the first issue encountered. systemd reference: `unit_name_is_valid` in `unit-name.c`
func ValidateOptions ¶ added in v0.8.0
func ValidateOptions(opts []*schema.UnitOption) error
ValidateOptions ensures that a set of UnitOptions is valid; if not, an error is returned detailing the issue encountered. If there are several problems with a set of options, only the first is returned.
Types ¶
type PageToken ¶
func DefaultPageToken ¶
type Server ¶ added in v0.5.3
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Available ¶ added in v0.5.3
func (s *Server) Available(stop <-chan struct{})
Available switches the Server's HTTP handler from a generic 503 Unavailable response to the actual API. Once the provided channel is closed, the API is torn back down and 503 responses are served.
func (*Server) GetListeners ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.