MCPcopy Index your code
hub / github.com/tailscale/tailscale / SetPatching

Method SetPatching

cmd/containerboot/main_test.go:1661–1665  ·  view source on GitHub ↗
(canPatch bool)

Source from the content-addressed store, hash-verified

1659}
1660
1661func (k *kubeServer) SetPatching(canPatch bool) {
1662 k.Lock()
1663 defer k.Unlock()
1664 k.canPatch = canPatch
1665}
1666
1667func (k *kubeServer) Start(t *testing.T) {
1668 k.secret = map[string]string{}

Callers 1

TestContainerBootFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected