testdata

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildInput = `` /* 627-byte string literal not displayed */
View Source
var BuildOutput = []string{
	`apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
    name: deployment-reader
rules:
- apiGroups: ["apps"]
  resources: ["deployments"]
  verbs: ["get", "watch", "list"]`,
	`kind: Namespace
metadata:
    name: foo`,

	`apiVersion: v1
kind: ServiceAccount
metadata:
    name: baz
    namespace: foo`,

	`apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
    name: deployment-reader
    namespace: foo
subjects:
- kind: ServiceAccount
  name: baz
  namespace: foo
roleRef:
    kind: ClusterRole
    name: deployment-reader
    apiGroup: rbac.authorization.k8s.io`,

	`kind: Namespace
metadata:
    name: bar`,

	`apiVersion: v1
kind: ServiceAccount
metadata:
    name: baz
    namespace: bar`,

	`apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
    name: deployment-reader
    namespace: bar
subjects:
- kind: ServiceAccount
  name: baz
  namespace: bar
roleRef:
    kind: ClusterRole
    name: deployment-reader
    apiGroup: rbac.authorization.k8s.io`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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