zoukankan      html  css  js  c++  java
  • etcd增删改查

    ![image-20191209191301618](C:UsersAneroKissingerAppDataRoamingTypora ypora-user-imagesimage-20191209191301618.png

    root@instance-emh5jlpa:~# etcdctl put /user/101/name xiahualou
    OK
    root@instance-emh5jlpa:~# etcdctl get /user/101
    root@instance-emh5jlpa:~# etcdctl get /user/101/name
    /user/101/name
    xiahualou
    root@instance-emh5jlpa:~# etcdctl get /user/101 --prefix //获取所有以/user/101为前缀的
    /user/101/name
    xiahualou
    root@instance-emh5jlpa:~# etcdctl del /user/101 --prefix //删除所有以/user/101为前缀的
    1
    

    ![image-20191209191301618](C:UsersAneroKissingerAppDataRoamingTypora ypora-user-imagesimage-20191209191301618.png

    root@instance-emh5jlpa:~# etcdctl put /user/101/name xiahualou
    OK
    root@instance-emh5jlpa:~# etcdctl get /user/101
    root@instance-emh5jlpa:~# etcdctl get /user/101/name
    /user/101/name
    xiahualou
    root@instance-emh5jlpa:~# etcdctl get /user/101 --prefix //获取所有以/user/101为前缀的
    /user/101/name
    xiahualou
    root@instance-emh5jlpa:~# etcdctl del /user/101 --prefix //删除所有以/user/101为前缀的
    1
    




  • 相关阅读:
    数据流图和数据流程图的定义与组成元素
    敏捷开发3种角色
    WBS
    开发流程
    结对编程
    笔记
    登录注册界面维护2----注册界面进行Toast提示
    登录注册界面修改错误
    听说
    “学习链接篇”
  • 原文地址:https://www.cnblogs.com/hualou/p/12071056.html
Copyright © 2011-2022 走看看