config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ReadOnlyMode         bool
	EnableSecurityPolicy bool
	Timeout              int
	SecurityPolicyFile   string
	ReadOnlyPatternsFile string
	Transport            string
	Host                 string
	Port                 int
	LogLevel             string

	SkipAuthSetup       bool
	AuthMethod          string
	TenantID            string
	ClientID            string
	FederatedTokenFile  string
	ClientSecret        string
	DefaultSubscription string
}

func NewConfig

func NewConfig() *Config

func (*Config) ParseFlags

func (c *Config) ParseFlags() error

func (*Config) TimeoutDuration

func (c *Config) TimeoutDuration() time.Duration

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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