openshift/openshift-copies.go
func (c *restConfig) HasCA() bool {
	return len(c.CAData) > 0 || len(c.CAFile) > 0
}
func (c *restConfig) HasCA() bool {
	return len(c.CAData) > 0 || len(c.CAFile) > 0
}
// HasCA is a modified copy of k8s.io/kubernetes/pkg/client/transport.Config.HasCA.
// HasCA returns whether the configuration has a certificate authority or not.