Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkerManager ¶
func NewWorkerManager( mgrs *operatorutil.MgrList, chans *channel.CRChan, kubeClient kube.Client, helmClient helm.Client, appClient websocket.Client, cluster *kubernetes.Cluster, agentInitOps *model.AgentInitOptions, syncInterval time.Duration, statusSyncInterval time.Duration, gitTimeout time.Duration, gitConfig git.Config, controllerContext *agentsync.Context, wg *sync.WaitGroup, stop <-chan struct{}, token string, platformCode string, syncAll bool, polarisConfig *config.Configuration, clearHelmHistory bool) *workerManager
Types ¶
type Spec ¶
type Spec struct { Type string `json:"type"` Cause Cause `json:"cause"` Spec interface{} `json:"spec"` }
A tagged union for all (both) kinds of update. The type is just so we know how to decode the rest of the struct.
type WorkerManager ¶
type WorkerManager workerManager
Click to show internal directories.
Click to hide internal directories.