server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package server defines NFS Provider server service

Package server implements NFS provider service interfaces

Index

Constants

View Source
const (

	// ReadBufferSize is size in bytes for read
	ReadBufferSize int = 4096
)

Variables

This section is empty.

Functions

func NewIdentityServer

func NewIdentityServer(ctx context.Context,
	serviceOptions options.NFSProviderOptions) pb.IdentityServer

NewIdentityServer creates a new Identify service

func NewMetaBackupServer

func NewMetaBackupServer(ctx context.Context,
	serviceOptions options.NFSProviderOptions) pb.MetaBackupServer

NewMetaBackupServer creates a new Meta backup service

func NewNFSProviderCommand

func NewNFSProviderCommand() *cobra.Command

NewNFSProviderCommand creates a *cobra.Command object with default parameters

func Run

func Run(ctx context.Context, serviceOptions options.NFSProviderOptions) error

Run start and run NFS Provider service

Types

This section is empty.

Directories

Path Synopsis
Package options defines NFS Provider flag options
Package options defines NFS Provider flag options

Jump to

Keyboard shortcuts

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