maths

module
v0.0.0-...-240ab6b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0

README

TODO

cat <<EOF | kubectl apply -f -
apiVersion: maths.tableflip.dev/v1alpha1
kind: Add
metadata:
  name: add-one
spec:
  add:
  - value: 1
EOF
cat <<EOF | kubectl apply -f -
apiVersion: maths.tableflip.dev/v1alpha1
kind: Add
metadata:
  name: add-few
spec:
  add:
  - value: 1
  - value: 2
  - value: 3
  - value: 4
EOF
cat <<EOF | kubectl apply -f -
apiVersion: maths.tableflip.dev/v1alpha1
kind: Add
metadata:
  name: add-refs
spec:
  add:
    - value: 1
    - ref:
        name: add-one
        namespace: default
        kind: Add
        apiVersion: maths.tableflip.dev/v1alpha1
    - ref:
        name: add-few
        namespace: default
        kind: Add
        apiVersion: maths.tableflip.dev/v1alpha1
EOF
kubectl delete add add-one
kubectl delete add add-few
kubectl delete add add-refs
cat <<EOF | kubectl apply -f -
apiVersion: maths.tableflip.dev/v1alpha1
kind: Subtract
metadata:
  name: sub-few
spec:
  sub:
  - value: 10
  - value: 5
  - value: 1
  - value: 2
EOF
cat <<EOF | kubectl apply -f -
apiVersion: tgik.tgik.io/v1
kind: Square
metadata:
  name: demo
spec:
  base: 5
EOF
cat <<EOF | kubectl apply -f -
apiVersion: maths.tableflip.dev/v1alpha1
kind: Add
metadata:
  name: mixed
spec:
  add:
    - value: 1
    - ref:
        name: sub-few
        namespace: default
        kind: Subtract
        apiVersion: maths.tableflip.dev/v1alpha1
    - ref:
        name: add-few
        namespace: default
        kind: Add
        apiVersion: maths.tableflip.dev/v1alpha1
    - ref:
        name: square-sample
        namespace: default
        kind: Square
        apiVersion: tgik.tgik.io/v1
EOF

Directories

Path Synopsis
cmd
pkg
apis/duck/v1
+k8s:deepcopy-gen=package +groupName=duck.tableflip.dev
+k8s:deepcopy-gen=package +groupName=duck.tableflip.dev
apis/maths/v1alpha1
+k8s:deepcopy-gen=package +groupName=maths.tableflip.dev
+k8s:deepcopy-gen=package +groupName=maths.tableflip.dev
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/maths/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/maths/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
third_party
VENDOR-LICENSE/github.com/hashicorp/golang-lru
Package lru provides three different LRU caches of varying sophistication.
Package lru provides three different LRU caches of varying sophistication.
VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru
Package simplelru provides simple LRU implementation based on build-in container/list.
Package simplelru provides simple LRU implementation based on build-in container/list.

Jump to

Keyboard shortcuts

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