Registry / cloud / rancher-go-rancher

rancher-go-rancher

JSON →
library0.1.0gogounverified

Package go-rancher provides a Go client library for interacting with the Rancher API.

go get github.com/rancher/go-rancher
INSTALL
IMPORT
SIG · RANCHER-GO-RANCHER
R
rancher-go-rancher
cloudgov0.1.0
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.

rancher
github.com/rancher/go-rancher

Creates a Rancher API client.

package main import ( "fmt" "github.com/rancher/go-rancher/client" ) func main() { apiClient, _ := client.NewRancherClient(&client.ClientOpts{ Url: "http://localhost:8080/v2-beta", AccessKey: "accessKey", SecretKey: "secretKey", }) fmt.Println("Client created") }
Debug
Known issues
breakingThis library is deprecated; use the official Rancher v2 Go client instead.
fix
Migrate to github.com/rancher/rancher/pkg/client.
affects: all
Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
rancher-go-rancher — go get rancher-go-rancher · libregistry