InedoSDK Reference
Version:

DockerSourceId Class

Represents a unique identifier for a Docker registry

Inheritance Hierarchy

  • object
    • System.ValueType
      • Inedo.Extensions.PackageSources.DockerSourceId

Syntax

public sealed class DockerSourceId : System.ValueType, IEquatable<T>

Constructors

Name Description
DockerSourceId(string idString)

Initializes a new instance of the DockerSourceId struct.

Properties

Name Description
Format

Gets the ID format.

Remarks

This effectively wraps a string that can take one of two formats and provides helper methods.

Example strings include:

  • global::ProGet/MyDockerRegistry [Format=ProGetDockerRegistry]

  • registry::MyDockerRegistryName [Format=ProGetDockerRegistry]

  • global::ProGetOtherInstance/MyDockerRegistryName [Format=ProGetDockerRegistry]

  • MyNuGetOrgResource [Format=SecureResource]

Strings with a "/" are a ProGetServiceCredential name + Docker Registry, and "registry::" is shorthand for "global::ProGet/"