kubernetes-retired / go-open-service-broker-client

A golang client for service brokers implementing the Open Service Broker API
Apache License 2.0
62 stars 51 forks source link
k8s-sig-service-catalog

go-open-service-broker-client

Build Status Coverage Status Go Report Card Godoc documentation

A golang client for communicating with service brokers implementing the Open Service Broker API.

Who should use this library?

This library is most interesting if you are implementing an integration between an application platform and the Open Service Broker API.

Example

import (
    osb "sigs.k8s.io/go-open-service-broker-client/v2"
)

func GetBrokerCatalog(URL string) (*osb.CatalogResponse, error) {
    config := osb.DefaultClientConfiguration()
    config.URL = URL

    client, err := osb.NewClient(config)
    if err != nil {
        return nil, err
    }

    return client.GetCatalog()
}

Documentation

This client library supports the following versions of the Open Service Broker API:

Only fields supported by the version configured for a client are sent/returned.

Check out the API specification.

Check out the detailed docs for the v2 client here.

Current status

This repository is used in:

Goals

Overall, to make an excellent golang client for the Open Service Broker API. Specifically:

Goals for the content of the project are:

Non-goals

This project does not aim to provide:

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.