testyaml

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DoggosName      = "doggos"
	DoggosNamespace = "the-dog-zone"
)
View Source
const (
	SnackName  = "snack"
	SnackImage = "gcr.io/windmill-public-containers/servantes/snack"
)
View Source
const BlorgBackendYAML = `` /* 972-byte string literal not displayed */
View Source
const BlorgJobYAML = `` /* 279-byte string literal not displayed */
View Source
const CRDImage = "docker.io/bitnami/minideb:latest"
View Source
const CRDYAML = `` /* 704-byte string literal not displayed */

Example CRD YAML from: https://github.com/martin-helmich/kubernetes-crd-example/tree/master/kubernetes

View Source
const DoggosDeploymentYaml = `` /* 547-byte string literal not displayed */
View Source
const DoggosListYAML = `` /* 872-byte string literal not displayed */
View Source
const DoggosServiceYaml = `` /* 211-byte string literal not displayed */
View Source
const HelmGeneratedRedisYAML = `` /* 9174-byte string literal not displayed */

Generated with helm fetch stable/redis --version 5.1.3 --untar --untardir tmp && helm template tmp/redis --name test

View Source
const JobYAML = `` /* 251-byte string literal not displayed */
View Source
const LonelyPodYAML = `` /* 253-byte string literal not displayed */

We deliberately create a pod without any labels, to ensure code works without them.

View Source
const MultipleContainersDeploymentYAML = `` /* 828-byte string literal not displayed */
View Source
const MultipleContainersYAML = `` /* 394-byte string literal not displayed */
View Source
const MyNamespaceYAML = `apiVersion: v1
kind: Namespace
metadata:
  name: mynamespace
`
View Source
const OneDeleted = `` /* 1319-byte string literal not displayed */
View Source
const OutOfOrderYaml = `` /* 2084-byte string literal not displayed */

Requires significant sorting to get to an order that's "safe" for applying (see kustomize/ordering.go)

View Source
const PodDisruptionBudgetYAML = `` /* 250-byte string literal not displayed */
View Source
const PodYAML = `` /* 195-byte string literal not displayed */
View Source
const PostgresYAML = `` /* 1600-byte string literal not displayed */

Useful if you ever want to play around with deploying postgres

View Source
const RedisStatefulSetYAML = `` /* 2462-byte string literal not displayed */
View Source
const SanchoBeta1YAML = `` /* 443-byte string literal not displayed */
View Source
const SanchoBeta2YAML = `` /* 443-byte string literal not displayed */
View Source
const SanchoExtBeta1YAML = `` /* 449-byte string literal not displayed */
View Source
const SanchoImage = "gcr.io/some-project-162817/sancho"
View Source
const SanchoImageInEnvYAML = `` /* 501-byte string literal not displayed */
View Source
const SanchoRedisSidecarYAML = `` /* 541-byte string literal not displayed */
View Source
const SanchoSidecarImage = "gcr.io/some-project-162817/sancho-sidecar"
View Source
const SanchoSidecarYAML = `` /* 571-byte string literal not displayed */
View Source
const SanchoStatefulSetBeta1YAML = `` /* 296-byte string literal not displayed */
View Source
const SanchoTwinYAML = `` /* 505-byte string literal not displayed */
View Source
const SanchoTwoContainersOneImageYAML = `` /* 428-byte string literal not displayed */
View Source
const SanchoYAML = `` /* 485-byte string literal not displayed */
View Source
const SanchoYAMLWithCommand = `` /* 411-byte string literal not displayed */
View Source
const SecretName = "mysecret"
View Source
const SecretYaml = `
apiVersion: v1
kind: Secret
metadata:
  name: mysecret
type: Opaque
data:
  username: YWRtaW4=
  password: MWYyZDFlMmU2N2Rm
`
View Source
const SnackYAMLPostConfig = `` /* 388-byte string literal not displayed */
View Source
const SnackYaml = `` /* 346-byte string literal not displayed */
View Source
const SyncletYAML = `` /* 1214-byte string literal not displayed */
View Source
const TracerYAML = `` /* 1295-byte string literal not displayed */
View Source
const TwoDeleted = `` /* 2646-byte string literal not displayed */

Variables

This section is empty.

Functions

func Deployment added in v0.7.7

func Deployment(name string, imageName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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