Documentation ¶
Overview ¶
Package identity provides CSI specification compatible identity service.
Index ¶
- type Service
- func (s Service) GetPluginCapabilities(context context.Context, request *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error)
- func (s Service) GetPluginInfo(context context.Context, request *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)
- func (s Service) Probe(context context.Context, request *csi.ProbeRequest) (*csi.ProbeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a identity service allows driver to return capabilities, health, and other metadata
func NewIdentityService ¶
NewIdentityService creates new identity service
func (Service) GetPluginCapabilities ¶
func (s Service) GetPluginCapabilities(context context.Context, request *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error)
GetPluginCapabilities returns capabilities that are supported by the driver
func (Service) GetPluginInfo ¶
func (s Service) GetPluginInfo(context context.Context, request *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)
GetPluginInfo returns general information about plugin (driver) such as name, version and manifest
func (Service) Probe ¶
func (s Service) Probe(context context.Context, request *csi.ProbeRequest) (*csi.ProbeResponse, error)
Probe returns current state of the driver and if it is ready to receive requests
Click to show internal directories.
Click to hide internal directories.