provider-dummy

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2023 License: Apache-2.0

README

Example Dummy Provider

provider-dummy is a minimal Crossplane Provider that is meant to be used as an experimentation bed while developing Crossplane providers. It includes a simple server implementation to be used as its external API.

server-dummy exposes a single /robots endpoint to interact with robots. It stores the data in memory and does not persist it. See example curl commands to run by running go run cmd/server/main.go.

Getting Started

# This will build two images: provider-dummy and server-dummy.
make build
kind create cluster --wait 5m
# This will deploy server-dummy and port-forward its service to localhost:8080.
# And start the provider-dummy controller locally to connect to the server.
make dev
# Create your first Robot!
kubectl apply -f examples/iam/robots.yaml
kubectl get robots

Directories

Path Synopsis
Package apis contains Kubernetes API for the Dummy provider.
Package apis contains Kubernetes API for the Dummy provider.
iam
Package iam contains group iam API versions
Package iam contains group iam API versions
iam/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the Dummy provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the Dummy provider.
v1alpha1
Package v1alpha1 contains the core resources of the Dummy provider.
Package v1alpha1 contains the core resources of the Dummy provider.
cmd
provider command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL