mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-07 10:53:25 +00:00
* feat: adds interplex as a caching provider Signed-off-by: AlexsJones <alexsimonjones@gmail.com> * chore: refactored cache input to lower Signed-off-by: AlexsJones <alexsimonjones@gmail.com> * chore: refactored cache input to lower Signed-off-by: AlexsJones <alexsimonjones@gmail.com> --------- Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
17 lines
605 B
Go
17 lines
605 B
Go
package cache
|
|
|
|
import "time"
|
|
|
|
type CacheProvider struct {
|
|
CurrentCacheType string `mapstructure:"currentCacheType" yaml:"currentCacheType"`
|
|
GCS GCSCacheConfiguration `mapstructure:"gcs" yaml:"gcs,omitempty"`
|
|
Azure AzureCacheConfiguration `mapstructure:"azure" yaml:"azure,omitempty"`
|
|
S3 S3CacheConfiguration `mapstructure:"s3" yaml:"s3,omitempty"`
|
|
Interplex InterplexCacheConfiguration `mapstructure:"interplex" yaml:"interplex,omitempty"`
|
|
}
|
|
|
|
type CacheObjectDetails struct {
|
|
Name string
|
|
UpdatedAt time.Time
|
|
}
|