Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v0.54.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package user implements stackkit user add/list/remove for PocketID household members.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the public `stackkit user` command tree.

func NewCommandWithFilesProvisioner added in v0.47.7

func NewCommandWithFilesProvisioner(provisioner FilesProvisioner) *cobra.Command

NewCommandWithFilesProvisioner returns the public user tree with the native Files account hook supplied by the root command package.

Types

type FilesAccount added in v0.47.7

type FilesAccount struct {
	Selected   bool
	AccountRef string
	Email      string
}

FilesAccount is the secret-free result of app-local Cloudreve household provisioning. Selected is false when the current Plan has no Files workload.

type FilesProvisioner added in v0.47.7

type FilesProvisioner interface {
	EnsureFilesAccount(context.Context, string, localowner.HouseholdUser) (FilesAccount, error)
	RevealFilesCredential(context.Context, string, localowner.HouseholdUser) ([]byte, error)
}

FilesProvisioner is implemented by the root command package, which owns the admitted applied-workload execution channel. This package retains the public household CLI and never derives a runtime endpoint itself.

Jump to

Keyboard shortcuts

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