Versions in this module Expand all Collapse all v1 v1.6.65 Sep 23, 2024 v1.6.64 Sep 13, 2024 v1.6.4 Sep 13, 2024 Changes in this version + type AZ struct + Label string + Name string + RegionLcuuid string + func (a *AZ) Update(cloudItem *cloudmodel.AZ) + type CEN struct + Name string + VPCLcuuids []string + func (c *CEN) Update(cloudItem *cloudmodel.CEN) + type DHCPPort struct + AZLcuuid string + Name string + RegionLcuuid string + VPCLcuuid string + func (d *DHCPPort) Update(cloudItem *cloudmodel.DHCPPort) + type DataSet struct + AZs map[string]*AZ + CENs map[string]*CEN + DHCPPorts map[string]*DHCPPort + FloatingIPs map[string]*FloatingIP + Hosts map[string]*Host + LANIPs map[string]*LANIP + LBListeners map[string]*LBListener + LBTargetServers map[string]*LBTargetServer + LBVMConnections map[string]*LBVMConnection + LBs map[string]*LB + NATGateways map[string]*NATGateway + NATRules map[string]*NATRule + NATVMConnections map[string]*NATVMConnection + Networks map[string]*Network + PeerConnections map[string]*PeerConnection + PodClusters map[string]*PodCluster + PodGroupPorts map[string]*PodGroupPort + PodGroups map[string]*PodGroup + PodIngressRuleBackends map[string]*PodIngressRuleBackend + PodIngressRules map[string]*PodIngressRule + PodIngresses map[string]*PodIngress + PodNamespaces map[string]*PodNamespace + PodNodes map[string]*PodNode + PodReplicaSets map[string]*PodReplicaSet + PodServicePorts map[string]*PodServicePort + PodServices map[string]*PodService + Pods map[string]*Pod + Process map[string]*Process + RDSInstances map[string]*RDSInstance + RedisInstances map[string]*RedisInstance + Regions map[string]*Region + RoutingTables map[string]*RoutingTable + SubDomains map[string]*SubDomain + Subnets map[string]*Subnet + VIP map[string]*VIP + VInterfaces map[string]*VInterface + VMPodNodeConnections map[string]*VMPodNodeConnection + VMs map[string]*VM + VPCs map[string]*VPC + VRouters map[string]*VRouter + WANIPs map[string]*WANIP + func NewDataSet(md *rcommon.Metadata) *DataSet + func (b *DataSet) AddAZ(dbItem *mysqlmodel.AZ, seq int) + func (b *DataSet) AddCEN(dbItem *mysqlmodel.CEN, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddDHCPPort(dbItem *mysqlmodel.DHCPPort, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddFloatingIP(dbItem *mysqlmodel.FloatingIP, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddHost(dbItem *mysqlmodel.Host, seq int) + func (b *DataSet) AddLANIP(dbItem *mysqlmodel.LANIP, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddLB(dbItem *mysqlmodel.LB, seq int) + func (b *DataSet) AddLBListener(dbItem *mysqlmodel.LBListener, seq int) + func (b *DataSet) AddLBTargetServer(dbItem *mysqlmodel.LBTargetServer, seq int) + func (b *DataSet) AddLBVMConnection(dbItem *mysqlmodel.LBVMConnection, seq int) + func (b *DataSet) AddNATGateway(dbItem *mysqlmodel.NATGateway, seq int) + func (b *DataSet) AddNATRule(dbItem *mysqlmodel.NATRule, seq int) + func (b *DataSet) AddNATVMConnection(dbItem *mysqlmodel.NATVMConnection, seq int) + func (b *DataSet) AddNetwork(dbItem *mysqlmodel.Network, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddPeerConnection(dbItem *mysqlmodel.PeerConnection, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddPod(dbItem *mysqlmodel.Pod, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddPodCluster(dbItem *mysqlmodel.PodCluster, seq int) + func (b *DataSet) AddPodGroup(dbItem *mysqlmodel.PodGroup, seq int) + func (b *DataSet) AddPodGroupPort(dbItem *mysqlmodel.PodGroupPort, seq int) + func (b *DataSet) AddPodIngress(dbItem *mysqlmodel.PodIngress, seq int) + func (b *DataSet) AddPodIngressRule(dbItem *mysqlmodel.PodIngressRule, seq int) + func (b *DataSet) AddPodIngressRuleBackend(dbItem *mysqlmodel.PodIngressRuleBackend, seq int) + func (b *DataSet) AddPodNamespace(dbItem *mysqlmodel.PodNamespace, seq int) + func (b *DataSet) AddPodNode(dbItem *mysqlmodel.PodNode, seq int) + func (b *DataSet) AddPodReplicaSet(dbItem *mysqlmodel.PodReplicaSet, seq int) + func (b *DataSet) AddPodService(dbItem *mysqlmodel.PodService, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddPodServicePort(dbItem *mysqlmodel.PodServicePort, seq int) + func (b *DataSet) AddProcess(dbItem *mysqlmodel.Process, seq int) + func (b *DataSet) AddRDSInstance(dbItem *mysqlmodel.RDSInstance, seq int) + func (b *DataSet) AddRedisInstance(dbItem *mysqlmodel.RedisInstance, seq int) + func (b *DataSet) AddRegion(dbItem *mysqlmodel.Region, seq int) + func (b *DataSet) AddRoutingTable(dbItem *mysqlmodel.RoutingTable, seq int) + func (b *DataSet) AddSubDomain(dbItem *mysqlmodel.SubDomain, seq int) + func (b *DataSet) AddSubnet(dbItem *mysqlmodel.Subnet, seq int) + func (b *DataSet) AddVIP(dbItem *mysqlmodel.VIP, seq int) + func (b *DataSet) AddVInterface(dbItem *mysqlmodel.VInterface, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddVM(dbItem *mysqlmodel.VM, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddVMPodNodeConnection(dbItem *mysqlmodel.VMPodNodeConnection, seq int) + func (b *DataSet) AddVPC(dbItem *mysqlmodel.VPC, seq int) + func (b *DataSet) AddVRouter(dbItem *mysqlmodel.VRouter, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) AddWANIP(dbItem *mysqlmodel.WANIP, seq int, toolDataSet *tool.DataSet) + func (b *DataSet) DeleteAZ(lcuuid string) + func (b *DataSet) DeleteCEN(lcuuid string) + func (b *DataSet) DeleteDHCPPort(lcuuid string) + func (b *DataSet) DeleteFloatingIP(lcuuid string) + func (b *DataSet) DeleteHost(lcuuid string) + func (b *DataSet) DeleteLANIP(lcuuid string) + func (b *DataSet) DeleteLB(lcuuid string) + func (b *DataSet) DeleteLBListener(lcuuid string) + func (b *DataSet) DeleteLBTargetServer(lcuuid string) + func (b *DataSet) DeleteLBVMConnection(lcuuid string) + func (b *DataSet) DeleteNATGateway(lcuuid string) + func (b *DataSet) DeleteNATRule(lcuuid string) + func (b *DataSet) DeleteNATVMConnection(lcuuid string) + func (b *DataSet) DeleteNetwork(lcuuid string) + func (b *DataSet) DeletePeerConnection(lcuuid string) + func (b *DataSet) DeletePod(lcuuid string) + func (b *DataSet) DeletePodCluster(lcuuid string) + func (b *DataSet) DeletePodGroup(lcuuid string) + func (b *DataSet) DeletePodGroupPort(lcuuid string) + func (b *DataSet) DeletePodIngress(lcuuid string) + func (b *DataSet) DeletePodIngressRule(lcuuid string) + func (b *DataSet) DeletePodIngressRuleBackend(lcuuid string) + func (b *DataSet) DeletePodNamespace(lcuuid string) + func (b *DataSet) DeletePodNode(lcuuid string) + func (b *DataSet) DeletePodReplicaSet(lcuuid string) + func (b *DataSet) DeletePodService(lcuuid string) + func (b *DataSet) DeletePodServicePort(lcuuid string) + func (b *DataSet) DeleteProcess(lcuuid string) + func (b *DataSet) DeleteRDSInstance(lcuuid string) + func (b *DataSet) DeleteRedisInstance(lcuuid string) + func (b *DataSet) DeleteRegion(lcuuid string) + func (b *DataSet) DeleteRoutingTable(lcuuid string) + func (b *DataSet) DeleteSubDomain(lcuuid string) + func (b *DataSet) DeleteSubnet(lcuuid string) + func (b *DataSet) DeleteVIP(lcuuid string) + func (b *DataSet) DeleteVInterface(lcuuid string) + func (b *DataSet) DeleteVM(lcuuid string) + func (b *DataSet) DeleteVMPodNodeConnection(lcuuid string) + func (b *DataSet) DeleteVPC(lcuuid string) + func (b *DataSet) DeleteVRouter(lcuuid string) + func (b *DataSet) DeleteWANIP(lcuuid string) + type DiffBase struct + Lcuuid string + Sequence int + func (d *DiffBase) GetLcuuid() string + func (d *DiffBase) GetSequence() int + func (d *DiffBase) SetSequence(sequence int) + type FloatingIP struct + RegionLcuuid string + VPCLcuuid string + func (f *FloatingIP) Update(cloudItem *cloudmodel.FloatingIP) + type Host struct + AZLcuuid string + ExtraInfo string + HType int + Hostname string + IP string + MemTotal int + Name string + RegionLcuuid string + VCPUNum int + func (h *Host) Update(cloudItem *cloudmodel.Host) + type LANIP struct + SubDomainLcuuid string + SubnetLcuuid string + func (l *LANIP) Update(cloudItem *cloudmodel.IP) + type LB struct + Model int + Name string + RegionLcuuid string + VIP string + VPCLcuuid string + func (l *LB) Update(cloudItem *cloudmodel.LB) + type LBListener struct + IPs string + Name string + Port int + Protocol string + SNATIPs string + func (l *LBListener) Update(cloudItem *cloudmodel.LBListener) + type LBTargetServer struct + IP string + Port int + Protocol string + func (l *LBTargetServer) Update(cloudItem *cloudmodel.LBTargetServer) + type LBVMConnection struct + type LogController struct + func (l *LogController) GetLogFunc() func(args ...interface{}) + func (l *LogController) SetLogLevel(level logging.Level) error + type NATGateway struct + FloatingIPs string + Name string + RegionLcuuid string + func (n *NATGateway) Update(cloudItem *cloudmodel.NATGateway) + type NATRule struct + type NATVMConnection struct + type Network struct + AZLcuuid string + Label string + Name string + NetType int + RegionLcuuid string + SegmentationID int + SubDomainLcuuid string + TunnelID int + VPCLcuuid string + func (n *Network) Update(cloudItem *cloudmodel.Network) + type PeerConnection struct + LocalRegionLcuuid string + Name string + RemoteRegionLcuuid string + func (p *PeerConnection) Update(cloudItem *cloudmodel.PeerConnection) + type Pod struct + AZLcuuid string + Annotation string + ContainerIDs string + CreatedAt time.Time + ENV string + Label string + Name string + PodGroupLcuuid string + PodNodeLcuuid string + PodReplicaSetLcuuid string + PodServiceLcuuid string + RegionLcuuid string + State int + SubDomainLcuuid string + VPCLcuuid string + func (p *Pod) Update(cloudItem *cloudmodel.Pod) + type PodCluster struct + AZLcuuid string + ClusterName string + Name string + RegionLcuuid string + SubDomainLcuuid string + func (p *PodCluster) Update(cloudItem *cloudmodel.PodCluster) + type PodGroup struct + AZLcuuid string + Label string + Name string + PodNum int + RegionLcuuid string + SubDomainLcuuid string + Type int + func (p *PodGroup) Update(cloudItem *cloudmodel.PodGroup) + type PodGroupPort struct + Name string + SubDomainLcuuid string + func (p *PodGroupPort) Update(cloudItem *cloudmodel.PodGroupPort) + type PodIngress struct + AZLcuuid string + Name string + RegionLcuuid string + SubDomainLcuuid string + func (p *PodIngress) Update(cloudItem *cloudmodel.PodIngress) + type PodIngressRule struct + SubDomainLcuuid string + type PodIngressRuleBackend struct + SubDomainLcuuid string + type PodNamespace struct + AZLcuuid string + CloudTags map[string]string + RegionLcuuid string + SubDomainLcuuid string + func (p *PodNamespace) Update(cloudItem *cloudmodel.PodNamespace) + type PodNode struct + AZLcuuid string + Hostname string + IP string + MemTotal int + RegionLcuuid string + State int + SubDomainLcuuid string + Type int + VCPUNum int + func (p *PodNode) Update(cloudItem *cloudmodel.PodNode) + type PodReplicaSet struct + AZLcuuid string + Label string + Name string + PodNum int + RegionLcuuid string + SubDomainLcuuid string + func (p *PodReplicaSet) Update(cloudItem *cloudmodel.PodReplicaSet) + type PodService struct + AZLcuuid string + Annotation string + ExternalIP string + Label string + Name string + PodIngressLcuuid string + RegionLcuuid string + Selector string + ServiceClusterIP string + SubDomainLcuuid string + func (p *PodService) Update(cloudItem *cloudmodel.PodService) + type PodServicePort struct + Name string + SubDomainLcuuid string + func (p *PodServicePort) Update(cloudItem *cloudmodel.PodServicePort) + type Process struct + ContainerID string + DeviceID int + DeviceType int + Name string + OSAPPTags string + func (p *Process) Update(cloudItem *cloudmodel.Process, toolDataSet *tool.DataSet) + type RDSInstance struct + AZLcuuid string + Model int + Name string + RegionLcuuid string + Series int + State int + VPCLcuuid string + func (r *RDSInstance) Update(cloudItem *cloudmodel.RDSInstance) + type RedisInstance struct + AZLcuuid string + Name string + PublicHost string + RegionLcuuid string + State int + func (r *RedisInstance) Update(cloudItem *cloudmodel.RedisInstance) + type Region struct + Label string + Name string + func (r *Region) Update(cloudItem *cloudmodel.Region) + type RoutingTable struct + Destination string + Nexthop string + NexthopType string + func (r *RoutingTable) Update(cloudItem *cloudmodel.RoutingTable) + type SubDomain struct + Name string + func (s *SubDomain) Update(cloudItem *cloudmodel.SubDomain) + type Subnet struct + Label string + Name string + SubDomainLcuuid string + func (s *Subnet) Update(cloudItem *cloudmodel.Subnet) + type VIP struct + IP string + VTapID uint32 + func (p *VIP) Update(cloudItem *cloudmodel.VIP) + type VInterface struct + DeviceLcuuid string + DeviceType int + Name string + NetnsID uint32 + NetworkLcuuid string + RegionLcuuid string + SubDomainLcuuid string + TapMac string + Type int + VtapID uint32 + func (v *VInterface) Update(cloudItem *cloudmodel.VInterface) + type VM struct + AZLcuuid string + CloudTags map[string]string + HType int + HostID int + Hostname string + IP string + Label string + LaunchServer string + Name string + RegionLcuuid string + State int + VPCLcuuid string + func (v *VM) Update(cloudItem *cloudmodel.VM, toolDataSet *tool.DataSet) + type VMPodNodeConnection struct + SubDomainLcuuid string + type VPC struct + CIDR string + Label string + Name string + RegionLcuuid string + TunnelID int + func (v *VPC) Update(cloudItem *cloudmodel.VPC) + type VRouter struct + Label string + Name string + RegionLcuuid string + VPCLcuuid string + func (v *VRouter) Update(cloudItem *cloudmodel.VRouter) + type WANIP struct + RegionLcuuid string + SubDomainLcuuid string + SubnetLcuuid string + func (w *WANIP) Update(cloudItem *cloudmodel.IP)