Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCacheOptions ¶
type LocalCacheOptions struct {
Dir string `env:"NPMI_LOCAL_DIR"`
}
LocalCacheOptions constains configuration for Local Cache
type MinioCacheOptions ¶
type MinioCacheOptions struct { Endpoint string `env:"NPMI_MINIO_ENDPOINT"` AccessKeyID string `env:"NPMI_MINIO_ACCESS_KEY_ID"` SecretAccessKey string `env:"NPMI_MINIO_SECRET_ACCESS_KEY"` Bucket string `env:"NPMI_MINIO_BUCKET"` UseTLS bool `env:"NPMI_MINIO_TLS"` }
MinioCacheOptions contains configuration for Minio Cache
type Options ¶
type Options struct { Verbose bool `env:"NPMI_VERBOSE"` Force bool `env:"NPMI_FORCE"` UseLocalCache bool `env:"NPMI_LOCAL"` UseMinioCache bool `env:"NPMI_MINIO"` MinioCache *MinioCacheOptions LocalCache *LocalCacheOptions PrecacheCmd string `env:"NPMI_PRECACHE"` }
Options describes the runtime configuration
Click to show internal directories.
Click to hide internal directories.