mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 10:13:21 +00:00
c692538864
Adds `GetResource` helpers that leverage generics to return a slice of the expected resource type. This eliminates the need to use a `type.ListResourcesResponse` and then call `AsServers` to convert the `[]types.ResourceWithLabels` to `[]types.Server`. Only calls for `types.Server` have been converted. Other resources can be converted over time. |
||
---|---|---|
.. | ||
benchmark.go | ||
kube.go | ||
linear.go | ||
linear_test.go | ||
ssh.go |