{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package garbagecollector\n\n## Constants\n\n```go\nconst ResourceResyncTime = 60 * time.Second\n```\n\n## Types\n\n```go\ntype GarbageCollector struct {\n\t// contains filtered or unexported fields\n}\n```\nGarbageCollector is responsible for carrying out cascading deletion, and removing ownerReferences from the dependents if the owner is deleted with DeleteOptions.OrphanDependents=true.\n\n```go\nfunc NewGarbageCollector(clientPool dynamic.ClientPool, resources []unversioned.GroupVersionResource) (*GarbageCollector, error)\n```\n\n```go\nfunc (gc *GarbageCollector) GraphHasUID(UIDs []types.UID) bool\n```\n\\*FOR TEST USE ONLY\\* It's not safe to call this function when the GC is still busy. GraphHasUID returns if the Propagator has a particular UID store in its uidToNode graph. It's useful for debugging.\n\n```go\nfunc (gc *GarbageCollector) QueuesDrained() bool\n```\nQueueDrained returns if the dirtyQueue and eventQueue are drained. It's useful for debugging. Note that it doesn't guarantee the workers are idle.\n\n```go\nfunc (gc *GarbageCollector) Run(workers int, stopCh \u003c-chan struct{})\n```\n\n```go\ntype Propagator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n","path":"github.com/stackpointcloud/kubernetes/pkg/controller/garbagecollector","name":"garbagecollector","synopsis":"","isRedistributable":true}
