Documentation ¶
Index ¶
- Constants
- func GetAppName(clusterName string, appName string) string
- func GetAppSpecKubeConfigSecretName(clusterName string) string
- func GetConfigmapDataFromTemplate(authToken string, proxyAddr string, kubeClusterName string, ...) string
- func GetConfigmapName(clusterName string, appName string) string
- func GetKubeconfigSecretName(clusterName string) string
- func GetRegisterName(managementClusterName, clusterName string) string
- func GetSecretName(clusterName string) string
- func GetTbotConfigmapDataFromTemplate(kubeClusterName string, clusterName string) string
- func GetTbotConfigmapName(clusterName string) string
- func ParseRoles(s string) ([]string, error)
- func RolesToString(roles []string) string
- func RolesToSystemRoles(roles []string) []types.SystemRole
Constants ¶
View Source
const ( AppOperatorVersion = "0.0.0" TeleportOperatorFinalizer = "teleport.finalizer.giantswarm.io" TeleportKubeAppDefaultNamespace = "giantswarm" TeleportKubeAppNamespace = "kube-system" TeleportOperatorLabelValue = "teleport-operator" TeleportOperatorConfigName = "teleport-operator" TeleportBotSecretName = "identity-output" TeleportBotNamespace = "giantswarm" TeleportBotAppName = "teleport-tbot" TeleportAppTokenValidity = 720 * time.Hour TeleportKubeTokenValidity = 720 * time.Hour TeleportNodeTokenValidity = 720 * time.Hour AppCatalog = "appCatalog" AppName = "appName" AppVersion = "appVersion" IdentityFile = "identityFile" Identity = "identity" ManagementClusterName = "managementClusterName" ProxyAddr = "proxyAddr" TeleportVersion = "teleportVersion" RoleKube = "kube" RoleApp = "app" RoleNode = "node" )
Variables ¶
This section is empty.
Functions ¶
func GetAppName ¶
func GetConfigmapName ¶
func GetKubeconfigSecretName ¶ added in v0.10.0
func GetRegisterName ¶
func GetSecretName ¶
func GetTbotConfigmapDataFromTemplate ¶ added in v0.10.0
func GetTbotConfigmapName ¶ added in v0.10.0
func ParseRoles ¶ added in v0.11.0
func RolesToString ¶ added in v0.11.0
func RolesToSystemRoles ¶ added in v0.11.0
func RolesToSystemRoles(roles []string) []types.SystemRole
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.