Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecrets ¶
GetSecrets returns secrets available within the range given
func RemoveSecret ¶
RemoveSecret is different than deletion, our "deletion" is defined as simply 'update' the value of secret to be nil RemoveSecret delete the entire entry from the data
Types ¶
type Secret ¶
type Secret struct { Alias string `json:"Alias"` // Alias of secret (identifier) Value string `json:"Value"` // Value of secret Role int `json:"Role"` // Int to identify role (clearance level) }
func GetAllNodeSecrets ¶
Get all the secrets from the physical node Look through all secrets to see if they are >= the role in secret
Click to show internal directories.
Click to hide internal directories.