drcsi

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProviderCapability_Service_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "STORAGE_BACKEND_SERVICE",
	}
	ProviderCapability_Service_Type_value = map[string]int32{
		"UNKNOWN":                 0,
		"STORAGE_BACKEND_SERVICE": 1,
	}
)

Enum value maps for ProviderCapability_Service_Type.

View Source
var (
	ProviderCapability_StorageBackendServiceSupport_Type_name = map[int32]string{
		0: "UNKNOWN",
	}
	ProviderCapability_StorageBackendServiceSupport_Type_value = map[string]int32{
		"UNKNOWN": 0,
	}
)

Enum value maps for ProviderCapability_StorageBackendServiceSupport_Type.

View Source
var File_drcsi_proto protoreflect.FileDescriptor

Functions

func RegisterIdentityServer

func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)

func RegisterModifyVolumeInterfaceServer

func RegisterModifyVolumeInterfaceServer(s *grpc.Server, srv ModifyVolumeInterfaceServer)

func RegisterStorageBackendServer

func RegisterStorageBackendServer(s *grpc.Server, srv StorageBackendServer)

Types

type AddStorageBackendRequest

type AddStorageBackendRequest struct {

	// the name of the StorageBackendContent, this filed is REQUIRED.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the meta of the configmap, <namespace>/<name>. this file is OPTIONAL.
	ConfigmapMeta string `protobuf:"bytes,2,opt,name=configmap_meta,json=configmapMeta,proto3" json:"configmap_meta,omitempty"`
	// the meta of the secret, <namespace>/<name>. this file is OPTIONAL.
	SecretMeta string `protobuf:"bytes,3,opt,name=secret_meta,json=secretMeta,proto3" json:"secret_meta,omitempty"`
	// Provider specific parameters passed in as opaque key-value pairs.
	// This field is OPTIONAL.
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddStorageBackendRequest) Descriptor deprecated

