Skip to content

A code generated Go client for Aiven API

License

Notifications You must be signed in to change notification settings

aiven/go-client-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bcf08d2 · Apr 7, 2025
Nov 8, 2024
Mar 31, 2025
Feb 5, 2025
Apr 7, 2025
Dec 23, 2024
Sep 2, 2024
Feb 6, 2024
Feb 6, 2024
Feb 6, 2024
May 6, 2024
Feb 6, 2024
Dec 23, 2024
Dec 18, 2024
Mar 17, 2025
Dec 27, 2024
Apr 2, 2024
Mar 17, 2025
Dec 17, 2024
Dec 17, 2024
Mar 24, 2025
Mar 24, 2025
Feb 12, 2025
Nov 20, 2024
Feb 6, 2024
Apr 7, 2025

go-client-codegen

go-client-codegen is an automatically code generated Aiven Go Client from the Aiven API specification.

Warning: this client is under heavy development.

Setup

go get github.com/aiven/go-client-codegen

Configuration and Usage

Via Environment Variables

Name Type Description
AIVEN_TOKEN string Aiven API Authentication Token
AIVEN_WEB_URL string Aiven API URL
AIVEN_USER_AGENT string User Agent
AIVEN_DEBUG bool Debug Output Flag (stderr)

Via Constructor Options

import "github.com/aiven/go-client-codegen"

client, err := aiven.NewClient(DebugOpt(true), UserAgentOpt("foo"))
if err != nil {
	return err
}

services, err := client.ServiceList(ctx, "bar-project")

See CONTRIBUTING.md for instructions on how to contribute to the development of go-client-codegen.

License

go-client-codegen is licensed under the Apache license, version 2.0. Full license text is available in the LICENSE file.

Please note that the project explicitly does not require a CLA (Contributor License Agreement) from its contributors.

Contact

Bug reports and patches are very welcome, please post them as GitHub issues and pull requests at https://github.com/aiven/go-client-codegen. To report any possible vulnerabilities or other serious issues please see our security policy.