Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigFlagName is name of the flag that defines kubeconfig location ConfigFlagName = "kube-config" // KubeConfigAdmin is the default location of kubeconfig with admin credentials. KubeConfigAdmin = "/etc/kubernetes/admin.conf" // KubeConfigUsage explains the purpose of 'kube-config' flag. KubeConfigUsage = "Path to the kubeconfig file to use for the client connection to K8s cluster" )
Variables ¶
View Source
var DefaultPlugin = *NewPlugin()
DefaultPlugin is default instance of Plugin.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { infra.PluginDeps // Kubeconfig with k8s cluster address and access credentials to use. KubeConfig config.PluginConfig Resync resync.Subscriber HTTP rest.HTTPHandlers /* both Publish and Watcher are prefixed for KSR-published K8s state data */ Watcher datasync.KeyValProtoWatcher Publish *kvdbsync.Plugin // KeyProtoValWriter does not define Delete }
Deps defines dependencies of CRD plugin.
type Option ¶
type Option func(*Plugin)
Option is a function that acts on a Plugin to inject Dependencies or configuration
type Plugin ¶
type Plugin struct { Deps // contains filtered or unexported fields }
Plugin implements NodeConfig and TelemetryReport CRDs.
Directories ¶
Path | Synopsis |
---|---|
controller
|
|
pkg
|
|
client/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
client/clientset/versioned/typed/nodeconfig/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/nodeconfig/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
client/clientset/versioned/typed/telemetry/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
client/clientset/versioned/typed/telemetry/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.