Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2023 Changes in this version + var UserConfs = []UserConf + type Application struct + CliOptions CliOnlyOptions + ConfigPath string + Dev Development + IgnoreNotRunning bool + KubeConfig KubeConf + Kubernetes KubernetesAPI + KubernetesRequestTimeoutSeconds int64 + Log Logging + MissingTagPolicy MissingTagConf + Mode string + NamespaceSelectors NamespaceSelector + Namespaces []string + NextlinuxDetails NextlinuxInfo + PollingIntervalSeconds int + Quiet bool + RunMode mode.Mode + VerboseInventoryReports bool + func LoadConfigFromFile(v *viper.Viper, cliOpts *CliOnlyOptions) (*Application, error) + func (cfg *Application) Build() error + func (cfg Application) String() string + type CliOnlyOptions struct + ConfigPath string + Verbosity int + type Development struct + ProfileCPU bool + type HTTPConfig struct + Insecure bool + TimeoutSeconds int + type KubeConf struct + Cluster string + ClusterCert string + Path string + Server string + User KubeConfUser + func (kubeConf *KubeConf) GetKubeConfigFromConf() (*rest.Config, error) + func (kubeConf *KubeConf) IsKubeConfigFromFile() bool + func (kubeConf *KubeConf) IsNonFileKubeConfigValid() bool + type KubeConfUser struct + ClientCert string + PrivateKey string + Token string + UserConf string + UserConfType UserConf + type KubernetesAPI struct + RequestBatchSize int64 + RequestTimeoutSeconds int64 + WorkerPoolSize int + type Logging struct + FileLocation string + Level string + LevelOpt logrus.Level + Structured bool + type MissingTagConf struct + Policy string + Tag string + type NamespaceSelector struct + Exclude []string + Include []string + type NextlinuxInfo struct + Account string + HTTP HTTPConfig + Password string + URL string + User string + func (nextlinux *NextlinuxInfo) IsValid() bool + type UserConf int + const PrivateKey + const ServiceAccountToken + func ParseUserConf(userStr string) UserConf + func (o UserConf) String() string