Package namespace.cloud.registry.v1beta
Class ContainerRegistryServiceGrpc
java.lang.Object
namespace.cloud.registry.v1beta.ContainerRegistryServiceGrpc
ContainerRegistryService allows the management of container images stored in the workspace's private container registry (`nscr.io`). It supports listing images and repositories, managing tags, sharing images publicly or with partner accounts, and configuring image expiration policies. See https://namespace.so/docs/architecture/storage/container-registry for an overview. ## Access ContainerRegistryService is a global service that can be accessed at: ``` https://global.namespaceapis.com:443 ``` ## Authentication Calls to the ContainerRegistryService require a *tenant token* passed as a Bearer token as part of each call. These are always required. A *tenant token* identifies both the workspace that the call operates on, but may also constrain the set of actions that the caller may do. A *tenant token* can be obtained using the [IAM API](https://buf.build/namespace/cloud/docs/main:namespace.cloud.iam.v1beta).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceContainerRegistryService allows the management of container images stored in the workspace's private container registry (`nscr.io`).static final classA stub to allow clients to do limited synchronous rpc calls to service ContainerRegistryService.static final classA stub to allow clients to do synchronous rpc calls to service ContainerRegistryService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ContainerRegistryService.static classBase class for the server implementation of the service ContainerRegistryService.static final classA stub to allow clients to do asynchronous rpc calls to service ContainerRegistryService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<com.google.protobuf.Empty, Registry.GetDefaultPolicyResponse> static io.grpc.MethodDescriptor<Registry.GetImageRequest, Registry.GetImageResponse> static io.grpc.MethodDescriptor<Registry.GetRepositoryPolicyRequest, Registry.GetRepositoryPolicyResponse> static io.grpc.MethodDescriptor<Registry.ListImagesRequest, Registry.ListImagesResponse> static io.grpc.MethodDescriptor<Registry.ListRepositoriesRequest, Registry.ListRepositoriesResponse> static io.grpc.MethodDescriptor<Registry.ListSharedImagesRequest, Registry.ListSharedImagesResponse> static io.grpc.MethodDescriptor<Registry.ListTagsRequest, Registry.ListTagsResponse> static io.grpc.MethodDescriptor<Registry.ListTagVersionsRequest, Registry.ListTagVersionsResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<Registry.ShareImageRequest, Registry.SharedImage> static io.grpc.MethodDescriptor<Registry.UnshareImageRequest, com.google.protobuf.Empty> static io.grpc.MethodDescriptor<Registry.UpdateDefaultPolicyRequest, com.google.protobuf.Empty> static io.grpc.MethodDescriptor<Registry.UpdateImageLifetimeRequest, Registry.UpdateImageLifetimeResponse> static io.grpc.MethodDescriptor<Registry.UpdateRepositoryPolicyRequest, com.google.protobuf.Empty> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetImageMethod
public static io.grpc.MethodDescriptor<Registry.GetImageRequest,Registry.GetImageResponse> getGetImageMethod() -
getListImagesMethod
public static io.grpc.MethodDescriptor<Registry.ListImagesRequest,Registry.ListImagesResponse> getListImagesMethod() -
getListRepositoriesMethod
public static io.grpc.MethodDescriptor<Registry.ListRepositoriesRequest,Registry.ListRepositoriesResponse> getListRepositoriesMethod() -
getListTagsMethod
public static io.grpc.MethodDescriptor<Registry.ListTagsRequest,Registry.ListTagsResponse> getListTagsMethod() -
getListTagVersionsMethod
public static io.grpc.MethodDescriptor<Registry.ListTagVersionsRequest,Registry.ListTagVersionsResponse> getListTagVersionsMethod() -
getUpdateImageLifetimeMethod
public static io.grpc.MethodDescriptor<Registry.UpdateImageLifetimeRequest,Registry.UpdateImageLifetimeResponse> getUpdateImageLifetimeMethod() -
getUpdateDefaultPolicyMethod
public static io.grpc.MethodDescriptor<Registry.UpdateDefaultPolicyRequest,com.google.protobuf.Empty> getUpdateDefaultPolicyMethod() -
getGetDefaultPolicyMethod
public static io.grpc.MethodDescriptor<com.google.protobuf.Empty,Registry.GetDefaultPolicyResponse> getGetDefaultPolicyMethod() -
getUpdateRepositoryPolicyMethod
public static io.grpc.MethodDescriptor<Registry.UpdateRepositoryPolicyRequest,com.google.protobuf.Empty> getUpdateRepositoryPolicyMethod() -
getGetRepositoryPolicyMethod
public static io.grpc.MethodDescriptor<Registry.GetRepositoryPolicyRequest,Registry.GetRepositoryPolicyResponse> getGetRepositoryPolicyMethod() -
newStub
public static ContainerRegistryServiceGrpc.ContainerRegistryServiceStub newStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ContainerRegistryServiceGrpc.ContainerRegistryServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static ContainerRegistryServiceGrpc.ContainerRegistryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static ContainerRegistryServiceGrpc.ContainerRegistryServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ContainerRegistryServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-