go-salt-netapi-client

module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: MIT

README

go-salt-netapi-client

GoDoc Test Status

go-salt-netapi-client is a Go client library for accessing the NetAPI modules of SaltStack OSS. Currently only rest_cherrypy is supported.

go-salt-netapi-client requires Go version 1.13 or greater.

Usage

import "github.com/finarfin/go-salt-netapi-client/cherrypy"

Construct a new client, then use the various methods on the client.

client := cherrypy.NewClient("https://master:8000", "admin", "password", "pam")

// list all minions
minions, err := client.Minions()

See GoDoc for details.

Directories

Path Synopsis
Package cherrypy provides a client to integrate with Salt NetAPI's rest_cherrypy module https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html
Package cherrypy provides a client to integrate with Salt NetAPI's rest_cherrypy module https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html

Jump to

Keyboard shortcuts

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