Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Taylor-Barrick jbarrick-mesosphere

  • Mesosphere
  • San Francisco
View GitHub Profile
@jbarrick-mesosphere
jbarrick-mesosphere / index.html
Created Dec 19, 2019
Timeline Chart - DevExtreme Charts - Timeline
View index.html
<div class="dx-viewport demo-container">
<div id="chart"></div>
<div class="row" id="buttonGroup">
<div class="row-element" id="export"></div>
</div>
</div>
View prow-test.yaml
apiVersion: v1
kind: ConfigMap
metadata:
namespace: prow
name: plugins
data:
plugins.yaml: |
plugins:
jbarrick-mesosphere/prow-test:
- size
@jbarrick-mesosphere
jbarrick-mesosphere / 00-assert.yaml
Created May 29, 2019
kudo test framework example
View 00-assert.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-instance-nginx
spec:
replicas: 4
selector:
matchLabels:
app: test-framework
template:
View issubset.go
package issubset
import "reflect"
// Check to see if `expected` is a subset of `actual`. A "subset" is an object that is equivalent to
// the other object, but where map keys found in actual that are not defined in expected are ignored.
func IsSubset(expected, actual interface{}) bool {
if reflect.TypeOf(expected) != reflect.TypeOf(actual) {
return false
}
You can’t perform that action at this time.