This file contains 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
package main | |
import "fmt" | |
type __ []byte | |
var ____ __ = []byte{100, 117, 112, 97} | |
func (___ __) ____() __ { | |
return ___ |
This file contains 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
apiVersion: settings.svcat.k8s.io/v1alpha1 | |
kind: PodPreset | |
metadata: | |
name: allow-database | |
spec: | |
selector: | |
matchLabels: | |
role: frontend | |
env: | |
- name: DB_PORT |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: website | |
labels: | |
app: website | |
role: frontend | |
spec: | |
replicas: 1 | |
selector: |
This file contains 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
{ | |
"$ref": "#/definitions/DatabaseInstance", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"definitions": { | |
"AclEntry": { | |
"description": "An entry for an Access Control list.", | |
"properties": { | |
"expirationTime": { | |
"description": "The time when this access control entry expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | |
"format": "date-time", |
This file contains 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
func fixBrokerBearerAuthInfo() *v1beta1.ClusterServiceBrokerAuthInfo { | |
return &v1beta1.ClusterServiceBrokerAuthInfo{ | |
Bearer: &v1beta1.ClusterBearerTokenAuthConfig{ | |
SecretRef: &v1beta1.ObjectReference{Namespace: "test-ns", Name: "auth-secret"}, | |
}, | |
} | |
} | |
func fixBrokerBasicAuthSecret() *corev1.Secret { |
This file contains 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
apiVersion: settings.svcat.k8s.io/v1alpha1 | |
kind: PodPreset | |
metadata: | |
name: allow-database | |
spec: | |
selector: | |
matchLabels: | |
role: frontend | |
env: | |
- name: DB_PORT |
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: website | |
labels: | |
app: website | |
role: frontend | |
spec: | |
containers: | |
- name: website |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
labels: | |
app: website | |
role: frontend | |
spec: | |
replicas: 1 | |
selector: |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
labels: | |
app: website | |
role: frontend | |
spec: | |
replicas: 1 | |
selector: |
This file contains 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
func TestCmdClusterInfoDump(t *testing.T) { | |
tf := cmdtesting.NewTestFactory() | |
defer tf.Cleanup() | |
ns := scheme.Codecs | |
encodeResp := func(obj runtime.Object, ver runtime.GroupVersioner) io.ReadCloser { | |
info, _ := runtime.SerializerInfoForMediaType(ns.SupportedMediaTypes(), runtime.ContentTypeJSON) | |
encoder := ns.EncoderForVersion(info.Serializer, ver) |
OlderNewer