Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIVersion = "v1alpha1" KubeSystemNamespace = "kube-system" OpenPitrixNamespace = "openpitrix-system" KubesphereDevOpsNamespace = "kubesphere-devops-system" IstioNamespace = "istio-system" KubeSphereMonitoringNamespace = "kubesphere-monitoring-system" KubeSphereLoggingNamespace = "kubesphere-logging-system" KubeSphereNamespace = "kubesphere-system" KubeSphereControlNamespace = "kubesphere-controls-system" PorterNamespace = "porter-system" IngressControllerNamespace = KubeSphereControlNamespace AdminUserName = "admin" IngressControllerPrefix = "kubesphere-router-" KubeSphereConfigName = "kubesphere-config" KubeSphereConfigMapDataKey = "kubesphere.yaml" ClusterNameLabelKey = "kubesphere.io/cluster" NameLabelKey = "kubesphere.io/name" WorkspaceLabelKey = "kubesphere.io/workspace" NamespaceLabelKey = "kubesphere.io/namespace" DisplayNameAnnotationKey = "kubesphere.io/alias-name" ChartRepoIdLabelKey = "application.kubesphere.io/repo-id" ChartApplicationIdLabelKey = "application.kubesphere.io/app-id" ChartApplicationVersionIdLabelKey = "application.kubesphere.io/app-version-id" CategoryIdLabelKey = "application.kubesphere.io/app-category-id" DanglingAppCleanupKey = "application.kubesphere.io/app-cleanup" CreatorAnnotationKey = "kubesphere.io/creator" UsernameLabelKey = "kubesphere.io/username" DevOpsProjectLabelKey = "kubesphere.io/devopsproject" KubefedManagedLabel = "kubefed.io/managed" UserNameHeader = "X-Token-Username" AuthenticationTag = "Authentication" UserTag = "User" GroupTag = "Group" WorkspaceMemberTag = "Workspace Member" DevOpsProjectMemberTag = "DevOps Project Member" NamespaceMemberTag = "Namespace Member" ClusterMemberTag = "Cluster Member" GlobalRoleTag = "Global Role" ClusterRoleTag = "Cluster Role" WorkspaceRoleTag = "Workspace Role" DevOpsProjectRoleTag = "DevOps Project Role" NamespaceRoleTag = "Namespace Role" OpenpitrixTag = "OpenPitrix Resources" OpenpitrixAppInstanceTag = "App Instance" OpenpitrixAppTemplateTag = "App Template" OpenpitrixCategoryTag = "Category" OpenpitrixAttachmentTag = "Attachment" OpenpitrixRepositoryTag = "Repository" OpenpitrixManagementTag = "App Management" // HelmRepoMinSyncPeriod min sync period in seconds HelmRepoMinSyncPeriod = 180 CleanupDanglingAppOngoing = "ongoing" CleanupDanglingAppDone = "done" DevOpsCredentialTag = "DevOps Credential" DevOpsPipelineTag = "DevOps Pipeline" DevOpsWebhookTag = "DevOps Webhook" DevOpsJenkinsfileTag = "DevOps Jenkinsfile" DevOpsScmTag = "DevOps Scm" DevOpsJenkinsTag = "Jenkins" ToolboxTag = "Toolbox" RegistryTag = "Docker Registry" GitTag = "Git" TerminalTag = "Terminal" MultiClusterTag = "Multi-cluster" WorkspaceTag = "Workspace" NamespaceTag = "Namespace" DevOpsProjectTag = "DevOps Project" UserResourceTag = "User's Resources" NamespaceResourcesTag = "Namespace Resources" ClusterResourcesTag = "Cluster Resources" ComponentStatusTag = "Component Status" GatewayTag = "Gateway" NetworkTopologyTag = "Network Topology" KubeSphereMetricsTag = "KubeSphere Metrics" ClusterMetricsTag = "Cluster Metrics" NodeMetricsTag = "Node Metrics" NamespaceMetricsTag = "Namespace Metrics" PodMetricsTag = "Pod Metrics" PVCMetricsTag = "PVC Metrics" IngressMetricsTag = "Ingress Metrics" ContainerMetricsTag = "Container Metrics" WorkloadMetricsTag = "Workload Metrics" WorkspaceMetricsTag = "Workspace Metrics" ComponentMetricsTag = "Component Metrics" CustomMetricsTag = "Custom Metrics" LogQueryTag = "Log Query" EventsQueryTag = "Events Query" AuditingQueryTag = "Auditing Query" ClusterMetersTag = "Cluster Meters" NodeMetersTag = "Node Meters" WorkspaceMetersTag = "Workspace Meters" NamespaceMetersTag = "Namespace Meters" WorkloadMetersTag = "Workload Meters" PodMetersTag = "Pod Meters" ServiceMetricsTag = "ServiceName Meters" ApplicationReleaseName = "meta.helm.sh/release-name" ApplicationReleaseNS = "meta.helm.sh/release-namespace" ApplicationName = "app.kubernetes.io/name" ApplicationVersion = "app.kubernetes.io/version" AlertingTag = "Alerting" NotificationTag = "Notification" NotificationSecretNamespace = "kubesphere-monitoring-federated" NotificationManagedLabel = "notification.kubesphere.io/managed" DashboardTag = "Dashboard" )
Variables ¶
View Source
var (
SystemNamespaces = []string{KubeSphereNamespace, KubeSphereLoggingNamespace, KubeSphereMonitoringNamespace, OpenPitrixNamespace, KubeSystemNamespace, IstioNamespace, KubesphereDevOpsNamespace, PorterNamespace}
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.