(comp *appsv1.Component)
| 51 | } |
| 52 | |
| 53 | func GetClusterUID(comp *appsv1.Component) (string, error) { |
| 54 | return getCompAnnotationValue(comp, constant.KBAppClusterUIDKey) |
| 55 | } |
| 56 | |
| 57 | // BuildComponent builds a new Component object from cluster component spec and definition. |
| 58 | func BuildComponent(cluster *appsv1.Cluster, compSpec *appsv1.ClusterComponentSpec, labels, annotations map[string]string) (*appsv1.Component, error) { |
no test coverage detected
searching dependent graphs…