Giter Club home page Giter Club logo

go-kong's Introduction

DEPRECATED

This repository has moved to https://github.com/kong/go-kong. Please update your import paths to use the new path. This repository exists only for backwards compatibility purpose.

go-kong

Go bindings for Kong's Admin API

GoDoc Build Status Go Report Card

Importing

go get github.com/hbagdi/go-kong/kong

Compatibility

go-kong is compatible with Kong 1.x and 2.x. Semantic versioning is followed for versioning go-kong.

License

go-kong is licensed with Apache License Version 2.0. Please read the LICENSE file for more details.

go-kong's People

Contributors

crejb avatar hbagdi avatar rainest avatar tjrivera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-kong's Issues

Get a consumer by custom_id

Currently, we can fetch a consumer using it's username or ID.
Add a method to fetch a consumer using custom_id.

Feature request: Add support for Kong Enterprise Entities

I'd like to build out the capabilities of this library to support Enterprise Edition entities. This would cover general CRUD operations around:

  • Workspaces
  • Workspace entities
  • Users
  • Admins
  • Roles
  • Endpoint permissions
  • Entity permissions

This work is intended as a port of work completed here: kevholditch/gokong#74 with the goal of eventual implementation in a Kong Terraform provider, as well as decK.

Add support for Kong 1.3

  • client_certificate property in Service resource
  • headers property in Route resource
  • New ca_certificate resource

Interfaces around Services for testing

We are using go-kong and have been writing unit tests around our code. To help with this we have written interfaces for the various Services (RouteService, Svcservice, UpstreamService, and TargetService thus far).

In a way we have painted ourselves into a corner with this.

In trying to hook up the actual go-kong library we are writing super thin wrappers that meet our interface definitions and adapt to go-kong.

It would be much easier if the interfaces existed in go-kong.

Does this sound reasonable? We can prepare a PR if it something people think would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.