(ctx context.Context, container containers.Container)
| 110 | } |
| 111 | |
| 112 | func (r *remoteContainers) Create(ctx context.Context, container containers.Container) (containers.Container, error) { |
| 113 | created, err := r.client.Create(ctx, &containersapi.CreateContainerRequest{ |
| 114 | Container: containerToProto(&container), |
| 115 | }) |
| 116 | if err != nil { |
| 117 | return containers.Container{}, errgrpc.ToNative(err) |
| 118 | } |
| 119 | |
| 120 | return containerFromProto(created.Container), nil |
| 121 | |
| 122 | } |
| 123 | |
| 124 | func (r *remoteContainers) Update(ctx context.Context, container containers.Container, fieldpaths ...string) (containers.Container, error) { |
| 125 | var updateMask *ptypes.FieldMask |
nothing calls this directly
no test coverage detected