Skip to content

Instantly share code, notes, and snippets.

View ethanfrogers's full-sized avatar
💭
thinking about an interesting status message.

Ethan Rogers ethanfrogers

💭
thinking about an interesting status message.
View GitHub Profile
@ethanfrogers
ethanfrogers / simple-api-test.go
Created March 5, 2018 23:35
Kubernets Client GO Test
package namespaces
import (
"testing"
"k8s.io/apimachinery/pkg/apis/meta/v1"
testclient "k8s.io/client-go/kubernetes/fake"
)
func TestNewNamespaceWithSuffix(t *testing.T) {
@ethanfrogers
ethanfrogers / simple-api.go
Last active March 5, 2018 23:27
Kubernete client-go example
package namespaces
import (
"fmt"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
)