command

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 29 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppProvider added in v1.12.0

func AppProvider(cfg *config.Config) *cli.Command

AppProvider is the entrypoint for the app provider command.

func AuthBasic

func AuthBasic(cfg *config.Config) *cli.Command

AuthBasic is the entrypoint for the auth-basic command.

func AuthBearer

func AuthBearer(cfg *config.Config) *cli.Command

AuthBearer is the entrypoint for the auth-bearer command.

func AuthMachine added in v1.14.0

func AuthMachine(cfg *config.Config) *cli.Command

AuthMachine is the entrypoint for the auth-machine command.

func Execute

func Execute(cfg *config.Config) error

Execute is the entry point for the storage command.

func Frontend

func Frontend(cfg *config.Config) *cli.Command

Frontend is the entrypoint for the frontend command.

func Gateway

func Gateway(cfg *config.Config) *cli.Command

Gateway is the entrypoint for the gateway command.

func GetCommands added in v1.17.0

func GetCommands(cfg *config.Config) cli.Commands

GetCommands provides all commands for this service

func Groups

func Groups(cfg *config.Config) *cli.Command

Groups is the entrypoint for the sharing command.

func Health

func Health(cfg *config.Config) *cli.Command

Health is the entrypoint for the health command.

func NewAppProvider added in v1.12.0

func NewAppProvider(cfg *ociscfg.Config) suture.Service

NewAppProvider creates a new store.AppProviderSutureService

func NewAuthBasic

func NewAuthBasic(cfg *ociscfg.Config) suture.Service

NewAuthBasicSutureService creates a new store.AuthBasicSutureService

func NewAuthBearer

func NewAuthBearer(cfg *ociscfg.Config) suture.Service

NewAuthBearerSutureService creates a new gateway.AuthBearerSutureService

func NewAuthMachine added in v1.14.0

func NewAuthMachine(cfg *ociscfg.Config) suture.Service

NewAuthMachineSutureService creates a new gateway.AuthMachineSutureService

func NewFrontend

func NewFrontend(cfg *ociscfg.Config) suture.Service

NewFrontend creates a new frontend.FrontendSutureService

func NewGateway

func NewGateway(cfg *ociscfg.Config) suture.Service

NewGatewaySutureService creates a new gateway.GatewaySutureService

func NewGroupProvider added in v1.11.0

func NewGroupProvider(cfg *ociscfg.Config) suture.Service

NewGroupProviderSutureService creates a new storage.GroupProvider

func NewLogger

func NewLogger(cfg *config.Config) log.Logger

NewLogger initializes a service-specific logger instance.

func NewSharing

func NewSharing(cfg *ociscfg.Config) suture.Service

NewSharingSutureService creates a new store.SharingSutureService

func NewStorageMetadata

func NewStorageMetadata(cfg *ociscfg.Config) suture.Service

NewSutureService creates a new storagemetadata.SutureService

func NewStoragePublicLink(cfg *ociscfg.Config) suture.Service

NewStoragePublicLinkSutureService creates a new storage.StoragePublicLinkSutureService

func NewStorageShares added in v1.17.0

func NewStorageShares(cfg *ociscfg.Config) suture.Service

NewStorageShares creates a new storage.StorageSharesSutureService

func NewStorageUsers

func NewStorageUsers(cfg *ociscfg.Config) suture.Service

NewStorageUsersSutureService creates a new storage.StorageUsersSutureService

func NewUserProvider added in v1.11.0

func NewUserProvider(cfg *ociscfg.Config) suture.Service

NewUserProviderSutureService creates a new storage.UserProvider

func ParseConfig added in v1.16.0

func ParseConfig(c *cli.Context, cfg *config.Config, storageExtension string) error

ParseConfig loads accounts configuration from known paths.

func Sharing

func Sharing(cfg *config.Config) *cli.Command

Sharing is the entrypoint for the sharing command.

func StorageMetadata

func StorageMetadata(cfg *config.Config) *cli.Command

StorageMetadata the entrypoint for the storage-storage-metadata command.

It provides a ocis-specific storage store metadata (shares,account,settings...)

func StoragePublicLink(cfg *config.Config) *cli.Command

StoragePublicLink is the entrypoint for the reva-storage-public-link command.

func StorageShares added in v1.17.0

func StorageShares(cfg *config.Config) *cli.Command

StorageShares is the entrypoint for the storage-shares command.

func StorageUsers

func StorageUsers(cfg *config.Config) *cli.Command

StorageUsers is the entrypoint for the storage-users command.

func Users

func Users(cfg *config.Config) *cli.Command

Users is the entrypoint for the sharing command.

Types

type AppProviderSutureService added in v1.12.0

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

AppProviderSutureService allows for the app-provider command to be embedded and supervised by a suture supervisor tree.

func (AppProviderSutureService) Serve added in v1.12.0

type AuthBasicSutureService

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

AuthBasicSutureService allows for the storage-authbasic command to be embedded and supervised by a suture supervisor tree.

func (AuthBasicSutureService) Serve

type AuthBearerSutureService

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

AuthBearerSutureService allows for the storage-gateway command to be embedded and supervised by a suture supervisor tree.

func (AuthBearerSutureService) Serve

type AuthMachineSutureService added in v1.14.0

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

AuthMachineSutureService allows for the storage-gateway command to be embedded and supervised by a suture supervisor tree.

func (AuthMachineSutureService) Serve added in v1.14.0

type FrontendSutureService

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

FrontendSutureService allows for the storage-frontend command to be embedded and supervised by a suture supervisor tree.

func (FrontendSutureService) Serve

type GatewaySutureService

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

GatewaySutureService allows for the storage-gateway command to be embedded and supervised by a suture supervisor tree.

func (GatewaySutureService) Serve

type GroupSutureService added in v1.14.0

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

GroupSutureService allows for the storage-groupprovider command to be embedded and supervised by a suture supervisor tree.

func (GroupSutureService) Serve added in v1.14.0

func (s GroupSutureService) Serve(ctx context.Context) error

type MetadataSutureService added in v1.14.0

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

SutureService allows for the storage-metadata command to be embedded and supervised by a suture supervisor tree.

func (MetadataSutureService) Serve added in v1.14.0

type SharingSutureService

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

SharingSutureService allows for the storage-sharing command to be embedded and supervised by a suture supervisor tree.

func (SharingSutureService) Serve

type StoragePublicLinkSutureService

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

StoragePublicLinkSutureService allows for the storage-public-link command to be embedded and supervised by a suture supervisor tree.

func (StoragePublicLinkSutureService) Serve

type StorageSharesSutureService added in v1.17.0

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

StorageSharesSutureService allows for the storage-shares command to be embedded and supervised by a suture supervisor tree.

func (StorageSharesSutureService) Serve added in v1.17.0

type StorageUsersSutureService

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

StorageUsersSutureService allows for the storage-home command to be embedded and supervised by a suture supervisor tree.

func (StorageUsersSutureService) Serve

type UserProviderSutureService added in v1.14.0

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

UserProviderSutureService allows for the storage-userprovider command to be embedded and supervised by a suture supervisor tree.

func (UserProviderSutureService) Serve added in v1.14.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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