You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add missing code doc for delete functions and write readme sections (#10)
* Add first part of readme
This part explains the reason behind why we implemented the repo and how
to get the code.
* Change the delete function signature
* Add code doc for delete functions
go-kube is a wrapper over the kubectl commands such that we can have a nice interface that we can call from our go code
2
+
go-kube is a wrapper over the kubectl commands such that we can have a nice interface that we can call from our go code.
3
+
4
+
**Why is this repo created?**
5
+
6
+
We (@andreaswachs and @Arneproductions) experienced many times while developing tools for Kubernetes that we were missing the ability to just call an apply or delete function that had the same behavior as Kubectl. We found ourselves, trying to implement the exact same logic as kubectl apply over and over again. This is of course a hassle, since we need to figure out how to create a specific resource or how to patch existing resources and choosing the correct patch method.
7
+
8
+
So we asked ourself... why reinvent the wheel? Kubectl has some nice commands that does this for us. But the code around kubectl can be really cumbersome and hard to understand. So for that reason we have implemented this little tool that simplifies the interface for all us developers.
9
+
10
+
## Get started
11
+
In order to get started you need to get the package to your project.
12
+
```
13
+
go get github.com/Arneproductions/go-kube
14
+
```
15
+
16
+
Now in order to use the functions you need to import the following package in your go file:
0 commit comments