Last active
January 18, 2019 02:09
-
-
Save krisnova/17ef971c4d8dead574f9970afe62f680 to your computer and use it in GitHub Desktop.
Example YAML abstraction for SAME
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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