(ctx context.Context)
| 137 | } |
| 138 | |
| 139 | func (c *container) Labels(ctx context.Context) (map[string]string, error) { |
| 140 | r, err := c.get(ctx) |
| 141 | if err != nil { |
| 142 | return nil, err |
| 143 | } |
| 144 | return r.Labels, nil |
| 145 | } |
| 146 | |
| 147 | func (c *container) SetLabels(ctx context.Context, labels map[string]string) (map[string]string, error) { |
| 148 | ctx, span := tracing.StartSpan(ctx, "container.SetLabels", |