Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simontheleg/clusterconnect
https://github.com/simontheleg/clusterconnect
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/simontheleg/clusterconnect
- Owner: SimonTheLeg
- License: mit
- Created: 2019-03-02T17:58:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T15:15:25.000Z (over 4 years ago)
- Last Synced: 2024-10-16T07:10:10.364Z (3 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Clusterconnect Package
Simple Package for connecting to a Kubernetes Cluster, because I am tired of copy-pasting the same lines over and over :)
## Usage
ConnectToCluster() returns a Kubernetes Clientset. You can specify whether to use the local kubeconfig file or an in-cluster-config by passing the `--local` flag when running your program.