Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSignalHandler ¶
func InitSignalHandler() <-chan struct{}
InitSignalHandler Usage:
func Start() { log.Info().Msg("Starting...") <-opslevel_common.InitSignalHandler() // Block until signals log.Info().Msg("Stopping...") }
Types ¶
type ClientWrapper ¶
type ClientWrapper struct { Client kubernetes.Interface Dynamic dynamic.Interface Mapper restmapper.DeferredDiscoveryRESTMapper }
func CreateKubernetesClient ¶
func CreateKubernetesClient() (*ClientWrapper, error)
CreateKubernetesClient This creates a wrapper which gives you an initialized and connected kubernetes client and dynamic client with restmapper
Click to show internal directories.
Click to hide internal directories.