Skip to content

Instantly share code, notes, and snippets.

View jpeeler's full-sized avatar

Jeff Peeler jpeeler

View GitHub Profile
@jpeeler
jpeeler / gist:aa8d8790a4fb58d69cebabe56d698419
Last active January 12, 2017 20:28
make output of service-catalog
=== RUN TestRoundTripTypes
--- FAIL: TestRoundTripTypes (0.01s)
serialization_test.go:253: working on WatchEvent in servicecatalog
serialization_test.go:253: working on BrokerList in servicecatalog
serialization_test.go:128: version: servicecatalog.k8s.io/v1alpha1
serialization_test.go:129: codec: &versioning.codec{encoder:(*json.Serializer)(0xc4202a5a80), decoder:(*recognizer.decoder)(0xc42032ac80), convertor:runtime.unsafeObjectConvertor{Scheme:(*runtime.Scheme)(0xc4202a5a40)}, creater:(*runtime.Scheme)(0xc4202a5a40), copier:(*runtime.Scheme)(0xc4202a5a40), typer:(*runtime.Scheme)(0xc4202a5a40), defaulter:(*runtime.Scheme)(0xc4202a5a40), encodeVersion:schema.GroupVersions{schema.GroupVersion{Group:"servicecatalog.k8s.io", Version:"v1alpha1"}}, decodeVersion:runtime.internalGroupVersioner{}}
converter.go:627: Calling generated conversion of 'servicecatalog.BrokerList' to 'v1alpha1.BrokerList'
serialization_test.go:166: Codec: &{encoder:0xc4202a5a80 decoder:0xc42032ac80 convertor:{Scheme:0xc4202a5a40}
@jpeeler
jpeeler / gist:64a6b95dc77d6d1cef3fb6fcbd67d5cc
Created January 10, 2017 16:35
serialization_test.go output
=== RUN TestSpecificKind
servicecatalog.BrokerList
v1.ExportOptions
servicecatalog.Binding
servicecatalog.InstanceList
api.DeleteOptions
v1.GetOptions
servicecatalog.ServiceClass
versioned.InternalEvent
api.ListOptions
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Name: deployment-example-1-deploy
Namespace: test
Security Policy: restricted
Node: localhost/192.168.121.18
Start Time: Fri, 09 Dec 2016 18:17:46 +0000
Labels: openshift.io/deployer-pod-for.name=deployment-example-1
Status: Failed
IP:
Controllers: <none>
Containers:
This file has been truncated, but you can view the full file.
I1209 18:15:33.877080 20134 start_master.go:207] Generating master configuration
I1209 18:15:33.879274 20134 create_mastercerts.go:165] Creating all certs with: admin.CreateMasterCertsOptions{CertDir:"openshift.local.config/master", SignerName:"openshift-signer@1481307333", APIServerCAFiles:[]string(nil), CABundleFile:"openshift.local.config/master/ca-bundle.crt", Hostnames:[]string{"127.0.0.1", "172.17.0.1", "172.30.0.1", "192.168.121.18", "kubernetes", "kubernetes.default", "kubernetes.default.svc", "kubernetes.default.svc.cluster.local", "localhost", "openshift", "openshift.default", "openshift.default.svc", "openshift.default.svc.cluster.local"}, APIServerURL:"https://192.168.121.18:8443", PublicAPIServerURL:"https://192.168.121.18:8443", Overwrite:false, Output:(*util.gLogWriter)(0xc82049868c)}
I1209 18:15:33.879750 20134 create_signercert.go:89] Creating a signer cert with: admin.CreateSignerCertOptions{CertFile:"openshift.local.config/master/ca.crt", KeyFile:"openshift.local.config/master/ca.key"
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
package main
import (
"fmt"
"gopkg.in/yaml.v2"
"github.com/davecgh/go-spew/spew"
)
func main() {
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(