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
| package producer | |
| import ( | |
| "config" | |
| "fmt" | |
| "os" | |
| "time" | |
| "github.com/aws/aws-sdk-go/service/kinesis" |
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
| package publisher | |
| import ( | |
| "config" | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "math/rand" | |
| "os" | |
| "time" |
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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: test-service | |
| spec: | |
| type: LoadBalancer | |
| ports: | |
| - name: test-service | |
| port: 80 | |
| protocol: TCP |
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
| apiVersion: apps/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: test-app | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: | |
| labels: | |
| app: test-app |
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
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: mongodb | |
| spec: | |
| template: | |
| metadata: | |
| labels: | |
| app: mongodb | |
| spec: |
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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: mongodb-service | |
| spec: | |
| ports: | |
| - port: 27017 | |
| targetPort: 27017 | |
| protocol: TCP | |
| name: mongodbport |
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
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "time" | |
| "blog.velotio.com/crd-blog/v1alpha1" | |
| "github.com/golang/glog" | |
| apiextension "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset" |
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
| package v1alpha1 | |
| import meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| type SslConfig struct { | |
| meta_v1.TypeMeta `json:",inline"` | |
| meta_v1.ObjectMeta `json:"metadata"` | |
| Spec SslConfigSpec `json:"spec"` | |
| Status SslConfigStatus `json:"status,omitempty"` | |
| } |
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
| package v1alpha1 | |
| import ( | |
| meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "k8s.io/client-go/rest" | |
| ) | |
| func (c *SslConfigV1Alpha1Client) SslConfigs(namespace string) SslConfigInterface { | |
| return &sslConfigclient{ | |
| client: c.restClient, |
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
| package v1alpha1 | |
| import ( | |
| meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "k8s.io/apimachinery/pkg/runtime" | |
| "k8s.io/apimachinery/pkg/runtime/schema" | |
| "k8s.io/apimachinery/pkg/runtime/serializer" | |
| "k8s.io/client-go/rest" | |
| ) |