mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
commit
51cf2d12c5
@ -76,7 +76,7 @@ func (b SimpleControllerClientBuilder) ClientOrDie(name string) clientset.Interf
|
|||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
|
|
||||||
// DiscoveryClientOrDie returns a discovery.DiscoveryInterface built from the ClientBuilder
|
// DiscoveryClient returns a discovery.DiscoveryInterface built from the ClientBuilder
|
||||||
// Discovery is special because it will artificially pump the burst quite high to handle the many discovery requests.
|
// Discovery is special because it will artificially pump the burst quite high to handle the many discovery requests.
|
||||||
func (b SimpleControllerClientBuilder) DiscoveryClient(name string) (discovery.DiscoveryInterface, error) {
|
func (b SimpleControllerClientBuilder) DiscoveryClient(name string) (discovery.DiscoveryInterface, error) {
|
||||||
clientConfig, err := b.Config(name)
|
clientConfig, err := b.Config(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user