Documentation
¶
Index ¶
- type Config
- func (c Config) ExcludeEngine() fl.IFilterEngine
- func (c Config) HTTPClient() http.IHttpClient
- func (c Config) HTTPWorkerCount() int
- func (c Config) Host() string
- func (c Config) ImageRegistry() reg.ImageRegistry
- func (c Config) IncludeEngine() fl.IFilterEngine
- func (c *Config) Init() (err error)
- func (c Config) IsDryRun() bool
- func (c Config) Password() string
- func (c Config) RepositoryList() []reg.Repository
- func (c Config) SkipDeletionErr() bool
- func (c Config) SkipList() []string
- func (c Config) Username() string
- type IConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RegUsername string RegPassword string ServiceAccountPath string RegistryHost string RegistryType string SkipListPath string RepoListPath string DryRun bool ExcludeFilters []string IncludeFilters []string AllowInsecure bool JWExpirySecond uint WorkerCount int SkipErrDelete bool // contains filtered or unexported fields }
func (Config) ExcludeEngine ¶
func (c Config) ExcludeEngine() fl.IFilterEngine
func (Config) HTTPClient ¶
func (c Config) HTTPClient() http.IHttpClient
func (Config) HTTPWorkerCount ¶ added in v0.2.0
func (Config) ImageRegistry ¶
func (c Config) ImageRegistry() reg.ImageRegistry
ImageRegistry get related image registry based on known host if not mentioned directly for image host name
func (Config) IncludeEngine ¶
func (c Config) IncludeEngine() fl.IFilterEngine
func (*Config) Init ¶
Init is validating inputs and setups some dependencies for the application to run
func (Config) RepositoryList ¶ added in v0.2.0
func (c Config) RepositoryList() []reg.Repository
func (Config) SkipDeletionErr ¶ added in v0.2.0
type IConfig ¶
type IConfig interface { Username() string Password() string SkipList() []string IsDryRun() bool Host() string ImageRegistry() reg.ImageRegistry ExcludeEngine() fl.IFilterEngine IncludeEngine() fl.IFilterEngine HTTPClient() http.IHttpClient HTTPWorkerCount() int RepositoryList() []reg.Repository SkipDeletionErr() bool Init() error }
Directories
¶
Path | Synopsis |
---|---|
Package mock_config is a generated GoMock package.
|
Package mock_config is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.