Documentation ¶
Index ¶
- Variables
- type CSIProviderServer
- func (s *CSIProviderServer) Mount(ctx context.Context, req *v1alpha1.MountRequest) (*v1alpha1.MountResponse, error)
- func (m *CSIProviderServer) Start() error
- func (m *CSIProviderServer) Stop()
- func (m *CSIProviderServer) Version(ctx context.Context, req *v1alpha1.VersionRequest) (*v1alpha1.VersionResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorInvalidSecretProviderClass = "InvalidSecretProviderClass" ErrorBadRequest = "BadRequest" )
Functions ¶
This section is empty.
Types ¶
type CSIProviderServer ¶
type CSIProviderServer struct {
// contains filtered or unexported fields
}
func NewCSIProviderServer ¶
func NewCSIProviderServer(version, socketPath string, auth auth.Auth, infisicalClientFactory provider.InfisicalClientFactory) *CSIProviderServer
NewCSIProviderServer returns a mock csi-provider grpc server
func (*CSIProviderServer) Mount ¶
func (s *CSIProviderServer) Mount(ctx context.Context, req *v1alpha1.MountRequest) (*v1alpha1.MountResponse, error)
Mount implements provider csi-provider method
func (*CSIProviderServer) Start ¶
func (m *CSIProviderServer) Start() error
func (*CSIProviderServer) Stop ¶
func (m *CSIProviderServer) Stop()
func (*CSIProviderServer) Version ¶
func (m *CSIProviderServer) Version(ctx context.Context, req *v1alpha1.VersionRequest) (*v1alpha1.VersionResponse, error)
Version implements provider csi-provider method
Click to show internal directories.
Click to hide internal directories.