MCPcopy
hub / github.com/grafana/tempo / CreateContainer

Function CreateContainer

tempodb/backend/azure/azure_helpers.go:142–149  ·  view source on GitHub ↗
(ctx context.Context, conf *Config)

Source from the content-addressed store, hash-verified

140}
141
142func CreateContainer(ctx context.Context, conf *Config) (*container.Client, error) {
143 c, err := getContainerClient(ctx, conf, false)
144 if err != nil {
145 return nil, err
146 }
147 _, err = c.Create(ctx, &container.CreateOptions{})
148 return c, err
149}
150
151func getStorageAccountName(cfg *Config) string {
152 accountName := cfg.StorageAccountName

Callers 1

startBackendFunction · 0.92

Calls 1

getContainerClientFunction · 0.85

Tested by

no test coverage detected