work with authentik
This commit is contained in:
@@ -97,6 +97,22 @@ public interface IDockerCliService
|
||||
/// Returns parsed log entries sorted by timestamp ascending.
|
||||
/// </summary>
|
||||
Task<List<ServiceLogEntry>> GetServiceLogsAsync(string stackName, string? serviceName = null, int tailLines = 200);
|
||||
|
||||
/// <summary>
|
||||
/// Writes a file to an NFS volume by temporarily mounting the export on the Docker host.
|
||||
/// Used to deploy configuration files (e.g. settings-custom.php) into CMS containers.
|
||||
/// </summary>
|
||||
/// <param name="nfsServer">NFS server hostname or IP.</param>
|
||||
/// <param name="nfsExport">NFS export path (e.g. "/srv/nfs").</param>
|
||||
/// <param name="relativePath">Path relative to the export root (e.g. "subfolder/abbrev/cms-custom/settings-custom.php").</param>
|
||||
/// <param name="content">File content to write.</param>
|
||||
/// <param name="nfsExportFolder">Optional subfolder within the export.</param>
|
||||
Task<(bool Success, string? Error)> WriteFileToNfsAsync(
|
||||
string nfsServer,
|
||||
string nfsExport,
|
||||
string relativePath,
|
||||
string content,
|
||||
string? nfsExportFolder = null);
|
||||
}
|
||||
|
||||
public class StackInfo
|
||||
|
||||
Reference in New Issue
Block a user