rc

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Enabled  bool
	Address  string
	NoAuth   bool
	Username string
	Password string
}

Options wraps the subset of rclone RC options we expose via the CSI driver.

func NewOptions

func NewOptions() *Options

NewOptions creates a new Options instance

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options

type Server

type Server interface {
	Shutdown() error
}

Server interface for RC server lifecycle management

func Start

func Start(ctx context.Context, opts *Options) (Server, error)

Start starts the rclone Remote Control server if enabled

Jump to

Keyboard shortcuts

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