Skip to content

Instantly share code, notes, and snippets.

@krisnova
Last active January 18, 2019 02:09
Show Gist options
  • Save krisnova/17ef971c4d8dead574f9970afe62f680 to your computer and use it in GitHub Desktop.
Save krisnova/17ef971c4d8dead574f9970afe62f680 to your computer and use it in GitHub Desktop.
Example YAML abstraction for SAME
kind: SameCluster
name:
metadata:
labels:
key: value
data:
kind: SameData
name:
metadata:
labels:
key: value
[ dataURLS:
[
url: <url>
name: <string>
]
timeStart: <*time>
timeDuration: <*duration>
content: <blob: if missing dataURLs>
devSampleURL: # Set of URL templates
url: <url>
name: <string>
format: <string> # CVS, json, xml, etc
schema: <string> # Figure out how to type this
code:
# TODO add here
model:
[
devSampleURL: # Set of URL templates
url: <url>
name: <string>
format:
type: <string>
version: <string>
pipelineStageName: <string>
path: <*string> # Path to a file on disk
modelURL:
url: <url>
name: <string>
]
pipeline:
# TODO add here
infrastructure:
cluster:
# https://github.com/kubernetes-sigs/cluster-api/blob/master/pkg/apis/cluster/v1alpha1/cluster_types.go#L36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment