func applyClientConnectionOverrides(overrides configv1.ClientConnectionOverrides, kubeConfig *rest.Config) {
	if overrides.QPS != 0 {
		kubeConfig.QPS = overrides.QPS
	}
	if overrides.Burst != 0 {
		kubeConfig.Burst = int(overrides.Burst)
	}
	if len(overrides.AcceptContentTypes) != 0 {
		kubeConfig.ContentConfig.AcceptContentTypes = overrides.AcceptContentTypes
	}
	if len(overrides.ContentType) != 0 {
		kubeConfig.ContentConfig.ContentType = overrides.ContentType
	}
}
// applyClientConnectionOverrides updates a kubeConfig with the overrides from the config.
applyClientConnectionOverrides updates a kubeConfig with the overrides from the config.
// applyClientConnectionOverrides updates a kubeConfig with the overrides from the config .
func applyClientConnectionOverrides(overrides configv1.ClientConnectionOverrides, kubeConfig *rest.Config) {
	if overrides.QPS != 0 {
		kubeConfig.QPS = overrides.QPS
	}
	if overrides.Burst != 0 {
		kubeConfig.Burst = int(overrides.Burst)
	}
	if len(overrides.AcceptContentTypes) != 0 {
		kubeConfig.ContentConfig.AcceptContentTypes = overrides.AcceptContentTypes
	}
	if len(overrides.ContentType) != 0 {
		kubeConfig.ContentConfig.ContentType = overrides.ContentType
	}
}
func applyClientConnectionOverrides ( overrides configv1 . ClientConnectionOverrides , kubeConfig * rest . Config ) { if overrides . QPS != 0 { kubeConfig . QPS = overrides . QPS } if overrides . Burst != 0 { kubeConfig . Burst = int ( overrides . Burst ) } if len ( overrides . AcceptContentTypes ) != 0 { kubeConfig . ContentConfig . AcceptContentTypes = overrides . AcceptContentTypes } if len ( overrides . ContentType ) != 0 { kubeConfig . ContentConfig . ContentType = overrides . ContentType } }
applyClientConnectionOverrides updates a kubeConfig with the overrides from the config.
applyClientConnectionOverrides updates a kubeConfig with the overrides from the config .