Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetK8sClient ¶ added in v0.0.43
GetK8sClient returns the appropriate Kubernetes client for the given context. If downstream OAuth is enabled and an access token is present in the context, it returns a per-user client. Otherwise, it returns the shared service account client.
Tool handlers should use this function instead of directly calling sc.K8sClient() to ensure proper OAuth passthrough when enabled.
Types ¶
type EmptyRequest ¶
type EmptyRequest struct{}
EmptyRequest represents a request with no parameters. Used by tools that don't require any input arguments.
Click to show internal directories.
Click to hide internal directories.