package
0.1.2
Repository: https://github.com/dbason/opni-supportagent.git
Documentation: pkg.go.dev

# Functions

CreateClientOrDie constructs a new controller-runtime client, or exit with a fatal error if an error occurs.
No description provided by the author
CreateScheme creates a new scheme with the types necessary for opnictl.
ForEachResource will call the given callback function for each Kubernetes resource in the embedded string.
LoadClientConfig loads the user's kubeconfig using the same logic as kubectl.
No description provided by the author
No description provided by the author
MaybeContextOverride will return 0 or 1 ClientOptions, depending on if the user provided a specific kubectl context or not.
WithConfigOverrides allows overriding specific kubeconfig fields from the user's loaded kubeconfig.

# Variables

No description provided by the author
No description provided by the author
Log is a shared logger that can be used in all opnictl commands.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ClientOptions can be passed to some of the functions in this package when creating clients and/or client configurations.

# Type aliases

No description provided by the author