Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEnabledByPolicies ¶
IsEnabledByPolicies checks if the tool is enabled by policies If the tool policies are nil, it returns true If the tool policies are not nil, it returns the value of the Enabled field If the tool policies are not a valid ToolPolicies struct, it returns false
func IsReadOnlyByPolicies ¶
IsReadOnlyByPolicies checks if the tool must be read-only by policies If the tool policies are nil, it returns false If the tool policies are not nil, it returns the value of the ReadOnly field If the tool policies are not a valid ToolPolicies struct, it returns true
Types ¶
type Policies ¶
func GetPolicies ¶
type ToolPolicies ¶
Click to show internal directories.
Click to hide internal directories.