id, name, local, main_switch, weight, auto_scale, master_url, ca_cert_data, client_cer_data, client_key_data, username, password,
kubeconfig, local_web_socket, local_ssh_nodes, local_show_server, local_vnc_show_server,
local_git_url, remote_web_socket, remote_ssh_nodes, remote_show_server, remote_vnc_show_server,
remote_git_url, white_images, black_images, create_time, update_time
insert into cluster_config (id, name, local, main_switch,
weight, auto_scale, master_url, ca_cert_data, client_cer_data, client_key_data,
username, password, kubeconfig,
local_web_socket, local_ssh_nodes, local_show_server,
local_vnc_show_server, local_git_url, remote_web_socket,
remote_ssh_nodes, remote_show_server, remote_vnc_show_server,
remote_git_url, white_images, black_images,
create_time, update_time)
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{local,jdbcType=BIT}, #{mainSwitch,jdbcType=VARCHAR},
#{weight,jdbcType=DOUBLE}, #{autoScale,jdbcType=BIT}, #{masterUrl,jdbcType=VARCHAR},
#{caCertData,jdbcType=VARCHAR}, #{clientCerData,jdbcType=VARCHAR}, #{clientKeyData,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{kubeconfig,jdbcType=VARCHAR},
#{localWebSocket,jdbcType=VARCHAR}, #{localSshNodes,jdbcType=VARCHAR}, #{localShowServer,jdbcType=VARCHAR},
#{localVncShowServer,jdbcType=VARCHAR}, #{localGitUrl,jdbcType=VARCHAR}, #{remoteWebSocket,jdbcType=VARCHAR},
#{remoteSshNodes,jdbcType=VARCHAR}, #{remoteShowServer,jdbcType=VARCHAR}, #{remoteVncShowServer,jdbcType=VARCHAR},
#{remoteGitUrl,jdbcType=VARCHAR}, #{whiteImages,jdbcType=VARCHAR}, #{blackImages,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
insert into cluster_config
id,
name,
local,
main_switch,
weight,
auto_scale,
master_url,
ca_cert_data,
client_cer_data,
client_key_data,
username,
password,
kubeconfig,
local_web_socket,
local_ssh_nodes,
local_show_server,
local_vnc_show_server,
local_git_url,
remote_web_socket,
remote_ssh_nodes,
remote_show_server,
remote_vnc_show_server,
remote_git_url,
white_images,
black_images,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{local,jdbcType=BIT},
#{mainSwitch,jdbcType=VARCHAR},
#{weight,jdbcType=DOUBLE},
#{autoScale,jdbcType=BIT},
#{masterUrl,jdbcType=VARCHAR},
#{caCertData,jdbcType=VARCHAR},
#{clientCerData,jdbcType=VARCHAR},
#{clientKeyData,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR},
#{kubeconfig,jdbcType=VARCHAR},
#{localWebSocket,jdbcType=VARCHAR},
#{localSshNodes,jdbcType=VARCHAR},
#{localShowServer,jdbcType=VARCHAR},
#{localVncShowServer,jdbcType=VARCHAR},
#{localGitUrl,jdbcType=VARCHAR},
#{remoteWebSocket,jdbcType=VARCHAR},
#{remoteSshNodes,jdbcType=VARCHAR},
#{remoteShowServer,jdbcType=VARCHAR},
#{remoteVncShowServer,jdbcType=VARCHAR},
#{remoteGitUrl,jdbcType=VARCHAR},
#{whiteImages,jdbcType=VARCHAR},
#{blackImages,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update cluster_config
name = #{name,jdbcType=VARCHAR},
local = #{local,jdbcType=BIT},
main_switch = #{mainSwitch,jdbcType=VARCHAR},
weight = #{weight,jdbcType=DOUBLE},
auto_scale = #{autoScale,jdbcType=BIT},
master_url = #{masterUrl,jdbcType=VARCHAR},
ca_cert_data = #{caCertData,jdbcType=VARCHAR},
client_cer_data = #{clientCerData,jdbcType=VARCHAR},
client_key_data = #{clientKeyData,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
kubeconfig = #{kubeconfig,jdbcType=VARCHAR},
local_web_socket = #{localWebSocket,jdbcType=VARCHAR},
local_ssh_nodes = #{localSshNodes,jdbcType=VARCHAR},
local_show_server = #{localShowServer,jdbcType=VARCHAR},
local_vnc_show_server = #{localVncShowServer,jdbcType=VARCHAR},
local_git_url = #{localGitUrl,jdbcType=VARCHAR},
remote_web_socket = #{remoteWebSocket,jdbcType=VARCHAR},
remote_ssh_nodes = #{remoteSshNodes,jdbcType=VARCHAR},
remote_show_server = #{remoteShowServer,jdbcType=VARCHAR},
remote_vnc_show_server = #{remoteVncShowServer,jdbcType=VARCHAR},
remote_git_url = #{remoteGitUrl,jdbcType=VARCHAR},
white_images = #{whiteImages,jdbcType=VARCHAR},
black_images = #{blackImages,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update cluster_config
set name = #{name,jdbcType=VARCHAR},
local = #{local,jdbcType=BIT},
main_switch = #{mainSwitch,jdbcType=VARCHAR},
weight = #{weight,jdbcType=DOUBLE},
auto_scale = #{autoScale,jdbcType=BIT},
master_url = #{masterUrl,jdbcType=VARCHAR},
ca_cer_data = #{caCertData,jdbcType=VARCHAR},
client_cer_data = #{clientCerData,jdbcType=VARCHAR},
client_key_data = #{clientKeyData,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
kubeconfig = #{kubeconfig,jdbcType=VARCHAR},
local_web_socket = #{localWebSocket,jdbcType=VARCHAR},
local_ssh_nodes = #{localSshNodes,jdbcType=VARCHAR},
local_show_server = #{localShowServer,jdbcType=VARCHAR},
local_vnc_show_server = #{localVncShowServer,jdbcType=VARCHAR},
local_git_url = #{localGitUrl,jdbcType=VARCHAR},
remote_web_socket = #{remoteWebSocket,jdbcType=VARCHAR},
remote_ssh_nodes = #{remoteSshNodes,jdbcType=VARCHAR},
remote_show_server = #{remoteShowServer,jdbcType=VARCHAR},
remote_vnc_show_server = #{remoteVncShowServer,jdbcType=VARCHAR},
remote_git_url = #{remoteGitUrl,jdbcType=VARCHAR},
white_images = #{whiteImages,jdbcType=VARCHAR},
black_images = #{blackImages,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}