templates

package
v0.2.0-rc13 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SystemNodeClusterRoleBinding = `` /* 395-byte string literal not displayed */

	JobDeployerServiceAccount = `
apiVersion: v1
kind: ServiceAccount
metadata:
  name: rke-job-deployer
  namespace: kube-system`

	JobDeployerClusterRoleBinding = `` /* 269-byte string literal not displayed */

	DefaultPodSecurityPolicy = `` /* 531-byte string literal not displayed */

	DefaultPodSecurityRole = `` /* 238-byte string literal not displayed */

	DefaultPodSecurityRoleBinding = `` /* 495-byte string literal not displayed */

)
View Source
const AddonJobTemplate = `` /* 1723-byte string literal not displayed */
View Source
const (
	AuthnWebhook = `` /* 318-byte string literal not displayed */

)
View Source
const CalicoTemplateV112 = `` /* 13313-byte string literal not displayed */
View Source
const CalicoTemplateV113 = `` /* 15091-byte string literal not displayed */
View Source
const CanalTemplateV112 = `` /* 13896-byte string literal not displayed */
View Source
const CanalTemplateV113 = `` /* 15721-byte string literal not displayed */
View Source
const CoreDNSTemplate = `` /* 6001-byte string literal not displayed */
View Source
const FlannelTemplate = `` /* 4424-byte string literal not displayed */
View Source
const KubeDNSTemplate = `` /* 8497-byte string literal not displayed */
View Source
const MetricsServerTemplate = `` /* 2884-byte string literal not displayed */
View Source
const NginxIngressTemplate = `` /* 7045-byte string literal not displayed */
View Source
const VsphereCloudProviderTemplate = `` /* 2221-byte string literal not displayed */
View Source
const WeaveTemplate = `` /* 5924-byte string literal not displayed */

Variables

View Source
var VersionedTemplate = map[string]map[string]string{
	"calico": map[string]string{
		"v1.13":   CalicoTemplateV113,
		"default": CalicoTemplateV112,
	},
	"canal": map[string]string{
		"v1.13":   CanalTemplateV113,
		"default": CanalTemplateV112,
	},
}

Functions

func CompileTemplateFromMap

func CompileTemplateFromMap(tmplt string, configMap interface{}) (string, error)

func GetVersionedTemplates added in v0.1.17

func GetVersionedTemplates(templateName string, k8sVersion 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