Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alena1108/8c60a9e9c46c3a0c19a238dcee21da95 to your computer and use it in GitHub Desktop.
Save alena1108/8c60a9e9c46c3a0c19a238dcee21da95 to your computer and use it in GitHub Desktop.
clientOrDie
cmd/cloud-controller-manager/app/controllermanager.go: return c.ClientBuilder.ClientOrDie(serviceAccountName)
cmd/cloud-controller-manager/app/options/options.go: c.VersionedClient = rootClientBuilder.ClientOrDie("shared-informers")
cmd/kube-controller-manager/app/apps.go: ctx.ClientBuilder.ClientOrDie("daemon-set-controller"),
cmd/kube-controller-manager/app/apps.go: ctx.ClientBuilder.ClientOrDie("statefulset-controller"),
cmd/kube-controller-manager/app/apps.go: ctx.ClientBuilder.ClientOrDie("replicaset-controller"),
cmd/kube-controller-manager/app/apps.go: ctx.ClientBuilder.ClientOrDie("deployment-controller"),
cmd/kube-controller-manager/app/autoscaling.go: hpaClient := ctx.ClientBuilder.ClientOrDie("horizontal-pod-autoscaler")
cmd/kube-controller-manager/app/autoscaling.go: hpaClient := ctx.ClientBuilder.ClientOrDie("horizontal-pod-autoscaler")
cmd/kube-controller-manager/app/autoscaling.go: hpaClient := ctx.ClientBuilder.ClientOrDie("horizontal-pod-autoscaler")
cmd/kube-controller-manager/app/batch.go: ctx.ClientBuilder.ClientOrDie("job-controller"),
cmd/kube-controller-manager/app/batch.go: ctx.ClientBuilder.ClientOrDie("cronjob-controller"),
cmd/kube-controller-manager/app/bootstrap.go: ctx.ClientBuilder.ClientOrDie("bootstrap-signer"),
cmd/kube-controller-manager/app/bootstrap.go: ctx.ClientBuilder.ClientOrDie("token-cleaner"),
cmd/kube-controller-manager/app/certificates.go: c := ctx.ClientBuilder.ClientOrDie("certificate-controller")
cmd/kube-controller-manager/app/certificates.go: ctx.ClientBuilder.ClientOrDie("certificate-controller"),
cmd/kube-controller-manager/app/certificates.go: ctx.ClientBuilder.ClientOrDie("certificate-controller").CertificatesV1beta1().CertificateSigningRequests(),
cmd/kube-controller-manager/app/controllermanager.go: client := clientBuilder.ClientOrDie("controller-discovery")
cmd/kube-controller-manager/app/controllermanager.go: versionedClient := rootClientBuilder.ClientOrDie("shared-informers")
cmd/kube-controller-manager/app/controllermanager.go: discoveryClient := rootClientBuilder.ClientOrDie("controller-discovery")
cmd/kube-controller-manager/app/controllermanager.go: c.rootClientBuilder.ClientOrDie("tokens-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("service-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("node-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("node-controller"),
cmd/kube-controller-manager/app/core.go: routeController := routecontroller.New(routes, ctx.ClientBuilder.ClientOrDie("route-controller"), ctx.InformerFactory.Core().V1().Nodes(), ctx.ComponentConfig.KubeCloudShared.ClusterName, clusterCIDR)
cmd/kube-controller-manager/app/core.go: KubeClient: ctx.ClientBuilder.ClientOrDie("persistent-volume-binder"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("attachdetach-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("expand-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("endpoint-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("replication-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("pod-garbage-collector"),
cmd/kube-controller-manager/app/core.go: resourceQuotaControllerClient := ctx.ClientBuilder.ClientOrDie("resourcequota-controller")
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("service-account-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("ttl-controller"),
cmd/kube-controller-manager/app/core.go: gcClientset := ctx.ClientBuilder.ClientOrDie("generic-garbage-collector")
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("pvc-protection-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("pv-protection-controller"),
cmd/kube-controller-manager/app/core.go: ctx.ClientBuilder.ClientOrDie("ttl-after-finished-controller"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment