identity

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package identity provides CSI specification compatible identity service.

Index

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

func NewIdentityService(name string, version string, manifest map[string]string) *Service

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL