33 lines
747 B
Plaintext
33 lines
747 B
Plaintext
|
@startuml
|
||
|
package "main" {
|
||
|
class Graph {
|
||
|
[]Link Links
|
||
|
[]DataModel Datas
|
||
|
[]ComputingModel Computings
|
||
|
[]DatacenterModel Datacenters
|
||
|
[]StorageModel Storages
|
||
|
HttpQuery ws
|
||
|
|
||
|
GetGraphList(apiurl string) (map[string]string, error)
|
||
|
LoadFrom(workspace string) error
|
||
|
AddDataModel(id string) error
|
||
|
AddDatacenterModel(id string) error
|
||
|
AddComputingModel(id string) error
|
||
|
AddStorageModel(id string) error
|
||
|
ExportToArgo(id string) error
|
||
|
ExportToHelm(id string) error
|
||
|
}
|
||
|
|
||
|
class Link {
|
||
|
string Src
|
||
|
string Dst
|
||
|
}
|
||
|
|
||
|
class HttpQuery {
|
||
|
Init(apiurl string)
|
||
|
Get(endpoint string) ([]byte, error)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@enduml
|