mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 11:27:17 +08:00
feat: 移除docker包
This commit is contained in:
@@ -20,7 +20,7 @@ type ContainerNetwork struct {
|
||||
// ContainerNetworkIPAM represents IP Address Management
|
||||
type ContainerNetworkIPAM struct {
|
||||
Driver string
|
||||
Options map[string]string // Per network IPAM driver options
|
||||
Options []KV
|
||||
Config []ContainerNetworkIPAMConfig
|
||||
}
|
||||
|
||||
@@ -29,21 +29,5 @@ type ContainerNetworkIPAMConfig struct {
|
||||
Subnet string `json:"subnet"`
|
||||
IPRange string `json:"ip_range"`
|
||||
Gateway string `json:"gateway"`
|
||||
AuxAddress map[string]string `json:"AuxiliaryAddresses,omitempty"`
|
||||
}
|
||||
|
||||
type ContainerNetworkInspect struct {
|
||||
Name string `json:"Name"`
|
||||
Id string `json:"Id"`
|
||||
Created time.Time `json:"Created"`
|
||||
Scope string `json:"Scope"`
|
||||
Driver string `json:"Driver"`
|
||||
EnableIPv6 bool `json:"EnableIPv6"`
|
||||
IPAM ContainerNetworkIPAM
|
||||
Internal bool `json:"Internal"`
|
||||
Attachable bool `json:"Attachable"`
|
||||
Ingress bool `json:"Ingress"`
|
||||
ConfigOnly bool `json:"ConfigOnly"`
|
||||
Options map[string]string `json:"Options"`
|
||||
Labels map[string]string `json:"Labels"`
|
||||
AuxAddress map[string]string `json:"aux_address"`
|
||||
}
|
||||
|
||||
13
pkg/types/container_volume.go
Normal file
13
pkg/types/container_volume.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package types
|
||||
|
||||
import "time"
|
||||
|
||||
type ContainerVolume struct {
|
||||
Name string `json:"name"`
|
||||
Driver string `json:"driver"`
|
||||
Scope string `json:"scope"`
|
||||
MountPoint string `json:"mount_point"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Labels []KV `json:"labels"`
|
||||
Options []KV `json:"options"`
|
||||
}
|
||||
Reference in New Issue
Block a user