catalogcmd

package
v0.0.0-...-913a81e Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(rootConfig rootcmd.Config) *ffcli.Command

Types

type Config

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

func (*Config) Exec

func (c *Config) Exec(context.Context, []string) error

func (*Config) GenerateCommand

func (c *Config) GenerateCommand() *ffcli.Command

func (*Config) PreviewCommand

func (c *Config) PreviewCommand() *ffcli.Command

func (*Config) RegisterCatalogFlags

func (c *Config) RegisterCatalogFlags(fs *flag.FlagSet)

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(fs *flag.FlagSet)

func (*Config) RegisterGenerateFlags

func (c *Config) RegisterGenerateFlags(fs *flag.FlagSet)

func (*Config) RegisterPreviewFlags

func (c *Config) RegisterPreviewFlags(fs *flag.FlagSet)

func (*Config) RegisterServerFlags

func (c *Config) RegisterServerFlags(fs *flag.FlagSet)

func (*Config) ServerCommand

func (c *Config) ServerCommand() *ffcli.Command

func (*Config) ValidateCommand

func (c *Config) ValidateCommand() *ffcli.Command

type Server

type Server interface {
	Start(context.Context)
	Stop(context.Context) error
}

type WatchableServer

type WatchableServer interface {
	Server
	HandleWatchEvent()
}

Jump to

Keyboard shortcuts

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