func NameForEtcdCertSecret(etcdName string, t EtcdCertType) string {
	switch t {
	case EtcdCACert:
		return etcdName + EtcdCACertSuffix
	case EtcdServerCert:
		return etcdName + EtcdServerCertSuffix
	case EtcdPeerCert:
		return etcdName + EtcdPeerCertSuffix
	case EtcdClientCert:
		return etcdName + EtcdClientCertSuffix
	default:
		return ""
	}
}
// NameForEtcdCertSecret return the default secret name according to the specified EtcdCertType: ca, server, peer, client.
NameForEtcdCertSecret return the default secret name according to the specified EtcdCertType: ca, server, peer, client.
// NameForEtcdCertSecret return the default secret name according to the specified EtcdCertType : ca server peer client .
func NameForEtcdCertSecret(etcdName string, t EtcdCertType) string {
	switch t {
	case EtcdCACert:
		return etcdName + EtcdCACertSuffix
	case EtcdServerCert:
		return etcdName + EtcdServerCertSuffix
	case EtcdPeerCert:
		return etcdName + EtcdPeerCertSuffix
	case EtcdClientCert:
		return etcdName + EtcdClientCertSuffix
	default:
		return ""
	}
}
func NameForEtcdCertSecret ( etcdName string , t EtcdCertType ) string { switch t { case EtcdCACert : return etcdName + EtcdCACertSuffix case EtcdServerCert : return etcdName + EtcdServerCertSuffix case EtcdPeerCert : return etcdName + EtcdPeerCertSuffix case EtcdClientCert : return etcdName + EtcdClientCertSuffix default : return " " } }
NameForEtcdCertSecret return the default secret name according to the specified EtcdCertType: ca, server, peer, client.
NameForEtcdCertSecret return the default secret name according to the specified EtcdCertType : ca server peer client .