cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadKafkaConfig

func LoadKafkaConfig() ([]kgo.Opt, error)

Types

type Credentials

type Credentials struct {
	User     string
	Password string
}

func SchemaRegistryEndpoint

func SchemaRegistryEndpoint() (string, Credentials, error)

type Flags

type Flags struct {
	Format    string
	Topic     string
	Namespace string
}

func (*Flags) SetFlags

func (f *Flags) SetFlags(fs *flag.FlagSet)

type LakeFlags

type LakeFlags struct {
	lakeflags.Flags
}

func (*LakeFlags) SetFlags

func (l *LakeFlags) SetFlags(fs *flag.FlagSet)

SetFlags calls Flags.SetFlags and then, for any flag added, it prepends "Zed " to flag.Flag.Usage.

type ShaperFlags

type ShaperFlags struct {
	Path string
}

func (*ShaperFlags) Load

func (s *ShaperFlags) Load() (string, error)

func (*ShaperFlags) SetFlags

func (s *ShaperFlags) SetFlags(fs *flag.FlagSet)

Jump to

Keyboard shortcuts

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