Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // NodeID is the name of the node which is hosting this driver instance. NodeID string // DriverName is the name of this CSI driver which will be shared with // the Kubelet. DriverName string // Endpoint is the endpoint that the driver will connect to the Kubelet. Endpoint string // DataRoot is the directory that the driver will write and mount volumes // from. DataRoot string // UseTokenRequest declares that the CSI driver will use the empty audience // token request for creating CertificateRequests. Requires the token request // to be defined on the CSIDriver manifest. UseTokenRequest bool // Logr is the shared base logger. Logr logr.Logger // RestConfig is the shared base rest config to connect to the Kubernetes // API. RestConfig *rest.Config // CMClient is a rest client for interacting with cert-manager resources. CMClient cmclient.Interface // MetricsBindAddress is the TCP address for exposing HTTP Prometheus metrics // which will be served on the HTTP path '/metrics'. The value "0" will // disable exposing metrics. MetricsBindAddress string // contains filtered or unexported fields }
Options are the main options for the driver. Populated via processing command line flags.
Click to show internal directories.
Click to hide internal directories.