Documentation
¶
Overview ¶
Package server implements the cpfs server command and owns its lifecycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command owns the cpfs server command and its component lifetimes.
func New ¶
func New(gateway conf.GatewayOptions) *Command
New constructs the command with the selected global gateway options.
type MetaServer ¶
MetaServer owns one physical Meta replica. Consensus never selects a service by a role enum: the Meta state machine wires namespace and placement domains.
type MetadataReplicaServer ¶
type MetadataReplicaServer struct {
Identity cluster.Config
// contains filtered or unexported fields
}
MetadataReplicaServer owns a replication-only eventual Meta process. It opens no Namespace RAM view or placement index and serves no files. Optional Gateway registration exposes only its fixed follower route. Native state is available only through the authenticated, pinned replication stream.
Source Files
¶
- accounts.go
- auth.go
- backup.go
- backup_protection.go
- capacity_linux.go
- command.go
- compress.go
- data.go
- data_auth.go
- failover.go
- gateway.go
- ha.go
- http_lifecycle.go
- init.go
- init_raft.go
- maintenance.go
- meta.go
- meta_eventual_config.go
- meta_eventual_home.go
- meta_eventual_replica.go
- meta_eventual_snapshot.go
- meta_raft.go
- namespace_backup.go
- namespaces.go
- node_failover.go
- raft_recovery.go
- register.go
- resources.go
- roots.go
- supervisor_linux.go