forked from apptainer/singularity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.go
18 lines (15 loc) · 793 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2018, Sylabs Inc. All rights reserved.
// This software is licensed under a 3-clause BSD license. Please consult the
// LICENSE.md file distributed with the sources of this project regarding your
// rights to use or distribute this software.
package config
// Common provides the basis for all engine configs. Anything that can not be
// properly described through the OCI config can be stored as generic JSON []byte
type Common struct {
EngineName string `json:"engineName"`
ContainerID string `json:"containerID"`
// EngineConfig is the raw JSON representation of the Engine's underlying config
EngineConfig EngineConfig `json:"engineConfig"`
}
// EngineConfig is a generic interface to represent the implementations of an EngineConfig
type EngineConfig interface{}