mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 16:58:05 +00:00
docs: add small documentation on getTags func
This commit is contained in:
parent
b511295349
commit
ca71830963
@ -658,6 +658,8 @@ func (machine *Machine) toProto() *v1.Machine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getTags will return the tags of the current machine.
|
// getTags will return the tags of the current machine.
|
||||||
|
// Invalid tags are tags added by a user on a node, and that user doesn't have authority to add this tag.
|
||||||
|
// Valid tags are tags added by a user that is allowed in the ACL policy to add this tag.
|
||||||
func getTags(
|
func getTags(
|
||||||
aclPolicy *ACLPolicy,
|
aclPolicy *ACLPolicy,
|
||||||
machine Machine,
|
machine Machine,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user