MCPcopy Index your code
hub / github.com/coder/coder / AllowListFlagOf

Function AllowListFlagOf

cli/allowlistflag.go:21–23  ·  view source on GitHub ↗
(al *[]codersdk.APIAllowListTarget)

Source from the content-addressed store, hash-verified

19type AllowListFlag []codersdk.APIAllowListTarget
20
21func AllowListFlagOf(al *[]codersdk.APIAllowListTarget) *AllowListFlag {
22 return (*AllowListFlag)(al)
23}
24
25func (a AllowListFlag) String() string {
26 return strings.Join(a.GetSlice(), ",")

Callers 1

createTokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected