func (dr *DeploymentReplication) StateColor() server.StateColor {
	switch dr.status.Phase {
	case api.DeploymentReplicationPhaseFailed:
		return server.StateRed
	}
	if dr.status.Conditions.IsTrue(api.ConditionTypeConfigured) {
		return server.StateGreen
	}
	return server.StateYellow
}
StateColor determinates the state of the deployment in color codes.
package replication
import (
	api "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1"
	"github.com/arangodb/kube-arangodb/pkg/server"
)
func (dr *DeploymentReplication) Name() string {
	return dr.apiObject.Name
}
func (dr *DeploymentReplication) Namespace() string {
	return dr.apiObject.Namespace
}