saltclient

package
v0.0.0-...-0f0ee81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Server      string // "tcp://127.0.0.1:4506"
	Verbose     bool
	RootKeyPath string
}

func (*Client) GetJid

func (c *Client) GetJid() string

GetJid : Generate a job identifier

func (*Client) SendCommand

func (c *Client) SendCommand(jid string, tgt string, targetType string, module string) error

SendCommand a command to SaltMaster

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址