Documentation ¶
Index ¶
Constants ¶
View Source
const ( RancherNameserver = "169.254.169.250" RancherDNS = "io.rancher.container.dns" RancherDNSPriority = "io.rancher.container.dns.priority" RancherNetwork = "io.rancher.container.network" CNILabel = "io.rancher.cni.network" )
Variables ¶
This section is empty.
Functions ¶
func NewDockerClient ¶
func NewDockerClient() (*docker.Client, error)
Types ¶
type DockerEventsProcessor ¶
type DockerEventsProcessor struct {
// contains filtered or unexported fields
}
func (*DockerEventsProcessor) Process ¶
func (de *DockerEventsProcessor) Process() error
type EventRouter ¶
type EventRouter struct {
// contains filtered or unexported fields
}
func NewEventRouter ¶
func (*EventRouter) Start ¶
func (e *EventRouter) Start() error
func (*EventRouter) Stop ¶
func (e *EventRouter) Stop() error
type NetworkManagerHandler ¶
type NetworkManagerHandler struct {
// contains filtered or unexported fields
}
type SimpleDockerClient ¶
type StartHandler ¶
type StartHandler struct {
Client SimpleDockerClient
}
func (*StartHandler) Handle ¶
func (h *StartHandler) Handle(event *docker.APIEvents) error
Click to show internal directories.
Click to hide internal directories.