Skip to content

A Go client library for accessing the NetAPI modules of SaltStack OSS

License

Notifications You must be signed in to change notification settings

canhanhan/go-salt-netapi-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Go client library for accessing the NetAPI modules of SaltStack OSS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages