Documentation
¶
Index ¶
- Constants
- type DDVolumeRequest
- type DatadogCSIDriver
- func (d *DatadogCSIDriver) DDVolumeRequest(req *csi.NodePublishVolumeRequest) (*DDVolumeRequest, error)
- func (d *DatadogCSIDriver) GetPluginCapabilities(ctx context.Context, req *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error)
- func (d *DatadogCSIDriver) GetPluginInfo(ctx context.Context, req *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)
- func (d *DatadogCSIDriver) NodeGetCapabilities(ctx context.Context, req *csi.NodeGetCapabilitiesRequest) (*csi.NodeGetCapabilitiesResponse, error)
- func (d *DatadogCSIDriver) NodeGetInfo(ctx context.Context, req *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)
- func (d *DatadogCSIDriver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)
- func (d *DatadogCSIDriver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error)
- func (d *DatadogCSIDriver) Probe(ctx context.Context, req *csi.ProbeRequest) (*csi.ProbeResponse, error)
- func (driver *DatadogCSIDriver) Version() string
- type Mode
- type VolumeType
Constants ¶
View Source
const (
CSIDriverName = "k8s.csi.datadoghq.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DDVolumeRequest ¶
type DDVolumeRequest struct {
// contains filtered or unexported fields
}
DDVolumeRequest encapsulates the properties of a request for datadog CSI volume
type DatadogCSIDriver ¶
type DatadogCSIDriver struct {
csi.UnimplementedNodeServer
csi.UnimplementedIdentityServer
// contains filtered or unexported fields
}
DatadogCSIDriver is datadog CSI driver implementing CSI Node and Identity Server
func NewDatadogCSIDriver ¶
func NewDatadogCSIDriver(name, apmHostSocketPath, dsdHostSocketPath, version string) (*DatadogCSIDriver, error)
NewDatadogCSIDriver builds and returns a new Datadog CSI driver
func (*DatadogCSIDriver) DDVolumeRequest ¶
func (d *DatadogCSIDriver) DDVolumeRequest(req *csi.NodePublishVolumeRequest) (*DDVolumeRequest, error)
NewDDVolumeRequest builds a DDVolumeRequest object based on csi node publish volume request
func (*DatadogCSIDriver) GetPluginCapabilities ¶
func (d *DatadogCSIDriver) GetPluginCapabilities(ctx context.Context, req *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error)
func (*DatadogCSIDriver) GetPluginInfo ¶
func (d *DatadogCSIDriver) GetPluginInfo(ctx context.Context, req *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)
func (*DatadogCSIDriver) NodeGetCapabilities ¶
func (d *DatadogCSIDriver) NodeGetCapabilities(ctx context.Context, req *csi.NodeGetCapabilitiesRequest) (*csi.NodeGetCapabilitiesResponse, error)
func (*DatadogCSIDriver) NodeGetInfo ¶
func (d *DatadogCSIDriver) NodeGetInfo(ctx context.Context, req *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)
func (*DatadogCSIDriver) NodePublishVolume ¶
func (d *DatadogCSIDriver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)
func (*DatadogCSIDriver) NodeUnpublishVolume ¶
func (d *DatadogCSIDriver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error)
func (*DatadogCSIDriver) Probe ¶
func (d *DatadogCSIDriver) Probe(ctx context.Context, req *csi.ProbeRequest) (*csi.ProbeResponse, error)
func (*DatadogCSIDriver) Version ¶
func (driver *DatadogCSIDriver) Version() string
Version returns the CSI driver version
type Mode ¶
type Mode string
const ( // ModeSocket is the socket mode, equivalent to Socket hostpath volumes ModeSocket Mode = "socket" // ModeLocal is the local mode, equivalent to Directory hostpath volumes ModeLocal = "local" )
type VolumeType ¶
type VolumeType string
const ( // APMSocket mounts the apm socket file after verifying the existence of the file APMSocket VolumeType = "APMSocket" // APMSocketDirectory mounts the parent directory of the apm socket APMSocketDirectory VolumeType = "APMSocketDirectory" // DSDSocket mounts the dogstatsd socket file after verifying the existence of the file DSDSocket VolumeType = "DSDSocket" // DSDSocketDirectory mounts the parent directory of the dogstatsd socket DSDSocketDirectory VolumeType = "DSDSocketDirectory" )
Directories
¶
| Path | Synopsis |
|---|---|
|
Package publishers contains the logic for publishing datadog CSI volumes depending on the volume mode.
|
Package publishers contains the logic for publishing datadog CSI volumes depending on the volume mode. |
Click to show internal directories.
Click to hide internal directories.