package
3.0.0-alpha9+incompatible
Repository: https://github.com/opensvc/om3.git
Documentation: pkg.go.dev

# Functions

LocalFirst makes actions not explicitely Local nor remoted via NodeSelector be treated as local (CRM level).
No description provided by the author
WithAsyncTarget is the node or object state the daemons should orchestrate to reach.
WithAsyncTime is the maximum duration to wait for an async action It needs WithAsyncWait(true).
WithAsyncWait runs an event-watcher waiting for target state, global expect reached.
WithAsyncWatch runs an event-driven monitor on the selected objects after setting a new target.
WithColor activates the colorization of outputs auto => yes if os.Stdout is a tty yes no.
WithFormat controls the output data format.
WithLocal routes the action to the CRM instead of remoting it via orchestration or remote execution.
WithLocalRun sets a function to run if the action is local.
WithRemoteAction is the name of the action as passed to the command line interface.
WithRemoteNodes expands into a selection of nodes to execute the action on.
WithRemoteOptions is the dataset submited in the POST /{object|node}_action api handler to execute the action remotely.
WithServer sets the api url.

# Structs

No description provided by the author

# Type aliases

No description provided by the author