Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashItem ¶
type HashItem struct { Uid string `json:"uid"` Hash string `json:"hash"` Version string `json:"version"` // contains filtered or unexported fields }
Item for use in the hashlist NB This struct has a counterpart in the agent.
type HashList ¶
type HashList struct {
Items []HashItem `json:"items"`
}
func (HashList) CheckUpdateNeeded ¶
Returns a bool value of true if the resource need to be committed
func (HashList) GetInactiveUid ¶
func (*HashList) MarkActive ¶
func (*HashList) UpdateHash ¶
updates hash in internal hashlist on update. The api will update its list on committing the resource to its database.
Click to show internal directories.
Click to hide internal directories.