From d0a3aaab1cecefd6f62ac6ef6f398fb6035bbcc9 Mon Sep 17 00:00:00 2001 From: Ragavi916 Date: Thu, 26 Sep 2024 18:43:05 +0530 Subject: [PATCH] added doc strings --- client/api_key.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/api_key.go b/client/api_key.go index 7154487d..fe08bc6c 100644 --- a/client/api_key.go +++ b/client/api_key.go @@ -11,6 +11,7 @@ import ( "github.com/spectrocloud/palette-sdk-go/api/models" ) +// CreateAPIKey creates a new API key for the tenant func (h *V1Client) CreateAPIKey(name string, annotations map[string]string, expiry time.Duration) (string, error) { tenantUID, err := h.GetTenantUID() if err != nil {