clicfg

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultAuraBaseUrl     = "https://api.neo4j.io"
	DefaultAuraAuthUrl     = "https://api.neo4j.io/oauth/token"
	DefaultAuraBetaEnabled = false
)

Variables

View Source
var ConfigPrefix string
View Source
var ValidOutputValues = [3]string{"default", "json", "table"}

Functions

This section is empty.

Types

type AuraConfig

type AuraConfig struct {
	ValidConfigKeys []string
	// contains filtered or unexported fields
}

func (*AuraConfig) AuraBetaEnabled

func (config *AuraConfig) AuraBetaEnabled() bool

func (*AuraConfig) AuthUrl

func (config *AuraConfig) AuthUrl() string

func (*AuraConfig) BaseUrl

func (config *AuraConfig) BaseUrl() string

func (*AuraConfig) BetaPathV1 added in v1.3.1

func (config *AuraConfig) BetaPathV1() string

func (*AuraConfig) BetaPathV2 added in v1.3.1

func (config *AuraConfig) BetaPathV2() string

func (*AuraConfig) BindAuthUrl

func (config *AuraConfig) BindAuthUrl(flag *pflag.Flag)

func (*AuraConfig) BindBaseUrl

func (config *AuraConfig) BindBaseUrl(flag *pflag.Flag)

func (*AuraConfig) BindOutput

func (config *AuraConfig) BindOutput(flag *pflag.Flag)

func (*AuraConfig) DefaultTenant

func (config *AuraConfig) DefaultTenant() string

func (*AuraConfig) Fs

func (config *AuraConfig) Fs() afero.Fs

func (*AuraConfig) Get

func (config *AuraConfig) Get(key string) interface{}

func (*AuraConfig) IsValidConfigKey

func (config *AuraConfig) IsValidConfigKey(key string) bool

func (*AuraConfig) Output

func (config *AuraConfig) Output() string

func (*AuraConfig) PollingConfig

func (config *AuraConfig) PollingConfig() PollingConfig

func (*AuraConfig) Print

func (config *AuraConfig) Print(cmd *cobra.Command)

func (*AuraConfig) Set

func (config *AuraConfig) Set(key string, value string)

func (*AuraConfig) SetPollingConfig

func (config *AuraConfig) SetPollingConfig(maxRetries int, interval int)

type Config

type Config struct {
	Version     string
	Aura        *AuraConfig
	Credentials *credentials.Credentials
}

func NewConfig

func NewConfig(fs afero.Fs, version string) *Config

type PollingConfig

type PollingConfig struct {
	Interval   int
	MaxRetries int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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