constants

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YurtctlLockConfigMapName = "yurtctl-lock"

	DefaultOpenYurtVersion = "latest"

	TmpDownloadDir = "/tmp"

	DirMode  = 0755
	FileMode = 0666

	YurthubComponentName                = "yurt-hub"
	YurthubNamespace                    = "kube-system"
	YurthubCmName                       = "yurt-hub-cfg"
	YurtControllerManagerServiceAccount = `
apiVersion: v1
kind: ServiceAccount
metadata:
  name: yurt-controller-manager
  namespace: kube-system
`
	// YurtControllerManagerClusterRole has the same privilege as the
	// system:controller:node-controller and has the right to manipulate
	// the leases resource
	YurtControllerManagerClusterRole = `` /* 1277-byte string literal not displayed */

	YurtControllerManagerClusterRoleBinding = `` /* 306-byte string literal not displayed */

	// YurtControllerManagerDeployment defines the yurt controller manager
	// deployment in yaml format
	YurtControllerManagerDeployment = `` /* 875-byte string literal not displayed */

	YurthubClusterRole = `` /* 422-byte string literal not displayed */

	YurthubClusterRoleBinding = `` /* 267-byte string literal not displayed */

	YurthubConfigMap = `` /* 282-byte string literal not displayed */

)
View Source
const (
	OpenYurtKindConfig = `` /* 135-byte string literal not displayed */

	KindWorkerRole = `  - role: worker
    image: {{.kind_node_image}}`
)
View Source
const (
	//todo
	YurtAppManagerNodePool = `` /* 5458-byte string literal not displayed */

	YurtAppManagerUnitedDeployment = `` /* 10697-byte string literal not displayed */

	YurtAppManagerRole = `` /* 421-byte string literal not displayed */

	YurtAppManagerClusterRole = `` /* 2326-byte string literal not displayed */

	YurtAppManagerRolebinding = `` /* 312-byte string literal not displayed */

	YurtAppManagerClusterRolebinding = `` /* 285-byte string literal not displayed */

	//todo
	YurtAppManagerSecret = `
apiVersion: v1
kind: Secret
metadata:
  name: yurt-app-webhook-certs
  namespace: kube-system
`
	YurtAppManagerService = `` /* 196-byte string literal not displayed */

	YurtAppManagerDeployment = `` /* 1197-byte string literal not displayed */

	//todo
	YurtAppManagerMutatingWebhookConfiguration = `` /* 906-byte string literal not displayed */

	//todo
	YurtAppManagerValidatingWebhookConfiguration = `` /* 927-byte string literal not displayed */

)
View Source
const (
	YurttunnelProxyClientClusterRole = `` /* 425-byte string literal not displayed */

	YurttunnelProxyClientClusterRolebinding = `` /* 295-byte string literal not displayed */

	YurttunnelServerClusterRole = `` /* 779-byte string literal not displayed */

	YurttunnelServerServiceAccount = `
apiVersion: v1
kind: ServiceAccount
metadata:
  name: yurt-tunnel-server
  namespace: kube-system
`
	YurttunnelServerClusterRolebinding = `` /* 289-byte string literal not displayed */

	YurttunnelServerService = `` /* 335-byte string literal not displayed */

	YurttunnelServerInternalService = `` /* 319-byte string literal not displayed */

	YurttunnelServerConfigMap = `` /* 213-byte string literal not displayed */

	YurttunnelServerDeployment = `` /* 1416-byte string literal not displayed */

)
View Source
const (
	YurttunnelAgentDaemonSet = `` /* 1684-byte string literal not displayed */

)

Variables

View Source
var (
	// AnnotationAutonomy is used to identify if a node is autonomous
	AnnotationAutonomy = projectinfo.GetAutonomyAnnotation()
)

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