ashwanthkumar / go-gocd

Go Lang library to access GoCD API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status GoDoc

go-gocd

Go Lang library to access GoCD API.

Usage

package main

import (
  "github.com/ashwanthkumar/go-gocd"
)

func main() {
  client := gocd.New("http://localhost:8153", "admin", "badger")
  agents, err := client.GetAllAgents()
  // ... do whatever you want with the agents
}

API Endpoints Pending

  • Agents
    • Get all Agents
    • Get one Agent
    • Update an Agent
    • Disable Agent
    • Delete an Agent
    • Agent job run history
  • Users
    • Get all Users
    • Get one user
    • Create a user
    • Update a user
    • Delete a user
  • Materials
    • Get all Materials
    • Get material modifications
    • Notify SVN materials
    • Notify git materials
  • Backups
    • Create a backup
  • Pipeline Group
    • Config listing
  • Artifacts
    • Get all Artifacts
    • Get artifact file
    • Get artifact directory
    • Create artifact
    • Append to artifact
  • Pipelines
    • Get pipeline instance
    • Get pipeline status
    • Pause a pipeline
    • Unpause a pipeline
    • Releasing a pipeline lock
    • Scheduling pipelines
    • Create a pipeline
    • Delete a pipeline
  • Stages
    • Cancel Stage
    • Get Stage instance
    • Get stage history
  • Jobs
    • Get Scheduled Jobs
    • Get Job history
  • Properties
    • Get all job Properties
    • Get one property
    • Get historical properties
    • Create property
  • Configurations
    • List all modifications
    • Get repository modification diff
    • Get Configuration
    • Create pipeline (Deprecated API)
  • Feeds (will not support)
  • Dashboard
    • Get Dashboard
  • Pipeline Config
    • Get pipeline Configuration
    • Edit Pipeline configuration
    • Create Pipeline
  • Environment Config
    • Get all environments
    • Get environment config
    • Create an environment
    • Update an environment
    • Patch an environment
    • Delete an environment

About

Go Lang library to access GoCD API.

License:Apache License 2.0


Languages

Language:Go 99.6%Language:Makefile 0.4%