command

package
v0.0.0-...-499b85e Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 21 Imported by: 2

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-thumbnails command.

func Health

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

Health is the entrypoint for the health command.

func NewLogger

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

NewLogger initializes a service-specific logger instance.

func NewSutureService

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

NewSutureService creates a new thumbnails.SutureService

func ParseConfig

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

ParseConfig loads configuration from Viper known paths.

func PrintVersion

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

PrintVersion prints the service versions of all running instances.

func Server

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

Server is the entrypoint for the server command.

Types

type SutureService

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

SutureService allows for the thumbnails 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