Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
/ bind Public archive

Go packages to generate bindings for the kubenav app.

License

Notifications You must be signed in to change notification settings

kubenav/bind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubenav Bindings

The kubenav bindings are used to make the request against the Kubernetes API from an iOS or Android device. The bindings are used in the kubenav app via the Kubenav Plugin. The .framework and .aar files are generated via Go mobile.

Usage

Go modules support for gomobile and gobind is currently a work-in-progress (see https://golang.org/issues/27234), therefor you must clone the repository into your GOPATH:

git clone [email protected]:kubenav/bind.git $GOPATH/src/github.com/kubenav/bind
cd $GOPATH/src/github.com/kubenav/bind

Install the required dependencies to generate the bindings (gomobile):

make dependencies

Create the .framework and .aar files which can then be used in the iOS/Android project:

gomobile init

make bindings-android
make bindings-ios