utils

package
v0.0.0-...-e9d4405 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool2str

func Bool2str(b bool) string

func CreateKubeClient

func CreateKubeClient(kubeconfig string) (kubernetes.Interface, error)

CreateKubeClient Creates the kubernetes client using the kubeconfig path

func CreateMetricsClient

func CreateMetricsClient(kubeconfig string) (*metrics.Clientset, error)

CreateMetricsClient creates a metrics client to use for fetching metrics data of cluster

func CreateOsQueryExtension

func CreateOsQueryExtension(name, socket string) (server *osquery.ExtensionManagerServer, err error)

CreateOsQueryExtension Generates and registers an osquery extension using given osquery socket path

func Map2Str

func Map2Str(m interface{}) (merged string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL