example

command module
v0.0.0-...-8a0c787 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

README

BadIdea Example project

go run main.go

cat << EOF > test.kubeconfig
apiVersion: v1
kind: Config
users:
- name: badidea
  user:
    username: bad
    password: idea
clusters:
- name: badidea
  cluster:
    server: https://localhost:6443
    insecure-skip-tls-verify: true
contexts:
- name: badidea
  context:
    cluster: badidea
    user: badidea
current-context: badidea
EOF

export KUBECONFIG=test.kubeconfig

kubectl api-resources

kubectl explain bar --recursive

kubectl create -f - <<EOF
---
apiVersion: foo.example.thetirefire/v1
kind: Bar
metadata:
  name: test
spec:
  color: blue
  shape: circle
EOF

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the batch v1 API group +kubebuilder:object:generate=true +groupName=foo.example.thetirefire
Package v1 contains API Schema definitions for the batch v1 API group +kubebuilder:object:generate=true +groupName=foo.example.thetirefire

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL