Type Alias WorkerInfo

WorkerInfo: Message<"virtufin.WorkerInfo"> & {
    codeUrl: string;
    config: { [key: string]: string };
    createdAt: string;
    id: string;
    language: string;
    mimeType: string;
    secrets: { [key: string]: string };
    shard: string;
    shardIndex: number;
    shardSize: number;
    status: WorkerStatus;
    tags: { [key: string]: string };
    topics: string[];
}

Type declaration

  • codeUrl: string

    Where the worker's code came from (CodeSource.url), without user info, query or fragment so no credential leaks; empty for inline content.

    from field: string code_url = 10;

  • config: { [key: string]: string }

    from field: map<string, string> config = 7;

  • createdAt: string

    from field: string created_at = 5;

  • id: string

    from field: string id = 1;

  • language: string

    from field: string language = 3;

  • mimeType: string

    from field: string mime_type = 2;

  • secrets: { [key: string]: string }

    The worker's secret references (CreateWorkerRequest.secrets), never values.

    from field: map<string, string> secrets = 9;

  • shard: string

    The shard this worker belongs to, when it is sharded; empty for a dedicated (broadcast) worker.

    from field: string shard = 11;

  • shardIndex: number

    from field: uint32 shard_index = 13;

  • shardSize: number

    from field: uint32 shard_size = 12;

  • status: WorkerStatus

    from field: virtufin.WorkerStatus status = 6;

  • tags: { [key: string]: string }

    from field: map<string, string> tags = 8;

  • topics: string[]

    from field: repeated string topics = 4;

from message virtufin.WorkerInfo