Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AZ
 - type CEN
 - type DHCPPort
 - type FloatingIP
 - type Host
 - type LANIP
 - type LB
 - type LBListener
 - type LBTargetServer
 - type LBVMConnection
 - type NATGateway
 - type NATRule
 - type NATVMConnection
 - type Network
 - type Operator
 - type OperatorBase
 - func (o *OperatorBase[MPT, MT]) AddBatch(items []*MT) ([]*MT, bool)
 - func (o *OperatorBase[MPT, MT]) DeleteBatch(lcuuids []string) ([]*MT, bool)
 - func (o *OperatorBase[MPT, MT]) GetSoftDelete() bool
 - func (o *OperatorBase[MPT, MT]) SetMetadata(md *rcommon.Metadata) Operator[MPT, MT]
 - func (o *OperatorBase[MPT, MT]) Update(lcuuid string, updateInfo map[string]interface{}) (*MT, bool)
 
- type PeerConnection
 - type Pod
 - type PodCluster
 - type PodGroup
 - type PodGroupPort
 - type PodIngress
 - type PodIngressRule
 - type PodIngressRuleBackend
 - type PodNamespace
 - type PodNode
 - type PodReplicaSet
 - type PodService
 - type PodServicePort
 - type Process
 - type RDSInstance
 - type RedisInstance
 - type Region
 - type RoutingTable
 - type SubDomain
 - type Subnet
 - type VIP
 - type VInterface
 - type VM
 - type VMPodNodeConnection
 - type VPC
 - type VRouter
 - type WANIP
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZ ¶
type AZ struct {
	OperatorBase[*mysqlmodel.AZ, mysqlmodel.AZ]
}
    type CEN ¶
type CEN struct {
	OperatorBase[*mysqlmodel.CEN, mysqlmodel.CEN]
}
    type DHCPPort ¶
type DHCPPort struct {
	OperatorBase[*mysqlmodel.DHCPPort, mysqlmodel.DHCPPort]
}
    func NewDHCPPort ¶
func NewDHCPPort() *DHCPPort
type FloatingIP ¶
type FloatingIP struct {
	OperatorBase[*mysqlmodel.FloatingIP, mysqlmodel.FloatingIP]
}
    func NewFloatingIP ¶
func NewFloatingIP() *FloatingIP
type Host ¶
type Host struct {
	OperatorBase[*mysqlmodel.Host, mysqlmodel.Host]
}
    type LANIP ¶
type LANIP struct {
	OperatorBase[*mysqlmodel.LANIP, mysqlmodel.LANIP]
}
    type LB ¶
type LB struct {
	OperatorBase[*mysqlmodel.LB, mysqlmodel.LB]
}
    type LBListener ¶
type LBListener struct {
	OperatorBase[*mysqlmodel.LBListener, mysqlmodel.LBListener]
}
    func NewLBListener ¶
func NewLBListener() *LBListener
type LBTargetServer ¶
type LBTargetServer struct {
	OperatorBase[*mysqlmodel.LBTargetServer, mysqlmodel.LBTargetServer]
}
    func NewLBTargetServer ¶
func NewLBTargetServer() *LBTargetServer
type LBVMConnection ¶
type LBVMConnection struct {
	OperatorBase[*mysqlmodel.LBVMConnection, mysqlmodel.LBVMConnection]
}
    func NewLBVMConnection ¶
func NewLBVMConnection() *LBVMConnection
type NATGateway ¶
type NATGateway struct {
	OperatorBase[*mysqlmodel.NATGateway, mysqlmodel.NATGateway]
}
    func NewNATGateway ¶
func NewNATGateway() *NATGateway
type NATRule ¶
type NATRule struct {
	OperatorBase[*mysqlmodel.NATRule, mysqlmodel.NATRule]
}
    func NewNATRule ¶
func NewNATRule() *NATRule
type NATVMConnection ¶
type NATVMConnection struct {
	OperatorBase[*mysqlmodel.NATVMConnection, mysqlmodel.NATVMConnection]
}
    func NewNATVMConnection ¶
func NewNATVMConnection() *NATVMConnection
type Network ¶
type Network struct {
	OperatorBase[*mysqlmodel.Network, mysqlmodel.Network]
}
    func NewNetwork ¶
