# README
go-circleci
This client supports the CircleCI V2 API.
Note this client is in beta. While I am using this client in my personal projects, many of the methods are not yet used in real projects and have not been fully tested. Therefore, this client may involve some breaking changes until it reaches v1.0. If you find any missing features or bugs, please kindly report it via an Issue or Pull Request.
Installation
Installation can be done with a normal go get
:
go get -u github.com/grezar/go-circleci
Usage
import "github.com/grezar/go-circleci"
Construct a new CircleCI client, then use the various services on the client to access different parts of the CircleCI API. For example, to list all contexts:
config := circleci.DefaultConfig()
config.Token = "put-your-circleci-token-here"
client, err := circleci.NewClient(config)
if err != nil {
log.Fatal(err)
}
contexts, err := client.Contexts.List(context.Background(), circleci.ContextListOptions{
OwnerSlug: circleci.String("org"),
})
if err != nil {
log.Fatal(err)
}
Documentation
TODO: Write code comments for Go Doc.
Contribution
If you find any issues with this package, please report an Issue.
TODO
- Support the CircleCI Schedule API.
- Provide detailed Documentation in Go Doc.
LICENSE
# Functions
Bool returns a pointer to the given bool.
CheckoutKeyType return a pointer to the given CheckoutKeyTypeType.
No description provided by the author
EventType return a pointer to the given Event.
No description provided by the author
OwnerType returs a pointer to the given OwnerTypeType.
ReportingWindow returns a pointer to the given ReportingWindowType.
String returns a pointer to the given string.
Time returns a pointer to the given time.Time.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author