crash.software
Projects
Pull Requests
Issues
Builds
CVE-2023-22480_KubeOperator
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
CVE-2023-22480_KubeOperator
Files
🤬
Sign In
dc263761
ROOT
/
pkg
/
service
/
cluster_import.go
Search
History
530 lines
|
ISO-8859-1
|
16 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ClusterImportService
Import
(clusterImport dto.ClusterImport)
:
error
LoadClusterInfo
(loadInfo *dto.ClusterLoad)
:
(dto.ClusterLoadInfo, error)
clusterImportService
clusterRepo
:
repository.ClusterRepository
projectRepository
:
repository.ProjectRepository
projectResourceRepository
:
repository.ProjectResourceRepository
msgService
:
MsgService
Import
(clusterImport dto.ClusterImport)
:
error
handlerImportError
(tx *gorm.DB, cluster *model.Cluster, err error)
LoadClusterInfo
(loadInfo *dto.ClusterLoad)
:
(dto.ClusterLoadInfo, error)
NewClusterImportService
()
:
*clusterImportService
gatherClusterInfo
(cluster *model.Cluster)
:
error
getServerVersion
(client *kubernetes.Clientset, isKoCluster bool)
:
(string, error)
getKubeNodes
(isKoImport bool, client *kubernetes.Clientset)
:
([]dto.NodesFromK8s, string, string, error)
getInfoFromDaemonset
(client *kubernetes.Clientset)
:
(string, error)
admConfigStruct
ApiServer
:
apiServerStruct
ControlPlaneEndpoint
:
string
Controller
:
ControllerStruct
Network
:
networkStruct
proxyConfigStruct
Mode
:
string
NodePortAddresses
:
string
apiServerStruct
ExtraArgs
:
extraArgsStruct
ControllerStruct
ExtraArgs
:
extraArgsStruct
networkStruct
DnsDomain
:
string
PodSubnet
:
string
ServiceSubnet
:
string
extraArgsStruct
ServiceNodePortRange
:
string
NodeCidrMaskSize
:
string
AuditLogPath
:
string
All occurrences
Please wait...
Page is in error, reload to recover