{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package daemon\n\nPackage daemon contains logic for watching and synchronizing daemons.\n\n## Constants\n\n```go\nconst (\n\t// Daemon sets will periodically check that their daemon pods are running as expected.\n\tFullDaemonSetResyncPeriod = 30 * time.Second // TODO: Figure out if this time seems reasonable.\n\n\t// Realistic value of the burstReplica field for the replication manager based off\n\t// performance requirements for kubernetes 1.0.\n\tBurstReplicas = 500\n\n\t// We must avoid counting pods until the pod store has synced. If it hasn't synced, to\n\t// avoid a hot loop, we'll wait this long between checks.\n\tPodStoreSyncedPollPeriod = 100 * time.Millisecond\n\n\t// If sending a status upate to API server fails, we retry a finite number of times.\n\tStatusUpdateRetries = 1\n)\n```\n\n## Types\n\n```go\ntype DaemonSetsController struct {\n\t// contains filtered or unexported fields\n}\n```\nDaemonSetsController is responsible for synchronizing DaemonSet objects stored in the system with actual running pods.\n\n```go\nfunc NewDaemonSetsController(podInformer framework.SharedIndexInformer, kubeClient clientset.Interface, resyncPeriod controller.ResyncPeriodFunc, lookupCacheSize int) *DaemonSetsController\n```\n\n```go\nfunc NewDaemonSetsControllerFromClient(kubeClient clientset.Interface, resyncPeriod controller.ResyncPeriodFunc, lookupCacheSize int) *DaemonSetsController\n```\n\n```go\nfunc (dsc *DaemonSetsController) Run(workers int, stopCh \u003c-chan struct{})\n```\nRun begins watching and syncing daemon sets.\n\n","path":"github.com/stackpointcloud/kubernetes/pkg/controller/daemon","name":"daemon","synopsis":"Package daemon contains logic for watching and synchronizing daemons.","isRedistributable":true}
