From c98bf64df46975e3cbe07cabead25bab77f46058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Thu, 1 Aug 2024 17:51:37 +0200 Subject: [PATCH] chore: add GetTypeName() for KongConsumerGroup (#15) --- api/configuration/v1beta1/kongconsumergroup_types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/configuration/v1beta1/kongconsumergroup_types.go b/api/configuration/v1beta1/kongconsumergroup_types.go index 4292f5e..040e403 100644 --- a/api/configuration/v1beta1/kongconsumergroup_types.go +++ b/api/configuration/v1beta1/kongconsumergroup_types.go @@ -38,6 +38,10 @@ type KongConsumerGroup struct { Status KongConsumerGroupStatus `json:"status,omitempty"` } +func (c KongConsumerGroup) GetTypeName() string { + return "KongConsumerGroup" +} + // +kubebuilder:object:root=true // KongConsumerGroupList contains a list of KongConsumerGroups.