1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
10 "git.arvados.org/arvados.git/sdk/go/arvados"
13 // ContainerRequestCreate defers to railsProxy for everything except
14 // vocabulary checking.
15 func (conn *Conn) ContainerRequestCreate(ctx context.Context, opts arvados.CreateOptions) (arvados.ContainerRequest, error) {
16 err := conn.checkProperties(ctx, opts.Attrs["properties"])
18 return arvados.ContainerRequest{}, err
20 resp, err := conn.railsProxy.ContainerRequestCreate(ctx, opts)
27 // ContainerRequestUpdate defers to railsProxy for everything except
28 // vocabulary checking.
29 func (conn *Conn) ContainerRequestUpdate(ctx context.Context, opts arvados.UpdateOptions) (arvados.ContainerRequest, error) {
30 err := conn.checkProperties(ctx, opts.Attrs["properties"])
32 return arvados.ContainerRequest{}, err
34 resp, err := conn.railsProxy.ContainerRequestUpdate(ctx, opts)