bucketfs

package
v21.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client defines the structure of a Client object

func NewClient

func NewClient(target resources.Host) (*Client, fail.Error)

NewClient creates a new NFS client instance

func (*Client) Mount

func (c *Client) Mount(ctx context.Context, description Description) fail.Error

Mount proceeds to the mount of a Bucket on Host

func (*Client) Unmount

func (c *Client) Unmount(ctx context.Context, description Description) fail.Error

Unmount a nfs share from NFS server

type Description

type Description struct {
	BucketName       string
	ProjectName      string
	Username         string
	Password         string
	AuthVersion      string
	AuthURL          string
	Endpoint         string
	Region           string
	MountPoint       string
	Protocol         string
	OperatorUsername string
}

Description contains the configuration for bucket mount

func (Description) FilePath

func (desc Description) FilePath() string

FilePath returns the absolute path of the rclone configuration file on the remote server

Jump to

Keyboard shortcuts

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