Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class names #6

Open
jpnurmi opened this issue May 10, 2022 · 1 comment
Open

Class names #6

jpnurmi opened this issue May 10, 2022 · 1 comment

Comments

@jpnurmi
Copy link
Contributor

jpnurmi commented May 10, 2022

Should lxd.dart follow the same naming as the official Go client? Some of the names sound clumsier due to reverse naming, but staying in sync with the names might make porting and maintenance easier.

Go Dart
✔️ Certificate LxdCertificate
Cluster
ClusterGroup
ClusterMember
ClusterMemberConfigKey
Event
✔️ Image LxdImage
ImageAlias
ImageAliasesEntry
ImageMetadata
ImageMetadataTemplate
ImageSource
ImagesPostSource
✔️ Instance LxdInstance
InstanceBackup
InstanceFull
InstancePostTarget
InstanceSnapshot
InstanceSource
✔️ InstanceState LxdInstanceState
InstanceStateCPU
InstanceStateDisk
InstanceStateMemory
InstanceStateNetwork
InstanceStateNetworkAddress
InstanceStateNetworkCounters
✔️ Network LxdNetwork
✔️ NetworkACL LxdNetworkAcl
NetworkACLRule
NetworkForward
NetworkForwardPort
✔️ NetworkLease LxdNetworkLease
NetworkPeer
✔️ NetworkState LxdNetworkState
NetworkStateAddress LxdNetworkAddress
NetworkStateBond
NetworkStateBridge
NetworkStateCounters LxdNetworkCounters
NetworkStateOVN
NetworkStateVLAN
NetworkZone
NetworkZoneRecord
NetworkZoneRecordEntry
✔️ Operation LxdOperation
✔️ Profile LxdProfile
✔️ Project LxdProject
ProjectState
ProjectStateResource
⚠️ LxdRemoteImage
✔️ Resources LxdResources
ResourcesCPU LxdCpuResources
ResourcesCPUCache
ResourcesCPUCore
ResourcesCPUSocket
ResourcesCPUThread
ResourcesGPU
ResourcesMemory LxdMemoryResources
ResourcesGPUCard LxdGpuCard
ResourcesGPUCardDRM
ResourcesGPUCardMdev
ResourcesGPUCardNvidia
ResourcesGPUCardSRIOV
ResourcesMemory LxdMemoryResources
ResourcesMemoryNode
ResourcesNetwork
ResourcesNetworkCard LxdNetworkCard
ResourcesNetworkCardPort
ResourcesNetworkCardPortInfiniband
ResourcesNetworkCardSRIOV
ResourcesPCI
ResourcesPCIDevice LxdPciDevice
ResourcesStorage
ResourcesStorageDisk LxdStorageDisk
ResourcesStorageDiskPartition
ResourcesStoragePool LxdStoragePool
ResourcesStoragePoolInodes
ResourcesStoragePoolSpace
ResourcesSystem LxdSystemResources
ResourcesSystemChassis LxdChassis
ResourcesSystemFirmware LxdFirmware
ResourcesSystemMotherboard LxdMotherboard
ResourcesUSB
ResourcesUSBDevice LxdUsbDevice
ResourcesUSBDeviceInterface
Server
ServerEnvironment
ServerStorageDriverInfo
ServerUntrusted
StoragePool
StoragePoolVolumeBackup
StorageVolume
StorageVolumePostTarget
StorageVolumeSnapshot
StorageVolumeSource
StorageVolumeState
StorageVolumeStateUsage
Warning
@robert-ancell
Copy link
Collaborator

I'd agree - probably better to match the Go client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants