0

docker笔记(15)——docker swarm功能代码分析(2)

Posted by nanxiao on 八月 15, 2016 in docker笔记 |

Docker daemon初始化响应docker client swarm相关命令的处理函数位于api/ser […]

标签:,

0

docker笔记(14)——docker swarm功能代码分析(1)

Posted by nanxiao on 八月 15, 2016 in docker笔记 |

Docker 1.12集成了docker swarm功能,其client的相关代码位于api/client/s […]

标签:,

0

Swarmkit笔记(11)——manager创建处理swarmctl请求的server

Posted by nanxiao on 八月 5, 2016 in Swarmkit笔记 |

manager.localserver是创建的本地Unix socket,用来等待处理swarmctl发来的命 […]

标签:,

0

Swarmkit笔记(10)——manager处理session请求

Posted by nanxiao on 八月 5, 2016 in Swarmkit笔记 |

Manager处理session请求是通过_Dispatcher_Session_Handler这个函数(./ […]

标签:,

0

Swarmkit笔记(9)——manager

Posted by nanxiao on 八月 3, 2016 in Swarmkit笔记 |

Node.runManager()函数会启动一个manager: func (n *Node) runMana […]

标签:,

0

Go语言中的条件变量

Posted by nanxiao on 八月 3, 2016 in 技术 |

Go语言sync package提供了条件变量(condition variable)类型: type Con […]

标签:

0

Swarmkit笔记(8)——agent.session

Posted by nanxiao on 八月 2, 2016 in Swarmkit笔记 |

Agent和manager之间的通信是通过session进行的,下面是agent.session结构体定义: […]

标签:,

0

Swarmkit笔记(7)——exec.Executor interface

Posted by nanxiao on 八月 1, 2016 in Swarmkit笔记 |

exec.Executor interface定义(位于agent/exec/executor.go): // […]

标签:,

0

Swarmkit笔记(6)——Agent运行

Posted by nanxiao on 八月 1, 2016 in Swarmkit笔记 |

Node.runAgent()函数实现如下: func (n *Node) runAgent(ctx cont […]

标签:,

0

Swarmkit笔记(5)——Node.Run()函数

Posted by nanxiao on 七月 29, 2016 in Swarmkit笔记 |

Swarmd程序的精髓就是Node.Run()函数。刨除前面一大堆CA验证的相关代码,下面是实际执行manag […]

标签:,

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com