mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
feat(stacks): support standalone stacks on ARM (#5310)
This commit is contained in:
parent
582d370172
commit
3453735c8b
17 changed files with 181 additions and 308 deletions
|
@ -1050,8 +1050,8 @@ type (
|
|||
ComposeStackManager interface {
|
||||
ComposeSyntaxMaxVersion() string
|
||||
NormalizeStackName(name string) string
|
||||
Up(stack *Stack, endpoint *Endpoint) error
|
||||
Down(stack *Stack, endpoint *Endpoint) error
|
||||
Up(ctx context.Context, stack *Stack, endpoint *Endpoint) error
|
||||
Down(ctx context.Context, stack *Stack, endpoint *Endpoint) error
|
||||
}
|
||||
|
||||
// CryptoService represents a service for encrypting/hashing data
|
||||
|
@ -1175,6 +1175,7 @@ type (
|
|||
|
||||
// FileService represents a service for managing files
|
||||
FileService interface {
|
||||
GetDockerConfigPath() string
|
||||
GetFileContent(filePath string) ([]byte, error)
|
||||
Rename(oldPath, newPath string) error
|
||||
RemoveDirectory(directoryPath string) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue