Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio Moioli <[email protected]>
  • Loading branch information
moio committed Jun 3, 2024
1 parent 885c273 commit 9fb1a89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/stores/proxyalpha/proxy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ func keyFromGVK(gvk schema.GroupVersionKind) string {
return gvk.Group + "_" + gvk.Version + "_" + gvk.Kind
}

// getFieldsFromSchema converts object field names from types.APISchema's format into lasso's
// cache.sql.informer's slice format (e.g. "metadata.resourceVersion" is ["metadata", "resourceVersion"])
func getFieldsFromSchema(schema *types.APISchema) [][]string {
var fields [][]string
columns := attributes.Columns(schema)
Expand Down

0 comments on commit 9fb1a89

Please sign in to comment.