package
0.23.1
Repository: https://github.com/grafana/grafana-app-sdk.git
Documentation: pkg.go.dev

# README

Store/SimpleStore Example

This example code is a simple demonstration of using crd.Store and crd.SimpleStore to manage custom resources without the need for a kubernetes client. It creates some custom resource definitions, then uses crd.Store to perform basic CRUD actions, and then crd.SimpleStore to do the same with a single definition. For more details about crd.Store and crd.SimpleStore, see the godocs for them, or the README in the crd package.

To Run

Using the run script

  1. Make sure you have k3d and go1.18+ installed
  2. Run the following to create a local k3d cluster and start the operator:
    $ ./run.sh
    

Manually

Start a local kubernetes cluster or use a remote one to which you have permission to create CRD's and monitor them. Set your kube context to the appropriate cluster, then run the operator:

$ go run basic.go --kubecfg="path_to_your_kube_config"

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author