MCPcopy Index your code
hub / github.com/cortexlabs/cortex / MustDockerClient

Function MustDockerClient

pkg/lib/docker/docker.go:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func MustDockerClient() *Client {
85 dockerClient, err := GetDockerClient()
86 if err != nil {
87 exit.Error(err)
88 }
89
90 return dockerClient
91}
92
93func AWSAuthConfig(awsClient *aws.Client) (string, error) {
94 dockerClient, err := GetDockerClient()

Callers

nothing calls this directly

Calls 2

ErrorFunction · 0.92
GetDockerClientFunction · 0.85

Tested by

no test coverage detected