command

package
v0.0.0-...-33f9496 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

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

func Health

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

Health is the entrypoint for the health command.

func NewCERNBoxCanaryService

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

NewCERNBoxCanaryService creates a new CERNBoxCanaryService

func NewLogger

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

NewLogger initializes a service-specific logger instance.

func ParseConfig

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

ParseConfig loads settings configuration from Viper known paths.

func Server

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

Server is the entrypoint for the server command.

Types

type CERNBoxCanaryService

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

CERNBoxCanaryService allows for the ocis-canary command to be embedded and supervised by a suture supervisor tree.

func (CERNBoxCanaryService) Serve

Jump to

Keyboard shortcuts

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