Skip to content

Commit 6668e0c

Browse files
committed
fix(Solution): Rebased onto main
2 parents 0c8eb26 + 40ac1e6 commit 6668e0c

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

src/core/Synapse.Core/SynapseDefaults.cs

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,53 @@ public static class Secrets
611611

612612
}
613613

614+
/// <summary>
615+
/// Exposes constants about runtime-related environment variables
616+
/// </summary>
617+
public static class Runtime
618+
{
619+
620+
/// <summary>
621+
/// Gets the prefix for all runtime related environment variables
622+
/// </summary>
623+
public const string Prefix = EnvironmentVariables.Prefix + "RUNTIME_";
624+
625+
/// <summary>
626+
/// Exposes constants about Docker runtime-related environment variables
627+
/// </summary>
628+
public static class Docker
629+
{
630+
631+
/// <summary>
632+
/// Gets the prefix for all Docker runtime related environment variables
633+
/// </summary>
634+
public const string Prefix = Runtime.Prefix + "DOCKER_";
635+
/// <summary>
636+
/// Gets the environment variable used to specify the YAML file used to configure the Docker runner container
637+
/// </summary>
638+
public const string Container = Prefix + "CONTAINER";
639+
640+
}
641+
642+
}
643+
644+
/// <summary>
645+
/// Exposes constants about secrets-related environment variables
646+
/// </summary>
647+
public static class Secrets
648+
{
649+
650+
/// <summary>
651+
/// Gets the prefix for all secrets related environment variables
652+
/// </summary>
653+
public const string Prefix = EnvironmentVariables.Prefix + "SECRETS";
654+
/// <summary>
655+
/// Gets the name of the environment variable used to configure the path to the directory that contains secrets files
656+
/// </summary>
657+
public const string Directory = Prefix + "DIRECTORY";
658+
659+
}
660+
614661
/// <summary>
615662
/// Exposes constants about service account related environment variables
616663
/// </summary>

0 commit comments

Comments
 (0)