Registry / http-client / go-chef-chef

go-chef-chef

JSON →
library0.30.1gogounverified

A Go client library for the Chef Infra Server API.

go get github.com/go-chef/chef
INSTALL
IMPORT
SIG · GO-CHEF-CHEF
G
go-chef-chef
http-clientgov0.30.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

chef
github.com/go-chef/chef

Lists all nodes from the Chef server.

package main import ( "fmt" "github.com/go-chef/chef" ) func main() { client, err := chef.NewClient(&chef.Config{ BaseURL: "https://chef.example.com", ClientName: "myclient", Key: "...", }) if err != nil { panic(err) } nodes, _ := client.Nodes.List() fmt.Println(nodes) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.30.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
go-chef-chef — go get go-chef-chef · libregistry