cmd

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendFlags

func BackendFlags() []cli.Flag

Types

type BackendConfig

type BackendConfig struct {
	repository.S3Options
	DB                  string
	ReportingDB         string
	Eventsink           string
	ArchiveBucket       string
	ReportBucket        string
	S3Endpoint          string
	S3KeyID             string
	S3KeySecret         string
	S3Insecure          bool
	NoArchiver          bool
	ArchiverCount       int
	NoCoreSchema        bool
	NoReplicator        bool
	NoEventsink         bool
	NoReporter          bool
	MockJWTEndpoint     bool
	MockJWTSigningKey   string
	MockJWTSharedSecret string
	JWKSUrl             string
	JWTIssuer           string
	JWTAudience         string
	JWTScopePrefix      string
}

func BackendConfigFromContext

func BackendConfigFromContext(c *cli.Context, src ParameterSource) (BackendConfig, error)

type ParameterSource

type ParameterSource func(ctx context.Context, name string) (string, error)

Jump to

Keyboard shortcuts

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