runtime

package
v1.0.0-rc1.0...-bccf19c Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OwncloudNamespace is the base path for micro' services to use
	OwncloudNamespace = "com.owncloud."

	// MicroServices to start as part of the fullstack option
	MicroServices = []string{
		"api",
		"web",
		"registry",
	}

	// Extensions are ocis extension services
	Extensions = []string{
		"proxy",
		"store",
		"settings",
		"phoenix",
		"graph",
		"graph-explorer",
		"ocs",
		"webdav",
		"reva-frontend",
		"reva-gateway",
		"reva-users",
		"reva-auth-basic",
		"reva-auth-bearer",
		"reva-storage-home",
		"reva-storage-home-data",
		"reva-storage-eos",
		"reva-storage-eos-data",
		"reva-storage-oc",
		"reva-storage-oc-data",
		"reva-storage-public-link",
		"accounts",
		"glauth",
		"konnectd",
		"thumbnails",
	}
)

Functions

func AddMicroPlatform

func AddMicroPlatform(app *cli.App)

AddMicroPlatform adds the micro subcommands to the cli app

func Command

func Command(app *cli.App) *cli.Command

Command adds micro runtime commands to the cli app

Types

type Option

type Option func(o *Options)

Option undocummented

func Context

func Context(c *cli.Context) Option

Context option

func Services

func Services(s []string) Option

Services option

type Options

type Options struct {
	Services []string
	Logger   log.Logger
	Context  *cli.Context
}

Options is a runtime option

type Runtime

type Runtime struct{}

Runtime represents an oCIS runtime environment.

func New

func New() Runtime

New creates a new ocis + micro runtime

func (*Runtime) Launch

func (r *Runtime) Launch(services []string)

Launch ocis default ocis extensions.

func (*Runtime) Start

func (r *Runtime) Start(services ...string) error

Start rpc runtime

Jump to

Keyboard shortcuts

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