Versions in this module Expand all Collapse all v1 v1.23.14 Apr 4, 2026 v1.23.13 Mar 26, 2026 Changes in this version + const DefaultCacheTTLDuration + const StateCacheFileName + const StateCacheVersion + const StateChangeFileName + type Config struct + Remote *RemoteConfig + type RemoteConfig struct + Backend string + Config map[string]any + type ServiceResourceCache struct + IngressUrl string + ResourceIds []string + type StateCache struct + ResourceGroupName string + ServiceResources map[string]ServiceResourceCache + SubscriptionId string + UpdatedAt time.Time + Version int + type StateCacheManager struct + func NewStateCacheManager(rootPath string) *StateCacheManager + func (m *StateCacheManager) GetCachePath(envName string) string + func (m *StateCacheManager) GetStateChangePath() string + func (m *StateCacheManager) GetStateChangeTime() (time.Time, error) + func (m *StateCacheManager) Invalidate(ctx context.Context, envName string) error + func (m *StateCacheManager) Load(ctx context.Context, envName string) (*StateCache, error) + func (m *StateCacheManager) Save(ctx context.Context, envName string, cache *StateCache) error + func (m *StateCacheManager) SetTTL(ttl time.Duration) + func (m *StateCacheManager) TouchStateChange() error