clusterdns

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CoreDNSTemplateVersion = "2"

CoreDNSTemplateVersion is the version of CoreDNS template

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(domain string, dnsServers []string) *corev1.ConfigMap

ConfigMap returns ConfigMap for CoreDNS

func CreateConfigMapOp

func CreateConfigMapOp(apiserver *cke.Node, domain string, dnsServers []string) cke.Operator

CreateConfigMapOp returns an Operator to create ConfigMap for CoreDNS.

func CreateDeploymentOp

func CreateDeploymentOp(apiserver *cke.Node) cke.Operator

CreateDeploymentOp returns an Operator to create deployment of CoreDNS.

func CreateOp

func CreateOp(apiserver *cke.Node) cke.Operator

CreateOp returns an Operator to create cluster resolver.

func CreateRBACRoleBindingOp

func CreateRBACRoleBindingOp(apiserver *cke.Node) cke.Operator

CreateRBACRoleBindingOp returns an Operator to create RBAC Role Binding for CoreDNS.

func CreateRBACRoleOp

func CreateRBACRoleOp(apiserver *cke.Node) cke.Operator

CreateRBACRoleOp returns an Operator to create RBAC Role for CoreDNS.

func CreateServiceAccountOp

func CreateServiceAccountOp(apiserver *cke.Node) cke.Operator

CreateServiceAccountOp returns an Operator to create serviceaccount for CoreDNS.

func UpdateConfigMapOp

func UpdateConfigMapOp(apiserver *cke.Node, configmap *v1.ConfigMap) cke.Operator

UpdateConfigMapOp returns an Operator to update ConfigMap for CoreDNS.

func UpdateDeploymentOp

func UpdateDeploymentOp(apiserver *cke.Node) cke.Operator

UpdateDeploymentOp returns an Operator to update deployment of CoreDNS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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