Skip to content

Instantly share code, notes, and snippets.

@jacobweinstock
Last active November 2, 2021 02:47
Show Gist options
  • Save jacobweinstock/9d00cc54b39121e62d88ab6e02cec6dd to your computer and use it in GitHub Desktop.
Save jacobweinstock/9d00cc54b39121e62d88ab6e02cec6dd to your computer and use it in GitHub Desktop.
Code Coverage - Tinklet
Tue Nov 2 02:47:49 UTC 2021
====================================================================================================
? github.com/jacobweinstock/tinklet [no test files]
ok github.com/jacobweinstock/tinklet/app 1.022s coverage: 24.0% of statements
? github.com/jacobweinstock/tinklet/cmd [no test files]
ok github.com/jacobweinstock/tinklet/cmd/docker 0.007s coverage: 0.0% of statements [no tests to run]
ok github.com/jacobweinstock/tinklet/cmd/kube 0.013s coverage: 0.0% of statements [no tests to run]
ok github.com/jacobweinstock/tinklet/cmd/root 0.016s coverage: 39.1% of statements
ok github.com/jacobweinstock/tinklet/pkg/container/docker 2.009s coverage: 85.5% of statements
ok github.com/jacobweinstock/tinklet/pkg/container/kube 0.023s coverage: 9.9% of statements
ok github.com/jacobweinstock/tinklet/pkg/errs 0.003s coverage: 100.0% of statements
ok github.com/jacobweinstock/tinklet/pkg/grpcopts 0.007s coverage: 16.7% of statements
ok github.com/jacobweinstock/tinklet/pkg/tink 0.006s coverage: 98.1% of statements
====================================================================================================
github.com/jacobweinstock/tinklet/app/controller.go:51: GetHardwareID 0.0%
github.com/jacobweinstock/tinklet/app/controller.go:65: doGetHardwareID 0.0%
github.com/jacobweinstock/tinklet/app/controller.go:87: Start 100.0%
github.com/jacobweinstock/tinklet/app/controller.go:104: run 58.3%
github.com/jacobweinstock/tinklet/app/controller.go:128: actionFlow 100.0%
github.com/jacobweinstock/tinklet/app/controller.go:143: execWorkflows 0.0%
github.com/jacobweinstock/tinklet/cmd/docker/docker.go:29: New 0.0%
github.com/jacobweinstock/tinklet/cmd/docker/docker.go:46: Exec 0.0%
github.com/jacobweinstock/tinklet/cmd/docker/docker.go:67: setupClients 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:35: New 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:53: RegisterFlags 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:58: Exec 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:79: setupClients 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:118: k8sLoadConfig 0.0%
github.com/jacobweinstock/tinklet/cmd/kube/kube.go:137: k8sConfigFromFile 0.0%
github.com/jacobweinstock/tinklet/cmd/root/root.go:55: New 0.0%
github.com/jacobweinstock/tinklet/cmd/root/root.go:76: RegisterFlags 0.0%
github.com/jacobweinstock/tinklet/cmd/root/root.go:87: Exec 0.0%
github.com/jacobweinstock/tinklet/cmd/root/root.go:93: String 75.0%
github.com/jacobweinstock/tinklet/cmd/root/root.go:101: Set 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:34: getRegistryAuth 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:43: PrepareEnv 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:47: CleanEnv 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:51: SetActionData 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:56: Prepare 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:71: Run 60.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:107: Destroy 0.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:113: pullImage 92.9%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:138: createContainer 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:147: containerGetLogs 100.0%
github.com/jacobweinstock/tinklet/pkg/container/docker/docker.go:161: containerExecComplete 100.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/helpers.go:8: toDockerConfigSecret 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:34: SetActionData 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:39: getRegistryAuth 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:50: maxChars 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:58: PrepareEnv 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:100: CleanEnv 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:113: Prepare 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:139: Destroy 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:164: Run 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:197: waitFor 0.0%
github.com/jacobweinstock/tinklet/pkg/container/kube/kube.go:240: createJob 100.0%
github.com/jacobweinstock/tinklet/pkg/errs/err.go:13: Error 100.0%
github.com/jacobweinstock/tinklet/pkg/grpcopts/tls.go:26: toCreds 100.0%
github.com/jacobweinstock/tinklet/pkg/grpcopts/tls.go:45: LoadTLSFromValue 0.0%
github.com/jacobweinstock/tinklet/pkg/tink/hardware.go:17: GetHardwareID 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/hardware.go:33: isIP 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/hardware.go:37: isMac 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/workflow.go:23: ToDockerConf 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/workflow.go:39: ActionToDockerHostConfig 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/workflow.go:53: GetWorkflowContexts 94.1%
github.com/jacobweinstock/tinklet/pkg/tink/workflow.go:85: GetActionsList 100.0%
github.com/jacobweinstock/tinklet/pkg/tink/workflow.go:105: FilterActionsByWorkerID 100.0%
total: (statements) 34.1%
====================================================================================================
{"schemaVersion":1, "label":"Code Coverage", "message":"34.1%", "color":"red"}
Code Coverage - Tinklet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment