cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddQueryFlags

func AddQueryFlags(cmd *cobra.Command)

func Amber

func Amber(msg string) string

func BuildEntityQuery

func BuildEntityQuery(flags *pflag.FlagSet) (*storemod.EntityQuery, error)

func BuildKeyTripleQuery

func BuildKeyTripleQuery(flags *pflag.FlagSet) (*storemod.KeyTripleQuery, error)

func BuildManifestQuery

func BuildManifestQuery(flags *pflag.FlagSet) (*storemod.ManifestQuery, error)

func BuildModuleTagQuery

func BuildModuleTagQuery(flags *pflag.FlagSet) (*storemod.ModuleTagQuery, error)

func BuildValueTripleQuery

func BuildValueTripleQuery(flags *pflag.FlagSet) (*storemod.ValueTripleQuery, error)

func CheckErr

func CheckErr(msg interface{})

func Execute

func Execute()

func Green

func Green(msg string) string

func Red

func Red(msg string) string

Types

type Config

type Config struct {
	NoColor      bool
	Insecure     bool
	Force        bool
	HashAlg      string
	RequireLabel bool

	DBMS     string
	DSN      string
	TraceSQL bool
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

func (*Config) Check

func (o *Config) Check() error

func (*Config) DB

func (o *Config) DB() *db.Config

func (*Config) Init

func (o *Config) Init(path string)

func (*Config) Store

func (o *Config) Store() *store.Config

type LookupMap

type LookupMap struct {
	ReferenceValues bool
	Endorsements    bool
	TrustAnchors    bool
}

Jump to

Keyboard shortcuts

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