zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/pkg/meta/proto/oci/config.proto (about)

     1  syntax = "proto3";
     2  package oci_v1;
     3  
     4  import "oci/timestamp.proto";
     5  import "oci/descriptor.proto";
     6  
     7  // https://github.com/opencontainers/image-spec/blob/main/specs-go/v1/config.go
     8  
     9  message Image {
    10   optional google.protobuf.Timestamp Created = 1;
    11    optional string Author = 2;
    12    Platform Platform = 3;
    13    optional ImageConfig Config = 4;
    14    optional RootFS RootFS = 5;
    15    repeated History History = 6;
    16  }
    17  
    18  message ImageConfig {
    19    map <string,EmptyMessage> ExposedPorts = 1;
    20    map <string,EmptyMessage> Volumes      = 2;
    21    map <string,string>       Labels       = 3;
    22    string          User        = 4;
    23    repeated string Env         = 5;
    24    repeated string Entrypoint  = 6;
    25    repeated string Cmd         = 7;
    26    optional string WorkingDir  = 8;
    27    optional string StopSignal  = 9;
    28    bool            ArgsEscaped = 10;
    29  }
    30  
    31  message RootFS {
    32    string          Type    = 1;
    33    repeated string DiffIDs = 2;
    34  }
    35  
    36  message History {
    37    optional google.protobuf.Timestamp Created = 1;
    38  
    39    optional string CreatedBy  = 2;
    40    optional string Author     = 3;
    41    optional string Comment    = 4;
    42    optional bool   EmptyLayer = 5;
    43  }
    44  
    45  message EmptyMessage{}