The Wayback Machine - https://web.archive.org/web/20201127062336/https://github.com/rundeck/go-rundeck
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Rundeck Go SDK

Go SDK generated from an OpenApi 2.0 spec via Autorest.

WARNING: The OpenApi spec and SDK are under heavy development. The spec, methods, interfaces, and project structure may change heavily between releases.

Example Usage

import "fmt"

import "github.com/rundeck/go-rundeck/rundeck"
import "github.com/rundeck/go-rundeck/rundeck/auth"

func main() {
    cl := rundeck.NewRundeckWithBaseURI("https://127.0.0.1:4440/api/26")   
    cl.Client.Authorizer = &auth.TokenAuthorizer{Token: "ABCDEFG"}  
    ctx := context.Background() 
    sysInfo, _ := cl.SystemInfoGet(ctx)

    fmt.Println(*sysInfo.System.Os.Name)
}

Building

Pre-requisites

DotNet Core SDK - Required for the Autorest backend
Nodejs/npm - Required for the Autorest frontend

Quick Start

autorest autorest.md

About

Rundeck Golang SDK

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.