public PSTagAttributeBase(string name = default(string), string digest = default(string), string createdTime = default(string), string lastUpdateTime = default(string), bool?signed = default(bool?), ChangeableAttributes changeableAttributes = default(ChangeableAttributes))
 {
     Name                 = name;
     Digest               = digest;
     CreatedTime          = createdTime;
     LastUpdateTime       = lastUpdateTime;
     Signed               = signed;
     ChangeableAttributes = new PSChangeableAttribute(changeableAttributes);
 }
예제 #2
0
 public PSRepositoryAttribute(RepositoryAttributes attribute)
 {
     Registry             = attribute?.Registry;
     ImageName            = attribute?.ImageName;
     CreatedTime          = attribute?.CreatedTime;
     LastUpdateTime       = attribute?.LastUpdateTime;
     ManifestCount        = attribute?.ManifestCount;
     TagCount             = attribute?.TagCount;
     ChangeableAttributes = new PSChangeableAttribute(attribute?.ChangeableAttributes);
 }
예제 #3
0
 public PSRepositoryAttribute(string registry = default(string), string imageName = default(string), string createdTime = default(string), string lastUpdateTime = default(string), int?manifestCount = default(int?), int?tagCount = default(int?), PSChangeableAttribute changeableAttributes = default(PSChangeableAttribute))
 {
     Registry             = registry;
     ImageName            = imageName;
     CreatedTime          = createdTime;
     LastUpdateTime       = lastUpdateTime;
     ManifestCount        = manifestCount;
     TagCount             = tagCount;
     ChangeableAttributes = changeableAttributes;
 }
 public PSTagAttributeBase(TagAttributesBase attribute)
 {
     Name           = attribute?.Name;
     Digest         = attribute?.Digest;
     CreatedTime    = attribute?.CreatedTime;
     LastUpdateTime = attribute?.LastUpdateTime;
     Signed         = attribute?.Signed;
     if (attribute != null)
     {
         ChangeableAttributes = new PSChangeableAttribute(attribute.ChangeableAttributes);
     }
 }
예제 #5
0
 public PSManifestAttributeBase(string digest = default(string), long?imageSize = default(long?), string createdTime = default(string), string lastUpdateTime = default(string), string architecture = default(string), string os = default(string), string mediaType = default(string), string configMediaType = default(string), IList <string> tags = default(IList <string>), PSChangeableAttribute changeableAttributes = default(PSChangeableAttribute))
 {
     Digest               = digest;
     ImageSize            = imageSize;
     CreatedTime          = createdTime;
     LastUpdateTime       = lastUpdateTime;
     Architecture         = architecture;
     Os                   = os;
     MediaType            = mediaType;
     ConfigMediaType      = configMediaType;
     Tags                 = tags;
     ChangeableAttributes = changeableAttributes;
 }
예제 #6
0
 public PSManifestAttributeBase(ManifestAttributesBase attribute)
 {
     Digest          = attribute?.Digest;
     ImageSize       = attribute?.ImageSize;
     CreatedTime     = attribute?.CreatedTime;
     LastUpdateTime  = attribute?.LastUpdateTime;
     Architecture    = attribute?.Architecture;
     Os              = attribute?.Os;
     MediaType       = attribute?.MediaType;
     ConfigMediaType = attribute?.ConfigMediaType;
     Tags            = attribute?.Tags;
     if (attribute != null)
     {
         ChangeableAttributes = new PSChangeableAttribute(attribute.ChangeableAttributes);
     }
 }