config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Firestore

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

func (*Firestore) Configure

func (c *Firestore) Configure(ctx context.Context) (*repository.Firestore, error)

func (*Firestore) Flags

func (c *Firestore) Flags() []cli.Flag

func (Firestore) LogValue

func (c Firestore) LogValue() slog.Value

type GeminiCfg

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

func (*GeminiCfg) Configure

func (x *GeminiCfg) Configure(ctx context.Context) (*gemini.Client, error)

func (*GeminiCfg) Flags

func (x *GeminiCfg) Flags() []cli.Flag

func (GeminiCfg) LogValue

func (x GeminiCfg) LogValue() slog.Value

type Logger

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

func (*Logger) Configure

func (x *Logger) Configure() (func(), error)

Configure sets up logger and returns closer function and error. You can call closer even if error is not nil.

func (*Logger) Flags

func (x *Logger) Flags() []cli.Flag

func (Logger) LogValue

func (x Logger) LogValue() slog.Value

type Policy

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

func (*Policy) Configure

func (x *Policy) Configure() (*opaq.Client, error)

func (*Policy) Flags

func (x *Policy) Flags() []cli.Flag

func (Policy) LogValue

func (x Policy) LogValue() slog.Value

type Sentry

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

func (*Sentry) Configure

func (x *Sentry) Configure() error

func (*Sentry) Flags

func (x *Sentry) Flags() []cli.Flag

func (Sentry) LogValue

func (x Sentry) LogValue() slog.Value

type Slack

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

func (*Slack) Configure

func (x *Slack) Configure() (*slack.Service, error)

func (*Slack) ConfigureWithFrontendURL

func (x *Slack) ConfigureWithFrontendURL(frontendURL string) (*slack.Service, error)

func (*Slack) Flags

func (x *Slack) Flags() []cli.Flag

func (Slack) LogValue

func (x Slack) LogValue() slog.Value

func (*Slack) Verifier

func (x *Slack) Verifier() model.PayloadVerifier

type Storage

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

func (*Storage) Configure

func (x *Storage) Configure(ctx context.Context) (*storage.Client, error)

func (*Storage) Flags

func (x *Storage) Flags() []cli.Flag

func (*Storage) LogValue

func (x *Storage) LogValue() slog.Value

type TestData

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

func (*TestData) Configure

func (x *TestData) Configure() (*policy.TestDataSet, error)

func (*TestData) DetectDataPath

func (x *TestData) DetectDataPath() string

func (*TestData) Flags

func (x *TestData) Flags() []cli.Flag

func (*TestData) IgnoreDataPath

func (x *TestData) IgnoreDataPath() string

func (TestData) LogValue

func (x TestData) LogValue() slog.Value

type WebUI

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

func (*WebUI) Configure

func (x *WebUI) Configure(repo interfaces.Repository, slackSvc *slack.Service) (usecase.AuthUseCaseInterface, error)

func (*WebUI) Flags

func (x *WebUI) Flags() []cli.Flag

func (*WebUI) GetCallbackURL

func (x *WebUI) GetCallbackURL() string

func (*WebUI) GetFrontendURL

func (x *WebUI) GetFrontendURL() string

func (*WebUI) IsConfigured

func (x *WebUI) IsConfigured() bool

func (*WebUI) IsDevMode

func (x *WebUI) IsDevMode() bool

func (WebUI) LogValue

func (x WebUI) LogValue() slog.Value

Jump to

Keyboard shortcuts

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