Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(key ...string) (cmd get)
Get reads config options or interface attributes It takes an arbitrary number of keys as input It returns an object for setting the CLI arguments before running the command
func Restart ¶
func Restart(service ...string) (cmd restart)
Restart restarts the services of the snap It takes an arbitrary number of service names as input It returns an object for setting the CLI arguments before running the command
func Services ¶
func Services(name ...string) (cmd services)
Services lists information about the services It takes zero or more service names as input It returns an object for setting the CLI arguments before running the command
func Set ¶
func Set(keyValue ...string) (cmd set)
Set writes config options or interface attributes It takes one or more key-value pairs as input It returns an object for setting optional CLI arguments before running the command
func Start ¶
func Start(service ...string) (cmd start)
Start starts the services of the snap It takes an arbitrary number of service names as input It returns an object for setting the CLI arguments before running the command
Types ¶
This section is empty.