MCPcopy
hub / github.com/cortexlabs/cortex / NewClient

Function NewClient

pkg/autoscaler/client.go:39–44  ·  view source on GitHub ↗
(endpoint string)

Source from the content-addressed store, hash-verified

37}
38
39func NewClient(endpoint string) Client {
40 return &client{
41 httpClient: &http.Client{},
42 endpoint: endpoint,
43 }
44}
45
46func (c *client) Awaken(api userconfig.Resource) error {
47 payload, err := json.Marshal(api)

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected