Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNameResponse ¶
type ClusterNameResponse struct { ID types.NullInt64 `json:"id"` Name types.NullString `json:"name"` }
type ClusterResponse ¶
type ClusterResponse struct { ID types.NullInt64 `json:"id"` Name types.NullString `json:"name"` ClusterId types.NullString `json:"cluster_id" form:"cluster_id"` BusinessLine types.NullString `json:"business_line"` Owner types.NullString `json:"owner"` IsDeleted types.NullInt64 `json:"is_deleted"` DomainNames []types.NullString `json:"domain_names"` VipPorts []types.NullString `json:"vip_ports"` VpcgwVipPorts []types.NullString `json:"vpcgw_vip_ports"` ReadHostPort types.NullString `json:"read_host_port"` IsShard types.NullInt64 `json:"is_shard"` ShardType types.NullString `json:"shard_type" form:"shard_type"` Category types.NullInt64 `json:"category"` SetName types.NullString `json:"set_name"` UpdatedAt types.NullTime `json:"updated_at"` CreatedAt types.NullTime `json:"created_at"` }
type InstanceClusterResponse ¶
type InstanceClusterResponse struct { ID types.NullInt64 `json:"id"` InstanceId types.NullString `json:"instance_id"` InstanceName types.NullString `json:"instance_name"` MetaClusterId types.NullInt64 `json:"meta_cluster_id"` MachineHost types.NullString `json:"machine_host"` VpcgwRip types.NullString `json:"vpcgw_rip"` Port types.NullInt64 `json:"port"` MasterHost types.NullString `json:"master_host"` MasterPort types.NullInt64 `json:"master_port"` VipPort types.NullString `json:"vip_port"` VpcgwVipPort types.NullString `json:"vpcgw_vip_port"` Role types.NullString `json:"role"` Cpu types.NullInt64 `json:"cpu"` Mem types.NullInt64 `json:"mem"` Disk types.NullInt64 `json:"disk"` Version types.NullString `json:"version"` IsMaintenance types.NullInt64 `json:"is_maintenance"` IsDeleted types.NullInt64 `json:"is_deleted"` Descript types.NullString `json:"descript"` UpdatedAt types.NullTime `json:"updated_at"` CreatedAt types.NullTime `json:"created_at"` ClusterName types.NullString `json:"cluster_name"` ClusterId types.NullString `json:"cluster_id"` SetName types.NullString `json:"set_name"` Category types.NullInt64 `json:"category"` IsShard types.NullInt64 `json:"is_shard"` ShardType types.NullString `json:"shard_type"` Slaves []*InstanceClusterResponse `json:"slaves"` }
type MysqlPrivsTreeResponse ¶
type MysqlPrivsTreeResponse struct { ID types.NullInt64 `json:"id"` MetaClusterId types.NullInt64 `json:"meta_cluster_id"` ClusterName types.NullString `json:"cluster_name"` DBName types.NullString `json:"db_name"` VipPort types.NullString `json:"vip_port"` }
type UserLoginResponse ¶
type UserLoginResponse struct { ID types.NullInt64 `json:"id"` Username types.NullString `json:"username"` Email types.NullString `json:"email"` Mobile types.NullString `json:"mobile"` NameEn types.NullString `json:"name_en"` NameZh types.NullString `json:"name_zh"` Role types.NullString `json:"role"` IsDeleted types.NullInt64 `json:"is_deleted"` UpdatedAt types.NullTime `json:"updated_at"` CreatedAt types.NullTime `json:"created_at"` Token types.NullString `json:"token"` }
Click to show internal directories.
Click to hide internal directories.