func (*AddStorageBackendRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddStorageBackendRequest.ProtoReflect.Descriptor instead.

func (*AddStorageBackendRequest) GetConfigmapMeta

func (x *AddStorageBackendRequest) GetConfigmapMeta() string

func (*AddStorageBackendRequest) GetName

func (x *AddStorageBackendRequest) GetName() string

func (*AddStorageBackendRequest) GetParameters

func (x *AddStorageBackendRequest) GetParameters() map[string]string

func (*AddStorageBackendRequest) GetSecretMeta

func (x *AddStorageBackendRequest) GetSecretMeta() string

func (*AddStorageBackendRequest) ProtoMessage

func (*AddStorageBackendRequest) ProtoMessage()

func (*AddStorageBackendRequest) ProtoReflect

func (x *AddStorageBackendRequest) ProtoReflect() protoreflect.Message

func (*AddStorageBackendRequest) Reset

func (x *AddStorageBackendRequest) Reset()

func (*AddStorageBackendRequest) String

func (x *AddStorageBackendRequest) String() string

type AddStorageBackendResponse

type AddStorageBackendResponse struct {

	// The identifier for this backend, generated by the plugin.
	// This field is REQUIRED.
	BackendId string `protobuf:"bytes,1,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddStorageBackendResponse) Descriptor deprecated

func (*AddStorageBackendResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddStorageBackendResponse.ProtoReflect.Descriptor instead.

func (*AddStorageBackendResponse) GetBackendId

func (x *AddStorageBackendResponse) GetBackendId() string

func (*AddStorageBackendResponse) ProtoMessage

func (*AddStorageBackendResponse) ProtoMessage()

func (*AddStorageBackendResponse) ProtoReflect

func (*AddStorageBackendResponse) Reset

func (x *AddStorageBackendResponse) Reset()

func (*AddStorageBackendResponse) String

func (x *AddStorageBackendResponse) String() string

type DeleteRequest

type DeleteRequest struct {
	FileIdentifier string            `protobuf:"bytes,1,opt,name=file_identifier,json=fileIdentifier,proto3" json:"file_identifier,omitempty"`
	Attributes     map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

func (*DeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetAttributes

func (x *DeleteRequest) GetAttributes() map[string]string

func (*DeleteRequest) GetFileIdentifier

func (x *DeleteRequest) GetFileIdentifier() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DownloadRequest

type DownloadRequest struct {
	FileIdentifier string            `protobuf:"bytes,1,opt,name=file_identifier,json=fileIdentifier,proto3" json:"file_identifier,omitempty"`
	Attributes     map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DownloadRequest) Descriptor deprecated

func (*DownloadRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.

func (*DownloadRequest) GetAttributes

func (x *DownloadRequest) GetAttributes() map[string]string

func (*DownloadRequest) GetFileIdentifier

func (x *DownloadRequest) GetFileIdentifier() string

func (*DownloadRequest) ProtoMessage

func (*DownloadRequest) ProtoMessage()

func (*DownloadRequest) ProtoReflect

func (x *DownloadRequest) ProtoReflect() protoreflect.Message

func (*DownloadRequest) Reset

func (x *DownloadRequest) Reset()

func (*DownloadRequest) String

func (x *DownloadRequest) String() string

type DownloadResponse

type DownloadResponse struct {

	// Types that are assignable to Data:
	//
	//	*DownloadResponse_Info
	//	*DownloadResponse_ChunkData
	Data isDownloadResponse_Data `protobuf_oneof:"Data"`
	// contains filtered or unexported fields
}

func (*DownloadResponse) Descriptor deprecated

func (*DownloadResponse) Descriptor() ([]byte, []int)

Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.

func (*DownloadResponse) GetChunkData

func (x *DownloadResponse) GetChunkData() []byte

func (*DownloadResponse) GetData

func (m *DownloadResponse) GetData() isDownloadResponse_Data

func (*DownloadResponse) GetInfo

func (*DownloadResponse) ProtoMessage

func (*DownloadResponse) ProtoMessage()

func (*DownloadResponse) ProtoReflect

func (x *DownloadResponse) ProtoReflect() protoreflect.Message

func (*DownloadResponse) Reset

func (x *DownloadResponse) Reset()

func (*DownloadResponse) String

func (x *DownloadResponse) String() string

type DownloadResponse_ChunkData

type DownloadResponse_ChunkData struct {
	ChunkData []byte `protobuf:"bytes,2,opt,name=chunk_data,json=chunkData,proto3,oneof"`
}

type DownloadResponse_FileInfo

type DownloadResponse_FileInfo struct {
	FileIdentifier string            `protobuf:"bytes,1,opt,name=file_identifier,json=fileIdentifier,proto3" json:"file_identifier,omitempty"`
	Attributes     map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DownloadResponse_FileInfo) Descriptor deprecated

func (*DownloadResponse_FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use DownloadResponse_FileInfo.ProtoReflect.Descriptor instead.

func (*DownloadResponse_FileInfo) GetAttributes

func (x *DownloadResponse_FileInfo) GetAttributes() map[string]string

func (*DownloadResponse_FileInfo) GetFileIdentifier

func (x *DownloadResponse_FileInfo) GetFileIdentifier() string

func (*DownloadResponse_FileInfo) ProtoMessage

func (*DownloadResponse_FileInfo) ProtoMessage()

func (*DownloadResponse_FileInfo) ProtoReflect

func (*DownloadResponse_FileInfo) Reset

func (x *DownloadResponse_FileInfo) Reset()

func (*DownloadResponse_FileInfo) String

func (x *DownloadResponse_FileInfo) String() string

type DownloadResponse_Info

type DownloadResponse_Info struct {
	Info *DownloadResponse_FileInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"`
}

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GetBackendStatsRequest

type GetBackendStatsRequest struct {

	// the name of the StorageBackendContent, this filed is REQUIRED.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the ID of the backend to remove
	BackendId string `protobuf:"bytes,2,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackendStatsRequest) Descriptor deprecated

func (*GetBackendStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBackendStatsRequest.ProtoReflect.Descriptor instead.

func (*GetBackendStatsRequest) GetBackendId

func (x *GetBackendStatsRequest) GetBackendId() string

func (*GetBackendStatsRequest) GetName

func (x *GetBackendStatsRequest) GetName() string

func (*GetBackendStatsRequest) ProtoMessage

func (*GetBackendStatsRequest) ProtoMessage()

func (*GetBackendStatsRequest) ProtoReflect

func (x *GetBackendStatsRequest) ProtoReflect() protoreflect.Message

func (*GetBackendStatsRequest) Reset

func (x *GetBackendStatsRequest) Reset()

func (*GetBackendStatsRequest) String

func (x *GetBackendStatsRequest) String() string

type GetBackendStatsResponse

type GetBackendStatsResponse struct {

	// the provider_version is storage provider version
	ProviderVersion string `protobuf:"bytes,1,opt,name=provider_version,json=providerVersion,proto3" json:"provider_version,omitempty"`
	// the vendor name of the storage provider
	VendorName string `protobuf:"bytes,2,opt,name=vendor_name,json=vendorName,proto3" json:"vendor_name,omitempty"`
	// the provider name of the storage provider
	ProviderName string `protobuf:"bytes,3,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	// the storage backend pool list
	Pools []*Pool `protobuf:"bytes,4,rep,name=pools,proto3" json:"pools,omitempty"`
	// the storage backend capabilities
	Capabilities map[string]bool `` /* 166-byte string literal not displayed */
	// the storage backend specifications
	Specifications map[string]string `` /* 169-byte string literal not displayed */
	// the storage is online
	Online bool `protobuf:"varint,7,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackendStatsResponse) Descriptor deprecated

func (*GetBackendStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBackendStatsResponse.ProtoReflect.Descriptor instead.

func (*GetBackendStatsResponse) GetCapabilities

func (x *GetBackendStatsResponse) GetCapabilities() map[string]bool

func (*GetBackendStatsResponse) GetOnline

func (x *GetBackendStatsResponse) GetOnline() bool

func (*GetBackendStatsResponse) GetPools

func (x *GetBackendStatsResponse) GetPools() []*Pool

func (*GetBackendStatsResponse) GetProviderName

func (x *GetBackendStatsResponse) GetProviderName() string

func (*GetBackendStatsResponse) GetProviderVersion

func (x *GetBackendStatsResponse) GetProviderVersion() string

func (*GetBackendStatsResponse) GetSpecifications

func (x *GetBackendStatsResponse) GetSpecifications() map[string]string

func (*GetBackendStatsResponse) GetVendorName

func (x *GetBackendStatsResponse) GetVendorName() string

func (*GetBackendStatsResponse) ProtoMessage

func (*GetBackendStatsResponse) ProtoMessage()

func (*GetBackendStatsResponse) ProtoReflect

func (x *GetBackendStatsResponse) ProtoReflect() protoreflect.Message

func (*GetBackendStatsResponse) Reset

func (x *GetBackendStatsResponse) Reset()

func (*GetBackendStatsResponse) String

func (x *GetBackendStatsResponse) String() string

type GetProviderCapabilitiesRequest

type GetProviderCapabilitiesRequest struct {
	// contains filtered or unexported fields
}

func (*GetProviderCapabilitiesRequest) Descriptor deprecated

func (*GetProviderCapabilitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderCapabilitiesRequest.ProtoReflect.Descriptor instead.

func (*GetProviderCapabilitiesRequest) ProtoMessage

func (*GetProviderCapabilitiesRequest) ProtoMessage()

func (*GetProviderCapabilitiesRequest) ProtoReflect

func (*GetProviderCapabilitiesRequest) Reset

func (x *GetProviderCapabilitiesRequest) Reset()

func (*GetProviderCapabilitiesRequest) String

type GetProviderCapabilitiesResponse

type GetProviderCapabilitiesResponse struct {
	Capabilities []*ProviderCapability `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderCapabilitiesResponse) Descriptor deprecated

func (*GetProviderCapabilitiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderCapabilitiesResponse.ProtoReflect.Descriptor instead.

func (*GetProviderCapabilitiesResponse) GetCapabilities

func (x *GetProviderCapabilitiesResponse) GetCapabilities() []*ProviderCapability

func (*GetProviderCapabilitiesResponse) ProtoMessage

func (*GetProviderCapabilitiesResponse) ProtoMessage()

func (*GetProviderCapabilitiesResponse) ProtoReflect

func (*GetProviderCapabilitiesResponse) Reset

func (*GetProviderCapabilitiesResponse) String

type GetProviderInfoRequest

type GetProviderInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetProviderInfoRequest) Descriptor deprecated

func (*GetProviderInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderInfoRequest.ProtoReflect.Descriptor instead.

func (*GetProviderInfoRequest) ProtoMessage

func (*GetProviderInfoRequest) ProtoMessage()

func (*GetProviderInfoRequest) ProtoReflect

func (x *GetProviderInfoRequest) ProtoReflect() protoreflect.Message

func (*GetProviderInfoRequest) Reset

func (x *GetProviderInfoRequest) Reset()

func (*GetProviderInfoRequest) String

func (x *GetProviderInfoRequest) String() string

type GetProviderInfoResponse

type GetProviderInfoResponse struct {
	Provider string            `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Version  string            `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Manifest map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetProviderInfoResponse) Descriptor deprecated

func (*GetProviderInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderInfoResponse.ProtoReflect.Descriptor instead.

func (*GetProviderInfoResponse) GetManifest

func (x *GetProviderInfoResponse) GetManifest() map[string]string

func (*GetProviderInfoResponse) GetProvider

func (x *GetProviderInfoResponse) GetProvider() string

func (*GetProviderInfoResponse) GetVersion

func (x *GetProviderInfoResponse) GetVersion() string

func (*GetProviderInfoResponse) ProtoMessage

func (*GetProviderInfoResponse) ProtoMessage()

func (*GetProviderInfoResponse) ProtoReflect

func (x *GetProviderInfoResponse) ProtoReflect() protoreflect.Message

func (*GetProviderInfoResponse) Reset

func (x *GetProviderInfoResponse) Reset()

func (*GetProviderInfoResponse) String

func (x *GetProviderInfoResponse) String() string

type IdentityClient

type IdentityClient interface {
	GetProviderInfo(ctx context.Context, in *GetProviderInfoRequest, opts ...grpc.CallOption) (*GetProviderInfoResponse, error)
	GetProviderCapabilities(ctx context.Context, in *GetProviderCapabilitiesRequest, opts ...grpc.CallOption) (*GetProviderCapabilitiesResponse, error)
	Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeResponse, error)
}

IdentityClient is the client API for Identity service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIdentityClient

func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient

type IdentityServer

IdentityServer is the server API for Identity service.

type ModifyVolumeInterfaceClient

type ModifyVolumeInterfaceClient interface {
	ModifyVolume(ctx context.Context, in *ModifyVolumeRequest, opts ...grpc.CallOption) (*ModifyVolumeResponse, error)
}

ModifyVolumeInterfaceClient is the client API for ModifyVolumeInterface service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ModifyVolumeInterfaceServer

type ModifyVolumeInterfaceServer interface {
	ModifyVolume(context.Context, *ModifyVolumeRequest) (*ModifyVolumeResponse, error)
}

ModifyVolumeInterfaceServer is the server API for ModifyVolumeInterface service.

type ModifyVolumeRequest

type ModifyVolumeRequest struct {

	// Contains identity information for the existing volume.
	// This field is REQUIRED.
	VolumeId string `protobuf:"bytes,1,opt,name=VolumeId,proto3" json:"VolumeId,omitempty"`
	// specific source sc parameters, passed in as
	// opaque key-value pairs.
	StorageClassParameters map[string]string `` /* 185-byte string literal not displayed */
	// specific volume attributes to mutate, passed in as
	// opaque key-value pairs.
	MutableParameters map[string]string `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ModifyVolumeRequest) Descriptor deprecated

func (*ModifyVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ModifyVolumeRequest.ProtoReflect.Descriptor instead.

func (*ModifyVolumeRequest) GetMutableParameters

func (x *ModifyVolumeRequest) GetMutableParameters() map[string]string

func (*ModifyVolumeRequest) GetStorageClassParameters

func (x *ModifyVolumeRequest) GetStorageClassParameters() map[string]string

func (*ModifyVolumeRequest) GetVolumeId

func (x *ModifyVolumeRequest) GetVolumeId() string

func (*ModifyVolumeRequest) ProtoMessage

func (*ModifyVolumeRequest) ProtoMessage()

func (*ModifyVolumeRequest) ProtoReflect

func (x *ModifyVolumeRequest) ProtoReflect() protoreflect.Message

func (*ModifyVolumeRequest) Reset

func (x *ModifyVolumeRequest) Reset()

func (*ModifyVolumeRequest) String

func (x *ModifyVolumeRequest) String() string

type ModifyVolumeResponse

type ModifyVolumeResponse struct {

	// Reserved for expansion
	VolumeAttributes map[string]string `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ModifyVolumeResponse) Descriptor deprecated

func (*ModifyVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ModifyVolumeResponse.ProtoReflect.Descriptor instead.

func (*ModifyVolumeResponse) GetVolumeAttributes

func (x *ModifyVolumeResponse) GetVolumeAttributes() map[string]string

func (*ModifyVolumeResponse) ProtoMessage

func (*ModifyVolumeResponse) ProtoMessage()

func (*ModifyVolumeResponse) ProtoReflect

func (x *ModifyVolumeResponse) ProtoReflect() protoreflect.Message

func (*ModifyVolumeResponse) Reset

func (x *ModifyVolumeResponse) Reset()

func (*ModifyVolumeResponse) String

func (x *ModifyVolumeResponse) String() string

type ObjectExistsRequest

type ObjectExistsRequest struct {
	FileIdentifier string            `protobuf:"bytes,1,opt,name=file_identifier,json=fileIdentifier,proto3" json:"file_identifier,omitempty"`
	Attributes     map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ObjectExistsRequest) Descriptor deprecated

func (*ObjectExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectExistsRequest.ProtoReflect.Descriptor instead.

func (*ObjectExistsRequest) GetAttributes

func (x *ObjectExistsRequest) GetAttributes() map[string]string

func (*ObjectExistsRequest) GetFileIdentifier

func (x *ObjectExistsRequest) GetFileIdentifier() string

func (*ObjectExistsRequest) ProtoMessage

func (*ObjectExistsRequest) ProtoMessage()

func (*ObjectExistsRequest) ProtoReflect

func (x *ObjectExistsRequest) ProtoReflect() protoreflect.Message

func (*ObjectExistsRequest) Reset

func (x *ObjectExistsRequest) Reset()

func (*ObjectExistsRequest) String

func (x *ObjectExistsRequest) String() string

type ObjectExistsResponse

type ObjectExistsResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectExistsResponse) Descriptor deprecated

func (*ObjectExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectExistsResponse.ProtoReflect.Descriptor instead.

func (*ObjectExistsResponse) GetExists

func (x *ObjectExistsResponse) GetExists() bool

func (*ObjectExistsResponse) ProtoMessage

func (*ObjectExistsResponse) ProtoMessage()

func (*ObjectExistsResponse) ProtoReflect

func (x *ObjectExistsResponse) ProtoReflect() protoreflect.Message

func (*ObjectExistsResponse) Reset

func (x *ObjectExistsResponse) Reset()

func (*ObjectExistsResponse) String

func (x *ObjectExistsResponse) String() string

type Pool

type Pool struct {

	// the name is pool name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the capacities is pool capacities
	Capacities map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Pool) Descriptor deprecated

func (*Pool) Descriptor() ([]byte, []int)

Deprecated: Use Pool.ProtoReflect.Descriptor instead.

func (*Pool) GetCapacities

func (x *Pool) GetCapacities() map[string]string

func (*Pool) GetName

func (x *Pool) GetName() string

func (*Pool) ProtoMessage

func (*Pool) ProtoMessage()

func (*Pool) ProtoReflect

func (x *Pool) ProtoReflect() protoreflect.Message

func (*Pool) Reset

func (x *Pool) Reset()

func (*Pool) String

func (x *Pool) String() string

type ProbeRequest

type ProbeRequest struct {
	// contains filtered or unexported fields
}

func (*ProbeRequest) Descriptor deprecated

func (*ProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.

func (*ProbeRequest) ProtoMessage

func (*ProbeRequest) ProtoMessage()

func (*ProbeRequest) ProtoReflect

func (x *ProbeRequest) ProtoReflect() protoreflect.Message

func (*ProbeRequest) Reset

func (x *ProbeRequest) Reset()

func (*ProbeRequest) String

func (x *ProbeRequest) String() string

type ProbeResponse

type ProbeResponse struct {
	Ready *wrappers.BoolValue `protobuf:"bytes,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeResponse) Descriptor deprecated

func (*ProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.

func (*ProbeResponse) GetReady

func (x *ProbeResponse) GetReady() *wrappers.BoolValue

func (*ProbeResponse) ProtoMessage

func (*ProbeResponse) ProtoMessage()

func (*ProbeResponse) ProtoReflect

func (x *ProbeResponse) ProtoReflect() protoreflect.Message

func (*ProbeResponse) Reset

func (x *ProbeResponse) Reset()

func (*ProbeResponse) String

func (x *ProbeResponse) String() string

type ProviderCapability

type ProviderCapability struct {

	// Types that are assignable to Type:
	//
	//	*ProviderCapability_Service_
	//	*ProviderCapability_StorageBackendService
	Type isProviderCapability_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ProviderCapability) Descriptor deprecated

func (*ProviderCapability) Descriptor() ([]byte, []int)

Deprecated: Use ProviderCapability.ProtoReflect.Descriptor instead.

func (*ProviderCapability) GetService

func (*ProviderCapability) GetStorageBackendService

func (*ProviderCapability) GetType

func (m *ProviderCapability) GetType() isProviderCapability_Type

func (*ProviderCapability) ProtoMessage

func (*ProviderCapability) ProtoMessage()

func (*ProviderCapability) ProtoReflect

func (x *ProviderCapability) ProtoReflect() protoreflect.Message

func (*ProviderCapability) Reset

func (x *ProviderCapability) Reset()

func (*ProviderCapability) String

func (x *ProviderCapability) String() string

type ProviderCapability_Service

type ProviderCapability_Service struct {
	Type ProviderCapability_Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=drcsi.v1.ProviderCapability_Service_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderCapability_Service) Descriptor deprecated

func (*ProviderCapability_Service) Descriptor() ([]byte, []int)

Deprecated: Use ProviderCapability_Service.ProtoReflect.Descriptor instead.

func (*ProviderCapability_Service) GetType

func (*ProviderCapability_Service) ProtoMessage

func (*ProviderCapability_Service) ProtoMessage()

func (*ProviderCapability_Service) ProtoReflect

func (*ProviderCapability_Service) Reset

func (x *ProviderCapability_Service) Reset()

func (*ProviderCapability_Service) String

func (x *ProviderCapability_Service) String() string

type ProviderCapability_Service_

type ProviderCapability_Service_ struct {
	Service *ProviderCapability_Service `protobuf:"bytes,1,opt,name=service,proto3,oneof"`
}

type ProviderCapability_Service_Type

type ProviderCapability_Service_Type int32
const (
	ProviderCapability_Service_UNKNOWN                 ProviderCapability_Service_Type = 0
	ProviderCapability_Service_STORAGE_BACKEND_SERVICE ProviderCapability_Service_Type = 1
)

func (ProviderCapability_Service_Type) Descriptor

func (ProviderCapability_Service_Type) Enum

func (ProviderCapability_Service_Type) EnumDescriptor deprecated

func (ProviderCapability_Service_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProviderCapability_Service_Type.Descriptor instead.

func (ProviderCapability_Service_Type) Number

func (ProviderCapability_Service_Type) String

func (ProviderCapability_Service_Type) Type

type ProviderCapability_StorageBackendService

type ProviderCapability_StorageBackendService struct {
	StorageBackendService *ProviderCapability_StorageBackendServiceSupport `protobuf:"bytes,2,opt,name=storage_backend_service,json=storageBackendService,proto3,oneof"`
}

type ProviderCapability_StorageBackendServiceSupport

type ProviderCapability_StorageBackendServiceSupport struct {
	Type ProviderCapability_StorageBackendServiceSupport_Type `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProviderCapability_StorageBackendServiceSupport) Descriptor deprecated

Deprecated: Use ProviderCapability_StorageBackendServiceSupport.ProtoReflect.Descriptor instead.

func (*ProviderCapability_StorageBackendServiceSupport) GetType

func (*ProviderCapability_StorageBackendServiceSupport) ProtoMessage

func (*ProviderCapability_StorageBackendServiceSupport) ProtoReflect

func (*ProviderCapability_StorageBackendServiceSupport) Reset

func (*ProviderCapability_StorageBackendServiceSupport) String

type ProviderCapability_StorageBackendServiceSupport_Type

type ProviderCapability_StorageBackendServiceSupport_Type int32
const (
	ProviderCapability_StorageBackendServiceSupport_UNKNOWN ProviderCapability_StorageBackendServiceSupport_Type = 0
)

func (ProviderCapability_StorageBackendServiceSupport_Type) Descriptor

func (ProviderCapability_StorageBackendServiceSupport_Type) Enum

func (ProviderCapability_StorageBackendServiceSupport_Type) EnumDescriptor deprecated

Deprecated: Use ProviderCapability_StorageBackendServiceSupport_Type.Descriptor instead.

func (ProviderCapability_StorageBackendServiceSupport_Type) Number

func (ProviderCapability_StorageBackendServiceSupport_Type) String

func (ProviderCapability_StorageBackendServiceSupport_Type) Type

type RemoveStorageBackendRequest

type RemoveStorageBackendRequest struct {

	// the name of the StorageBackendContent, this filed is REQUIRED.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the ID of the backend to remove
	BackendId string `protobuf:"bytes,2,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveStorageBackendRequest) Descriptor deprecated

func (*RemoveStorageBackendRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveStorageBackendRequest.ProtoReflect.Descriptor instead.

func (*RemoveStorageBackendRequest) GetBackendId

func (x *RemoveStorageBackendRequest) GetBackendId() string

func (*RemoveStorageBackendRequest) GetName

func (x *RemoveStorageBackendRequest) GetName() string

func (*RemoveStorageBackendRequest) ProtoMessage

func (*RemoveStorageBackendRequest) ProtoMessage()

func (*RemoveStorageBackendRequest) ProtoReflect

func (*RemoveStorageBackendRequest) Reset

func (x *RemoveStorageBackendRequest) Reset()

func (*RemoveStorageBackendRequest) String

func (x *RemoveStorageBackendRequest) String() string

type RemoveStorageBackendResponse

type RemoveStorageBackendResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveStorageBackendResponse) Descriptor deprecated

func (*RemoveStorageBackendResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveStorageBackendResponse.ProtoReflect.Descriptor instead.

func (*RemoveStorageBackendResponse) ProtoMessage

func (*RemoveStorageBackendResponse) ProtoMessage()

func (*RemoveStorageBackendResponse) ProtoReflect

func (*RemoveStorageBackendResponse) Reset

func (x *RemoveStorageBackendResponse) Reset()

func (*RemoveStorageBackendResponse) String

type StorageBackendClient

type StorageBackendClient interface {
	AddStorageBackend(ctx context.Context, in *AddStorageBackendRequest, opts ...grpc.CallOption) (*AddStorageBackendResponse, error)
	RemoveStorageBackend(ctx context.Context, in *RemoveStorageBackendRequest, opts ...grpc.CallOption) (*RemoveStorageBackendResponse, error)
	UpdateStorageBackend(ctx context.Context, in *UpdateStorageBackendRequest, opts ...grpc.CallOption) (*UpdateStorageBackendResponse, error)
	GetBackendStats(ctx context.Context, in *GetBackendStatsRequest, opts ...grpc.CallOption) (*GetBackendStatsResponse, error)
}

StorageBackendClient is the client API for StorageBackend service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type StorageBackendServer

StorageBackendServer is the server API for StorageBackend service.

type UnimplementedIdentityServer

type UnimplementedIdentityServer struct {
}

UnimplementedIdentityServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityServer) GetProviderInfo

func (*UnimplementedIdentityServer) Probe

type UnimplementedModifyVolumeInterfaceServer

type UnimplementedModifyVolumeInterfaceServer struct {
}

UnimplementedModifyVolumeInterfaceServer can be embedded to have forward compatible implementations.

func (*UnimplementedModifyVolumeInterfaceServer) ModifyVolume

type UnimplementedStorageBackendServer

type UnimplementedStorageBackendServer struct {
}

UnimplementedStorageBackendServer can be embedded to have forward compatible implementations.

func (*UnimplementedStorageBackendServer) AddStorageBackend

func (*UnimplementedStorageBackendServer) GetBackendStats

func (*UnimplementedStorageBackendServer) RemoveStorageBackend

func (*UnimplementedStorageBackendServer) UpdateStorageBackend

type UpdateStorageBackendRequest

type UpdateStorageBackendRequest struct {

	// the name of the StorageBackendContent, this filed is REQUIRED.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the ID of the backend to update
	BackendId string `protobuf:"bytes,2,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	// the meta of the configmap, <namespace>/<name>. this file is OPTIONAL.
	ConfigmapMeta string `protobuf:"bytes,3,opt,name=configmap_meta,json=configmapMeta,proto3" json:"configmap_meta,omitempty"`
	// the meta of the secret, <namespace>/<name>. this file is OPTIONAL.
	SecretMeta string `protobuf:"bytes,4,opt,name=secret_meta,json=secretMeta,proto3" json:"secret_meta,omitempty"`
	// Provider specific parameters passed in as opaque key-value pairs.
	// This field is OPTIONAL.
	Parameters map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateStorageBackendRequest) Descriptor deprecated

func (*UpdateStorageBackendRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStorageBackendRequest.ProtoReflect.Descriptor instead.

func (*UpdateStorageBackendRequest) GetBackendId

func (x *UpdateStorageBackendRequest) GetBackendId() string

func (*UpdateStorageBackendRequest) GetConfigmapMeta

func (x *UpdateStorageBackendRequest) GetConfigmapMeta() string

func (*UpdateStorageBackendRequest) GetName

func (x *UpdateStorageBackendRequest) GetName() string

func (*UpdateStorageBackendRequest) GetParameters

func (x *UpdateStorageBackendRequest) GetParameters() map[string]string

func (*UpdateStorageBackendRequest) GetSecretMeta

func (x *UpdateStorageBackendRequest) GetSecretMeta() string

func (*UpdateStorageBackendRequest) ProtoMessage

func (*UpdateStorageBackendRequest) ProtoMessage()

func (*UpdateStorageBackendRequest) ProtoReflect

func (*UpdateStorageBackendRequest) Reset

func (x *UpdateStorageBackendRequest) Reset()

func (*UpdateStorageBackendRequest) String

func (x *UpdateStorageBackendRequest) String() string

type UpdateStorageBackendResponse

type UpdateStorageBackendResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateStorageBackendResponse) Descriptor deprecated

func (*UpdateStorageBackendResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStorageBackendResponse.ProtoReflect.Descriptor instead.

func (*UpdateStorageBackendResponse) ProtoMessage

func (*UpdateStorageBackendResponse) ProtoMessage()

func (*UpdateStorageBackendResponse) ProtoReflect

func (*UpdateStorageBackendResponse) Reset

func (x *UpdateStorageBackendResponse) Reset()

func (*UpdateStorageBackendResponse) String

type UploadRequest

type UploadRequest struct {

	// Types that are assignable to Data:
	//
	//	*UploadRequest_Info
	//	*UploadRequest_ChunkData
	Data isUploadRequest_Data `protobuf_oneof:"Data"`
	// contains filtered or unexported fields
}

func (*UploadRequest) Descriptor deprecated

func (*UploadRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.

func (*UploadRequest) GetChunkData

func (x *UploadRequest) GetChunkData() []byte

func (*UploadRequest) GetData

func (m *UploadRequest) GetData() isUploadRequest_Data

func (*UploadRequest) GetInfo

func (x *UploadRequest) GetInfo() *UploadRequest_FileInfo

func (*UploadRequest) ProtoMessage

func (*UploadRequest) ProtoMessage()

func (*UploadRequest) ProtoReflect

func (x *UploadRequest) ProtoReflect() protoreflect.Message

func (*UploadRequest) Reset

func (x *UploadRequest) Reset()

func (*UploadRequest) String

func (x *UploadRequest) String() string

type UploadRequest_ChunkData

type UploadRequest_ChunkData struct {
	ChunkData []byte `protobuf:"bytes,2,opt,name=chunk_data,json=chunkData,proto3,oneof"`
}

type UploadRequest_FileInfo

type UploadRequest_FileInfo struct {
	FileIdentifier string            `protobuf:"bytes,1,opt,name=file_identifier,json=fileIdentifier,proto3" json:"file_identifier,omitempty"`
	Attributes     map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UploadRequest_FileInfo) Descriptor deprecated

func (*UploadRequest_FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use UploadRequest_FileInfo.ProtoReflect.Descriptor instead.

func (*UploadRequest_FileInfo) GetAttributes

func (x *UploadRequest_FileInfo) GetAttributes() map[string]string

func (*UploadRequest_FileInfo) GetFileIdentifier

func (x *UploadRequest_FileInfo) GetFileIdentifier() string

func (*UploadRequest_FileInfo) ProtoMessage

func (*UploadRequest_FileInfo) ProtoMessage()

func (*UploadRequest_FileInfo) ProtoReflect

func (x *UploadRequest_FileInfo) ProtoReflect() protoreflect.Message

func (*UploadRequest_FileInfo) Reset

func (x *UploadRequest_FileInfo) Reset()

func (*UploadRequest_FileInfo) String

func (x *UploadRequest_FileInfo) String() string

type UploadRequest_Info

type UploadRequest_Info struct {
	Info *UploadRequest_FileInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"`
}

Directories

Path Synopsis
Package connection connect to grpc
Package connection connect to grpc
Package rpc provides common rpc functions
Package rpc provides common rpc functions

Jump to

Keyboard shortcuts

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