Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { // Client contains the gRPC connection to the CSI-driver that supports // the CSI-Addons operations. This is used to get the identity of the // CSI-driver that is included in the CSIAddonsNode object. Client client.Client // Config is a ReST Config for the Kubernetes API. Config *rest.Config // kubernetes client to interact with the Kubernetes API. KubeClient kubernetes.Interface // Node is the hostname of the system where the sidecar is running. Node string // Endpoint is the location where the sidecar receives connections on // from the CSI-Addons Controller. Endpoint string // PodName is the (unique) name of the Pod that contains this sidecar. PodName string // PodNamespace is the Kubernetes Namespace where the Pod with this // sidecar is running. PodNamespace string // PodUID is the UID of the Pod that contains this sidecar. PodUID string }
Manager is a helper that creates the CSIAddonsNode for the running sidecar.
func (*Manager) DispatchWatcher ¶ added in v0.12.0
DispatchWatcher starts a watcher for the CSIAddonsNode and retries if the watcher exits due to an error. It will retry up to a maximum number of attempts defined by watcherRetryCount before returning an error.
Click to show internal directories.
Click to hide internal directories.