id: 1 unit: func() file: pkg/providers/instance/instance.go start line: 76 end line: 151 size: 65 LOC McCabe index: 12 number of parameters: 1 id: 2 unit: func() file: pkg/controllers/instance/garbagecollection/controller.go start line: 51 end line: 124 size: 58 LOC McCabe index: 12 number of parameters: 1 id: 3 unit: func NewCredential() file: pkg/auth/cred.go start line: 49 end line: 107 size: 47 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: func newAgentPoolObject() file: pkg/providers/instance/instance.go start line: 324 end line: 369 size: 39 LOC McCabe index: 6 number of parameters: 2 id: 5 unit: func() file: pkg/controllers/nodeclaim/status.go start line: 57 end line: 101 size: 38 LOC McCabe index: 11 number of parameters: 1 id: 6 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 111 end line: 157 size: 37 LOC McCabe index: 11 number of parameters: 1 id: 7 unit: func CreateNodeListWithNodeClaim() file: pkg/fake/k8sClient.go start line: 206 end line: 237 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: func GetNodeClaimObj() file: pkg/fake/nodeclaim.go start line: 28 end line: 58 size: 30 LOC McCabe index: 1 number of parameters: 5 id: 9 unit: func NewAuthorizer() file: pkg/auth/autorest_auth.go start line: 41 end line: 78 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: func() file: pkg/providers/instance/instance.go start line: 213 end line: 259 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 11 unit: func GetNodeClaimObjWithoutProviderID() file: pkg/fake/nodeclaim.go start line: 60 end line: 84 size: 25 LOC McCabe index: 1 number of parameters: 5 id: 12 unit: func NewAZClient() file: pkg/providers/instance/azure_client.go start line: 72 end line: 101 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 13 unit: func() file: pkg/providers/instance/instance.go start line: 292 end line: 322 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 14 unit: func() file: pkg/providers/instance/instance.go start line: 263 end line: 290 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: func init() file: pkg/utils/opts/init_http_client.go start line: 29 end line: 51 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: func() file: pkg/fake/types.go start line: 96 end line: 119 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: func NewOperator() file: pkg/operator/operator.go start line: 35 end line: 60 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 18 unit: func main() file: cmd/controller/main.go start line: 27 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: func() file: pkg/fake/types.go start line: 47 end line: 66 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 20 unit: func deleteAgentPool() file: pkg/providers/instance/armutils.go start line: 40 end line: 58 size: 19 LOC McCabe index: 7 number of parameters: 5 id: 21 unit: func ParseAgentPoolNameFromID() file: pkg/utils/utils.go start line: 27 end line: 46 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func() file: pkg/providers/instance/instance.go start line: 192 end line: 211 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: func BuildAzureConfig() file: pkg/auth/config.go start line: 85 end line: 104 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 24 unit: func setArmClientOptions() file: pkg/providers/instance/azure_client.go start line: 103 end line: 120 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: func() file: pkg/controllers/nodeclaim/status.go start line: 113 end line: 128 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: func getE2ETestingCert() file: pkg/auth/cred.go start line: 137 end line: 153 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: func() file: pkg/fake/k8sClient.go start line: 108 end line: 124 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: func() file: pkg/providers/instance/instance.go start line: 153 end line: 168 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: func splitPEMBlock() file: pkg/auth/cred.go start line: 156 end line: 170 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: func clone[T any]() file: pkg/fake/atomic.go start line: 54 end line: 66 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func NewProvider() file: pkg/providers/instance/instance.go start line: 60 end line: 72 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 32 unit: func() file: pkg/providers/instance/instance.go start line: 371 end line: 385 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: func createAgentPool() file: pkg/providers/instance/armutils.go start line: 26 end line: 38 size: 12 LOC McCabe index: 3 number of parameters: 6 id: 34 unit: func listAgentPools() file: pkg/providers/instance/armutils.go start line: 69 end line: 80 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 35 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 62 end line: 73 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 75 end line: 86 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: func WithDefaultBool() file: pkg/utils/utils.go start line: 50 end line: 60 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: func() file: pkg/fake/atomic.go start line: 108 end line: 118 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: func agentPoolIsOwnedByKaito() file: pkg/providers/instance/instance.go start line: 387 end line: 400 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: func() file: pkg/auth/cred.go start line: 125 end line: 135 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 50 end line: 60 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: func() file: pkg/auth/cred.go start line: 110 end line: 121 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func() file: pkg/fake/pollingHandler.go start line: 76 end line: 85 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func() file: pkg/fake/atomic.go start line: 98 end line: 106 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func CreateAzClient() file: pkg/providers/instance/azure_client.go start line: 59 end line: 70 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func() file: pkg/providers/instance/instance.go start line: 170 end line: 179 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func() file: pkg/providers/instance/instance.go start line: 181 end line: 190 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func agentPoolIsCreatedFromNodeClaim() file: pkg/providers/instance/instance.go start line: 402 end line: 413 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: func() file: pkg/auth/config.go start line: 106 end line: 115 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func() file: pkg/auth/config.go start line: 126 end line: 135 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: func isNodeReady() file: pkg/controllers/nodeclaim/status.go start line: 103 end line: 111 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func() file: pkg/fake/types.go start line: 86 end line: 94 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: func newMockPoller[T any]() file: pkg/fake/types.go start line: 164 end line: 173 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: func MaxCalls() file: pkg/fake/atomic.go start line: 122 end line: 130 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func() file: pkg/fake/k8sClient.go start line: 75 end line: 83 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: func() file: pkg/fake/k8sClient.go start line: 86 end line: 96 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func() file: pkg/auth/config.go start line: 74 end line: 81 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func DefaultArmOpts() file: pkg/utils/opts/armopts.go start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: func GetAzConfig() file: pkg/operator/operator.go start line: 62 end line: 68 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: func NewControllers() file: pkg/controllers/controllers.go start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: func() file: pkg/fake/types.go start line: 38 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: func() file: pkg/fake/types.go start line: 155 end line: 161 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func() file: pkg/fake/atomic.go start line: 82 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: pkg/fake/atomic.go start line: 158 end line: 164 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: pkg/fake/k8sClient.go start line: 98 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func getAgentPool() file: pkg/providers/instance/armutils.go start line: 60 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 5 id: 67 unit: func NewAZClientFromAPI() file: pkg/providers/instance/azure_client.go start line: 51 end line: 57 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func() file: pkg/providers/instance/azure_client.go start line: 125 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: func readJWTFromFS() file: pkg/auth/autorest_auth.go start line: 90 end line: 96 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: func New() file: pkg/cloudprovider/cloudprovider.go start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: func DefaultRetryOpts() file: pkg/utils/opts/armopts.go start line: 34 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: func NewController() file: pkg/controllers/instance/garbagecollection/controller.go start line: 44 end line: 49 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: func() file: pkg/controllers/instance/garbagecollection/controller.go start line: 126 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: pkg/fake/types.go start line: 146 end line: 151 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func NewClient() file: pkg/fake/k8sClient.go start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: func() file: pkg/fake/k8sClient.go start line: 53 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: func() file: pkg/fake/k8sClient.go start line: 67 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func() file: pkg/auth/config.go start line: 118 end line: 123 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func DefaultTelemetryOpts() file: pkg/utils/opts/armopts.go start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func NewController() file: pkg/controllers/nodeclaim/status.go start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func NewMockPollingHandler[T any]() file: pkg/fake/pollingHandler.go start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: pkg/fake/pollingHandler.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: pkg/fake/pollingHandler.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: pkg/fake/atomic.go start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func() file: pkg/fake/atomic.go start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func() file: pkg/fake/atomic.go start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: pkg/fake/atomic.go start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: pkg/fake/atomic.go start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: pkg/fake/atomic.go start line: 140 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: pkg/fake/atomic.go start line: 146 end line: 150 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func() file: pkg/fake/atomic.go start line: 152 end line: 156 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func() file: pkg/fake/k8sClient.go start line: 126 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 93 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: pkg/fake/pollingHandler.go start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: pkg/fake/pollingHandler.go start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: pkg/fake/pollingHandler.go start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: pkg/fake/k8sClient.go start line: 61 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func() file: pkg/fake/k8sClient.go start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func() file: pkg/fake/k8sClient.go start line: 138 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: pkg/fake/k8sClient.go start line: 143 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: pkg/fake/k8sClient.go start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: pkg/fake/k8sClient.go start line: 163 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func() file: pkg/fake/k8sClient.go start line: 168 end line: 171 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: pkg/cloudprovider/cloudprovider.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: pkg/fake/pollingHandler.go start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func() file: pkg/fake/types.go start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: func() file: pkg/fake/types.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: func() file: pkg/fake/types.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: func() file: pkg/fake/types.go start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 113 unit: func() file: pkg/fake/types.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: func() file: pkg/fake/types.go start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: func() file: pkg/fake/types.go start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: func() file: pkg/fake/k8sClient.go start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: func() file: pkg/fake/k8sClient.go start line: 159 end line: 161 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func() file: pkg/fake/k8sClient.go start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func() file: pkg/fake/k8sClient.go start line: 179 end line: 181 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: func() file: pkg/fake/k8sClient.go start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: func() file: pkg/fake/k8sClient.go start line: 193 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: func() file: pkg/fake/k8sClient.go start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: func() file: pkg/fake/k8sClient.go start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func GetUserAgentExtension() file: pkg/auth/util.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: func() file: pkg/auth/autorest_auth.go start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: func() file: pkg/auth/autorest_auth.go start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1