func NewNetwork() *Network
type Operator ¶
type Operator[MPT constraint.MySQLModelPtr[MT], MT constraint.MySQLModel] interface { // 批量插入数据 AddBatch(dbItems []*MT) ([]*MT, bool) // 更新数据 Update(lcuuid string, updateInfo map[string]interface{}) (*MT, bool) // 批量删除数据 DeleteBatch(lcuuids []string) ([]*MT, bool) GetSoftDelete() bool }
type OperatorBase ¶
type OperatorBase[MPT constraint.MySQLModelPtr[MT], MT constraint.MySQLModel] struct { // contains filtered or unexported fields }
func (*OperatorBase[MPT, MT]) AddBatch ¶
func (o *OperatorBase[MPT, MT]) AddBatch(items []*MT) ([]*MT, bool)
func (*OperatorBase[MPT, MT]) DeleteBatch ¶
func (o *OperatorBase[MPT, MT]) DeleteBatch(lcuuids []string) ([]*MT, bool)
func (*OperatorBase[MPT, MT]) GetSoftDelete ¶
func (o *OperatorBase[MPT, MT]) GetSoftDelete() bool
func (*OperatorBase[MPT, MT]) SetMetadata ¶
func (o *OperatorBase[MPT, MT]) SetMetadata(md *rcommon.Metadata) Operator[MPT, MT]
type PeerConnection ¶
type PeerConnection struct {
	OperatorBase[*mysqlmodel.PeerConnection, mysqlmodel.PeerConnection]
}
    func NewPeerConnection ¶
func NewPeerConnection() *PeerConnection
type Pod ¶
type Pod struct {
	OperatorBase[*mysqlmodel.Pod, mysqlmodel.Pod]
}
    type PodCluster ¶
type PodCluster struct {
	OperatorBase[*mysqlmodel.PodCluster, mysqlmodel.PodCluster]
}
    func NewPodCluster ¶
func NewPodCluster() *PodCluster
type PodGroup ¶
type PodGroup struct {
	OperatorBase[*mysqlmodel.PodGroup, mysqlmodel.PodGroup]
}
    func NewPodGroup ¶
func NewPodGroup() *PodGroup
type PodGroupPort ¶
type PodGroupPort struct {
	OperatorBase[*mysqlmodel.PodGroupPort, mysqlmodel.PodGroupPort]
}
    func NewPodGroupPort ¶
func NewPodGroupPort() *PodGroupPort
type PodIngress ¶
type PodIngress struct {
	OperatorBase[*mysqlmodel.PodIngress, mysqlmodel.PodIngress]
}
    func NewPodIngress ¶
func NewPodIngress() *PodIngress
type PodIngressRule ¶
type PodIngressRule struct {
	OperatorBase[*mysqlmodel.PodIngressRule, mysqlmodel.PodIngressRule]
}
    func NewPodIngressRule ¶
func NewPodIngressRule() *PodIngressRule
type PodIngressRuleBackend ¶
type PodIngressRuleBackend struct {
	OperatorBase[*mysqlmodel.PodIngressRuleBackend, mysqlmodel.PodIngressRuleBackend]
}
    func NewPodIngressRuleBackend ¶
func NewPodIngressRuleBackend() *PodIngressRuleBackend
type PodNamespace ¶
type PodNamespace struct {
	OperatorBase[*mysqlmodel.PodNamespace, mysqlmodel.PodNamespace]
}
    func NewPodNamespace ¶
func NewPodNamespace() *PodNamespace
type PodNode ¶
type PodNode struct {
	OperatorBase[*mysqlmodel.PodNode, mysqlmodel.PodNode]
}
    func NewPodNode ¶
func NewPodNode() *PodNode
func (*PodNode) DeleteBatch ¶
func (n *PodNode) DeleteBatch(lcuuids []string) ([]*mysqlmodel.PodNode, bool)
type PodReplicaSet ¶
type PodReplicaSet struct {
	OperatorBase[*mysqlmodel.PodReplicaSet, mysqlmodel.PodReplicaSet]
}
    func NewPodReplicaSet ¶
func NewPodReplicaSet() *PodReplicaSet
type PodService ¶
type PodService struct {
	OperatorBase[*mysqlmodel.PodService, mysqlmodel.PodService]
}
    func NewPodService ¶
func NewPodService() *PodService
type PodServicePort ¶
type PodServicePort struct {
	OperatorBase[*mysqlmodel.PodServicePort, mysqlmodel.PodServicePort]
}
    func NewPodServicePort ¶
func NewPodServicePort() *PodServicePort
type Process ¶
type Process struct {
	OperatorBase[*mysqlmodel.Process, mysqlmodel.Process]
}
    func NewProcess ¶
func NewProcess() *Process
type RDSInstance ¶
type RDSInstance struct {
	OperatorBase[*mysqlmodel.RDSInstance, mysqlmodel.RDSInstance]
}
    func NewRDSInstance ¶
func NewRDSInstance() *RDSInstance
type RedisInstance ¶
type RedisInstance struct {
	OperatorBase[*mysqlmodel.RedisInstance, mysqlmodel.RedisInstance]
}
    func NewRedisInstance ¶
func NewRedisInstance() *RedisInstance
type Region ¶
type Region struct {
	OperatorBase[*mysqlmodel.Region, mysqlmodel.Region]
}
    type RoutingTable ¶
type RoutingTable struct {
	OperatorBase[*mysqlmodel.RoutingTable, mysqlmodel.RoutingTable]
}
    func NewRoutingTable ¶
func NewRoutingTable() *RoutingTable
type SubDomain ¶
type SubDomain struct {
	OperatorBase[*mysqlmodel.SubDomain, mysqlmodel.SubDomain]
}
    func NewSubDomain ¶
func NewSubDomain() *SubDomain
type Subnet ¶
type Subnet struct {
	OperatorBase[*mysqlmodel.Subnet, mysqlmodel.Subnet]
}
    type VIP ¶
type VIP struct {
	OperatorBase[*mysqlmodel.VIP, mysqlmodel.VIP]
}
    type VInterface ¶
type VInterface struct {
	OperatorBase[*mysqlmodel.VInterface, mysqlmodel.VInterface]
}
    func NewVInterface ¶
func NewVInterface() *VInterface
type VM ¶
type VM struct {
	OperatorBase[*mysqlmodel.VM, mysqlmodel.VM]
}
    func (*VM) DeleteBatch ¶
func (v *VM) DeleteBatch(lcuuids []string) ([]*mysqlmodel.VM, bool)
type VMPodNodeConnection ¶
type VMPodNodeConnection struct {
	OperatorBase[*mysqlmodel.VMPodNodeConnection, mysqlmodel.VMPodNodeConnection]
}
    func NewVMPodNodeConnection ¶
func NewVMPodNodeConnection() *VMPodNodeConnection
type VPC ¶
type VPC struct {
	OperatorBase[*mysqlmodel.VPC, mysqlmodel.VPC]
}
    type VRouter ¶
type VRouter struct {
	OperatorBase[*mysqlmodel.VRouter, mysqlmodel.VRouter]
}
    func NewVRouter ¶
func NewVRouter() *VRouter
type WANIP ¶
type WANIP struct {
	OperatorBase[*mysqlmodel.WANIP, mysqlmodel.WANIP]
}
    
      
      Source Files
      ¶
    
- az.go
 - cen.go
 - dhcp_port.go
 - floating_ip.go
 - host.go
 - lan_ip.go
 - lb.go
 - lb_listener.go
 - lb_target_server.go
 - lb_vm_connection.go
 - nat_gateway.go
 - nat_rule.go
 - nat_vm_connection.go
 - network.go
 - operator.go
 - peer_connection.go
 - pod.go
 - pod_cluster.go
 - pod_group.go
 - pod_group_port.go
 - pod_ingress.go
 - pod_ingress_rule.go
 - pod_ingress_rule_backend.go
 - pod_namespace.go
 - pod_node.go
 - pod_replica_set.go
 - pod_service.go
 - pod_service_port.go
 - process.go
 - rds_instance.go
 - redis_instance.go
 - region.go
 - routing_table.go
 - sub_domain.go
 - subnet.go
 - vinterface.go
 - vip.go
 - vm.go
 - vm_pod_node_connection.go
 - vpc.go
 - vrouter.go
 - wan_ip.go
 
 Click to show internal directories. 
   Click to hide internal directories.