Documentation ¶
Index ¶
- Variables
- type HashCache
- func (hc *HashCache) AddClowdObjectToObject(clowdObj object.ClowdObject, obj client.Object) error
- func (hc *HashCache) CreateOrUpdateObject(obj client.Object) (bool, error)
- func (hc *HashCache) Delete(obj client.Object)
- func (hc *HashCache) GetSuperHashForClowdObject(clowdObj object.ClowdObject) string
- func (hc *HashCache) Read(obj client.Object) (*HashObject, error)
- func (hc *HashCache) RemoveClowdObjectFromObjects(obj client.Object)
- type HashObject
- type Ident
- type ItemNotFoundError
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHashCache = NewHashCache()
Functions ¶
This section is empty.
Types ¶
type HashCache ¶
type HashCache struct {
// contains filtered or unexported fields
}
func NewHashCache ¶
func NewHashCache() HashCache
func (*HashCache) AddClowdObjectToObject ¶
func (*HashCache) CreateOrUpdateObject ¶
func (*HashCache) GetSuperHashForClowdObject ¶
func (hc *HashCache) GetSuperHashForClowdObject(clowdObj object.ClowdObject) string
func (*HashCache) RemoveClowdObjectFromObjects ¶
type HashObject ¶
type HashObject struct { Hash string ClowdApps map[types.NamespacedName]bool ClowdEnvs map[types.NamespacedName]bool }
func NewHashObject ¶
func NewHashObject(hash string) HashObject
type Ident ¶
type Ident struct { NN types.NamespacedName Type string }
type ItemNotFoundError ¶
type ItemNotFoundError struct {
// contains filtered or unexported fields
}
func (ItemNotFoundError) Error ¶
func (a ItemNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.