module
Version:
v0.3.3
Opens a new window with list of versions in this module.
Published: Aug 25, 2025
License: MIT
Opens a new window with license information.
README
¶
buildkite-sdk

A Go SDK for Buildkite! 🪁
Usage
Install the package:
go get github.com/buildkite/buildkite-sdk/sdk/go
Use it in your program:
package main
import (
"fmt"
"github.com/buildkite/buildkite-sdk/sdk/go/sdk/buildkite"
)
func main() {
pipeline := buildkite.Pipeline{}
command := "echo 'Hello, world!"
pipeline.AddCommandStep(buildkite.CommandStep{
Command: &buildkite.CommandUnion{
String: &command,
},
})
fmt.Println(pipeline.ToJSON())
fmt.Println(pipeline.ToYAML())
}
Directories
¶
sdk
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.