command

package
v2.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(cfg *config.Config) error

Execute is the entry point for the ocis-frontend command.

func GetCommands

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

GetCommands provides all commands for this service

func Health

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

Health is the entrypoint for the health command.

func NewSutureService

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

NewSutureService creates a new frontend.SutureService

func Server

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

Server is the entry point for the server command.

func Version

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

Version prints the service versions of all running instances.

Types

type SutureService

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

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

func (SutureService) Serve

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

Jump to

Keyboard shortcuts

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