@luxorai/sandbox
Version:
TypeScript SDK for Luxor Sandbox: cloud sandboxes (microVMs) for AI agents on Luxor Agent Cloud
983 lines (982 loc) • 30.8 kB
TypeScript
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import type { Timestamp } from "@bufbuild/protobuf/wkt";
import type { RuntimeSecretFile } from "./secret_file_pb.js";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file tenki/sandbox/v1/registry.proto.
*/
export declare const file_tenki_sandbox_v1_registry: GenFile;
/**
* @generated from message tenki.sandbox.v1.RegistryImage
*/
export type RegistryImage = Message<"tenki.sandbox.v1.RegistryImage"> & {
/**
* @generated from field: string id = 1;
*/
id: string;
/**
* @generated from field: optional string workspace_id = 2;
*/
workspaceId?: string;
/**
* @generated from field: string workspace_slug = 3;
*/
workspaceSlug: string;
/**
* @generated from field: string name = 4;
*/
name: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryImageKind kind = 5;
*/
kind: RegistryImageKind;
/**
* @generated from field: tenki.sandbox.v1.RegistryVisibility visibility = 6;
*/
visibility: RegistryVisibility;
/**
* @generated from field: optional string title = 7;
*/
title?: string;
/**
* @generated from field: optional string description = 8;
*/
description?: string;
/**
* @generated from field: repeated string labels = 9;
*/
labels: string[];
/**
* @generated from field: optional string source_template_id = 10;
*/
sourceTemplateId?: string;
/**
* @generated from field: optional string source_snapshot_id = 11;
*/
sourceSnapshotId?: string;
/**
* @generated from field: repeated tenki.sandbox.v1.RegistryTag tags = 12;
*/
tags: RegistryTag[];
/**
* @generated from field: google.protobuf.Timestamp created_at = 13;
*/
createdAt?: Timestamp;
/**
* @generated from field: google.protobuf.Timestamp updated_at = 14;
*/
updatedAt?: Timestamp;
/**
* @generated from field: bool changes_not_yet_published = 15;
*/
changesNotYetPublished: boolean;
/**
* @generated from field: optional string digest = 16;
*/
digest?: string;
/**
* @generated from field: optional string digest_ref = 17;
*/
digestRef?: string;
/**
* @generated from field: optional string legacy_ref = 18 [deprecated = true];
* @deprecated
*/
legacyRef?: string;
};
/**
* Describes the message tenki.sandbox.v1.RegistryImage.
* Use `create(RegistryImageSchema)` to create a new message.
*/
export declare const RegistryImageSchema: GenMessage<RegistryImage>;
/**
* @generated from message tenki.sandbox.v1.RegistryTag
*/
export type RegistryTag = Message<"tenki.sandbox.v1.RegistryTag"> & {
/**
* @generated from field: string id = 1;
*/
id: string;
/**
* @generated from field: string image_id = 2;
*/
imageId: string;
/**
* @generated from field: string tag = 3;
*/
tag: string;
/**
* @generated from field: string snapshot_id = 4;
*/
snapshotId: string;
/**
* @generated from field: string ref = 5;
*/
ref: string;
/**
* @generated from field: google.protobuf.Timestamp updated_at = 6;
*/
updatedAt?: Timestamp;
/**
* @generated from field: optional string digest_ref = 7;
*/
digestRef?: string;
/**
* @generated from field: optional string legacy_ref = 8 [deprecated = true];
* @deprecated
*/
legacyRef?: string;
};
/**
* Describes the message tenki.sandbox.v1.RegistryTag.
* Use `create(RegistryTagSchema)` to create a new message.
*/
export declare const RegistryTagSchema: GenMessage<RegistryTag>;
/**
* @generated from message tenki.sandbox.v1.RegistryImageSummary
*/
export type RegistryImageSummary = Message<"tenki.sandbox.v1.RegistryImageSummary"> & {
/**
* @generated from field: string id = 1;
*/
id: string;
/**
* @generated from field: optional string workspace_id = 2;
*/
workspaceId?: string;
/**
* @generated from field: string workspace_slug = 3;
*/
workspaceSlug: string;
/**
* @generated from field: string name = 4;
*/
name: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryImageKind kind = 5;
*/
kind: RegistryImageKind;
/**
* @generated from field: tenki.sandbox.v1.RegistryVisibility visibility = 6;
*/
visibility: RegistryVisibility;
/**
* @generated from field: repeated string labels = 7;
*/
labels: string[];
/**
* @generated from field: repeated tenki.sandbox.v1.RegistryTag tags = 8;
*/
tags: RegistryTag[];
/**
* @generated from field: optional string latest_snapshot_id = 9;
*/
latestSnapshotId?: string;
/**
* @generated from field: string latest_ref = 10;
*/
latestRef: string;
/**
* @generated from field: google.protobuf.Timestamp updated_at = 11;
*/
updatedAt?: Timestamp;
/**
* @generated from field: bool changes_not_yet_published = 12;
*/
changesNotYetPublished: boolean;
/**
* @generated from field: optional string source_template_id = 13;
*/
sourceTemplateId?: string;
/**
* @generated from field: optional string source_snapshot_id = 14;
*/
sourceSnapshotId?: string;
/**
* @generated from field: optional string latest_digest = 15;
*/
latestDigest?: string;
/**
* @generated from field: optional string latest_digest_ref = 16;
*/
latestDigestRef?: string;
/**
* @generated from field: optional string latest_legacy_ref = 17 [deprecated = true];
* @deprecated
*/
latestLegacyRef?: string;
};
/**
* Describes the message tenki.sandbox.v1.RegistryImageSummary.
* Use `create(RegistryImageSummarySchema)` to create a new message.
*/
export declare const RegistryImageSummarySchema: GenMessage<RegistryImageSummary>;
/**
* @generated from message tenki.sandbox.v1.RegistryImageDetail
*/
export type RegistryImageDetail = Message<"tenki.sandbox.v1.RegistryImageDetail"> & {
/**
* @generated from field: repeated string runtime_secret_policies = 15;
*/
runtimeSecretPolicies: string[];
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
/**
* @generated from field: optional string resolved_snapshot_id = 2;
*/
resolvedSnapshotId?: string;
/**
* @generated from field: optional string resolved_ref = 3;
*/
resolvedRef?: string;
/**
* @generated from field: bool workspace_active = 4;
*/
workspaceActive: boolean;
/**
* @generated from field: bool tombstoned = 5;
*/
tombstoned: boolean;
/**
* @generated from field: repeated string masked_env_var_keys = 6;
*/
maskedEnvVarKeys: string[];
/**
* @generated from field: map<string, string> metadata = 7;
*/
metadata: {
[key: string]: string;
};
/**
* @generated from field: map<string, string> env_vars = 8;
*/
envVars: {
[key: string]: string;
};
/**
* @generated from field: optional string resolved_digest = 9;
*/
resolvedDigest?: string;
/**
* @generated from field: optional string digest_ref = 10;
*/
digestRef?: string;
/**
* @generated from field: optional string legacy_ref = 11 [deprecated = true];
* @deprecated
*/
legacyRef?: string;
/**
* Environment targets and secret names from the resolved published version; never values.
*
* @generated from field: map<string, string> runtime_secret_env = 12;
*/
runtimeSecretEnv: {
[key: string]: string;
};
/**
* @generated from field: repeated tenki.sandbox.v1.RuntimeSecretFile runtime_secret_files = 13;
*/
runtimeSecretFiles: RuntimeSecretFile[];
/**
* Environment targets and variable names from the resolved published version; never values.
*
* @generated from field: map<string, string> runtime_variable_env = 16;
*/
runtimeVariableEnv: {
[key: string]: string;
};
};
/**
* Describes the message tenki.sandbox.v1.RegistryImageDetail.
* Use `create(RegistryImageDetailSchema)` to create a new message.
*/
export declare const RegistryImageDetailSchema: GenMessage<RegistryImageDetail>;
/**
* @generated from message tenki.sandbox.v1.ResolvedRegistryRef
*/
export type ResolvedRegistryRef = Message<"tenki.sandbox.v1.ResolvedRegistryRef"> & {
/**
* @generated from field: string image_id = 1;
*/
imageId: string;
/**
* @generated from field: optional string owning_workspace_id = 2;
*/
owningWorkspaceId?: string;
/**
* @generated from field: string owning_workspace_slug = 3;
*/
owningWorkspaceSlug: string;
/**
* @generated from field: string image_name = 4;
*/
imageName: string;
/**
* @generated from field: optional string tag = 5;
*/
tag?: string;
/**
* @generated from field: optional string snapshot_id = 6;
*/
snapshotId?: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryImageKind kind = 7;
*/
kind: RegistryImageKind;
/**
* @generated from field: tenki.sandbox.v1.RegistryVisibility visibility = 8;
*/
visibility: RegistryVisibility;
/**
* @generated from field: optional string digest = 9;
*/
digest?: string;
/**
* @generated from field: optional string digest_ref = 10;
*/
digestRef?: string;
/**
* @generated from field: optional string legacy_ref = 11 [deprecated = true];
* @deprecated
*/
legacyRef?: string;
};
/**
* Describes the message tenki.sandbox.v1.ResolvedRegistryRef.
* Use `create(ResolvedRegistryRefSchema)` to create a new message.
*/
export declare const ResolvedRegistryRefSchema: GenMessage<ResolvedRegistryRef>;
/**
* @generated from message tenki.sandbox.v1.RegistryShareGrant
*/
export type RegistryShareGrant = Message<"tenki.sandbox.v1.RegistryShareGrant"> & {
/**
* @generated from field: string id = 1;
*/
id: string;
/**
* @generated from field: string image_id = 2;
*/
imageId: string;
/**
* @generated from field: string owner_workspace_id = 3;
*/
ownerWorkspaceId: string;
/**
* @generated from field: string target_workspace_id = 4;
*/
targetWorkspaceId: string;
/**
* @generated from field: string current_snapshot_id = 5;
*/
currentSnapshotId: string;
/**
* @generated from field: google.protobuf.Timestamp accepted_at = 6;
*/
acceptedAt?: Timestamp;
/**
* @generated from field: optional google.protobuf.Timestamp revoked_at = 7;
*/
revokedAt?: Timestamp;
/**
* @generated from field: optional string granted_via_token_id = 8;
*/
grantedViaTokenId?: string;
/**
* @generated from field: optional string accepted_by = 9;
*/
acceptedBy?: string;
/**
* follow_mode: how the grant tracks the source ("follow_tag", "follow_latest", "frozen").
*
* @generated from field: string follow_mode = 10;
*/
followMode: string;
/**
* @generated from field: optional string follow_tag = 11;
*/
followTag?: string;
};
/**
* Describes the message tenki.sandbox.v1.RegistryShareGrant.
* Use `create(RegistryShareGrantSchema)` to create a new message.
*/
export declare const RegistryShareGrantSchema: GenMessage<RegistryShareGrant>;
/**
* @generated from message tenki.sandbox.v1.PublishRegistryImageRequest
*/
export type PublishRegistryImageRequest = Message<"tenki.sandbox.v1.PublishRegistryImageRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
/**
* @generated from field: optional string workspace_id = 3;
*/
workspaceId?: string;
/**
* @generated from field: optional string name = 4;
*/
name?: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryImageKind kind = 5;
*/
kind: RegistryImageKind;
/**
* @generated from field: optional string source_template_id = 6;
*/
sourceTemplateId?: string;
/**
* @generated from field: optional string snapshot_id = 7;
*/
snapshotId?: string;
/**
* @generated from field: optional string tag = 8;
*/
tag?: string;
/**
* @generated from field: repeated string labels = 9;
*/
labels: string[];
/**
* @generated from field: optional string title = 10;
*/
title?: string;
/**
* @generated from field: optional string description = 11;
*/
description?: string;
/**
* @generated from field: optional tenki.sandbox.v1.RegistryVisibility visibility = 12;
*/
visibility?: RegistryVisibility;
};
/**
* Describes the message tenki.sandbox.v1.PublishRegistryImageRequest.
* Use `create(PublishRegistryImageRequestSchema)` to create a new message.
*/
export declare const PublishRegistryImageRequestSchema: GenMessage<PublishRegistryImageRequest>;
/**
* @generated from message tenki.sandbox.v1.PublishRegistryImageResponse
*/
export type PublishRegistryImageResponse = Message<"tenki.sandbox.v1.PublishRegistryImageResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
/**
* @generated from field: optional tenki.sandbox.v1.RegistryTag tag = 2;
*/
tag?: RegistryTag;
/**
* @generated from field: string snapshot_id = 3;
*/
snapshotId: string;
/**
* @generated from field: string digest_ref = 4;
*/
digestRef: string;
/**
* @generated from field: optional string digest = 5;
*/
digest?: string;
/**
* @generated from field: optional string legacy_ref = 6 [deprecated = true];
* @deprecated
*/
legacyRef?: string;
};
/**
* Describes the message tenki.sandbox.v1.PublishRegistryImageResponse.
* Use `create(PublishRegistryImageResponseSchema)` to create a new message.
*/
export declare const PublishRegistryImageResponseSchema: GenMessage<PublishRegistryImageResponse>;
/**
* @generated from message tenki.sandbox.v1.SetRegistryImageVisibilityRequest
*/
export type SetRegistryImageVisibilityRequest = Message<"tenki.sandbox.v1.SetRegistryImageVisibilityRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryVisibility visibility = 3;
*/
visibility: RegistryVisibility;
};
/**
* Describes the message tenki.sandbox.v1.SetRegistryImageVisibilityRequest.
* Use `create(SetRegistryImageVisibilityRequestSchema)` to create a new message.
*/
export declare const SetRegistryImageVisibilityRequestSchema: GenMessage<SetRegistryImageVisibilityRequest>;
/**
* @generated from message tenki.sandbox.v1.SetRegistryImageVisibilityResponse
*/
export type SetRegistryImageVisibilityResponse = Message<"tenki.sandbox.v1.SetRegistryImageVisibilityResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
};
/**
* Describes the message tenki.sandbox.v1.SetRegistryImageVisibilityResponse.
* Use `create(SetRegistryImageVisibilityResponseSchema)` to create a new message.
*/
export declare const SetRegistryImageVisibilityResponseSchema: GenMessage<SetRegistryImageVisibilityResponse>;
/**
* @generated from message tenki.sandbox.v1.DeleteRegistryImageRequest
*/
export type DeleteRegistryImageRequest = Message<"tenki.sandbox.v1.DeleteRegistryImageRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
/**
* @generated from field: optional string reason = 3;
*/
reason?: string;
};
/**
* Describes the message tenki.sandbox.v1.DeleteRegistryImageRequest.
* Use `create(DeleteRegistryImageRequestSchema)` to create a new message.
*/
export declare const DeleteRegistryImageRequestSchema: GenMessage<DeleteRegistryImageRequest>;
/**
* @generated from message tenki.sandbox.v1.DeleteRegistryImageResponse
*/
export type DeleteRegistryImageResponse = Message<"tenki.sandbox.v1.DeleteRegistryImageResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
/**
* @generated from field: int32 revoked_token_count = 2;
*/
revokedTokenCount: number;
/**
* @generated from field: int32 revoked_grant_count = 3;
*/
revokedGrantCount: number;
};
/**
* Describes the message tenki.sandbox.v1.DeleteRegistryImageResponse.
* Use `create(DeleteRegistryImageResponseSchema)` to create a new message.
*/
export declare const DeleteRegistryImageResponseSchema: GenMessage<DeleteRegistryImageResponse>;
/**
* @generated from message tenki.sandbox.v1.DeleteRegistryImageVersionRequest
*/
export type DeleteRegistryImageVersionRequest = Message<"tenki.sandbox.v1.DeleteRegistryImageVersionRequest"> & {
/**
* @generated from field: string image_id = 1;
*/
imageId: string;
/**
* @generated from field: string snapshot_id = 2;
*/
snapshotId: string;
};
/**
* Describes the message tenki.sandbox.v1.DeleteRegistryImageVersionRequest.
* Use `create(DeleteRegistryImageVersionRequestSchema)` to create a new message.
*/
export declare const DeleteRegistryImageVersionRequestSchema: GenMessage<DeleteRegistryImageVersionRequest>;
/**
* @generated from message tenki.sandbox.v1.DeleteRegistryImageVersionResponse
*/
export type DeleteRegistryImageVersionResponse = Message<"tenki.sandbox.v1.DeleteRegistryImageVersionResponse"> & {
/**
* @generated from field: string image_id = 1;
*/
imageId: string;
/**
* @generated from field: string snapshot_id = 2;
*/
snapshotId: string;
};
/**
* Describes the message tenki.sandbox.v1.DeleteRegistryImageVersionResponse.
* Use `create(DeleteRegistryImageVersionResponseSchema)` to create a new message.
*/
export declare const DeleteRegistryImageVersionResponseSchema: GenMessage<DeleteRegistryImageVersionResponse>;
/**
* @generated from message tenki.sandbox.v1.ListRegistryImagesRequest
*/
export type ListRegistryImagesRequest = Message<"tenki.sandbox.v1.ListRegistryImagesRequest"> & {
/**
* @generated from field: repeated string labels = 1;
*/
labels: string[];
/**
* @generated from field: optional string workspace_slug = 2;
*/
workspaceSlug?: string;
/**
* @generated from field: optional string name_substring = 3;
*/
nameSubstring?: string;
/**
* @generated from field: optional tenki.sandbox.v1.RegistryImageKind kind = 4;
*/
kind?: RegistryImageKind;
/**
* @generated from field: tenki.sandbox.v1.RegistrySortBy sort_by = 5;
*/
sortBy: RegistrySortBy;
/**
* @generated from field: optional int32 page_size = 6;
*/
pageSize?: number;
/**
* @generated from field: optional string cursor = 7;
*/
cursor?: string;
/**
* @generated from field: optional string workspace_id = 8;
*/
workspaceId?: string;
/**
* System (Luxor-curated) images are excluded unless set, or unless
* workspace_slug names a system namespace.
*
* @generated from field: bool include_system_images = 9;
*/
includeSystemImages: boolean;
};
/**
* Describes the message tenki.sandbox.v1.ListRegistryImagesRequest.
* Use `create(ListRegistryImagesRequestSchema)` to create a new message.
*/
export declare const ListRegistryImagesRequestSchema: GenMessage<ListRegistryImagesRequest>;
/**
* @generated from message tenki.sandbox.v1.ListRegistryImagesResponse
*/
export type ListRegistryImagesResponse = Message<"tenki.sandbox.v1.ListRegistryImagesResponse"> & {
/**
* @generated from field: repeated tenki.sandbox.v1.RegistryImageSummary images = 1;
*/
images: RegistryImageSummary[];
/**
* @generated from field: string next_cursor = 2;
*/
nextCursor: string;
};
/**
* Describes the message tenki.sandbox.v1.ListRegistryImagesResponse.
* Use `create(ListRegistryImagesResponseSchema)` to create a new message.
*/
export declare const ListRegistryImagesResponseSchema: GenMessage<ListRegistryImagesResponse>;
/**
* @generated from message tenki.sandbox.v1.GetRegistryImageRequest
*/
export type GetRegistryImageRequest = Message<"tenki.sandbox.v1.GetRegistryImageRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
/**
* @generated from field: optional string workspace_id = 3;
*/
workspaceId?: string;
};
/**
* Describes the message tenki.sandbox.v1.GetRegistryImageRequest.
* Use `create(GetRegistryImageRequestSchema)` to create a new message.
*/
export declare const GetRegistryImageRequestSchema: GenMessage<GetRegistryImageRequest>;
/**
* @generated from message tenki.sandbox.v1.GetRegistryImageResponse
*/
export type GetRegistryImageResponse = Message<"tenki.sandbox.v1.GetRegistryImageResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImageDetail detail = 1;
*/
detail?: RegistryImageDetail;
};
/**
* Describes the message tenki.sandbox.v1.GetRegistryImageResponse.
* Use `create(GetRegistryImageResponseSchema)` to create a new message.
*/
export declare const GetRegistryImageResponseSchema: GenMessage<GetRegistryImageResponse>;
/**
* @generated from message tenki.sandbox.v1.ResolveRegistryRefRequest
*/
export type ResolveRegistryRefRequest = Message<"tenki.sandbox.v1.ResolveRegistryRefRequest"> & {
/**
* @generated from field: string ref = 1;
*/
ref: string;
/**
* @generated from field: optional string workspace_id = 2;
*/
workspaceId?: string;
};
/**
* Describes the message tenki.sandbox.v1.ResolveRegistryRefRequest.
* Use `create(ResolveRegistryRefRequestSchema)` to create a new message.
*/
export declare const ResolveRegistryRefRequestSchema: GenMessage<ResolveRegistryRefRequest>;
/**
* @generated from message tenki.sandbox.v1.ResolveRegistryRefResponse
*/
export type ResolveRegistryRefResponse = Message<"tenki.sandbox.v1.ResolveRegistryRefResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.ResolvedRegistryRef resolved = 1;
*/
resolved?: ResolvedRegistryRef;
};
/**
* Describes the message tenki.sandbox.v1.ResolveRegistryRefResponse.
* Use `create(ResolveRegistryRefResponseSchema)` to create a new message.
*/
export declare const ResolveRegistryRefResponseSchema: GenMessage<ResolveRegistryRefResponse>;
/**
* @generated from message tenki.sandbox.v1.ShareImageRequest
*/
export type ShareImageRequest = Message<"tenki.sandbox.v1.ShareImageRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string image_ref = 2;
*/
imageRef?: string;
/**
* @generated from field: string target_workspace_id = 3;
*/
targetWorkspaceId: string;
/**
* @generated from field: optional string tag = 4;
*/
tag?: string;
/**
* @generated from field: optional string snapshot_id = 5;
*/
snapshotId?: string;
};
/**
* Describes the message tenki.sandbox.v1.ShareImageRequest.
* Use `create(ShareImageRequestSchema)` to create a new message.
*/
export declare const ShareImageRequestSchema: GenMessage<ShareImageRequest>;
/**
* @generated from message tenki.sandbox.v1.ShareImageResponse
*/
export type ShareImageResponse = Message<"tenki.sandbox.v1.ShareImageResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
/**
* @generated from field: string current_snapshot_id = 2;
*/
currentSnapshotId: string;
/**
* @generated from field: string digest_ref = 3;
*/
digestRef: string;
/**
* @generated from field: tenki.sandbox.v1.RegistryShareGrant grant = 4;
*/
grant?: RegistryShareGrant;
};
/**
* Describes the message tenki.sandbox.v1.ShareImageResponse.
* Use `create(ShareImageResponseSchema)` to create a new message.
*/
export declare const ShareImageResponseSchema: GenMessage<ShareImageResponse>;
/**
* @generated from message tenki.sandbox.v1.RevokeRegistryShareGrantRequest
*/
export type RevokeRegistryShareGrantRequest = Message<"tenki.sandbox.v1.RevokeRegistryShareGrantRequest"> & {
/**
* @generated from field: string grant_id = 1;
*/
grantId: string;
/**
* @generated from field: optional string reason = 2;
*/
reason?: string;
};
/**
* Describes the message tenki.sandbox.v1.RevokeRegistryShareGrantRequest.
* Use `create(RevokeRegistryShareGrantRequestSchema)` to create a new message.
*/
export declare const RevokeRegistryShareGrantRequestSchema: GenMessage<RevokeRegistryShareGrantRequest>;
/**
* @generated from message tenki.sandbox.v1.RevokeRegistryShareGrantResponse
*/
export type RevokeRegistryShareGrantResponse = Message<"tenki.sandbox.v1.RevokeRegistryShareGrantResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryShareGrant grant = 1;
*/
grant?: RegistryShareGrant;
};
/**
* Describes the message tenki.sandbox.v1.RevokeRegistryShareGrantResponse.
* Use `create(RevokeRegistryShareGrantResponseSchema)` to create a new message.
*/
export declare const RevokeRegistryShareGrantResponseSchema: GenMessage<RevokeRegistryShareGrantResponse>;
/**
* @generated from message tenki.sandbox.v1.ListRegistryShareGrantsRequest
*/
export type ListRegistryShareGrantsRequest = Message<"tenki.sandbox.v1.ListRegistryShareGrantsRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
};
/**
* Describes the message tenki.sandbox.v1.ListRegistryShareGrantsRequest.
* Use `create(ListRegistryShareGrantsRequestSchema)` to create a new message.
*/
export declare const ListRegistryShareGrantsRequestSchema: GenMessage<ListRegistryShareGrantsRequest>;
/**
* @generated from message tenki.sandbox.v1.ListRegistryShareGrantsResponse
*/
export type ListRegistryShareGrantsResponse = Message<"tenki.sandbox.v1.ListRegistryShareGrantsResponse"> & {
/**
* @generated from field: repeated tenki.sandbox.v1.RegistryShareGrant grants = 1;
*/
grants: RegistryShareGrant[];
};
/**
* Describes the message tenki.sandbox.v1.ListRegistryShareGrantsResponse.
* Use `create(ListRegistryShareGrantsResponseSchema)` to create a new message.
*/
export declare const ListRegistryShareGrantsResponseSchema: GenMessage<ListRegistryShareGrantsResponse>;
/**
* @generated from message tenki.sandbox.v1.UnshareRegistryImageRequest
*/
export type UnshareRegistryImageRequest = Message<"tenki.sandbox.v1.UnshareRegistryImageRequest"> & {
/**
* @generated from field: optional string image_id = 1;
*/
imageId?: string;
/**
* @generated from field: optional string ref = 2;
*/
ref?: string;
/**
* @generated from field: optional string reason = 3;
*/
reason?: string;
};
/**
* Describes the message tenki.sandbox.v1.UnshareRegistryImageRequest.
* Use `create(UnshareRegistryImageRequestSchema)` to create a new message.
*/
export declare const UnshareRegistryImageRequestSchema: GenMessage<UnshareRegistryImageRequest>;
/**
* @generated from message tenki.sandbox.v1.UnshareRegistryImageResponse
*/
export type UnshareRegistryImageResponse = Message<"tenki.sandbox.v1.UnshareRegistryImageResponse"> & {
/**
* @generated from field: tenki.sandbox.v1.RegistryImage image = 1;
*/
image?: RegistryImage;
/**
* @generated from field: int32 revoked_token_count = 2;
*/
revokedTokenCount: number;
/**
* @generated from field: int32 revoked_grant_count = 3;
*/
revokedGrantCount: number;
};
/**
* Describes the message tenki.sandbox.v1.UnshareRegistryImageResponse.
* Use `create(UnshareRegistryImageResponseSchema)` to create a new message.
*/
export declare const UnshareRegistryImageResponseSchema: GenMessage<UnshareRegistryImageResponse>;
/**
* @generated from enum tenki.sandbox.v1.RegistryImageKind
*/
export declare enum RegistryImageKind {
/**
* @generated from enum value: REGISTRY_IMAGE_KIND_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: REGISTRY_IMAGE_KIND_TEMPLATE = 1;
*/
TEMPLATE = 1,
/**
* @generated from enum value: REGISTRY_IMAGE_KIND_SNAPSHOT = 2;
*/
SNAPSHOT = 2
}
/**
* Describes the enum tenki.sandbox.v1.RegistryImageKind.
*/
export declare const RegistryImageKindSchema: GenEnum<RegistryImageKind>;
/**
* @generated from enum tenki.sandbox.v1.RegistryVisibility
*/
export declare enum RegistryVisibility {
/**
* @generated from enum value: REGISTRY_VISIBILITY_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: REGISTRY_VISIBILITY_PRIVATE = 1;
*/
PRIVATE = 1,
/**
* @generated from enum value: REGISTRY_VISIBILITY_PUBLIC = 2;
*/
PUBLIC = 2,
/**
* @generated from enum value: REGISTRY_VISIBILITY_SHARED = 3;
*/
SHARED = 3
}
/**
* Describes the enum tenki.sandbox.v1.RegistryVisibility.
*/
export declare const RegistryVisibilitySchema: GenEnum<RegistryVisibility>;
/**
* @generated from enum tenki.sandbox.v1.RegistrySortBy
*/
export declare enum RegistrySortBy {
/**
* @generated from enum value: REGISTRY_SORT_BY_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: REGISTRY_SORT_BY_NAME = 1;
*/
NAME = 1,
/**
* @generated from enum value: REGISTRY_SORT_BY_UPDATED_AT = 2;
*/
UPDATED_AT = 2
}
/**
* Describes the enum tenki.sandbox.v1.RegistrySortBy.
*/
export declare const RegistrySortBySchema: GenEnum<RegistrySortBy>;