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 ¶
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
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.
Click to show internal directories.
Click to hide internal directories.